A meta-skill for creating and maintaining project context skills in Claude Code. Enables zero context loss between chat sessions.
Generate and maintain comprehensive Claude Code skills that preserve project context between chat sessions.
Goal: Zero context loss. A new session should be able to pick up exactly where the previous one left off.
Copy the entire folder to your Claude Code skills directory:
# For global availability (all projects)
cp -r skill-generator ~/.claude/skills/
# Or for project-specific use
cp -r skill-generator .claude/skills/- "create a skill for this project"
- "update the skill" / "update the project skill"
- "save this context"
- "remember this for next session"
- "generate a skill file"
- Session exceeds ~30 minutes of project-specific work
- Significant decisions were made (architecture, tech choices, patterns)
- Complex problems were solved (with solutions worth preserving)
- Technical patterns or gotchas were discovered
- Multi-step implementations were completed
- User asks "what did we do today" or similar wrap-up questions
skill-generator/
├── SKILL.md # Entry point (~270 lines)
├── Reference/
│ ├── formatting-standards.md # All formatting rules
│ ├── phase-procedures.md # Detailed 6-phase workflow
│ └── skill-maintenance.md # Update governance for this skill
└── Templates/
├── project-skill-template.md # SKILL.md starting template
├── maintenance-template.md # skill-maintenance.md template
└── entity-template.md # Template for entity files
- Single Skill Architecture - ONE skill per project/domain, not fragments
- Snippetizable Content - Clear headers, tables, bullets for easy extraction
- Zero Context Loss - If losing it would hurt, capture it
- White-Paper Ready - Technical specs at handoff quality
- Never Delete, Only Supersede - Preserve history with
[SUPERSEDED]markers
- When starting work on a project, trigger skill creation with "create a skill for this project"
- Claude will analyze the conversation and create a structured skill
- At session end or when prompted, Claude will offer to update the skill
- The next session loads the skill automatically, preserving all context
Every generated skill is verified against:
- 8 Structure checks - Required files and sections
- 8 skill-maintenance.md checks - Governance completeness
- 6 Content checks - Quality and completeness
- 3 Principle checks - Core philosophy adherence
See Reference/phase-procedures.md § Verification for the full checklist.
MIT License - Feel free to use, modify, and share.
Issues and pull requests welcome. This skill was designed for the Claude Code ecosystem but the patterns may apply to other AI assistants.