blueprint:good-pattern
Installation
SKILL.md
Capture Good Pattern
COMMAND: Extract code as a pattern others should follow.
Execute
- Parse argument for file path or description
- Find file (search if only description given)
- Read file content
- Create pattern at patterns/good/[name].[ext]
- Report what was captured
Input Handling
| Input | Action |
|---|---|
/good-pattern src/repos/user.ts |
Read file, capture as pattern |
/good-pattern error handling in api |
Search for files, ask which one |
/good-pattern |
Ask for file path |