Skip to content
Agentmart
Submit a tool

create-doc

Create governed documentation files for the Hybrid Agent Rail docs system.

Skill by Yemomo511

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yemomo511-create-doc

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create governed documentation files for the Hybrid Agent Rail docs system. Use when adding or updating long-lived docs under docs/, synchronizing docs/KNOWLEDGE.md Source metadata, or validating docs against the repo documentation template.

Use cases: documents, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/create-doc

What's inside

Skill name
create-doc
Description
Create governed documentation files for the Hybrid Agent Rail docs system. Use when adding or updating long-lived docs under docs/, synchronizing docs/KNOWLEDGE.md Source metadata, or validating docs against the repo documentation template.
License
MIT
Instructions
58 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (6)

  • SKILL.md
  • create-doc-layout.test.mjs · __test__/
  • TEMPLATE.md · references/
  • document-system-contract.md · references/
  • validate-knowlegdge.mjs
  • validate.mjs

SKILL.md (first lines)

# Create Doc

## Overview

Create long-lived documentation under `docs/<name>/doc.md` using the repo documentation contract. This skill keeps docs concise, indexable, and governed by requiring a template-backed document plus a synchronized `docs/KNOWLEDGE.md` Source entry.

## Workflow

1. Read `references/TEMPLATE.md` before drafting a new document.
2. Use `references/document-system-contract.md` as the good example when deciding what belongs in the document.
3. Create or update the target Markdown document at `docs/<name>/doc.md`.
4. Update `docs/KNOWLEDGE.md` under `## Source`; the document link must target `<name>/doc.md`.
5. Run `node .codex/skills/create-doc/validate.mjs docs/<name>/doc.md`.
6. Run `node .codex/skills/create-doc/validate-knowlegdge.mjs docs/<name>/doc.md`.
7. Fix all reported issues before considering the document complete.

## Document Rules

Every governed doc must keep the template's required frontmatter:

- `name`
- `description`
- `keywords`
- `doc_type`
- `source_path`

Every governed doc must keep the required body sections:

- `# <DocName>`
- `## Purpose`
- `## Applies To`
- `## Content`
- `## Update When`

Delete unused optional sections. Do not leave template placeholders such as `<knowledge-name>`, `<DocName>`, or `<-- ... -->` in completed docs.

Every governed doc must live at `docs/<name>/doc.md`, where `<name>` matches the document frontmatter `name`. Do not create governed docs as `docs/<name>.md`.

## Knowledge Source Rules

`docs/KNOWLEDGE.md` is an index, not a second copy of the document. Each Source item must contain only:

- document link
- `name`
- `description`
- `keywords`
- `doc_type`

The document link must use the directory format `<name>/doc.md`.

Do not include `source_path` in `docs/KNOWLEDGE.md`. `source_path` belongs only in each document's frontmatter.

## References

- `references/TEMPLATE.md`: copy this when creating a new docs document.
- `references/document-system-contract.md`: use this as the concrete good example for format and content weight.

From Yemomo511/hybrid-agent-rail, MIT.

More from Yemomo511/hybrid-agent-rail

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
May 21, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Yemomo511

Cite this page

create-doc skill. Agent Mart. https://agentmart.dev/skills/yemomo511-create-doc (last updated 2026-10-24)