From devflow
Read-only audit comparing a repository against stored team conventions. Shows deltas only — no file changes, no enforcement, no suggestions. Use this when the user asks things like "how does this repo compare to our conventions," "check if we're following team standards," or "audit this repo against our conventions." Requires conventions to have been captured first.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin codingthefuturewithai-claude-code-primitivesThis skill is limited to using the following tools:
**Say exactly:** "SKILL INVOKED: audit-conventions"
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Say exactly: "SKILL INVOKED: audit-conventions"
Read-only comparison of a repository's actual state against the team's captured conventions. Shows deltas — what the team says vs what the repo does. Nothing more.
1. Detect the repo's tech stack using ../references/tech-stack-detection.md:
2. Load DevFlow config:
~/.claude/plugins/config/devflow/config.md/devflow-setup first." STOP.3. Search for stack-specific conventions:
Search backends in this order (stop at first match):
Priority 1: Stack-specific conventions
If RAG Memory enabled:
mcp__rag-memory-primary__search_documents(query="{detected stack} conventions") (e.g., "PHP Laravel conventions")If Confluence enabled:
mcp__atlassian__searchConfluenceUsingCql(cql="title ~ '{detected stack} conventions'")If Google Drive enabled:
search_files(query="{detected stack} conventions")Priority 2: Broader conventions (if stack-specific not found)
Try language-level:
Priority 3: Generic conventions (if nothing stack-specific found)
Search broadly:
Priority 4: Repo-local conventions
Check the repo itself:
.claude/rules/team-conventions.md — portable conventions fileIf nothing found in any location:
"No team conventions found for {detected stack}. Run
/devflow:foundation:capture-conventionsto capture conventions for this tech stack first." STOP.
If found: Show what was found and confirm before proceeding.
"Found: {convention document title} (matches {detected stack})"
Examine the repo's actual state across all convention areas:
Be thorough. Look at every area the conventions document covers.
Compare each section of the team conventions against the repo's actual state.
For each convention item, classify as one of:
Present a structured report:
# Convention Audit: {repo name}
Date: {YYYY-MM-DD}
Detected tech stack: {detected stack}
Conventions source: {where conventions were loaded from}
## Summary
- Aligned: {count}
- Deviations: {count}
- Not observable: {count}
- Not applicable: {count}
## Tech Stack
| Convention | Team Says | Repo Has | Status |
|-----------|-----------|----------|--------|
| Language | TypeScript | TypeScript | Aligned |
| Framework | Next.js | Express | Deviation |
## Coding Standards
| Convention | Team Says | Repo Has | Status |
|-----------|-----------|----------|--------|
| Formatter | Prettier | Prettier (.prettierrc found) | Aligned |
| Linter | ESLint strict | No ESLint config found | Deviation |
## Testing
...
## Documentation Standards
...
## Git & Workflow
...
## Architecture
...
## Security Practices
...
## Definition of Done
...
## Preferred Libraries
...
Present the full report to the developer.
"Here's your convention audit. This is a read-only comparison — no changes have been made to your repo."
Do NOT:
The developer now has a clear picture of where their repo aligns with and deviates from team conventions. What they do with that information is entirely up to them.
Skill complete.