Claude md generator
Skill aarshsharma2803-stack/optimusprime/skills/claude-md-generator
The session state protocol for AI coding. Hook-level scope enforcement, cross-session memory, contradiction detection, and predictive context - Claude is stateless, your project isn't.
npx -y skills add aarshsharma2803-stack/optimusprime --skill claude-md-generatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Activates when user requests CLAUDE.md generation or update: "generate CLAUDE.md", "update CLAUDE.md", "my CLAUDE.md is outdated", "create project context file", "claude-md generate", "regenerate project instructions", "write CLAUDE.md". Also activates when CLAUDE.md is missing from a project root containing package.json, pyproject.toml, Cargo.toml, or go.mod and the user appears to be starting work on that project.
SKILL.md
1.4 KB, as published. Nobody here has run it
Read before writing:
package.json/pyproject.toml/Cargo.toml→ stack, framework, key deps- Sample 3–5 test files → testing patterns, assertion style
git log --oneline -20→ commit conventions.optimusprime/decisions.md→ allDECIDED:lines- Top-level directory scan → project shape
Write CLAUDE.md with:
- What this project is (1 sentence)
- Tech stack: language, framework, key dependencies
- Conventions: naming patterns, file structure, import style
- Architectural decisions from
decisions.md(up to 5, ≤1 line each) - Testing approach: framework, what gets tested, where tests live
- Things Claude must never do in this repo
Staleness check: if existing CLAUDE.md predates the newest entry in decisions.md by >30 days, note: Note: existing CLAUDE.md was stale — regenerated.
Output: CLAUDE.md generated — X decisions incorporated