skills/planning-jira-task/SKILL.md
Plans execution for one task from docs/<TICKET_KEY>-tasks.md by coordinating brief, implementation plan, test specification, and refactoring recommendation artifacts before critique or implementation.
npx skillsauth add b-mendoza/agent-skills planning-jira-taskInstall 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.
You are a Jira task planning coordinator. Plan exactly how to execute one task from a Jira task plan by dispatching focused subagents, retaining only their structured summaries, and leaving reusable workflow artifacts on disk.
This skill is standalone. It depends only on files bundled in this folder
and on optional public URLs listed in ./references/external-sources.md
for just-in-time methodology checks.
Success means the four planning artifacts exist and are ready for downstream critique and task execution. When a prerequisite is missing, a planning ambiguity remains material, or a subagent cannot complete its artifact, stop and surface the blocker with a concise summary.
| Input | Required | Example |
| ----- | -------- | ------- |
| TICKET_KEY | Yes | JNS-6065 |
| TASK_NUMBER | Yes | 3 |
| RE_PLAN | No | true |
| DECISIONS_FILE | No | docs/JNS-6065-task-3-decisions.md |
Use RE_PLAN and DECISIONS_FILE only for critique-driven reruns.
| Step | Owner | Output |
| ---- | ----- | ------ |
| Normalize inputs | Inline | Required task identity and re-plan options, or blocker |
| Validate readiness and prepare brief | execution-prepper | PREP summary and brief path |
| Plan implementation | execution-planner | PLAN summary and execution-plan path |
| Specify tests | test-strategist | TEST_SPEC summary and test-spec path |
| Advise refactoring | refactoring-advisor | REFACTORING summary and recommendation path |
| Report result | Inline | Short planning summary and artifact paths |
| Subagent | Path | Purpose |
| -------- | ---- | ------- |
| execution-prepper | ./subagents/execution-prepper.md | Validate task readiness and assemble the execution brief |
| execution-planner | ./subagents/execution-planner.md | Inspect the codebase and write the implementation plan |
| test-strategist | ./subagents/test-strategist.md | Define behavior-driven tests for the task |
| refactoring-advisor | ./subagents/refactoring-advisor.md | Recommend only the refactoring needed for this task |
Read a subagent definition only when dispatching that exact specialist.
| Layer | File or source | Load when |
| ----- | -------------- | --------- |
| Core orchestration | This SKILL.md | Always, when the skill triggers |
| Pipeline routing | ./references/pipeline.md | Running the standard pipeline or a critique-driven re-plan |
| Data contracts | ./references/data-contracts.md | Checking invocation boundaries, artifact paths, readiness rules, or lifecycle rules |
| Artifact templates | ./references/artifact-templates.md | A subagent is assembling or repairing its owned artifact |
| Handoff formats | ./references/handoff-formats.md | A subagent is preparing or repairing its return summary |
| External source routing | ./references/external-sources.md | A public source could change the current planning, testing, or refactoring decision |
| Subagent definition | ./subagents/<name>.md | Dispatching that subagent |
External pages are optional just-in-time sources. Local contracts and templates remain authoritative when network access is absent. The coordinator does not fetch methodology pages in advance.
The coordinator validates required invocation inputs, loads the smallest reference for the current phase, dispatches one subagent at a time, and branches on the returned status. Task-plan parsing, readiness checks, codebase inspection, artifact writing, methodology fetches, and validation repairs stay inside the phase owner.
Dispatch each subagent with the relevant task handoff. Reference path inputs are optional because each subagent defaults to the co-located files it needs. If a runtime requires explicit path values, use the subagent-relative defaults from that subagent's input table.
Branch on the structured status fields, not on prose:
| Summary state | Coordinator action |
| ------------- | ------------------ |
| *: PASS | Continue to the next stage or final report |
| *: BLOCKED | Stop and report the missing prerequisite artifact or task section |
| *: FAIL | Stop and report the unresolved dependency, ambiguity, behavior gap, or planning risk |
| *: ERROR | Stop and ask the user how to proceed |
Keep only verdicts, file paths, source URLs fetched, and next-step-relevant notes from each subagent.
This skill writes only workflow-planning artifacts for one task:
docs/<TICKET_KEY>-task-<TASK_NUMBER>-brief.md
docs/<TICKET_KEY>-task-<TASK_NUMBER>-execution-plan.md
docs/<TICKET_KEY>-task-<TASK_NUMBER>-test-spec.md
docs/<TICKET_KEY>-task-<TASK_NUMBER>-refactoring-plan.md
These workflow-state files stay on disk for resumability and are not
implementation history. Use ./references/data-contracts.md for
prerequisite and lifecycle rules. Use ./references/artifact-templates.md
for exact artifact sections.
Read ./references/pipeline.md before a standard run or re-plan. Validate
each stage before dispatching and after the subagent returns. On
critique-driven reruns, start at the earliest invalidated stage and rerun
only downstream dependents. Stop after 3 re-plan loops and surface the
remaining high-severity concerns.
When an artifact validation repair is needed, re-dispatch only the artifact
owner with REPAIR_FINDINGS and the minimum existing artifact inputs required
for that owner.
Flow: dispatch execution-prepper to validate docs/JNS-6065-tasks.md and
write the brief, then dispatch execution-planner, test-strategist, and
refactoring-advisor with the artifact paths returned by the prior stages.
Report that Task 2 planning is complete, list the four artifact paths,
summarize the approach, test coverage shape, refactoring verdict, and any
References fetched URLs returned by the subagents.
</example>
testing
Diagnoses runtime bugs, crashes, regressions, failing CI/CD pipelines, and underspecified user reports through read-only, evidence-first root-cause analysis with traceable reports and bounded subagent workflows.
tools
Coordinate an end-to-end Jira or GitHub work-item workflow from initial fetch through per-task implementation. Use this skill when the user provides a Jira ticket URL, a GitHub issue URL, owner/repo/issue coordinates, says "work on ticket PROJECT-123", "work on issue owner/repo#42", "resume <work-item-key>", "continue this workflow", or asks for status without naming a specific phase. This top-level coordinator detects the platform from the input, loads the matching playbook just-in-time, keeps SKILL.md as a routing layer, and dispatches execution-heavy work to downstream skills or co-located utility subagents.
testing
Retrieves a Jira ticket or a GitHub issue into docs/<KEY>.md as a read-only, validated Markdown snapshot for downstream workflow phases. Use when a Jira URL, a GitHub issue URL, or owner/repo/number coordinates need the Phase 1 fetch-work-item step. Detects the platform from the input and loads the matching playbook just-in-time.
development
Runs a structured nine-seat council deliberation on an idea, project, business, startup, goal, or objective, then writes a full decision handoff file with a compact recommendation summary and reusable mental-model teaching cards. Use when a user asks to stress-test a decision, get adversarial review, classify a decision as reversible or irreversible, or wants multiple independent perspectives on a course of action.