Long-form Doc Coverage Rule

July 6, 2026 ยท View on GitHub

Every skill and agent in the han plugin gets a long-form doc. No exceptions.

The Rule

When you add a new skill, you create a long-form doc in docs/skills/{plugin}/{name}.md using the skill template.

When you add a new agent, you create a long-form doc in docs/agents/han-core/{name}.md using the agent template.

The long-form doc lands in the same pull request as the skill or agent definition. Not as a follow-up. Not "when there's time."

Why this rule

Earlier versions of the plugin used a tiered coverage rule that left simple agents and skills without long-form docs. That model produced two problems:

  1. Inconsistent reader experience. Some agents had rich docs; others linked straight to the SKILL.md or the agent definition. Readers learned which agents had docs and which didn't, which is exactly the wrong thing to learn.
  2. Drift over time. Agents that started simple grew into multi-mode tools, and the missing long-form doc was hard to schedule retroactively.

The simpler rule (every skill and every agent has a doc) removes both problems.

The cost is small per agent: a screen or two of structured content explaining when to use it, how to invoke it, and how to get the most out of it.

What goes in the long-form doc

Each long-form doc answers the same questions:

  • What it does. One sentence the reader can act on.
  • When to dispatch it. The single strongest trigger plus the named anti-cases (when to use a different agent instead).
  • What you get back. The artifact, return shape, and ID scheme.
  • Key concepts. The vocabulary and posture the agent or skill brings.
  • How to invoke it. Inputs, optional flags, example prompts.
  • How to get the most out of it. Levers, pairings with other agents or skills.
  • Cost and latency. Model tier, typical run shape, when to avoid tight loops.
  • YAGNI (when applicable). Which rule the agent or skill enforces.
  • Sources. The named frameworks the agent or skill draws from.
  • Related documentation. Cross-references to sibling agents, dispatching skills, and contributor guidance.

The skill and agent templates in this folder lay out the section order. Follow it.

What is not the long-form doc

The long-form doc does not duplicate the SKILL.md or agent definition. The definition is the implementation: protocols, anti-patterns, output formats, the agent's internal vocabulary. The long-form doc is the operator manual: when to reach for it, what to expect back, and how to wire it into the workflow.

If you find yourself copy-pasting from the definition into the long-form doc, stop. Cite the section in the definition and explain when the operator would care about it.