How this skill is triggered — by the user, by Claude, or both
Slash command
/blueprint-mode:good-patternThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**COMMAND:** Extract code as a pattern others should follow.
COMMAND: Extract code as a pattern others should follow.
| 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 |
Use template from _templates/TEMPLATES.md (<!-- SECTION: good-patterns -->).
/**
* [Pattern Name]
*
* USE THIS PATTERN WHEN:
* - [Situation where this applies]
*
* KEY ELEMENTS:
* 1. [Important aspect]
*
* Related ADRs:
* - [ADR-NNN](../../docs/adrs/NNN-name.md) - [Why this pattern]
*
* Source: [original file path]
*/
// --- Example Implementation ---
// ADR-NNN: [Brief reference to the decision]
[extracted code]
Pattern captured at patterns/good/[name].[ext]
Create patterns/good/ if it doesn't exist.
npx claudepluginhub rickardp/blueprint-mode --plugin blueprint-modeExtracts recurring coding and architectural patterns from workspace code into reusable templates in docs/PATTERNS. Useful for documenting implicit structures requiring CODEMAP.md.
Finds code examples and design patterns like API endpoints, authentication, database queries, and error handling in the codebase. Triggered for 'how to implement X', 'show examples of X', or following conventions.
Scans existing codebase to detect and apply local patterns (structure, naming, error handling) for consistency. Used before writing new code or reviewing for pattern drift.