agentleFS
cofincofin/flow/skills/docgen/SKILL.md

docgen

Skill17 starsChanged 2 months agoApache-2.0View on GitHub

Use when generating documentation, writing API docs, documenting modules or components, creating README content, building reference guides, or documenting many files with explicit coverage tracking.

3 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

1 rule. About 0 are common, 1 is distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read every in-scope file. Do not infer behavior from names, skip small files, or claim completeness while manifest entries remain …

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Docgen

Generate complete documentation from inspected source with explicit coverage tracking. Use standalone or as the analysis engine for Flow documentation work.

<workflow>

Workflow

  1. Load the documentation strategy and component template below.
  2. Execute the manifest-driven coverage workflow against the exact source scope.
  3. Cross-reference the documented components and synthesize the requested consumer-facing document.
</workflow><guardrails>

Guardrails

Read every in-scope file. Do not infer behavior from names, skip small files, or claim completeness while manifest entries remain unresolved. Write direct, evidence-backed technical prose: never use AI puffery (seamless, robust, comprehensive, pivotal, delve, leverage), negative parallelisms ("not just X, but Y"), formulaic transitions ("Moreover", "Furthermore"), superficial participle tails ("...ensuring reliability"), or boldface-bullet padding. Lead every section with concrete file paths, symbols, and invariants.

</guardrails>

Output

Return the completed/total manifest count, module overview, scaled per-component documentation, verified cross-references, usage examples, and a dependency map when the scope contains multiple components.

<validation>

Validation

Confirm every manifest item is covered and every documentation claim comes from freshly inspected source.

</validation><example>

Example

For a four-file module, report [4/4 files documented], describe each public interface, and show the verified dependency direction between components.

</example>

References

  • Docgen strategy — coverage workflow and progress rules.
  • Component template — generated document structure.

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.