Skip to content
Back to skills

Write Doc

ASecurity

Create or update a documentation page in the repository's docs system, using the right Diataxis type and a one-sentence summary. Use whenever adding, changing, moving, or deleting documentation.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 14, 2026
ai-agentspythongobashdocumentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add The-Urcydo/Agents-Skills-Roles-Oriented --skill write-doc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Doc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Write Doc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/the-urcydo-write-doc-agents-skills-roles-oriented/badge)](https://www.skillsdirectory.com/skills/the-urcydo-write-doc-agents-skills-roles-oriented)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: write-doc
description: "Create or update a documentation page in the repository's docs system, using the right Diataxis type and a one-sentence summary. Use whenever adding, changing, moving, or deleting documentation."
license: MIT
compatibility: "Works with any Markdown docs folder; the commands below assume the repository has a docs index."
metadata:
  category: productivity
  invocation: both
---
# Write a doc

Use this when a change makes documentation wrong or incomplete, or when a reader needs a page that does not exist. Pick one Diataxis type per page; if a page needs two types, write two pages and link them.

## Steps

1. Pick the type by the reader's need:
   - **Tutorial:** a beginner learns by doing; the steps work every time.
   - **How-to:** someone who knows the basics solves one task; a recipe.
   - **Reference:** someone looks up a fact; accurate, complete, no opinions or instructions.
   - **Explanation:** someone wants to understand why; context, trade-offs, history.
2. Check the docs index first. Update an existing page instead of adding a near-duplicate.
3. Write the page:
   - start with the reader's problem and the outcome;
   - keep one job per page;
   - use the repository's front matter and summary field;
   - link related pages and code;
   - state the last verification date when the page describes code.
4. Delete or mark deprecated anything the change makes wrong. A stale page is worse than no page.
5. Update the docs index with the repository's method: regenerate it when it is generated, or edit it when it is hand-maintained.
6. Verify every command and link on the page; run the repository's docs check.

## Verify

- The page has one type and one job.
- The index lists it with a one-sentence summary.
- Every command, path, and link resolves.
- No page the change made wrong is left active.
- The docs check passes.

## In Repo-Template

```bash
python3 tools/new_doc.py <tutorial|how-to|reference|explanation> "Title" --summary "One sentence a stranger can judge by."
python3 tools/sync_indexes.py
python3 tools/check.py
```

Docs live under `docs/`; the generated index is `docs/INDEX.md`. Do not link from core docs into optional module folders; use backticks.

## Stop and ask

- The page needs two types; split it instead of guessing.
- The fact is unverified or the code and docs disagree.
- The change would delete a page another team owns.
- The page would contain a secret or a personal path.

Files in this skill

  • PROVENANCE.md655 B
  • SKILL.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.