Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Doc Auditor

ASecurity

Analyze a codebase to discover documentation gaps in README.md and docs/ directories, then generate or update missing documentation. Use when the user asks to (1) audit README/docs for missing coverage, (2) find undocumented features or modules, (3) fill documentation gaps, (4) update docs to match current code, (5) generate a doc-gap report, (6) "문서 누락 분석", "README/_docs_ 감사", "문서 보완", "docs gap audit", "undocumented features". Triggers on any request to compare codebase structure against ex...

10 stars
0 votes
0 copies
0 views
Added 9/28/2026
ai-agentspythongobashgitapifrontendbackendperformancedocumentation

Works with

cliapi

Security Analysis

A100/100

Scanned 9/28/2026

Install to Claude Code

$npx -y skills add fritzprix/libr-agent --skill doc-auditor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doc Auditor?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Doc Auditor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fritzprix-doc-auditor/badge)](https://www.skillsdirectory.com/skills/fritzprix-doc-auditor)

More formats (shields.io, HTML) on the badges page.

Files
SKILL.md
---
name: doc-auditor
description: Analyze a codebase to discover documentation gaps in README.md and docs/ directories, then generate or update missing documentation. Use when the user asks to (1) audit README/docs for missing coverage, (2) find undocumented features or modules, (3) fill documentation gaps, (4) update docs to match current code, (5) generate a doc-gap report, (6) "문서 누락 분석", "README/_docs_ 감사", "문서 보완", "docs gap audit", "undocumented features". Triggers on any request to compare codebase structure against existing documentation and produce a gap analysis or fill the gaps.
---

# Doc Auditor

Audit a codebase against its README.md and docs/ to find missing coverage, then generate or update documentation to close the gaps.

## Workflow

### Step 1 — Inventory the codebase

Run the analysis script to produce a machine-readable feature inventory:

```bash
python3 .agents/skills/doc-auditor/scripts/audit.py . --output .libragent/tmp/doc-audit.json
```

The script discovers:

- Frontend features (`src/features/*/`)
- Frontend lib modules (`src/lib/*/` and `*.ts`)
- Backend modules (`src-tauri/src/*/` and `*.rs`)
- Existing documentation (`README*`, `docs/**`)
- Benchmark directories (`*bench*`)

### Step 2 — Review the gap report

Read `.libragent/tmp/doc-audit.json` and review discovered gaps:

- **P0 gaps (Must fix)**: User-facing features/services with zero documentation (e.g., `scheduled-tasks`, `history`, `browser-sidecar`, `session-export`)
- **P1 gaps (Should fix)**: Features with internal/architecture specs but missing user guides (e.g., `knowledge`, `session-isolation`)
- **P2 gaps (Nice to have)**: Schema, validator, execution mode, or system protocol modules needing implementation docs (e.g., `db-schema-validator`, `execution-mode`)
- **P3 / Internal (Low impact)**: Internal utilities, shared helpers, test infrastructure (skipped or marked low priority)

### Step 3 — Prioritize and plan

Use this priority framework:

| Priority              | Criteria                                          | Example                                                               |
| --------------------- | ------------------------------------------------- | --------------------------------------------------------------------- |
| **P0 — Must fix**     | User-facing feature with zero docs                | `scheduled-tasks/`, `history/`, `browser_sidecar/`, `session_export/` |
| **P1 — Should fix**   | Documented internally/arch but missing user guide | `knowledge/`, `session_isolation/`                                    |
| **P2 — Nice to have** | System/spec modules needing architecture docs     | `db_schema_validator`, `execution_mode`                               |
| **P3 — Low impact**   | Internal helpers, test code, generated files      | `utils/`, `performance/`, `mime-utils`                                |

### Step 4 — Propose plan and obtain user approval

> [!IMPORTANT]
> **Git Protection Rule (`AGENTS.md`)**: `docs/`, `src/`, `src-tauri/`, and `README*.md` are git-protected directories.
> **DO NOT** modify or create files in these directories without explicit user confirmation.
>
> 1. Present the list of missing docs to create/update.
> 2. Propose draft file paths and outline content.
> 3. Ask the user for confirmation before writing protected files.

**Target locations for new docs:**

- User guides → `docs/user/guides/<feature>.md`
- Architecture & technical specs → `docs/architecture/<topic>.md`
- API reference → `docs/api/<module>.md`

**Target locations for index updates:**

- `docs/README.md` — add links to new guides/specs
- `docs/user/README.md` — add to the user docs index
- `README.md` — add feature descriptions and scenario references

### Step 5 — Validate and report

After writing docs, run lightweight validation on modified files:

```bash
# Verify formatting and markdown structure (DO NOT run heavy full pipelines like `pnpm refactor:validate` unless explicitly requested)
pnpm lint:format
```

Report results in a summary table:
| File | Status | Lines | Coverage Category |
|------|--------|-------|-------------------|
| `docs/user/guides/scheduled-tasks.md` | Created | 180 | P0 (New Guide) |
| `docs/architecture/db-schema-validator.md` | Created | 120 | P2 (Spec) |
| `docs/user/README.md` | Updated | 45 | Index Link |

## Guidelines

- **Respect Git Protection (`AGENTS.md`)**: Always get explicit user confirmation before writing to `docs/` or `README.md`.
- **KISS & Resource Protection (`GEMINI.md`)**: Keep documentation concise and action-oriented. Never execute heavy full pipelines like `pnpm refactor:validate` for markdown edits unless explicitly requested by the user.
- **Evidence-based**: Reference actual file paths, CLI flags, and module names.
- **Don't document the obvious**: Skip self-explanatory internal helpers (e.g., `date-utils.ts`, `mime-utils.ts`).
- **Update indexes**: Every new doc must be linked from `docs/README.md` and `docs/user/README.md`.

Attribution

fritzprixfritzprix
View sourceMore from fritzprix →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

695601 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →