Skip to content
Back to skills

Documentation

ASecurity

Generate and update project documentation under docs/. Uses Mermaid for diagrams. Invoked explicitly when the user requests documentation work.

  • 225 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 4, 2026
documentationpythonbashapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill documentation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Documentation?

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

Security grade badge for Documentation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-documentation-learn-skills-dev/badge)](https://www.skillsdirectory.com/skills/neversight-documentation-learn-skills-dev)

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: documentation
description: "Generate and update project documentation under docs/. Uses Mermaid for diagrams. Invoked explicitly when the user requests documentation work."
---

# Documentation Generation Skill

## Purpose

Generate, update, and maintain documentation files under `docs/`. This skill ensures consistency with existing project conventions, structure, and formatting patterns.

## Audience

The documentation targets **developers and engineers working on the project**. It serves as a reference and knowledge source for understanding the codebase, architecture, flows, and conventions. Write with the assumption that the reader has development experience but may be new to this project.

## When to Use

- User explicitly asks to create, update, or review documentation
- User asks to document a new feature, flow, model, or architectural decision

## Documentation Structure

All documentation lives under `docs/`, organized by domain subfolders. The folder structure evolves over time — always check the current state of `docs/` before creating or updating files. `docs/README.md` serves as the main index and must be updated when adding new documentation areas.

## Conventions

### Formatting Rules

- **Headings**: `#` for title (H1), `##` for sections, `###` for subsections
- **Tables**: Use markdown tables for comparisons, feature matrices, config layers
- **Code blocks**: Triple backticks with language tag (`python`, `json`, `bash`, `mermaid`)
- **Inline code**: Backticks for variable names, file paths, CLI commands
- **Links**: Relative markdown links — `[Display Text](relative/path.md)`
- **Lists**: Bullet points for descriptions, numbered lists for sequential steps
- **No emojis** in documentation content
- **Short and concise** — keep docs brief, avoid verbose explanations and filler words

### Structure of a Documentation File

Every doc file should follow this pattern:

1. **H1 title** — short, clear name
2. **Overview section** — 1–3 sentences explaining the purpose
3. **Detail sections** — organized with H2/H3 headings
4. **Tables** — for structured comparisons or reference data
5. **Last updated** — every doc file must end with a "Last Updated" line at the bottom, formatted as: `*Last updated: YYYY-MM-DD*`
   - When creating a new doc, add the current date
   - When updating an existing doc, update the date to the current date

### Diagrams

- Use **Mermaid** for all diagrams — flowcharts, sequence diagrams, C4, etc. (embed in fenced code blocks with `mermaid` tag)
- Use **ASCII text diagrams** for simple layered architectures
- **Do not use PlantUML** for new diagrams

### Code Examples

- **Avoid specific code examples from the codebase** — code changes frequently and concrete examples become outdated quickly
- Prefer describing patterns and conventions in prose or pseudocode
- Only include code snippets when they illustrate a stable API or convention unlikely to change

## Workflow

1. **Read existing docs** in the target domain folder before writing — match tone and depth
2. **Check `docs/README.md`** — if adding a new documentation area, update the index
3. **Place the file** in the correct domain subfolder
4. **Follow the conventions** listed above
5. **Cross-reference** related docs with relative links where helpful

Files in this skill

  • SKILL.md3.3 KB
  • description_ar.txt232 B
  • description_cn.txt119 B
  • description_de.txt174 B
  • description_en.txt144 B
  • description_es.txt172 B
  • description_fr.txt186 B
  • description_it.txt167 B
  • description_ja.txt212 B
  • description_ko.txt194 B
  • description_ru.txt298 B
  • description_tw.txt122 B
  • stats.json68 B

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 documentation →

Comments

Loading comments…

Newsletter

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