pattern-finder
Pattern Finder
When to Use
Trigger this skill when the user:
- Asks how to implement a specific feature
- Wants to see existing implementation examples
- Needs to follow project conventions
- Asks "how does this project do X"
- Asks "show me examples of X"
Instructions
- Identify what pattern the user is looking for
- Run
/sourceatlas:pattern "<pattern>"with the relevant pattern name - Returns best example files with line numbers and implementation guide
Common Patterns
- API endpoints:
/sourceatlas:pattern "api endpoint" - Authentication:
/sourceatlas:pattern "authentication" - Database queries:
/sourceatlas:pattern "database query" - Background jobs:
/sourceatlas:pattern "background job" - File uploads:
/sourceatlas:pattern "file upload" - Error handling:
/sourceatlas:pattern "error handling" - Validation:
/sourceatlas:pattern "validation" - Testing:
/sourceatlas:pattern "unit test"
What User Gets
- Best example files with exact line numbers
- Standard implementation flow
- Key conventions to follow
- Common pitfalls to avoid
- Testing patterns
Example Triggers
- "How do I add a new API endpoint?"
- "Show me how authentication works here"
- "Where can I find examples of database queries?"
- "How does this project handle errors?"
More from lis186/sourceatlas
code-flow-tracer
Trace code execution paths and data flow. Use when user asks "how does X work", "what happens when X", "trace the flow of X", "where does data come from", or needs to understand feature implementation.
13codebase-overview
Quickly understand a new codebase's architecture, tech stack, and patterns. Use when user asks "what is this project", "project overview", "how is this codebase structured", "what tech stack", or when onboarding to a new codebase.
13impact-analyzer
Analyze what code will be affected by changes. Use when user asks "what will break if I change X", "impact of changing X", "dependencies of X", "is it safe to modify X", or before making significant code changes.
11history-analyzer
Analyze git history for hotspots, coupling, and knowledge distribution. Use when user asks "who knows this code", "what files change most", "hotspots", "bus factor", "knowledge silos", or needs to understand code evolution.
10dependency-analyzer
Analyze dependencies for upgrade planning and migration. Use when user asks "upgrade to X", "migrate from X to Y", "what breaks if we upgrade", "iOS 17 migration", "React 18 upgrade", or planning framework/SDK upgrades.
10overview
Get project overview - scan <5% of files to achieve 70-80% understanding
2