0019 — Factory skills: write-adr, write-issue-spec, write-workflow, upgrade-skill, validate-skill #34
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type: HITL
Parent PRD:
docs/prd/chunk-3-skills-library.mdWhat to build
The remaining 5 factory meta-skills, authored using
write-skill(0018).write-adrmust be implemented first within this group — it is called bydesign/grill-me(issue 0020). All skills in this group are new.Each skill follows the per-skill workflow from
docs/notes/skill-implementation-workflow.md.write-adrmust be verified before starting issue 0020.Skills and trigger descriptions (from skills index):
write-adrwrite-issue-specwrite-workflowupgrade-skillvalidate-skillKey constraints per skill:
write-adr: producesdocs/adr/NNN-title.md; increments ADR number from existing files; never edits an existing Accepted ADR — creates a superseding one insteadwrite-issue-spec: produces complete issue body (Why + EARS Requirements with ADDED/MODIFIED/REMOVED delta markers + Design notes + independently completable Task checklist); scale-adaptive; does not post — outputs body for human review; must work for both file-based issues (docs/issues/) and Gitea MCP when configured — the active backend is determined at runtime per ADR-0011write-workflow: produces.agents/workflows/<name>.mdwith WorkflowContext schema (inputs/outputs per step), HITL gates before every irreversible action, failure paths documentedupgrade-skill: bumpsversionin frontmatter; always adds a new eval test capturing the correction; never reduces existing eval suitevalidate-skill: severity-rated findings — missing eval = critical; missing failure handling = high; weak trigger description = highImplementation notes
Follow the per-skill workflow defined in
docs/notes/skill-implementation-workflow.md(produced by issue 0016).Known upstream sources to review for this category:
mattpocock/skills— check for any meta-skill or skill-authoring patterns; record SHAs for any adopted contentbmad-method/bmad-method— BMAD architect role and ADR-writing patterns; relevant forwrite-adrandwrite-issue-specgithub/spec-kitandFission-AI/OpenSpec— issue spec and workflow standards; relevant forwrite-issue-specandwrite-workflowAcceptance criteria
.agents/skills/<skill-name>/SKILL.md;metadata.category: factory; authoring standard met for eachwrite-adrimplemented and verified before the design skills issue (0020) begins.agents/evals/factory/<skill-name>/eval.yamlproduced viawrite-evalinstall.shdeploys all 5 to~/.agents/skills/docs/spec/overview.mdupdated to reflect all 5 skills deployedBlocked by
write-evalneeded to produce evals)write-skillused to author these skills)