claude-devkit
CLAUDE.md15 starsChanged 3 months agoMITView on GitHub
Version: 1.0.0 Last Updated: 2026-08-21 Purpose: Unified development toolkit for Claude Code - skills, agents, generators, and templates For full architecture, skill registry, workflows, and troubleshooting, see REFERENCE.md. For a getting-started tutorial, see GETTING_STARTED.md. These apply to all work in this project — interactive, headless, ad hoc, or skill-driven. When editing existing code: - Don't "improve" adjacent code, comments, or formatting. - Don't refactor things that aren't broken. - Match existing style, even if you'd do it differently. - If…
- Reads credentials
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
21 rules. About 0 are common, 16 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 17
If multiple interpretations exist, present them — don't pick silently.
- Distinctive: line 18
If a simpler approach exists, say so.
- Distinctive: line 19
If something is unclear, stop.
- Distinctive: line 23
No features beyond what was asked.
- Distinctive: line 24
No abstractions for single-use code.
- Distinctive: line 26
No error handling for impossible scenarios.
- Distinctive: line 27
If you write 200 lines and it could be 50, rewrite it.
- Distinctive: line 31
When editing existing code:
- Distinctive: line 32
Don't "improve" adjacent code, comments, or formatting.
- Distinctive: line 33
Don't refactor things that aren't broken.
- Distinctive: line 35
If you notice unrelated dead code, mention it — don't delete it.
- Distinctive: line 37
When your changes create orphans:
- Very specific: line 38
Remove imports/variables/functions that YOUR changes made unused.
- Distinctive: line 39
Don't remove pre-existing dead code unless asked.
- Distinctive: line 41
Every changed line should trace directly to the request.
- Distinctive: line 52
Always print full absolute paths for artifact references (plan files, review files, audit logs).
- Distinctive: line 64
Follow v2.0.0 architectural patterns (11 patterns, see REFERENCE.md)
- Very specific: line 68
Run bash scripts/test-integration.sh before considering changes complete
- Very specific: line 69
Run bash scripts/validate-all.sh to verify all skills validate
- Very specific: line 73
Follow conventional commits: feat(scope):, fix(scope):, chore(scope):
- Very specific: line 74
Don't commit secrets, .env files, or credentials
≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Claude Devkit
Version: 1.0.0 Last Updated: 2026-08-21 Purpose: Unified development toolkit for Claude Code - skills, agents, generators, and templates
For full architecture, skill registry, workflows, and troubleshooting, see REFERENCE.md. For a getting-started tutorial, see GETTING_STARTED.md.
Coding Guidelines
These apply to all work in this project — interactive, headless, ad hoc, or skill-driven.
1. Think Before Coding
- State assumptions explicitly. If uncertain, ask.
- If multiple interpretations exist, present them — don't pick silently.
- If a simpler approach exists, say so. Push back when warranted.
- If something is unclear, stop. Name what's confusing. Ask.
2. Simplicity First
- No features beyond what was asked.
- No abstractions for single-use code.
- No "flexibility" or "configurability" that wasn't requested.
- No error handling for impossible scenarios.
- If you write 200 lines and it could be 50, rewrite it.
3. Surgical Changes
When editing existing code:
- Don't "improve" adjacent code, comments, or formatting.
- Don't refactor things that aren't broken.
- Match existing style, even if you'd do it differently.
- If you notice unrelated dead code, mention it — don't delete it.
When your changes create orphans:
- Remove imports/variables/functions that YOUR changes made unused.
- Don't remove pre-existing dead code unless asked.
Every changed line should trace directly to the request.
4. Goal-Driven Execution
Transform tasks into verifiable goals:
- "Add validation" -> "Write tests for invalid inputs, then make them pass"
- "Fix the bug" -> "Write a test that reproduces it, then make it pass"
- "Refactor X" -> "Ensure tests pass before and after"
5. Output Rules
- Always print full absolute paths for artifact references (plan files, review files, audit logs). Makes paths clickable in Warp terminal.
Project Rules
Python
- stdlib only for all scripts in
scripts/. No external dependencies. - Atomic writes via
_atomic_write_json()or temp-file-then-rename. - Validation tuples
(bool, error_msg)for validation functions.
Skills
- Edit source (
skills/*/SKILL.md), not deployment (~/.claude/skills/) - Validate before committing:
validate-skill skills/<name>/SKILL.md - Follow v2.0.0 architectural patterns (11 patterns, see REFERENCE.md)
- One skill per directory
Tests
- Run
bash scripts/test-integration.shbefore considering changes complete - Run
bash scripts/validate-all.shto verify all skills validate - New features require integration tests in
test-integration.sh
Git
- Follow conventional commits:
feat(scope):,fix(scope):,chore(scope): - Don't commit secrets,
.envfiles, or credentials
Quick Reference
# Deploy skills
./scripts/deploy.sh
# Run tests (165 integration tests)
bash scripts/test-integration.sh
# Validate all skills (23 skills)
bash scripts/validate-all.sh
# Generate agents for a project
gen-agent ~/projects/my-app --type all
# Core workflow
/architect add feature # Plan
/ship <plan-path> # Implement
/audit # Scan
/sync # Update docs
# Devkit CLI (cross-project)
devkit init ~/projects/my-app
devkit shell ~/projects/my-app
devkit status
devkit learnings # Cross-project pattern detectionKey Architecture
- Skills live in
skills/*/SKILL.md(source) and deploy to~/.claude/skills/ - Artifacts are centralized at
~/.claude-devkit/projects/<project-id>/plans/ - Learnings aggregate cross-project at
~/.claude-devkit/learnings/ - Agents are project-local at
<project>/.claude/agents/ - Helper scripts deploy to
~/.claude-devkit/scripts/
Full documentation: REFERENCE.md (architecture, skill registry, security maturity, audit logging, scoring, workflows, patterns, troubleshooting) Maintained by: @backspace-shmackspace
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

