agentleFS
broneqbroneq/bdk/CLAUDE.md

bdk

CLAUDE.md1 starsChanged 48 days agoMITView on GitHub

Claude Code plugin packaging reusable dev workflows (skills, agents, hooks) that install into any project. rules/ = BDK distributable output — ships to user projects. Not .claude/rules/ (dev-time conventions for BDK itself). Portability rule: skill only makes sense for one language stack or domain → not BDK. Put in target project's .claude/ instead. STARTUP_INSTRUCTIONS.md injected into every user session. Changes affect all skills. - Keep concise — occupies context every session start - Verify skills relying on modified section still…

The file

We split this CLAUDE.md into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every skill starts with: > Relies on BDK foundation (STARTUP_INSTRUCTIONS.md)...

    line 26
  2. Distinctive:

    Verify: no project-specific paths, tool names, or commands

    line 48
  3. Very specific:

    Add entry to ## Skills table in README.md

    line 49
  4. Very specific:

    Write eval in tests/evals/skills/<name>/

    line 50
  5. Distinctive:

    Keep concise — occupies context every session start

    line 63
  6. Distinctive:

    Verify skills relying on modified section still work

    line 64
  7. Distinctive:

    Test in isolated project after changes

    line 65

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

BDK — Broneq Dev Kit

Claude Code plugin packaging reusable dev workflows (skills, agents, hooks) that install into any project.

Architecture

skills/                  — thin workflow definitions (language-agnostic)
agents/                  — subagent definitions used internally by skills
hooks/                   — hooks.json + shell scripts
rules/                   — convention docs distributed WITH the plugin to end-users
STARTUP_INSTRUCTIONS.md  — injected into user sessions at SessionStart via hook
tests/evals/             — skill behavior evals (LLM output grading, iterations)
tests/unit/              — pytest unit/integration tests for scripts
docs/                    — design specs and analysis

rules/ = BDK distributable output — ships to user projects. Not .claude/rules/ (dev-time conventions for BDK itself).

Key Conventions

  • Skills must be language-agnostic — no hardcoded pytest, go test, npm test, etc.
  • Environment discovery (test runner, build tool, lint command) delegated to STARTUP_INSTRUCTIONS.md
  • New skills auto-inherit all conventions — edit shared foundation, not individual skills
  • Skills reference each other with full namespace: /bdk:create-plan, /bdk:debug
  • Every skill starts with: > Relies on BDK foundation (STARTUP_INSTRUCTIONS.md)...

Development Commands

# Install BDK locally into a test project
# Launch Claude Code from the target project directory with:
claude --plugin-dir ~/projects/bdk

# Invoke a skill in the test project
/bdk:commit
/bdk:debug

# Run unit tests (deterministic, fast)
pytest tests/unit/

# Run skill evals — see .claude/rules/skill-test-eval.md for format

Adding a New Skill

  1. Create skills/<name>/skill.md
  2. Verify: no project-specific paths, tool names, or commands
  3. Add entry to ## Skills table in README.md
  4. Write eval in tests/evals/skills/<name>/

Portability rule: skill only makes sense for one language stack or domain → not BDK. Put in target project's .claude/ instead.

Adding an Agent

  1. Create agents/<name>.md
  2. Assign model (haiku = fast/cheap, sonnet = balanced, opus = deep analysis)
  3. List in ## Agents table in README.md

Modifying the Shared Foundation

STARTUP_INSTRUCTIONS.md injected into every user session. Changes affect all skills.

  • Keep concise — occupies context every session start
  • Verify skills relying on modified section still work
  • Test in isolated project after changes

Plugin Reference Verification

When implementing or modifying anything that depends on Claude Code plugin loader behaviour — directory layout, manifest fields, hook events, frontmatter, ${CLAUDE_PLUGIN_ROOT}, skill discovery, MCP/LSP server config, etc. — fetch https://code.claude.com/docs/en/plugins-reference first and verify the convention against the current spec. Don't trust prior assumptions; the spec evolves. Cite the relevant section before recommending non-standard behaviour.

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.