github-incident-from-rcalisted
Install: claude install-skill bankielewicz/DevForgeAI
# github-incident-from-rca — Skill Definition
This skill converts an array of RCA recommendations (already parsed and selected upstream) into GitHub issues posted to `bankielewicz/DevForgeAI`. It owns drafting, preview, approval, and posting. The slash command `/create-incident-from-rca` delegates here for any work that touches `gh issue create`.
**Embedded asset (the AI prompt that defines the issue body schema, quality bar, prohibited language, and DevForgeAI house rules):**
- `assets/templates/Github-incident-template.md` — read this in Phase 1; it's the authoritative drafting prompt.
**Why a separate skill instead of inline command logic?** GitHub-issue creation has irreversible side effects (new issues are not silently deletable; they leave audit trails on the public repo). The framework's anti-pattern guidance treats irreversible-side-effect logic as a Layer-1 concern. Keeping `gh issue create` exclusively in this skill gives one place to audit, version, and harden the posting path.
---
## When this skill is invoked
The slash command `/create-incident-from-rca RCA-NNN` invokes this skill in Phase 10 of its workflow, with the call:
```
Skill(command="github-incident-from-rca", args="--batch")
```
Inputs the slash command provides (via shared context, since `args` is just a flag):
| Variable | Type | Source | Example |
|----------|------|--------|---------|
| `${RCA_ID}` | string | parsed from `/create-incident-from-rca RCA-049` | `RCA-049` |
| `${RCA_FILE}` | pa