一键导入
extract-patterns
Extract learned patterns from session - invoked automatically by finishing-a-development-branch or manually anytime
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Extract learned patterns from session - invoked automatically by finishing-a-development-branch or manually anytime
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for review, delivery, or cleanup
Use when executing implementation plans with independent tasks in the current session
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
| name | extract-patterns |
| description | Extract learned patterns from session - invoked automatically by finishing-a-development-branch or manually anytime |
Wraps ECC's continuous-learning-v2 system to extract and save useful patterns from development sessions.
Auto-invoked by: finishing-a-development-branch skill Can be invoked: Manually anytime to save learning Purpose: Build institutional knowledge over time
Announce at start: "I'm using the extract-patterns skill to learn from this session."
Use /sp-ecc:learn command to extract patterns:
/sp-ecc:learn
This analyzes the current session for:
The learning system will show patterns with confidence scores.
Review criteria:
Patterns are automatically saved to the instinct system.
View saved patterns:
/sp-ecc:instinct-status
For mature patterns (high confidence, multiple uses):
/sp-ecc:evolve
This clusters related patterns into reusable skills.
Auto-Invoked:
finishing-a-development-branch:
1. Verify tests pass
2. Sync documentation
3. Extract patterns (THIS SKILL) ← Auto-invoked
4. Generate changelist
5. Present options
Manual Invocation:
Any time during development:
- "Can you extract patterns from what we just did?"
- Skill invoked
- Patterns saved for future
To disable auto-invocation in finishing workflow:
See: docs/integration/OPT-OUT.md
Export patterns to file:
/sp-ecc:instinct-export
Import patterns from file:
/sp-ecc:instinct-import
Useful for:
| Command | Purpose |
|---|---|
/sp-ecc:learn | Extract patterns from session |
/sp-ecc:instinct-status | View saved patterns |
/sp-ecc:instinct-export | Export to file |
/sp-ecc:instinct-import | Import from file |
/sp-ecc:evolve | Cluster patterns into skills |
Remember: This builds institutional knowledge. The more you use it, the smarter the system becomes.