From britenites
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 claudepluginhub brite-nites/britenites-claude-pluginsThis skill uses the workspace's default tool permissions.
You are auditing a project's CLAUDE.md to ensure it follows Anthropic's official best practices and stays effective as the project evolves. This runs after compound learnings are captured, to catch any drift.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
You are auditing a project's CLAUDE.md to ensure it follows Anthropic's official best practices and stays effective as the project evolves. This runs after compound learnings are captured, to catch any drift.
ship command after compound-learnings/britenites:setup-claude-md command includes similar audit logicRead the best-practices reference from .claude/skills/setup-claude-md/claude-code-best-practices.md. If the file is not accessible, use the audit checklist below as the authoritative guide.
CLAUDE.md should be under ~100 lines. Performance degrades with length.
docs/ with @importEvery CLAUDE.md should have (in this order):
## 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
Optional but valuable:
## Environment Setup — env vars, secrets, dependencies
## Workflow Rules — branch, commit, PR conventions
Flag missing required sections.
Detailed documentation should be extracted to docs/ and referenced via @import:
# CLAUDE.md (short, focused)
@docs/api-conventions.md
@docs/data-model.md
@docs/deployment.md
Check for:
docs/docs/architecture.mddocs/conventions.mdFlag and suggest removal of:
| 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 |
Verify all commands in CLAUDE.md actually work:
package.json scripts (or equivalent)Identify CLAUDE.md rules that should be deterministic hooks instead:
any type" → TypeScript strict configAdvisory rules that can be enforced deterministically should be hooks, not CLAUDE.md lines.
Look for entries that reference:
package.jsondocs/ with @import (create the file)## 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 for self-checking@import for anything that would make the core file unwieldy