pattern-analysis
Audit codebase patterns and conventions, evaluate proposed changes for consistency
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Audit codebase patterns and conventions, evaluate proposed changes for consistency
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Fast codebase searches using grep/glob. Triggers on "find", "search", "where is", "grep for".
Use when working with dbt (data build tool) - creating models, writing tests, CI/CD pipelines, materializations, sources, staging/intermediate/marts layers, Snowflake/BigQuery warehouse configuration, incremental strategies, Jinja macros, data quality, semantic layer, or making analytics engineering decisions
Local git operations for syncing, branching, merging, and conflict resolution
GitHub interactions for issues, PRs, releases, and repository management
Interactive wizard to craft effective prompts using Claude Code best practices
Test-driven development reference for writing good tests, designing testable interfaces, mocking at system boundaries, and refactoring after green. Use when writing tests, reviewing test quality, or applying red-green-refactor workflow. Not for running test suites or CI configuration — use language-conventions or cicd-generation for those.
| name | Pattern Analysis |
| department | craftsman |
| description | Audit codebase patterns and conventions, evaluate proposed changes for consistency |
| version | 1 |
| triggers | ["pattern","convention","consistency","refactor","code quality","style","architecture","anti-pattern","code review","DX"] |
Audit the codebase for existing patterns and conventions, then evaluate proposed changes for consistency.
Document discovered conventions:
| Category | Convention | Example File | Frequency |
|---|---|---|---|
| File naming | ... | ... | ... |
| Component style | ... | ... | ... |
| Data fetching | ... | ... | ... |
| State management | ... | ... | ... |
| Error handling | ... | ... | ... |
| Type definitions | ... | ... | ... |
| Import ordering | ... | ... | ... |
| Comment style | ... | ... | ... |
| Testing patterns | ... | ... | ... |
For each proposed change, check:
src/components/ExampleComponent.tsxsrc/hooks/useExampleHook.ts| Category | Pattern | Example File | Frequency | Status |
|---|---|---|---|---|
| File naming | kebab-case components | src/components/team-card.tsx | High | Standard |
| Data fetching | useQuery hooks | src/hooks/use-teams.ts | High | Standard |
| ... | ... | ... | ... | ... |
| Proposed Change | Existing Pattern | Match? | Recommendation |
|---|---|---|---|
| ... | ... | Yes/No | ... |