agentsclimarketplace

Make docs

Skill sergeyklay/.agents/.agents/skills/make-docs

My personal, curated set of artifacts for AI coding agents

Install
npx -y skills add sergeyklay/.agents --skill make-docs

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Create, edit, and validate technical documentation using the Diataxis framework. Use when writing tutorials, how-to guides, reference docs, or explanations. Use when reviewing or auditing existing documentation for structural correctness. Use when deciding what type of document to write. Also use when the user mentions Diataxis, documentation quality, documentation types, or asks to write 'deep dive' articles, onboarding guides, API docs, or architectural explanations. Do NOT use for code comments, commit messages, changelogs, or README generation.

SKILL.md

6.5 KB, as published. Nobody here has run it

Diataxis Documentation Framework

Diataxis (from Greek dia "across" + taxis "arrangement") organizes documentation around what the reader needs, not what the author knows. It was created by Daniele Procida and adopted by Django, Canonical, Cloudflare, Gatsby, and hundreds of other projects.

The Two Axes

Documentation sits on two independent dimensions:

                      PRACTICAL
                       (action)
                          |
            Tutorials     |     How-to Guides
           learning by    |    achieving a specific
              doing       |        result
                          |
  ACQUISITION --------- NEED ---------- APPLICATION
   (study)                |               (work)
                          |
           Explanation    |     Reference
          understanding   |    looking up exact
             why          |      information
                          |
                     THEORETICAL
                     (cognition)

Axis 1 -- Action vs. Cognition. Does this content serve what the reader does, or what the reader understands?

Axis 2 -- Acquisition vs. Application. Is the reader learning something new, or applying what they already know?

These axes are independent. Conflating them is the root cause of most documentation failures.

The Compass -- Identify the Right Type

When writing or reviewing any piece of documentation, ask two questions:

QuestionAnswer AAnswer B
Is this about doing or understanding?Doing (practical)Understanding (theoretical)
Is the reader learning or working?Learning (acquisition)Working (application)
Doing + LearningTutorial
Doing + WorkingHow-to Guide
Understanding + WorkingReference
Understanding + LearningExplanation

Use this compass at every scale: a single paragraph, a section, an entire document. If writing feels difficult or forced, you are probably in the wrong quadrant. Stop. Re-orient with the compass.

The Four Types at a Glance

TutorialHow-to GuideReferenceExplanation
PurposeEnable learning through doingSolve a specific real-world problemDescribe the machinery accuratelyBuild conceptual understanding
Reader's stateBeginner, anxious, needs confidenceCompetent, busy, needs a solutionWorking, needs a precise factCurious, reflective, needs the "why"
Reader asks"Teach me to...""How do I...?""What exactly is...?""Why does...?"
Writing voiceGuiding, warm, first-person pluralDirect, imperative, task-focusedAustere, neutral, factualDiscursive, opinionated, reflective
AnalogyTeaching a child to cookA recipeA nutritional labelHarold McGee's On Food and Cooking

Workflow

Creating New Documentation

  1. Orient with the compass. Ask the two questions. Determine the type before writing a single word.
  2. Load the type-specific guide. Read the appropriate reference file:
    • Tutorial: references/tutorials.md
    • How-to Guide: references/how-to-guides.md
    • Reference: references/reference.md
    • Explanation: references/explanation.md
  3. Read the style guide. For voice, tone, and anti-pattern guidance, read references/quality-and-style.md. This is mandatory for all types.
  4. Write the document following the loaded guidance.
  5. Validate. Run the boundary check below before considering the document complete.

Editing Existing Documentation

  1. Read the existing document in full.
  2. Classify it using the compass. If it mixes types, note which sections belong to which type.
  3. Load the relevant reference files for each identified type.
  4. Restructure or rewrite to achieve type purity. If a document genuinely serves two types, split it into two documents with cross-links rather than blending them.

Reviewing / Auditing Documentation

  1. Read the document.
  2. Classify with the compass.
  3. Check for boundary violations (see below).
  4. Load references/quality-and-style.md for the quality checklist.
  5. Report findings with specific line-level citations.

Boundary Check -- The Five Violations

These are the most common failures. Check every document against them:

ViolationSymptomFix
Tutorial contains explanationParagraphs of theory interrupt the hands-on flowMove to a linked Explanation doc. Keep only one-sentence context in the tutorial.
How-to guide teachesExplains concepts the reader should already knowAssume competence. Link to a tutorial or explanation for prerequisites.
Reference contains instructions"To do X, click Y" appears in what should be a descriptionMove procedural content to a how-to guide. Reference describes; it does not instruct.
Explanation contains proceduresStep-by-step instructions appear in a conceptual articleMove procedures to a how-to guide. Explanation discusses; it does not direct.
Any type uses wrong voiceA tutorial sounds clinical; a reference sounds chattyRe-read the voice guidance for that type. Rewrite to match.

When Content Resists Classification

Some content genuinely spans quadrants. This is not a failure of the framework -- it signals that the content should be split, not shoehorned.

  • A "Getting Started" page that both teaches and solves a problem? Split into a Tutorial (the learning path) and a How-to Guide (the quick setup for experienced users).
  • An API page that describes parameters but also explains design rationale? Split into Reference (the parameters) and Explanation (the design rationale), cross-linked.

Diataxis does not require four top-level directories. It requires that any single document serves one purpose clearly. Organization can be flat, nested, or topic-based -- the constraint is on content purity, not filesystem layout.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.