| name | draft_procedural |
| description | Draft a new procedural documentation page or update an existing one. Use for task-oriented, step-by-step instructions that help a reader accomplish a specific goal. Examples include configuring an integration, creating an API key, or setting up an environment. |
Draft procedural page
Draft a procedural documentation page with step-by-step instructions to accomplish a specific goal.
Workflow
Follow the workflow in .agents/skills/draft_docs/SKILL.md, using the procedural template at .agents/templates/procedural.md.
Content type rules
These rules are specific to procedural pages (from the "Drafting by content type" section of AGENTS.md):
- Keep steps focused, not artificially atomic. Aim for one primary action per step, but group tightly related actions together when they share the same UI context. Up to ~3 related actions per step is acceptable.
- Motivate steps before giving instructions. Briefly explain WHY before HOW, especially for setup steps.
- Include expected outcomes after key steps so the reader can confirm they're on track.
- Test all instructions for accuracy.
- Provide troubleshooting for common failure points.
- Don't over-explain — link to conceptual pages for the "why."
- Title convention: gerund ("Configuring X", "Managing X")
AEO-driven procedures
If the request is driven by AEO, Peec, AI search prompts, answer-engine visibility, or search-query vocabulary, read .agents/skills/aeo_brief/SKILL.md before drafting. Use the brief to:
- Translate source-data language into precise procedure titles, headings, and descriptions
- Preserve accurate high-intent phrases without keyword stuffing
- Decide whether the procedure belongs in a new page or as a tighter update to an existing page
- Surface product or UI terminology questions before presenting the draft
Pre-handoff self-review
Before presenting the draft, check:
- Scannability - Long procedure sections should use numbered steps, short bullets, or concise subsections. Do not leave dense paragraphs that hide actions.
- Expected outcomes - Readers should know what success looks like after important steps.
- UI accuracy - Product surfaces, buttons, settings paths, and command names should match the current product terminology.
- Value over coverage - AEO-driven procedures should solve a real task, not collect loosely related keywords.
- Open questions - Flag any steps that still need human product testing or UI verification.
Heading case
All headings (H1–H4) must use sentence case: capitalize only the first word and proper feature names.
- ✅
# Configuring environments
- ✅
## Creating an API key
- ❌
# Configuring Environments
- ❌
## Creating An API Key
Existing examples
Read 2-3 of these strong examples to match the existing pattern:
src/content/docs/reference/cli/api-keys.md
src/content/docs/platform/integrations/slack.md