agentleFS
cofincofin/flow/skills/flow-docs/SKILL.md

flow-docs

Skill19 starsChanged 5 days agoApache-2.0View on GitHub

Use when writing or auditing technical documentation, READMEs, user guides, architecture docs, agent instructions (AGENTS.md, SKILL.md, OKF chapters), pull requests, commit messages, or changelogs.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. emiliodominguez/flow-skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository10 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 1 is distinctive, and 12 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 12

    Very specific

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

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

    Write clear, accurate, zero-bloat technical documentation, user guides, agent instruction files (AGENTS.md, SKILL.md, OKF knowledge …

    line 8
  2. Distinctive:

    Pass the Cold-Reader Comprehension Test: Every document must be understandable on the first read by a fresh engineer or isolated …

    line 20
  3. Very specific:

    State rules plainly with a one-line Reason:: Write direct, present-tense sentences.

    line 22
  4. Very specific:

    Never use promotional adjectives (seamless, robust, comprehensive, pivotal, delve, leverage, blazingly fast), decorative adverbs …

    line 24
  5. Very specific:

    Never use artificial numbered buzzword labels or inflated metaphors ("engineering lawbooks", "causal waterfall", "zero-tolerance").

    line 25
  6. Very specific:

    Never leave chronological sediment ("Added in v2", "Previously we used X") inside current-state documentation or specs.

    line 26
  7. Very specific:

    Never leak internal workflow ceremony or private paths: Keep PRs, commits, changelogs, tests, and docs free of finding counts, task/finding …

    line 27
  8. Very specific:

    When documenting or syncing >= 2 domains, subsystems, or chapters (/flow:docs write | capture | sync), fan out isolated per-domain or …

    line 45
  9. Very specific:

    Keep user guides focused on a single concept (<= 200 lines), leading with a runnable example and expected output.

    line 47
  10. Very specific:

    Keep living specs (specs/<flow_id>/spec.md, chapters/index.md, chapters/<ch_id>/spec.md), .agents/bundles/knowledge/ chapters, and user …

    line 48
  11. Very specific:

    Keep SKILL.md files <= 200 lines (< 24,000 bytes), <!-- truth: start --> blocks <= 40 lines, and bundle bodies free of standalone --- …

    line 49
  12. Very specific:

    Conceptual Diagrams Only in docs/: Keep Mermaid diagrams in user-facing docs/ and README.md conceptual (4–6 nodes focused on the user …

    line 55
  13. Very specific:

    Calm, Matter-of-Fact Tone: Never use exclamation marks (!) or dismissive language in documentation, PR bodies, or code reviews.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
SKILL.md

Documentation, Prose, Agent Instructions, & Pull Requests (flow-docs)

Write clear, accurate, zero-bloat technical documentation, user guides, agent instruction files (AGENTS.md, SKILL.md, OKF knowledge chapters), commit messages, changelogs, and pull requests.

Operational Modes (/flow:docs [mode])

  • write — Author or update READMEs, user guides, module documentation, or agent skills using manifest-driven source coverage ([k/N files documented]).
  • validate — Audit documentation and .agents/bundles/ for cold-reader comprehension, primary-source path/to/file::Symbol accuracy, broken links, and prose sediment.
  • capture — Distill validated architectural and operational patterns from code and completed flows into .agents/bundles/knowledge/ and user-facing docs/.
  • sync — Reconcile documentation claims and examples against live repository signatures and configuration.
  • pr — Draft or update pull request titles, ## Summary + ## Key Changes bodies, signed commits, and release changelogs.

Core Writing & Anti-Bloat Rules

  • Pass the Cold-Reader Comprehension Test. Every document must be understandable on the first read by a fresh engineer or isolated zero-context agent with no prior session history. Lead with purpose, public interface, concrete examples, and invariants.
  • Read source before writing ([k/N files documented]). Enumerate the in-scope files first, read every file completely, and anchor claims to path/to/file::Symbol. Never guess behavior from filenames or function names.
  • State rules plainly with a one-line Reason:. Write direct, present-tense sentences. When documenting a constraint or design choice, state the rule followed by Reason: <why>.
  • Eliminate AI slop, buzzwords, and chronological sediment.
    • Never use promotional adjectives (seamless, robust, comprehensive, pivotal, delve, leverage, blazingly fast), decorative adverbs (seamlessly, effortlessly, obviously), negative parallelisms ("not just X, but Y"), formulaic transitions ("Moreover", "Furthermore"), or superficial participle tails ("...ensuring reliability").
    • Never use artificial numbered buzzword labels or inflated metaphors ("engineering lawbooks", "causal waterfall", "zero-tolerance"). Name components and headings semantically so counts never break when items change.
    • Never leave chronological sediment ("Added in v2", "Previously we used X") inside current-state documentation or specs. History belongs in CHANGELOG.md and .agents/bundles/log.md.
  • Never leak internal workflow ceremony or private paths. Keep PRs, commits, changelogs, tests, and docs free of finding counts, task/finding IDs (ORA-001, test_task_1_2_*), workflow mechanics (checkpoint.phase, subagent names), ## Verification command logs, ## Merge Danger blocks, ASCII file/call trees, or local workstation paths.

Reference Guides

AreaReference FileKey Topics
Technical Prose & Documentationreferences/prose-and-documentation.mdCold-reader comprehension standard, manifest-driven coverage ([k/N files documented]), component scaling templates, guide structure, diagram rules, validation report
Agent Context, .agents/, & Harness Configreferences/agent-context.mdCross-harness .agents/ discovery (skills, subagents, rules, hooks, MCP configs), context load vs. cognitive load, information hierarchy, context pointers, progressive disclosure, completion criteria, leading words, positive framing, pruning discipline
Pull Requests, Commits, & Changelogsreferences/prs-commits-and-changelogs.md<type>(<scope>): <summary> titles, ## Summary + ## Key Changes PR bodies, signed commits, changelog conventions, inline PR reviews, GitHub issues

Workflow

  1. Select Target & Reference:
    • For READMEs, user guides, module/API docs, or doc audits, load references/prose-and-documentation.md.
    • For AGENTS.md, SKILL.md, subagents, or .agents/bundles/knowledge/ chapters, load references/agent-context.md.
    • For PRs, commits, changelogs, or code review comments, load references/prs-commits-and-changelogs.md.
  2. Build Manifest & Shard Primary-Source Authoring:
    • List every file in scope ([0/N files documented]) and read each implementation file before drafting prose.
    • When documenting or syncing >= 2 domains, subsystems, or chapters (/flow:docs write | capture | sync), fan out isolated per-domain or per-chapter documentation subagents so each file receives thorough, runnable, code-verified examples rather than a compressed summary.
  3. Draft in Present Tense to Match Target Length & Hierarchy:
    • Keep user guides focused on a single concept (<= 200 lines), leading with a runnable example and expected output.
    • Keep living specs (specs/<flow_id>/spec.md, chapters/index.md, chapters/<ch_id>/spec.md), .agents/bundles/knowledge/** chapters, and user docs/ strictly in present tense—stating current verified reality, remaining chapters, and the full plan with zero Revision History sections or historical layering.
    • Keep SKILL.md files <= 200 lines (< 24,000 bytes), <!-- truth: start --> blocks <= 40 lines, and bundle bodies free of standalone --- horizontal rules, disclosing deep reference material into references/*.md.
  4. Verify & Prune:
    • Strip puffery, chronological sediment, duplicate cache lines, and workflow ceremony, then verify all links and examples (make lint).

Guardrails

  • Conceptual Diagrams Only in docs/: Keep Mermaid diagrams in user-facing docs/ and README.md conceptual (4–6 nodes focused on the user mental model). Place detailed module/implementation diagrams in .agents/bundles/knowledge/architecture/.
  • Single Source of Truth: Link to canonical rules rather than duplicating them across files.
  • Calm, Matter-of-Fact Tone: Never use exclamation marks (!) or dismissive language in documentation, PR bodies, or code reviews.

Validation

  • Confirm every manifest item is covered ([N/N files documented]) and every technical claim cites a verified source (path/to/file::Symbol).
  • Confirm PR bodies contain only ## Summary and ## Key Changes and every PR # or Issue # in chat is a clickable Markdown link.
  • Confirm all relative Markdown links resolve on disk and make lint exits 0.

Example

Invoke /flow:docs write to document a module with [4/4 files documented] coverage tracking, /flow:docs validate to audit .agents/bundles/ and docs/ for stale symbols or prose bloat, or /flow:docs pr when preparing a pull request in /flow:finish.

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.