/agile-backlog-toolkit:auto-fix-artifactfrom agile-backlog-toolkit
Validates an agile artifact (Epic, Feature, or User Story) and automatically fixes any issues found. Accepts an Azure workitem ID, artifacts path document, filesystem reference, or pasted string. If validation passes, outputs the report. If validation fails, it shows the report, asks for permission to fix, systematically corrects each problem based on the quality gate rules, and offers to save the corrected version back to Azure or the artifacts path.
Ships in agile-backlog-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Validates a single agile artifact and offers an auto-fix workflow if issues are found. It uses the validate-artifact quality gates and applies fixes based on the same reference rules.
References (shared, in ../../references/):
decomposition-rules.md — hierarchy, DoR, sizing, story-point heuristic.ticket-structure.md — body sections, frontmatter constraints, content hygiene.azure-mechanics.md — MCP calls, linking mechanics, rendering rules.audit-checklist.md — fidelity, coverage, DoR check definitions.References (from validate-artifact skill, in ../validate-artifact/references/):
validation-checks.md — full check catalog per artifact type + category.report-format.md — terminal output template + report template.canonical/canonical-validation-report.md — read-only shape contract for validation reports
(shared with validate-artifact). Do not edit; conform output to this template.Input: Azure work item ID, artifacts path document path, filesystem reference, or pasted string.
wit_get_work_item(id=<id>, expand=relations).bin/agile-backlog-toolkit evaluate --skill auto-fix-artifact --file <path>
# or MCP tool: agile-backlog-toolkit-orchestrator → auto-fix-artifact with draft_content
For reflection retries, resubmit revised draft_content via MCP or re-run evaluate after saving.
Circuit breaker trips after 3 attempts or identical critiques → blocked_requires_review.
Resume only after human types IMPLEMENTATION APPROVED (or ORCHESTRATOR_INTERACTIVE=1 CLI).
3. Report: Display the validation report to the user on the screen.
If all checks PASS:
validate-artifact Phase 4 persist logic).If any checks FAIL or WARN:
ask_question or standard prompt): "Validation found issues. Would you like me to automatically fix these problems?"Systematically address each FAIL and WARN result:
type: keys, remove invalid status: keys.^(\d+|tech-debt|bug|task|spike)-[a-z0-9-]+.Contexto, Critérios de Aceite, Tarefas Técnicas, etc.) with placeholder or derived content.📊 Complexidade section with default/inferred values for Escopo, Incerteza, etc.decomposition-rules.md, then update it.📄 Descrição Original if missing.TBD/to be defined with proper @TODO annotations.wit_update_work_item)write_to_file/replace_file_content)bin/agile-backlog-toolkit validate --file <path> --persist, which writes to .agile-backlog-toolkit/reports/.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub theocarranza/agile-backlog-toolkit --plugin agile-backlog-toolkitOther plugins' skills for the same job
9 skills in this plugin
/amend-workitemsAnalyze user instructions and safely amend an entire Azure DevOps or local artifacts work-item tree. Use when a user supplies corrections or adjustments for an Epic or Feature and expects the Epic, Features, User Stories, and child Tasks to be scanned, placed, reviewed, and updated consistently. This skill gathers and presents a change set before any write, creates a recoverable tree backup, and never changes work items without explicit approval.
/decompose-backlogDecompose a parent work item into correctly-parented, audited child Stories. Use when the user asks to "break down this Feature", "decompose Epic/Feature N into stories", "create the user stories for <feature>", "groom this backlog item", or provides a Feature/Epic id and wants Stories drafted and created in Azure DevOps. Drives 7 phases: ingest the parent, split into right-sized Stories (1 Story = 1 sprint = 1 PR), draft them in the artifacts path, enrich to the team format, create them in Azure DevOps parented to the FEATURE, verify the hierarchy, and audit that every parent requirement has a home. Self-contained rules; two approval gates before any write. For plain-language scope lines and story narrative, delegates sub-passes to generate-plain-language-documentation in DRAFT and ENRICH phases.