agentleFS
blueclover22blueclover22/mw_agent_kit/CLAUDE.md

mw_agent_kit

CLAUDE.md1 starsChanged 8 days agoMITView on GitHub

This repository IS the Claude Code plugin mak. There is no application code — everything is Markdown / JSON, plus Bash fixture scripts under evals/, check scripts under scripts/, and hook scripts under hooks/. The repository root is the plugin root; the manifest lives at .claude-plugin/plugin.json.

The file

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

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Every tool in an agent's tools: beyond Read/Grep/Glob must have its allowed use stated in that agent's body.

    line 23

≈ “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

CLAUDE.md — Development Rules for the mak Plugin Repository

This repository IS the Claude Code plugin mak. There is no application code — everything is Markdown / JSON, plus Bash fixture scripts under evals/, check scripts under scripts/, and hook scripts under hooks/. The repository root is the plugin root; the manifest lives at .claude-plugin/plugin.json.

Language Policy

  • skills/*/SKILL.md and agents/*.md instructions / frontmatter descriptions — English
  • skills/*/assets/ templates and doc sets — English (output language is delegated to each skill's "follow the user's language" note)
    • Exception: skills/setup/assets/claude-md-snippet.ko.md / .en.md — a Korean/English mirror pair injected verbatim into ~/.claude/CLAUDE.md (mak:setup picks by the user's language). Edit both together; markers must stay identical across the pair
  • evals/ — case, grader, and script code English; prompt.md bodies and seeded fixture text may be Korean (the kit's primary user language)
  • README.md / docs/guide.md — Korean by default, with English twins README.en.md / docs/guide.en.md. Editing one side requires syncing the other
  • This file and AGENTS.md — English

Reference Rules (consistency invariants)

  • Cross-references between skills/agents always use the mak:-prefixed name (mak:dev-kickoff). Bare names are forbidden
  • Agent availability is phrased as "if the agent is in the available agent list" — never as a .claude/agents/*.md file-existence check
  • The design-doc save-path rule has ONE home: skills/design-doc-template/SKILL.md §Save location. Skills and agents must attribute it ("per the mak:design-doc-template save-path rule") and may restate the default for readability; user-facing docs (README, guide) may state the default plainly. The rule text itself lives only in the home. Changing the default means updating every restatement — grep .claude/mak/plan/ to find them
  • The research-doc save-path rule has ONE home: agents/researcher.md §Save location. The main thread applies it and passes the resolved path in, so the default is restated where the main thread can read it — skills/setup/assets/claude-md-snippet.ko.md/.en.md. Changing the default means updating both restatements — grep docs/research/ to find them
  • An agent that loads a companion skill via frontmatter skills: must not restate that skill's procedure, order, or report format — point at the section instead.
  • The task grades and the four coding principles have ONE home: docs/guide.md §2.1 / §2.2. The setup snippets inject copies of both (task-grade table from §2.1, principle mapping from §2.2 — the snippet copy keeps only the first two columns, Principle / Core behaviors, and drops Enforcement gates) + the mak delegation rules — a change to any column the snippet copies must be synced across 4 places: guide ko/en + snippet ko/en; a change confined to the Enforcement gates column syncs guide ko/en only. Skills/agents keep the "project/global Coding Rules take precedence" phrasing
  • Every tool in an agent's tools: beyond Read/Grep/Glob must have its allowed use stated in that agent's body. Bash counts as a write vector — an agent claiming "never modifies" while holding it must say what it may and may not do
  • A procedure whose steps can be split between the main thread and a delegated agent must name the performer per step. When it lives in skills/*/assets/, that naming belongs in the asset — it is read in the target project, where the delegating agent's instructions are not present
  • Skills that reference files inside the plugin use ${CLAUDE_PLUGIN_ROOT}
  • Frontmatter description carries trigger conditions only (when to use / when not to). Detailed criteria go in the body — descriptions are loaded into every session and cost tokens permanently. Agent descriptions are the exception: the orchestrator picks an agent from its description alone, so capability and constraint wording ("reads source and fills docs", "never modifies code") is functional there and stays
  • Agent principle bullets (agents/*.md) start with a bold lead-in label (- **Label** — detail). Keep this emphasis structure uniform across all agents
  • A reference that forbids routing to a component (rather than pointing at it) must be phrased Never route into \mak:<name>` — the fixed wording is what lets the connectivity check (docs/maintenance.md§Conditional Verification) tell a prohibition apart from a real handoff. Both read asmak:<name>to grep, so an unmarked prohibition silently counts as an inbound edge and hides an orphan. Currently the only one isskills/verify-checklist/SKILL.md→mak:commit`
  • agents/coder.md, agents/reviewer.md, agents/auditor.md load their companion skill via frontmatter skills:; agents/analyzer.md must NOT — it follows the copied doc set's own rulebook (target docs/CLAUDE.md·00.INDEX.md) instead
  • The marketplace name mw-agent-kit and the plugin name mak must never change — installed users' references would break

Maintenance Procedures

  • Adding or removing a skill / agent, and cutting a release: read docs/maintenance.md first — both are multi-file syncs

Verification Commands

This is a Markdown/JSON repository — no build or unit tests. Run 1–2 after every change; the rest are conditional and their procedures live in docs/maintenance.md. This list is what tells you when to go read them.

  1. claude plugin validate . — manifest/structure validation
  2. bash scripts/check.sh — consistency, size, snippet-mirror, and git-guard hook checks; must print OK (exit 0). CI runs this on push and PR

Conditional — when one of these applies, run the matching procedure in docs/maintenance.md §Conditional Verification:

TriggerCheck
A skill/agent added, removed, or rewiredGraph connectivity (SINK / ORPHAN)
skills/ · agents/ · hooks/ · manifest changed (what actually ships)Local smoke install
The setup snippet changedSnippet probe
skills/setup/ or skills/teardown/ logic changedsetup → re-run → teardown round-trip
skills/reverse-engineering/assets/ changedDoc-set closure (file references resolve) + related_to symmetry
A skill description, SKILL.md procedure, or agent frontmatter changedBehavior eval smoke (+ agent cases for agent frontmatter)

Document Paths

  • Design docs for this repository: .claude/mak/plan/ (working documents; may be removed once their work is finished)

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.