Skip to content
Back to skills

Documentation Cleanup

ASecurity

Validate and fix documentation integrity in SolTechnology.Core — module/doc parity, indexes, tables, Mermaid diagrams, links, ADR formatting, numbered lists.

  • 207 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 4, 2026
documentationnodedocumentation

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-cleanup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Documentation Cleanup?

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

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

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-cleanup
description: Validate and fix documentation integrity in SolTechnology.Core — module/doc parity, indexes, tables, Mermaid diagrams, links, ADR formatting, numbered lists.
---

# Documentation Cleanup

Validate and fix documentation integrity across the [docs/](../../../docs/) folder.

## Process overview

1. Identify files to validate
2. Check module ↔ doc parity
3. Check indexes
4. Validate tables and Mermaid diagrams
5. Validate ADR structure
6. Check links and formatting
7. Fix numbered lists

## Documentation references

- [README.md](../../../README.md) — top-level module index
- [docs/](../../../docs/) — per-module docs and reviews
- [docs/adr/](../../../docs/adr/) — Architecture Decision Records

## Step-by-step procedure

### 1. Identify files

Collect every `*.md` under [docs/](../../../docs/) and the workspace root.

### 2. Module ↔ Doc Parity

For each folder `src/SolTechnology.Core.<Module>/`:

- A documentation file exists under [docs/](../../../docs/) (the file name is set by
  [README.md](../../../README.md) — e.g. `Story` → `docs/Story.md`,
  `MessageBus` → `docs/Bus.md`).
- The module is listed in the README table with a NuGet badge.
- A review template exists under [docs/reviews/](../../../docs/reviews/) when the module is
  publicly consumed; missing review templates are reported as gaps, not failures.

### 3. Check Indexes

For files that contain an index (README, [docs/Story.md](../../../docs/Story.md), etc.):

- Every index entry has a matching section in the document.
- Every top-level section is listed in the index.
- Index links use angle brackets for any path containing spaces: `[Text](<path/file.md>)`.
- Index hierarchy matches the document hierarchy.

### 4. Validate Tables and Mermaid Diagrams

For each table:

- Header row present, separator row matches column count, every data row matches column count.

For each Mermaid block:

- Syntax parses (no stray characters).
- `classDef` declared before first use.
- Node names with spaces use `<br>` line breaks: `Node[Name<br>With<br>Spaces]`.

### 5. Validate ADR Structure

For every file under [docs/adr/](../../../docs/adr/):

- File name matches `NNN-kebab-title.md`, numbering monotonic with no gaps.
- Required sections present: Status, Context, Decision, Consequences.
- Recommended sections noted as gaps when missing: Alternatives Considered, Stakeholders.
- ADR is linked from at least one other doc or from `CLAUDE.md` / `README.md`.

### 6. Check Links and Formatting

- Paths with spaces use angle brackets: `[Text](<path/file.md>)`.
- Relative paths resolve from the file's location.
- Linked files exist on disk.
- Module docs use relative links into `src/SolTechnology.Core.*` only when the file is stable
  (interfaces, `ModuleInstaller.cs`, public entrypoints).

### 7. Fix Numbered Lists

- Use `1.` for every item (markdown auto-numbers).
- Nested lists indented by 4 spaces.
- Hierarchy consistent within a document.

Ignore backtick / inline-code formatting issues unless they break rendering.

## Output format

### Documentation Cleanup Report

#### Files Validated
<placeholder>List with brief status.</placeholder>

#### Issues Found

##### Module ↔ Doc Parity
<placeholder>Modules without a doc, docs without a module, README gaps.</placeholder>

##### Index Issues
<placeholder></placeholder>

##### Table / Mermaid Issues
<placeholder></placeholder>

##### ADR Issues
<placeholder></placeholder>

##### Link Issues
<placeholder></placeholder>

##### Numbered List Issues
<placeholder></placeholder>

#### Fixes Applied
<placeholder>Per-file summary.</placeholder>

#### Summary
**Files validated**: <placeholder>count</placeholder>
**Issues found**: <placeholder>count</placeholder>
**Fixes applied**: <placeholder>count</placeholder>

Files in this skill

  • SKILL.md3.7 KB
  • description_ar.txt276 B
  • description_cn.txt160 B
  • description_de.txt195 B
  • description_en.txt160 B
  • description_es.txt184 B
  • description_fr.txt182 B
  • description_it.txt186 B
  • description_ja.txt261 B
  • description_ko.txt191 B
  • description_ru.txt322 B
  • description_tw.txt160 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.

Comments

Loading comments…