# Pattern Extraction

> Extracts reusable patterns from code changes

- Skill: `majiayu000/pattern-extraction-3` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/pattern-extraction-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/pattern-extraction-3/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/majiayu000/pattern-extraction-3

---


## 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.

