# 2138 Docsinstructions 2c67edb6

> Standards for user-facing documentation in the docs/ folder

- Skill: `tools-only/2138-docsinstructions-2c67edb6` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add tools-only/2138-docsinstructions-2c67edb6`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tools-only/2138-docsinstructions-2c67edb6/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: tools-only (https://skillmd.com/u/tools-only)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/tools-only/2138-docsinstructions-2c67edb6

---


# Documentation Standards

Instructions for creating and maintaining user-facing documentation in the `docs/` folder.

## Structure Requirements

### File Header

Every doc file must start with:

```markdown
# {Title}

> [Current Version](../../VERSION.md) | {One-line description}
```

Adjust the relative path depth based on folder nesting (`../../VERSION.md` from `docs/`,
`../../../VERSION.md` from `docs/subfolder/`).

### Single H1 Rule

Each file has exactly ONE H1 heading (the title). Use H2+ for all other sections.

### Link Style

- Use relative links for internal docs (example pattern: `Quickstart -> quickstart.md`)
- For root file references, increase `../` depth based on folder nesting (for example: `../VERSION.md`,
  `../../VERSION.md`)
- Use reference-style links for external URLs
- No broken links (validated in CI)

## Current Architecture (as of 2026-02-15)

### Agents (9 top-level + 5 subagents)

| Agent                | Purpose                                 |
| -------------------- | --------------------------------------- |
| `infraops-conductor` | Master orchestrator with approval gates |
| `requirements`       | Gather infrastructure requirements      |
| `architect`          | WAF assessment and architecture design  |
| `design`             | Architecture diagrams and ADRs          |
| `bicep-plan`         | Implementation planning and governance  |
| `bicep-code`         | Bicep template generation               |
| `deploy`             | Azure deployment execution              |
| `as-built`           | Step 7 workload documentation suite     |
| `diagnose`           | Post-deployment health diagnostics      |

### Subagents (in `_subagents/`)

| Subagent                        | Parent     | Purpose                         |
| ------------------------------- | ---------- | ------------------------------- |
| `cost-estimate-subagent`        | Architect  | Azure Pricing MCP queries       |
| `governance-discovery-subagent` | Bicep Plan | Azure Policy REST API discovery |
| `bicep-lint-subagent`           | Bicep Code | Syntax validation               |
| `bicep-review-subagent`         | Bicep Code | AVM/security code review        |
| `bicep-whatif-subagent`         | Deploy     | Deployment preview              |

### Skills (8 total)

| Skill                 | Category            | Purpose                                    |
| --------------------- | ------------------- | ------------------------------------------ |
| `azure-adr`           | Document Creation   | Architecture Decision Records              |
| `azure-artifacts`     | Artifact Generation | Template H2s, styling, generation rules    |
| `azure-defaults`      | Azure Conventions   | Regions, naming, AVM, WAF, pricing, tags   |
| `azure-diagrams`      | Document Creation   | Python architecture diagrams               |
| `github-operations`   | Workflow Automation | GitHub issues, PRs, CLI, Actions, releases |
| `git-commit`          | Tool Integration    | Commit conventions                         |
| `docs-writer`         | Documentation       | Repo-aware docs maintenance                |
| `make-skill-template` | Meta                | Skill creation helper                      |

## Prohibited References

Do NOT reference these removed agents/skills:

- ❌ `diagram.agent.md` → Use `azure-diagrams` skill
- ❌ `adr.agent.md` → Use `azure-adr` skill
- ❌ `docs.agent.md` → Use `azure-artifacts` skill or `as-built` agent
- ❌ `azure-workload-docs` skill → Use `azure-artifacts` skill
- ❌ `azure-deployment-preflight` skill → Merged into deploy agent
- ❌ `orchestration-helper` skill → Deleted (absorbed into conductor)
- ❌ `github-issues` / `github-pull-requests` skills → Use `github-operations`
- ❌ `gh-cli` skill → Merged into `github-operations`
- ❌ `_shared/` directory → Use `azure-defaults` + `azure-artifacts` skills

## Content Principles

| Principle                  | Application                                |
| -------------------------- | ------------------------------------------ |
| **DRY**                    | Single source of truth per topic           |
| **Current state**          | No historical context in main docs         |
| **Action-oriented**        | Every section answers "how do I...?"       |
| **Minimal**                | If it doesn't help users today, remove it  |
| **Prompt guide for depth** | Point to `docs/prompt-guide/` for examples |

## Validation

Documentation is validated in CI (warn-only):

- No references to removed agents
- Version numbers match `VERSION.md` (repo root)
- No broken internal links
- Markdown lint passes

