agentleFS
backspace-shmackspacebackspace-shmackspace/claude-devkit/CLAUDE.md

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
  1. Distinctive:

    If multiple interpretations exist, present them — don't pick silently.

    line 17
  2. Distinctive:

    If a simpler approach exists, say so.

    line 18
  3. Distinctive:

    If something is unclear, stop.

    line 19
  4. Distinctive:

    No features beyond what was asked.

    line 23
  5. Distinctive:

    No abstractions for single-use code.

    line 24
  6. Distinctive:

    No error handling for impossible scenarios.

    line 26
  7. Distinctive:

    If you write 200 lines and it could be 50, rewrite it.

    line 27
  8. Distinctive:

    When editing existing code:

    line 31
  9. Distinctive:

    Don't "improve" adjacent code, comments, or formatting.

    line 32
  10. Distinctive:

    Don't refactor things that aren't broken.

    line 33
  11. Distinctive:

    If you notice unrelated dead code, mention it — don't delete it.

    line 35
  12. Distinctive:

    When your changes create orphans:

    line 37
  13. Very specific:

    Remove imports/variables/functions that YOUR changes made unused.

    line 38
  14. Distinctive:

    Don't remove pre-existing dead code unless asked.

    line 39
  15. Distinctive:

    Every changed line should trace directly to the request.

    line 41
  16. Distinctive:

    Always print full absolute paths for artifact references (plan files, review files, audit logs).

    line 52
  17. Distinctive:

    Follow v2.0.0 architectural patterns (11 patterns, see REFERENCE.md)

    line 64
  18. Very specific:

    Run bash scripts/test-integration.sh before considering changes complete

    line 68
  19. Very specific:

    Run bash scripts/validate-all.sh to verify all skills validate

    line 69
  20. Very specific:

    Follow conventional commits: feat(scope):, fix(scope):, chore(scope):

    line 73
  21. Very specific:

    Don't commit secrets, .env files, or credentials

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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.sh before considering changes complete
  • Run bash scripts/validate-all.sh to 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, .env files, 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 detection

Key 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.