xiaohongshu
xiaohongshu
context-review
Review CLAUDE.md files for quality, efficiency, and structure. Use when auditing LLM context files, checking documentation organization, preparing for context optimization, or ensuring lean imperative instructions.
Full skill instructions
Reviews CLAUDE.md and child CLAUDE.md files to ensure they provide efficient, focused context for AI assistants without token waste.
This skill analyzes CLAUDE.md files against quality standards defined in
.claude/design/design.config.json and the LLM Context Agent design document.
It checks line counts, content structure, design doc pointers, and
identifies opportunities for improvement.
Read .claude/design/design.config.json to understand quality standards:
Search for CLAUDE.md files in the repository:
CLAUDE.md or CLAUDE.local.md{module}/CLAUDE.md for each moduleFor each CLAUDE.md file found:
Line Count Check:
Content Structure Check:
Design Doc Pointer Check:
@./.claude/design/module/doc.mdHierarchy Check:
Create a comprehensive review report with:
Summary:
Issues by File:
Group by severity (high, medium, low):
Recommendations:
Actionable suggestions:
Example Issue:
### High Priority
CLAUDE.md: 687 lines (limit: 500, 37% over)
- "Testing" section is very detailed (120 lines) → move to design doc
- "Architecture" duplicates content in pkgs/my-package/CLAUDE.md
- Missing pointer to `.claude/design/my-package/architecture.md`
Recommendation:
1. Create `.claude/design/project/testing-strategy.md` for testing details
2. Add pointer: "For testing details → @./.claude/design/project/testing-strategy.md"
3. Remove architecture duplication, keep only pointer to package CLAUDE.md
Calculate and report:
Generate markdown report with structure:
# CLAUDE.md Review Report
**Date:** YYYY-MM-DD
**Repository:** {name}
**Type:** {monorepo|single-package}
## Summary
- CLAUDE.md files: X
- Average line count: Y
- Files over limit: Z
- Overall efficiency: N%
## Issues Found
### High Priority
[List of high-priority issues with file locations and recommendations]
### Medium Priority
[List of medium-priority issues]
### Low Priority
[List of low-priority issues]
## Recommendations
1. [Specific actionable recommendation]
2. [Specific actionable recommendation]
...
## Quality Metrics
- Efficiency Score: X%
- Pointer Coverage: Y%
- Hierarchy Health: Z%
- Duplication Level: N%
## Next Steps
[Suggested order of operations to address issues]
Monorepo:
Review both root CLAUDE.md and package-level files. Check for appropriate delegation between root and children.
No design docs yet:
If .claude/design/ doesn't exist, note that design documentation system
should be set up first.
CLAUDE.local.md:
These override CLAUDE.md and should follow same standards. Review both if present, noting which takes precedence.
A good review report:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience