A skills.sh skill for Claude Code that bootstraps a project-level context management system in one command.
Running /ch-project-context init in a Claude Code session will:
- Create a structured
docs/directory (exec-plans/,decisions/,research/,known-issues/,archive/) - Install two Claude Code hooks:
- session-start -- auto-injects active plans, known issues, and workflow rules into every new session
- quality-gate -- blocks subagent completion until the build passes and verification evidence exists
- Wire hooks into
.claude/settings.json - Append a documentation navigation block to
CLAUDE.md - Optionally create a
docs/architecture.mdskeleton
All generated docs use YAML frontmatter so the hooks can parse them programmatically.
npx skills add psylch/ch-project-context -g -ygit clone https://github.com/psylch/ch-project-context.git ~/.claude/skills/ch-project-contextRestart your agent after installation.
- Any AI coding agent that supports skills.sh (Claude Code, Cursor, Windsurf, etc.)
- Python 3.6+ (for skill scripts, zero external dependencies)
In any Claude Code session:
/ch-project-context init
The skill detects the project root, checks for existing files (prompts before overwriting), runs the init script, and reports what was created.
After init, you can customize:
.claude/hooks/quality-gate.py-- ChangeBUILD_CMDfrom['npx', 'tsc', '--noEmit']to your project's build check (e.g.,['cargo', 'check'],['ruff', 'check', '.'])docs/workflow.md-- Create this file to inject team workflow rules into every session automatically
ch-project-context/
├── skills/
│ └── ch-project-context/
│ ├── SKILL.md # Skill definition and instructions
│ ├── scripts/
│ │ └── init.py # Init script (creates dirs, hooks, settings)
│ └── references/
│ └── conventions.md # Frontmatter spec, naming, and doc templates
├── .claude-plugin/
│ ├── plugin.json
│ └── marketplace.json
├── README.md
├── README.zh.md
└── LICENSE
MIT