agentleFS
jerelvelardejerelvelarde/chalk-skills/skills/create-doc/SKILL.md

create-doc

Skill8 starsChanged 9 months agoMITView on GitHub

Create a new doc file in .chalk/docs/ when the user asks to create, write, or add documentation

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Create a new documentation file in .chalk/docs/.

    line 22
  2. Distinctive:

    If the user specifies a vertical ("engineering doc about..."), use it.

    line 41
  3. Distinctive:

    No YAML frontmatter (docs are plain markdown)

    line 68
  4. Very specific:

    Use ## Heading for sections

    line 71
  5. Distinctive:

    All GFM features supported: tables, checkboxes, strikethrough, code blocks, Mermaid diagrams

    line 72

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “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
SKILL.md

Create a new documentation file in .chalk/docs/.

Workflow

  1. Parse the request — Identify the target vertical and topic from $ARGUMENTS.
  2. Check existing docs — Read filenames in the target directory to find the highest numbered file. The next doc number is highest + 1.
  3. Draft the doc — Write substantive content, not stubs. Use the structure and tone guidelines below.
  4. Write the file — Save to .chalk/docs/<vertical>/<number>_<slug>.md.
  5. Confirm — Tell the user the doc was created with its path and a brief summary.

Verticals

VerticalDirectoryUse For
Productproduct/Vision, strategy, user research, pricing, competitive analysis
AIai/Agent context, codebase orientation, prompt patterns, gotchas
Engineeringengineering/Architecture, conventions, APIs, runbooks, data flows
Root.chalk/docs/Docs that don't fit a vertical

If the user specifies a vertical ("engineering doc about..."), use it. If ambiguous, infer from content: technical architecture -> engineering, product strategy -> product, agent context -> ai.

Filename Convention

<number>_<snake_case_slug>.md
  • Number is sequential within the vertical directory (profile docs are always 0_)
  • Slug is a short snake_case summary

Doc File Structure

# <Doc Title>

Last updated: <YYYY-MM-DD> (<brief change note>)

## <First Section>

Content...

## <Next Section>

Content...
  • No YAML frontmatter (docs are plain markdown)
  • First # Heading is the title
  • "Last updated" line immediately after the title
  • Use ## Heading for sections
  • All GFM features supported: tables, checkboxes, strikethrough, code blocks, Mermaid diagrams

Content Guidelines

VerticalToneFocus
product/Business-facing, conciseWhat and why: user problems, strategy, metrics
ai/Agent-facing, reference-styleWhere things are, how they work, gotchas
engineering/Technical, comprehensiveArchitecture, conventions, APIs, data flows

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.