skills/issue-workflow/issue-coding/SKILL.md
Orchestrates the TDD coding inner loop for a validated issue on a feature branch. Use when acceptance criteria exist, plan/branch are done, and implementation begins; runs validation-draft first, then construction, test-run, and quality-gate as exit.
npx skillsauth add pkuppens/pkuppens issue-codingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Thin orchestrator for the coding inner loop between plan (branch + tasks ready) and integration (commit, PR, merge). Does not redefine issues, create branches, or open PRs.
Acceptance criteria are the target function for AI-assisted coding: they define what “done” means for this session. Without them, stop and return to issue-acceptance-criteria or external grill-with-docs until criteria are testable and documented on the issue (see _meta/human-ai-execution.md).
Before coding: Criteria must be specific enough to drive validation-draft and tests — copy-pastable checks, expected outcomes, not vague goals. If the issue body is thin, run grill-with-docs (or issue-workflow acceptance-criteria sub-skill) with the human until criteria are written on the issue.
During the coding loop: Treat acceptance criteria as frozen unless changed through an explicit human agreement:
Do not silently reinterpret, expand, or rewrite criteria mid-implementation. Scope creep belongs in a new issue or an agreed issue/PR comment first.
Stop and resolve before coding if any check fails:
execution:ai-ok or the maintainer explicitly started coding in chat. If the issue has execution:human-required or execution:human-review without approval, pause for human sign-off (see _meta/human-ai-execution.md).main/master; matches repo convention (feature/NNN-…, etc.). If missing, run plan-branch-strategy via plan first.Human-in-the-loop pause: After issue-workflow and plan, a maintainer may review the issue before invoking this skill. Do not start coding until that review completes unless execution:ai-ok and the user (or agent brief) explicitly authorizes implementation.
Do not skip or reorder steps 1–5.
| Step | Skill | Purpose | |------|--------|---------| | 1 | validation-draft | TDD: draft tests/scenarios from acceptance criteria before production code | | 2 | test-write | Implement failing tests where automation applies | | 3 | implementation-construction | Write or change code to satisfy tests and criteria | | 4 | test-run | Red/green loop until the suite passes | | 5 | quality-gate | Lint, format, type-check, tests — exit condition |
Optional within step 1–2: create-validation for a full executable checklist when the issue warrants it.
After step 3, repeat test-run → fix (construction) → test-run until green. Then run quality-gate once. If quality-gate fails, fix and re-run from the failing check (usually construction + test-run + quality-gate).
Done for this skill when: quality-gate passes on the feature branch.
Next: integration — commit, PR, review, merge. Do not open a PR inside issue-coding.
gh issue view NNN if needed.main diverged since issue creation (user must request explicit re-validation)ready-for-agent + Agent Brief + execution:ai-ok is the typical entry for AFK agents on this repo.tools
Creates, queries, updates, and links Azure Boards work items via az boards CLI. Use when filing ADO work items, running WIQL queries, or setting area path, iteration, tags, and assignee.
tools
Creates, reviews, and completes Azure Repos pull requests and branch policies via az repos CLI. Use when opening ADO PRs, setting required reviewers, or configuring build validation policies.
development
Guides Azure Pipelines YAML structure, build validation on PRs, and staged deployment with environments and approvals. Use when authoring azure-pipelines.yml or configuring CI/CD on Azure DevOps.
tools
Orchestrates Azure DevOps work item, repo, and pipeline workflows using az CLI. Use when working with Azure DevOps, Azure Repos, Azure Boards, Azure Pipelines, or az devops commands.