han
CLAUDE.md277 starsChanged 3 months agoMITView on GitHub
Han is a Claude Code plugin suite for solo (or small-team) product engineers. It packages evidence-based planning, deep code review, investigation, and documentation workflows into deterministic slash commands that dispatch specialist sub-agents to do the judgment-heavy work. The suite ships as a family of plugins: han-communication (the foundational plugin beneath every other: it owns the canonical readability standard, the writing-voice profile, and the explanation standard for talking to a reader who will not implement the work, plus the inline readability-guidance…
In this repository2 other files it gives its agents.
- han-releaseSkill
- han-update-documentationSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 53
All skill creation, agent definitions, and other plugin assets must use the appropriate han-plugin-builder guidance markdown files, and / …
- Very specific: line 246
Read before changing any file under han-core/, han-github/, or docs/.
- Very specific: line 314
Every file in this section is owned by han-planning, not vendored.
- Distinctive: line 333
Voice is uniform: Every doc follows han-communication/references/writing-voice.md.
- Distinctive: line 336
YAGNI applies to docs too: Don't add speculative sections, for-future-flexibility warnings, or examples for behavior the skill doesn't have.
- Very specific: line 338
Indexes stay complete, not counted: Every skill in han-communication/skills/, han-core/skills/, han-documentation/skills/, …
- Very specific: line 357
Test: npm test runs Bats over every *.bats file in the repo outside node_modules.
≈ “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.
Files
han: Project Map
Han is a Claude Code plugin suite for solo (or small-team) product engineers. It packages evidence-based planning, deep
code review, investigation, and documentation workflows into deterministic slash commands that dispatch specialist
sub-agents to do the judgment-heavy work. The suite ships as a family of plugins: han-communication (the foundational
plugin beneath every other: it owns the canonical readability standard, the writing-voice profile, and the explanation
standard for talking to a reader who will not implement the work, plus the inline readability-guidance skill that
surfaces the first two, the inline explanation-guidance skill that surfaces the third, the edit-for-readability skill,
the readability-editor agent, and the han-readability and han-concise output styles that apply the first two to
every turn of a session; it depends on nothing and every prose-producing plugin depends on it), han-core (the shared foundation: the
specialist agent roster the rest of the suite dispatches — every shared agent except the readability-editor, the
research-analyst, and the discussion-facilitator — plus the project-discovery skill, the pairing collaborative working mode, and the canonical rule files; depends on no other Han plugin),
han-documentation (the documentation skills: project-documentation, architectural-decision-record, and runbook;
depends on han-communication and han-core and is bundled by the han meta-plugin), han-research (the
pre-planning knowledge-work skills — research, gap-analysis, and issue-triage — plus the research-analyst
agent; depends on han-communication and han-core and is bundled by the han meta-plugin), han-planning (the
planning skills you reach for before
implementation: specifying with plan-a-feature, planning a restructure of existing code with plan-a-change,
planning the build with plan-implementation, sequencing it with plan-a-phased-build, breaking it into work with plan-work-items, and stress-testing plans with
iterative-plan-review, plus the discussion-facilitator agent that audits a planning discussion in progress;
depends on han-communication and han-core and is bundled by the han meta-plugin),
han-coding (the coding skills
you reach for while working in code: writing it with tdd and refactor, designing an interface contract with
design-an-api, plus reviewing, overviewing, analyzing,
testing, investigating, and standardizing it with code-review, code-overview, code-walkthrough,
architectural-analysis,
automated-test-planning, manual-test-planning, investigate, and coding-standard; depends on han-communication and han-core and is bundled by
the han meta-plugin),
han-github (GitHub-facing skills), han-reporting (reporting and summary skills; depends only on
han-communication), han (a meta-plugin that installs han-communication, han-core, han-documentation,
han-research, han-planning, han-coding, han-github, and han-reporting via dependencies),
han-feedback (an opt-in plugin carrying the post-session feedback skill, which depends on no other Han plugin and is
deliberately not bundled by the han meta-plugin, so it is installed separately), han-atlassian (an opt-in plugin
carrying the Atlassian skills — Confluence publishing and work-items-to-Jira — which depends on han-communication,
han-core, han-documentation, han-planning, and han-coding because its wrapper skills run skills from each,
requires a
configured Atlassian MCP server, and is likewise not bundled by the han meta-plugin), han-linear (an opt-in
plugin carrying the work-items-to-Linear skill, which depends on no other Han plugin, requires a configured Linear MCP
server, and is likewise not bundled by the han meta-plugin), han-ddd (an opt-in plugin carrying the
ddd-analysis skill plus the bounded-context-critic, bounded-context-modeler,
business-capability-analyst, domain-language-analyst, domain-ownership-analyst, and domain-visualizer
agents — strategic Domain-Driven Design analysis for discovering bounded context
candidates, business capabilities, domain language signals, and domain ownership patterns, constructing and
evaluating semantic bounded context models, producing a domain and context map, and rendering it as diagrams; depends on
han-communication and han-core; NOT bundled by the han meta-plugin), and han-plugin-builder (an opt-in plugin carrying
the guidance for building skills
and plugins, plus the interview-driven skill-builder and agent-builder skills that author a new skill or agent from
scratch and review it against that guidance; it depends on nothing and is also deliberately not bundled by the han
meta-plugin).
Creating skills, agents, or other plugin aspects
All skill creation, agent definitions, and other plugin assets must use the appropriate han-plugin-builder guidance markdown files, and / or the appropriate han-plugin-builder skill:
/han-plugin-builder:skill-builderfor building skills/han-plugin-builder:agent-builderfor building agents/han-plugin-builder:guidancefor all other plugin aspects
Repository layout
/ # repo root
├── README.md # End-user landing page
├── CONTRIBUTING.md # Contributor guide
├── CLAUDE.md # This file
├── CHANGELOG.md # Version history
├── .claude-plugin/
│ └── marketplace.json # Test Double marketplace manifest (lists han, han-communication, han-core, han-documentation, han-research, han-planning, han-coding, han-github, han-reporting, han-feedback, han-atlassian, han-linear, han-ddd, han-plugin-builder)
├── .agents/
│ └── plugins/
│ └── marketplace.json # Codex-format marketplace manifest for the Codex-compatible subset of the plugins
├── han/ # Meta-plugin: no components of its own; depends on han-communication + han-core + han-documentation + han-research + han-planning + han-coding + han-github + han-reporting
│ ├── README.md # Light meta-plugin front door (no skills/agents sections)
│ └── .claude-plugin/
│ └── plugin.json
├── han-communication/ # Foundational plugin: readability-guidance + explanation-guidance + edit-for-readability skills, readability-editor agent, han-readability + han-concise output styles, and the canonical readability-rule.md + writing-voice.md + explanation-rule.md (depends on nothing; every prose-producing plugin depends on it)
│ ├── README.md # Light front door + scent-line skill and agent lists
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── .codex-plugin/
│ │ └── plugin.json # Codex-format manifest; every han-* plugin carries one, han/ is excluded (omitted from the entries below)
│ ├── scripts/ # han-config-dir.sh, a symlink to the repo-root script; every plugin except han carries one (omitted from the entries below), and each skill's `personal config directory` probe runs it
│ ├── agents/ # readability-editor agent definition
│ ├── skills/ # readability-guidance + explanation-guidance (both inline, each surfaces one standard) + edit-for-readability
│ ├── output-styles/ # han-readability.md (the readability rule and writing voice distilled into a selectable output style) + han-concise.md (the same, plus a brevity property that is this style's own addition) (auto-discovered default location; no plugin.json field)
│ ├── docs/ # In-plugin long-form docs: docs/skills/{name}.md + docs/agents/readability-editor.md + docs/output-styles/{han-readability,han-concise}.md
│ └── references/ # Canonical readability-rule.md + writing-voice.md + explanation-rule.md (owned here; no vendored copies elsewhere), beside a vendored config-rule.md
├── han-core/ # Core plugin: the shared specialist agent roster (all agents except readability-editor and research-analyst) + project-discovery + pairing (depends on no other Han plugin)
│ ├── README.md # Light front door; skills and agents grouped by purpose
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── agents/ # Agent definitions (.md with frontmatter)
│ ├── skills/ # project-discovery and pairing skill directories, each with SKILL.md (+ references/ where used)
│ ├── docs/ # In-plugin long-form docs: docs/skills/{name}.md + docs/agents/{name}.md
│ └── references/ # Cross-skill reference files (yagni-rule.md, evidence-rule.md, config-rule.md, collaborative-stop-rule.md — canonical copies)
├── han-documentation/ # Documentation plugin: project-documentation, architectural-decision-record, runbook (depends on han-communication and han-core; bundled by the han meta-plugin)
│ ├── README.md # Light front door + scent-line skills list
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── skills/ # Documentation skill directories, each with SKILL.md + references/
│ ├── docs/ # In-plugin long-form docs: docs/skills/{name}.md
│ └── references/ # Cross-skill reference files vendored for han-documentation skills (yagni-rule.md, evidence-rule.md, config-rule.md)
├── han-research/ # Research plugin: research, gap-analysis, issue-triage + the research-analyst agent (depends on han-communication and han-core; bundled by the han meta-plugin)
│ ├── README.md # Light front door + scent-line skills and agent lists
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── agents/ # research-analyst agent definition
│ ├── skills/ # Research skill directories, each with SKILL.md + references/
│ ├── docs/ # In-plugin long-form docs: docs/skills/{name}.md + docs/agents/research-analyst.md
│ └── references/ # Cross-skill reference files vendored for han-research skills (yagni-rule.md, evidence-rule.md, config-rule.md)
├── han-planning/ # Planning plugin: plan-a-feature, plan-a-change, plan-implementation, plan-a-phased-build, plan-work-items, iterative-plan-review (the skills for planning before implementation) + the discussion-facilitator agent (depends on han-communication and han-core; bundled by the han meta-plugin)
│ ├── README.md # Light front door + scent-line skills and agent lists
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── agents/ # discussion-facilitator agent definition
│ ├── skills/ # Planning skill directories, each with SKILL.md + references/ + scripts/
│ ├── docs/ # In-plugin long-form docs: docs/skills/{name}.md + docs/agents/discussion-facilitator.md
│ └── references/ # Both kinds: han-planning-owned canonical files (planning-boundary-rule.md, scope-justification-rule.md, operator-escalation-rule.md, contract-pinning-rule.md, synthesis-failure-rule.md) beside vendored copies (yagni-rule.md, evidence-rule.md, config-rule.md, collaborative-stop-rule.md). Each owned file opens by saying so; do not overwrite one in a re-sync sweep
├── han-coding/ # Coding plugin: tdd, refactor, design-an-api, code-review, code-overview, code-walkthrough, architectural-analysis, automated-test-planning, manual-test-planning, investigate, coding-standard (the skills for working in code; depends on han-communication and han-core; bundled by the han meta-plugin)
│ ├── README.md # Light front door + scent-line skills list
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── skills/ # Coding-facing skill directories, each with SKILL.md + references/ (+ scripts/ where used)
│ ├── docs/ # In-plugin long-form docs: docs/skills/{name}.md
│ └── references/ # Cross-skill reference files vendored for han-coding skills (yagni-rule.md, evidence-rule.md, config-rule.md, collaborative-stop-rule.md)
├── han-github/ # GitHub plugin: post-code-review-to-pr, update-pr-description, work-items-to-issues (depends on han-communication, han-core, and han-coding, whose code-review skill post-code-review-to-pr wraps)
│ ├── README.md # Light front door + scent-line skills list
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── skills/ # GitHub-facing skill directories, each with SKILL.md + scripts/ (+ references/ where used)
│ ├── docs/ # In-plugin long-form docs: docs/skills/{name}.md
│ └── references/ # Vendored config-rule.md
├── han-reporting/ # Reporting plugin: stakeholder-summary, html-summary (depends on han-communication for the readability standard)
│ ├── README.md # Light front door + scent-line skills list
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── skills/ # Reporting skill directories, each with SKILL.md + references/ (html-summary adds scripts/ + assets/)
│ ├── docs/ # In-plugin long-form docs: docs/skills/{name}.md
│ └── references/ # Vendored config-rule.md
├── han-feedback/ # Opt-in feedback plugin: han-feedback (depends on no other Han plugin; NOT bundled by the han meta-plugin)
│ ├── README.md # Light front door + scent-line skills list
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── skills/ # Feedback skill directory (han-feedback) with SKILL.md
│ ├── docs/ # In-plugin long-form docs: docs/skills/han-feedback.md
│ └── references/ # Vendored config-rule.md
├── han-atlassian/ # Opt-in Atlassian plugin: markdown-to-confluence, project-documentation-to-confluence, investigate-to-confluence, code-overview-to-confluence, plan-a-feature-to-confluence, work-items-to-jira (depends on han-communication, han-core, han-documentation, han-planning, han-coding; requires the Atlassian MCP server; NOT bundled by the han meta-plugin). Carries README.md + docs/skills/ like the other layers.
├── han-linear/ # Opt-in Linear plugin: work-items-to-linear (depends on no other Han plugin; requires the Linear MCP server; NOT bundled by the han meta-plugin)
│ ├── README.md # Light front door + scent-line skills list
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── skills/ # Linear skill directory, with SKILL.md + references/
│ ├── docs/ # In-plugin long-form docs: docs/skills/work-items-to-linear.md
│ └── references/ # Vendored config-rule.md
├── han-ddd/ # Opt-in DDD analysis plugin: ddd-analysis skill + bounded-context-critic, bounded-context-modeler, business-capability-analyst, domain-language-analyst, domain-ownership-analyst, and domain-visualizer agents (depends on han-communication and han-core; NOT bundled by the han meta-plugin)
│ ├── README.md # Light front door + scent-line skills and agent lists
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── .codex-plugin/
│ │ └── plugin.json
│ ├── agents/ # Agent definitions (.md with frontmatter)
│ ├── skills/ # ddd-analysis skill directory, with SKILL.md + references/
│ ├── docs/ # In-plugin long-form docs: docs/skills/ddd-analysis.md + docs/agents/{name}.md
│ └── references/ # Vendored config-rule.md, evidence-rule.md, yagni-rule.md
├── han-plugin-builder/ # Opt-in plugin-building plugin: guidance, skill-builder, agent-builder (depends on nothing; NOT bundled by the han meta-plugin)
│ ├── README.md # Light front door + scent-line skills list
│ ├── .claude-plugin/
│ │ └── plugin.json
│ ├── skills/ # guidance skill (SKILL.md + assets/ + scripts/ + references/, the authoring guidance by topic); skill-builder and agent-builder (SKILL.md each, the interview-driven builders)
│ ├── docs/ # In-plugin long-form docs: docs/skills/{name}.md
│ └── references/ # Vendored config-rule.md
├── docs/ # Operator-facing documentation (cross-plugin surfaces; long-form docs now live in each plugin)
│ ├── concepts.md
│ ├── configuration.md # The .han/config.md configuration guide, personal and project (canonical annotated example)
│ ├── evidence.md # What counts as evidence in Han and how skills characterize its strength
│ ├── local-development.md # Testing skill changes locally via a local marketplace source
│ ├── plugin-readme.md # What every plugin's front-door README.md carries
│ ├── quickstart.md
│ ├── readability.md # The shared readability standard and how skills apply it
│ ├── semantic-versioning.md # Versioning policy for plugin.json and marketplace.json
│ ├── sizing.md
│ ├── why-solo-and-small-teams.md # Who Han is for and why it targets solo and small-team engineers
│ ├── yagni.md
│ ├── workflows.md # The map of which skills chain together, with mermaid flow diagrams
│ ├── choosing-a-han-plugin.md # The plugin index (scent + link to each plugin README) and install guide
│ ├── adr/ # Architectural decision records for the Han repo itself
│ ├── agents/ # Agents index README only (long-form agent docs moved into their plugins)
│ ├── skills/ # Skills index README only (long-form skill docs moved into their plugins)
│ ├── how-to/ # End-to-end workflow guides (planning, bugs, research)
│ ├── templates/ # Templates and coverage rule for long-form docs
│ ├── plans/ # Plan documents (one folder per plan; nested research lives inside)
│ └── research/ # Standalone research reports not tied to a specific plan
├── scripts/ # Repo-root shared scripts every plugin symlinks to (han-config-dir.sh, with its Bats tests beside it)
├── test/ # Harness-level Bats checks (a script's own tests sit beside it)
└── images/ # Banner and graphics for READMEThe plugins are shipped from han-communication/, han-core/, han-documentation/, han-research/,
han-planning/, han-coding/, han-github/, han-reporting/, han-feedback/, han-atlassian/, han-linear/,
han-ddd/, and han-plugin-builder/; the han/ meta-plugin pulls in han-communication, han-core, han-documentation,
han-research, han-planning, han-coding, han-github, and han-reporting through its dependencies.
han-communication is the foundational layer beneath every other plugin: it depends on nothing and owns the canonical
readability standard plus the explanation standard that governs what a run says to a person in a turn, and every plugin
that produces prose output (han-documentation, han-research,
han-planning, han-coding, han-github, han-reporting, and the opt-in han-atlassian) declares a direct
dependency on it. han-documentation, han-research, han-planning, and han-coding depend on
han-communication and han-core and are bundled by the meta-plugin, as are han-github and han-reporting
(han-reporting depends only on han-communication). han-feedback, han-atlassian, han-linear, and han-ddd are
deliberately left out of the meta-plugin, so each is opt-in and installed on its own: han-atlassian depends on
han-communication, han-core, han-documentation, han-planning, and han-coding and requires a configured
Atlassian MCP server; han-feedback and han-linear depend on no other Han plugin, and han-linear requires a
configured Linear MCP server; han-ddd depends on han-communication and han-core. han-plugin-builder depends on nothing and is likewise opt-in and installed on its own. The
contributor-facing authoring guidance (how to build skills, agents, and plugins) lives inside
han-plugin-builder/skills/guidance/references/, not under docs/; running the guidance skill with init vendors
all three plugin-building skills into any repo's .claude/skills/ under a plugin- prefix (plugin-guidance,
plugin-skill-builder, and plugin-agent-builder, so they never collide with this plugin's own slash commands), plus a
path-scoped rule index, so the skills run and the guidance surfaces with no dependency on the plugin being installed.
The same plugin also ships those two interview-driven builder skills, skill-builder and agent-builder, that walk the
design tree for a new skill or agent decision-by-decision and then review the finished artifact against that guidance.
Documentation is plugin-first: each plugin carries a light front-door README.md and its own long-form docs. Long-form
docs in {plugin}/docs/skills/{name}.md and {plugin}/docs/agents/{name}.md (agents only in han-core,
han-communication, han-research, han-planning, and han-ddd) are the canonical operator-facing source for every skill and every agent,
sitting beside that plugin's README. The cross-plugin surfaces stay under repo-root docs/: the alphabetized skills
and agents indexes (docs/skills/README.md, docs/agents/README.md), the plugin index
(docs/choosing-a-han-plugin.md), and the workflows composition map (docs/workflows.md). The underlying definition
(han-communication/skills/{name}/SKILL.md, han-core/skills/{name}/SKILL.md,
han-documentation/skills/{name}/SKILL.md, han-research/skills/{name}/SKILL.md,
han-planning/skills/{name}/SKILL.md, han-coding/skills/{name}/SKILL.md, han-github/skills/{name}/SKILL.md,
han-reporting/skills/{name}/SKILL.md, han-feedback/skills/{name}/SKILL.md, han-atlassian/skills/{name}/SKILL.md,
han-linear/skills/{name}/SKILL.md, han-ddd/skills/{name}/SKILL.md, han-core/agents/{name}.md,
han-communication/agents/{name}.md, han-research/agents/research-analyst.md,
han-planning/agents/discussion-facilitator.md, or han-ddd/agents/{name}.md) is the implementation.
When to use which doc
This section does not need to list docs for all the skills, agents, etc. Only docs that are relevant to using an agent such as Claude, should be referenced here.
Entry points
- README.md. End-user landing page. Use to understand what the plugin is and where to start. Lists install instructions and pointers to every other doc.
- CONTRIBUTING.md. Contributor guide for adding or editing skills, agents, and documentation.
Read before changing any file under
han-core/,han-github/, ordocs/. - CHANGELOG.md. Version history. Check when a behavior or skill name in user-supplied context doesn't match what's on disk. May be a pre-2.0 rename or a removed feature.
Configuration
- docs/configuration.md. The operator guide for
.han/config.md, the optional file a person carries in their Claude Code configuration directory and a consuming project carries at its root, to set an output base directory, a default swarm size, a writing-voice profile, and extra agents for Han skills. The project file overrides the personal one setting by setting. Holds the single canonical annotated schema example. - han-core/references/config-rule.md. The canonical interpretation contract
(schema tokens, precedence, containment, pool-join, degradation) every participating skill applies. Vendored
byte-identical into every skill-carrying plugin's
references/; edit the canonical copy and re-sync the others.
Collaborative working mode
- han-core/references/collaborative-stop-rule.md. The shared
contract behind
/pairing: how a skill detects the collaborative flag, what a stop presents and in what order, when the pre-build ask fires and what makes a choice expensive to walk back, and what to do with the answer. Consumed bypairingand by the skills that hand control back at their own boundaries —tdd,refactor,design-an-api,iterative-plan-review, andplan-implementation. Vendored byte-identical intohan-coding/references/andhan-planning/references/; edit the canonical copy and re-sync the others.
Writing voice
- han-communication/references/writing-voice.md. Voice profile
every doc in the plugin follows. Em-dashes only as a label-gloss or appositive separator, direct second person,
plainspoken mentor tone, named voice violations to avoid. Single canonical copy in the foundational
han-communicationplugin; no vendored copies. Consuming skills source it cross-plugin by invokinghan-communication:readability-guidance. - han-communication/references/explanation-rule.md. The standard
for explaining technical work to a reader who will not implement it: give a concrete outcome they could observe rather
than a mechanism, and never use a term that appears in neither the work item nor the conversation. It governs what a run
says to a person in a turn, where the readability rule governs the shape of a written deliverable. Skills that escalate
source it by invoking
han-communication:explanation-guidance. Guidance only, with no self-check. - han-communication/output-styles/han-readability.md. The
readability rule and the writing-voice blocklist distilled into a selectable output style, so the standard shapes every
turn of a session rather than only the skills that invoke
readability-guidance. Derived from the two canonical files above; when you edit either one, check whether the style needs the same change. It cannot read.han/config.md, so it carries the built-in voice and no configured-profile override. - han-communication/output-styles/han-concise.md. The same
distillation with two departures from the canonical rule. A turn drops preamble and recap and spends no sentence that
carries neither a fact nor a needed transition. And in place of
Fidelity wins, it assumes the reader wants less than the source carries, so detail rolls up into the statement it supports, with a floor holding a fact whose loss would change what they do next, a number they will act on, and a stated condition that bounds a claim. Its self-check keeps the rule's eight criteria with the fact criterion rewritten for the roll-up. Keep the two styles in sync on everything else, and keep both departures out ofreadability-rule.mdunless you intend every Han skill to adopt them.
Shared planning conventions (han-planning/references/)
- han-planning/references/planning-boundary-rule.md. The scope
boundary record (
artifacts/scope-boundary.md, its named sections, the conflict rule) together with the visual-material convention (theui-designs/folder, the accepted file set, persist-on-arrival, the completeness gate, and theVisual Referenceheading and embed form the downstream inventory reads). - han-planning/references/scope-justification-rule.md. The per-unit justification field, the cut list and how it differs from a YAGNI deferral, and the scope gate with its floor.
- han-planning/references/operator-escalation-rule.md. One question per turn, the plain-language lead, named candidate answers, the single stop, and the escalation register.
- han-planning/references/contract-pinning-rule.md. What
counts as a contract two or more components must independently agree on, what counts as pinning one (a worked
example, a grammar line, a field layout, or a link to an artifact that already exists), the phrases that never close
one, and which stage of the chain owns pinning it. Consumed by
plan-a-feature,plan-a-change,plan-implementation,plan-work-items, anditerative-plan-review. The phrase list is mirrored bycheck-contract-pinning.sh; the rule is canonical, so edit it first. - han-planning/references/synthesis-failure-rule.md. The
check a caller runs after
han-core:plan-synthesizerreturns, to confirm the plan file exists and holds content before any later step reads it, plus the three things the stop says when it does not: what did not happen, what landed inartifacts/, and how to recover. Consumed byplan-implementationandplan-a-feature, the two skills that dispatch the synthesizer to write files.
Every file in this section is owned by han-planning, not vendored. Each opens by saying so.
Templates (docs/templates/)
- docs/templates/skill-long-form-template.md. Template for a new skill's long-form doc.
- docs/templates/agent-long-form-template.md. Template for a new agent's long-form doc.
- docs/templates/coverage-rule.md. The rule: every skill and every agent gets a long-form doc.
Conventions
- One canonical source per concept. The long-form doc in
{plugin}/docs/skills/or{plugin}/docs/agents/is canonical for that skill or agent, and the plugin'sREADME.mdis canonical for what the plugin does. The other surfaces (plugin README scent line, skills or agents index, plugin index) carry a one-sentence scent plus a link that reuses the long-form doc's own summary line, never a second copy of the content. - Every long-form doc links up. The first bullet of the "Related documentation" section points to the doc's adjacent plugin README, then the repository root.
- Voice is uniform. Every doc follows han-communication/references/writing-voice.md. No em-dashes, direct second person, no flattery or hype.
- YAGNI applies to docs too. Don't add speculative sections, for-future-flexibility warnings, or examples for behavior the skill doesn't have. The same evidence rule that gates plan steps gates docs.
- Indexes stay complete, not counted. Every skill in
han-communication/skills/,han-core/skills/,han-documentation/skills/,han-research/skills/,han-planning/skills/,han-coding/skills/,han-github/skills/,han-reporting/skills/,han-feedback/skills/,han-atlassian/skills/,han-linear/skills/,han-ddd/skills/, andhan-plugin-builder/skills/has a long-form doc in its plugin'sdocs/skills/, a scent line in its plugin'sREADME.md, and an entry in the skills index (docs/skills/README.md); same for agents inhan-core/agents/,han-communication/agents/,han-research/agents/,han-planning/agents/, andhan-ddd/agents/(long-form docs in{plugin}/docs/agents/, indexed indocs/agents/README.md). Verify the indexes list every entity when editing them, rather than tracking a running total. An output style inhan-communication/output-styles/gets a long-form doc in{plugin}/docs/output-styles/and a plugin README scent line, with no repo-root index until a second plugin ships one.
Project Discovery
- Default branch:
main - Language: Markdown (skill, agent, and doc content) and Bash (skill
scripts/, plus the shared repo-rootscripts/) - Package manager: npm. The root
package.jsonmanages dev tooling only; there is no application build or dev server. - Install:
npm installinstalls prek, Prettier, and Bats locally, with nothing on the global PATH. - Lint:
npm run lintrunsprek run --all-files(Prettier, ShellCheck, and file-hygiene hooks). - Test:
npm testruns Bats over every*.batsfile in the repo outsidenode_modules; a script's tests sit beside it in the same directory, and harness-level checks live intest/.
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.

