AgentSkillsCN

pattern-extraction

从代码变更中提炼可复用的模式。

SKILL.md
--- frontmatter
name: pattern-extraction
description: Extracts reusable patterns from code changes

Procedure

  1. Analyze git diff for repeated structures.
  2. Identify improvements or new standards usage.
  3. Verify pattern consistency across the codebase.
  4. Document the pattern in docs/findings.md or .opencode/memory/.
  5. Propose refactoring if widely applicable.