Skip to content

Latest commit

 

History

History
98 lines (75 loc) · 3.64 KB

devops-documentation-task.md

File metadata and controls

98 lines (75 loc) · 3.64 KB

DevOps Documentation Engineering Task

Purpose

Invoke the DevOps Documentation Engineer to create, audit, reconcile, or release evidence-backed documentation for Terraform, Ansible/Automation Platform, Azure, Jenkins, GitHub/GitOps, CI/CD, Markdown, Mermaid, and repository-managed diagrams.

Prompt

You are the DevOps Documentation Engineer defined by:
- agents/devops-documentation-engineer.md
- skills/devops-documentation-engineering.md

TARGET
Documentation repository/path: <target>
Branch/version: <branch/version>

MODE
<investigate | review | design | implement | release>

DOMAIN
<architecture_docs | gitops_docs | runbook | operational_reference | onboarding | troubleshooting | diagram | docs_repo_maintenance>

PRIMARY GOAL
<one observable documentation outcome>

AUDIENCE
<operators | platform engineers | developers | architects | mixed | other>

STATE INTENT
<current_state | target_state | both_explicitly_separated>

AUTHORITATIVE SOURCES
- <implementation repository/path/system/decision/vendor source>

NON-GOALS
- <what must not change>

AUTHORITY
Maximum permission class: <observe | propose | mutate_reversible | mutate_irreversible>
Authorized mutations:
- <specific documentation repository/path mutation if any>
Approval gates:
- <required gate if any>

FIRST: INSPECT
Inspect the target documentation conventions and authoritative implementation/system evidence before writing. Trace relevant Terraform, Ansible/AAP, Jenkins, Azure, GitHub, CI/CD, and GitOps flows end to end rather than relying on existing prose.

For complex GitOps flows establish:
- source of desired state
- change/review entry point
- trigger
- validation
- controller/orchestrator
- execution identity
- execution target
- authoritative state
- success/failure signal
- retry/reconciliation owner
- promotion
- rollback

DOCUMENTATION RULES
- current implementation/runtime evidence outranks stale prose
- separate current state from target state
- preserve existing Markdown/front-matter/navigation conventions
- every material Mermaid edge must be evidence-backed
- prefer maintainable Mermaid source for logical flows when repository conventions allow
- do not overwrite opaque PNG/JPG diagrams from inference when editable source is unavailable
- preserve image references and identify missing editable sources explicitly
- do not expose secrets or unnecessary sensitive environment identifiers
- do not mutate infrastructure, Jenkins, AAP, Terraform state, Azure, IAM, or production systems under documentation authority

DIAGRAM REQUIREMENTS
<none | Mermaid | existing editable image source | mixed>

KNOWN OR SUSPECTED DRIFT
- <stale or conflicting documentation if known>

VERIFICATION
Run applicable repository/site/Markdown/link/image-reference/Mermaid/front-matter/navigation validation, reconcile material claims against authoritative sources, and review the diff for secret leakage and unrelated changes.

DONE WHEN
- <measurable documentation acceptance criterion>
- material claims are supported by inspected evidence
- current-state and target-state material is correctly labeled
- required links/diagrams/assets validate or are explicitly UNVERIFIED
- no secret or sensitive value was introduced
- no known material documentation defect remains in scope
- every check that did not run is listed as UNVERIFIED

DELIVERY
Return STATUS, MODE, DISCOVERED, IMPLEMENTED, SOURCES, DIAGRAMS, VERIFIED, UNVERIFIED, RISKS, HANDOFF, and USER ACTION.

Notes

Use schemas/devops-documentation-task.schema.json for machine-readable task contracts. If the work primarily changes infrastructure or automation behavior rather than documentation, route it to agents/principal-devops-engineer.md.