Documentation workflow that converts requirements into structured AsciiDoc sections, runs Vale for style compliance, and produces merge-ready content. Use when creating or updating AsciiDoc documentation from Jira tickets, GitHub issues, or feature descriptions.
94
Quality
92%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Advisory
Suggest reviewing before use
skills/controller.md to load the workflow controller/gather phase/plan if they already have context)Each phase skill (e.g. skills/gather-context.md) follows this pattern:
# Artifact directory and example validation
mkdir -p .artifacts/JIRA-123
vale .artifacts/JIRA-123/03-final-docs.adocTo execute the gather phase without opening external files:
mkdir -p .artifacts/JIRA-123gh issue view <num> --repo <owner/repo>); capture description, acceptance criteria, comments[JIRA-123]), fetch diffs with gh pr diff <num> --repo <owner/repo>.artifacts/JIRA-123/01-context.mdFully executable without opening other files:
.artifacts/${ticket_id}/03-final-docs.adoc for // File: path/to/file.adoc lines to get target pathsvale .artifacts/${ticket_id}/03-final-docs.adoc (or run Vale on each path if you wrote temp .adoc files under .artifacts/${ticket_id}/)03-final-docs.adoc, run vale again; repeat until clean./template_build.sh or ./buildGuide.sh; on build errors, fix draft and re-run Vale and buildUser: "Document feature from JIRA-456"
/gather → .artifacts/JIRA-456/01-context.md
/plan → .artifacts/JIRA-456/02-plan.md [user must approve before /draft]
/draft → .artifacts/JIRA-456/03-final-docs.adoc
/validate → vale; if fail → /draft then re-run /validate
/apply → repo .adoc files updated
/mr → merge request createdSystematic documentation creation through these phases:
/gather) — Research the feature from Jira, GitHub, or a description/plan) — Determine where content belongs in the repository/draft) — Write style-compliant AsciiDoc content/validate) — Run Vale and optionally AsciiDoctor/apply) — Write validated content to repository files/mr) — Create a GitLab merge request for the changesEach phase must meet its exit criteria before the next. If validation fails or the user requests changes, loop back:
/gather → proceed when context is saved to 01-context.md/plan → proceed when plan is saved to 02-plan.md; stop for user approval before /draft/draft → proceed when 03-final-docs.adoc is written/validate → proceed when Vale (and optional AsciiDoctor) pass; if they fail, return to /draft and re-run /validate/apply → proceed when repository files are updated/mr → create merge request from the applied changesThe workflow controller lives at skills/controller.md.
It defines how to execute phases, recommend next steps, and handle transitions.
Phase skills are at skills/{name}.md.
Artifacts go in .artifacts/${ticket_id}/.
For principles, hard limits, safety, quality, and escalation rules, see guidelines.md.
b213ece
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.