# arc-tech-docs skill

> Write and maintain documentation in Arc-Tech over MCP. Use to document a system, write runbooks and decisions, add Mermaid diagrams, and link pages to the…

Source: https://arc-tech.dev/docs/skills/arc-tech-docs

Install this skill from [https://arc-tech.dev/skills/arc-tech-docs/SKILL.md](https://arc-tech.dev/skills/arc-tech-docs/SKILL.md), as described on the [skills page](https://arc-tech.dev/md/skills.md). It's used when: Write and maintain documentation in Arc-Tech over MCP. Use to document a system, write runbooks and decisions, add Mermaid diagrams, and link pages to the designs they explain.

Reference: https://arc-tech.dev/docs/write-pages

## Steps

1. `list_docs` to see what's there. Change an existing page rather than writing a second one.
2. Read the design the page is about (`get_design`), and use its names exactly.
3. `write_doc` with `project_id`, `title` and Markdown `content`. Nest it with `parent_id`.
4. `link_doc_to_design` so it shows beside the design.

## Writing

- Lead with what the reader needs to know or do.
- Mention components as `[@Name](node:<component id>)` so readers can jump to them.
- Use a `mermaid` code block for flows, sequences and states.
- For runbooks: when to use it, numbered steps, how to check it worked, and how to undo it.
- For decisions: the decision, why, what else was considered, and what follows from it.

## Changing a page

`content` replaces the whole page. `read_doc` first, keep what still holds, and send the full text. Ask before `delete_doc`.
