# Mags Docs Create

> Create a new document from template Use when this capability is needed.

- Skill: `tomevault-io/mags-docs-create` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/mags-docs-create`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/mags-docs-create/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/mags-docs-create

---


# 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."

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/doancan) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

