← ClaudeAtlas

soleri-code-patrollisted

Triggers: "check against patterns", "pattern compliance", "convention check", "review against vault", "institutional review". Reviews code against vault patterns/conventions. Use deep-review for general quality/architecture.
adrozdenko/soleri · ★ 6 · AI & Automation · score 74
Install: claude install-skill adrozdenko/soleri
# Code Patrol — Review Code Against Your Own Knowledge Review code against vault patterns, anti-patterns, and project conventions. Catches violations that no linter knows about. ## Steps ### 1. Understand the Code's Domain ``` YOUR_AGENT_core op:route_intent params: { prompt: "Code review: <brief description>" } YOUR_AGENT_core op:vault_domains ``` ### 2. Load Relevant Patterns ``` YOUR_AGENT_core op:search_intelligent params: { query: "<what this code does>" } YOUR_AGENT_core op:search params: { query: "<what this code does>", type: "anti-pattern" } YOUR_AGENT_core op:search params: { query: "<what this code does>", severity: "critical" } YOUR_AGENT_core op:project_list_rules YOUR_AGENT_core op:brain_strengths ``` ### 3. Review the Code | Check | Source | Severity | | ----------------------------- | ----------------------------- | ------------- | | Violates critical rule | `search (severity: critical)` | Must fix | | Matches known anti-pattern | `search (type: anti-pattern)` | Must fix | | Doesn't follow proven pattern | `brain_strengths` | Should fix | | Breaks project conventions | `project_list_rules` | Should fix | | Misses pattern opportunity | `search_intelligent` | Could improve | ### 4. Present the Review ``` ## Code Patrol Report ### Must Fix (Critical) - **[Rule name]**: [What's wrong] Vault ref: [entry title] | Fix: [How] ### Shou