Skip to content
Back to skills

Mags Docs Validate

ASecurity

Validate project documentation

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
developmentgoapibackenddocumentation

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add doancan/mags --skill mags-docs-validate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mags Docs Validate?

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

Security grade badge for Mags Docs Validate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/doancan-mags-docs-validate/badge)](https://www.skillsdirectory.com/skills/doancan-mags-docs-validate)

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: mags-docs-validate
description: Validate project documentation
version: 1.0.0
user-invocable: true
allowed-tools:
  - mcp__mags_mags__mags_validate_docs
  - mcp__mags_mags__mags_get_doc
  - mcp__mags_mags__mags_update_doc
---

# MAGS Docs Validate

Run validation checks on all project documents.

## Usage

```
/mags-docs-validate
```

## Steps

1. Ask the user: "Standard validation or deep validation?"
   - **Standard** — checks frontmatter, required sections, cross-references, freshness
   - **Deep** — all standard checks plus: version conflict detection, memory-doc consistency, ADR structure validation, and module completeness checks

   If deep: call `mags_validate_docs` with `deep: true`.
   If standard (or no preference): call `mags_validate_docs` with default parameters.
2. Display results grouped by severity:
   ```
   == Document Validation ==

   Errors (must fix):
     - docs/architecture/overview.md: Missing required section "Tech Stack"
     - docs/rules/backend.md: Broken internal link to ../api/auth.md

   Warnings (should fix):
     - docs/modules/auth.md: No code examples found
     - docs/changelog/changes.md: Last updated over 30 days ago

   Passed: <N>/<total> documents are healthy
   ```
3. If there are errors, ask: "Would you like me to fix the errors?"
4. If yes, read each problematic doc with `mags_get_doc`, fix the issues, and call `mags_update_doc`.

---

**Related commands:**
| Command | Description |
|---------|-------------|
| `/mags-docs` | List all project documents |
| `/mags-docs-search <query>` | Search across all documents |

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…

Newsletter

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