AgentSkillsCN

conversation-analysis

分析 AI 聊天对话,提炼其中的规律与重复指令,并对潜在的资产类型进行分类。当您需要回顾过往对话以自我提升,或当用户主动提供对话内容供分析时,可使用此技能。

SKILL.md
--- frontmatter
name: conversation-analysis
description: "Analyze AI chat conversations to extract patterns, identify repeated instructions, and categorize potential artifacts. Use when processing past conversations for self-improvement or when user provides conversation content for analysis."

Conversation Analysis Skill

Analyze AI chat conversations to extract patterns, identify repeated instructions, and categorize potential artifacts for self-improvement.

When to Use

  • Use this skill when analyzing past AI chat conversations
  • Use when user provides conversation content for analysis
  • Use when identifying patterns for artifact creation
  • Use when extracting reusable knowledge from conversations

Instructions

Analysis Process

  1. Read the conversation: Understand the full context of the conversation
  2. Identify patterns: Look for recurring instructions, corrections, or workflows
  3. Categorize findings: Group patterns by type (rule, skill, command, subagent)
  4. Extract key information: Identify specific patterns and their contexts
  5. Suggest artifacts: Recommend artifacts to create based on patterns

Pattern Identification

Look for:

  • Repeated instructions: Instructions that appear multiple times
  • Correction patterns: When user corrects AI behavior
  • Workflow patterns: Sequences of actions that recur
  • Context patterns: Contexts where certain patterns apply

Categorization

For each pattern identified:

  • Determine artifact type: Rule, Skill, Command, or Subagent
  • Assess frequency: How often the pattern appears
  • Evaluate significance: Is it worth creating an artifact?
  • Suggest organization: Where should the artifact be placed?

Output Format

For each pattern, provide:

  • Pattern description: What the pattern is
  • Frequency: How often it appears
  • Artifact type: Recommended type (rule/skill/command/subagent)
  • Suggested name: Following naming conventions
  • Suggested location: Category and path
  • Content outline: Key points to include

Examples

Example 1: Repeated Instruction Pattern

Conversation excerpt: User repeatedly asks to "always use TypeScript strict mode"

Analysis:

  • Pattern: TypeScript strict mode preference
  • Frequency: Appears 5+ times
  • Artifact type: Rule
  • Suggested name: typescript-strict-mode
  • Suggested location: cursor/rules/organization/typescript-strict-mode.mdc
  • Content: Rule enforcing TypeScript strict mode usage

Example 2: Workflow Pattern

Conversation excerpt: User repeatedly follows same steps for code review

Analysis:

  • Pattern: Code review workflow
  • Frequency: Appears 3+ times
  • Artifact type: Command
  • Suggested name: code-review-checklist
  • Suggested location: cursor/commands/meta/code-review-checklist.md
  • Content: Step-by-step code review checklist

Best Practices

  • Focus on high-frequency patterns
  • Validate pattern significance
  • Consider context and conditions
  • Document pattern rationale
  • Suggest appropriate artifact type

Related Artifacts