Skip to content
Back to skills

Mags Docs Create

ASecurity

Create a new document from template

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

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned May 27, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Mags Docs Create?

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

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

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-create
description: Create a new document from template
argument-hint: "<template>"
version: 1.0.0
user-invocable: true
allowed-tools:
  - mcp__mags_mags__mags_create_doc
---

# MAGS Docs Create

Create a new document from a predefined template.

## Usage

```
/mags-docs-create <template>
```

## Available Templates

| Template | File | Purpose |
|----------|------|---------|
| `adr` | `docs/adr/NNN-<title>.md` | Architecture Decision Record |
| `module` | `docs/modules/<name>.md` | Module documentation |
| `rule` | `docs/rules/<name>.md` | Coding/process rule |
| `guide` | `docs/guides/<name>.md` | How-to guide |
| `api` | `docs/api/<name>.md` | API endpoint documentation |

## Steps

1. Parse the template name from the argument.
2. If the template name is not recognized, list the available templates and stop.
3. Ask the user for the document title/name.
4. Call `mags_create_doc` with the appropriate path and template content.
5. Confirm: "Created `<path>`. Edit it to fill in the details, or describe what it should contain and I will draft it."

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.