Loading...
Loading...
Audits and auto-fixes a project's CLAUDE.md against Anthropic best practices. Activates during ship phase — checks conciseness, enforces @import structure for detailed docs, auto-excludes bloat, identifies hook candidates, and auto-fixes structural issues. Flags content questions for developer review.
npx skill4agent add brite-nites/britenites-claude-plugins best-practices-auditship/workflows:setup-claude-md.claude/skills/setup-claude-md/claude-code-best-practices.mddocs/@import## Build & Test Commands — How to build, test, lint, typecheck
## Code Conventions — Only non-obvious, project-specific ones
## Architecture Decisions — Key patterns and data flow
## Gotchas & Workarounds — Things that will bite you## Environment Setup — env vars, secrets, dependencies
## Workflow Rules — branch, commit, PR conventionsdocs/@import# CLAUDE.md (short, focused)
@docs/api-conventions.md
@docs/data-model.md
@docs/deployment.mddocs/docs/architecture.mddocs/conventions.md| Pattern | Why |
|---|---|
| Standard language conventions | Claude already knows these |
| "Write clean code" / "Follow best practices" | Self-evident |
| Detailed API documentation | Link to docs or use context7 |
| File-by-file codebase descriptions | Claude can read the code |
| Long explanations or tutorials | Extract to docs/ |
| Information that changes frequently | Will go stale quickly |
| Generic advice not specific to this project | Adds noise without value |
package.jsonanypackage.jsondocs/@import## CLAUDE.md Audit
**Size**: [N] lines ([status: good / needs extraction / critical])
**Auto-fixed**:
- [list of changes made automatically]
**Needs your input**:
- [list of flagged items with context]
**Recommendations**:
- [suggestions for improvement]
**Hook candidates**:
- [rules that should become hooks]_shared/validation-pattern.md@import