work-tasks
Implement one or more praxis tasks by Jira key (PRAX-37) or task ID (T1.1). Checks Jira "Blocks" links for dependencies, transitions issues through the workflow, writes Go code following project conventions, runs tests, and commits atomically. Use when ready to implement specific tasks from the Jira backlog.
- License 许可
- Apache-2.0
- 所属仓库
- praxis-os/praxis
- 最近更新
- 2026-04-16
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- work-tasks
- description
- Implement one or more praxis tasks by Jira key (PRAX-37) or task ID (T1.1). Checks Jira "Blocks" links for dependencies, transitions issues through the workflow, writes Go code following project conventions, runs tests, and commits atomically. Use when ready to implement specific tasks from the Jira backlog.
02 资源文件 1
- 参考文档jira-map.md10.9 KB
03 SKILL.md 正文
Work Tasks
Implement praxis tasks end-to-end: dependency check, Jira transitions, Go code, tests, and atomic commits.
Input
Space-separated Jira keys or task IDs:
/work-tasks PRAX-37 PRAX-42/work-tasks T1.1 T2.1/work-tasks PRAX-37 T2.1(mixed)
Jira Configuration
- Cloud ID:
dbf84607-febc-42ec-87a9-df0f3d926c0b - Project:
PRAX - Link type:
Blocks(inward = "is blocked by")
Phase 1: Parse and Resolve
Resolve task IDs to Jira keys
- If argument matches
PRAX-\d+: use directly - If argument matches
T\d+\.\d+: look up in.claude/skills/work-tasks/jira-map.md - If not found in map, search Jira with JQL:
project = PRAX AND issuetype = Sub-task AND summary ~ "T<X>.<Y>:"
Fetch issue details
For each resolved key, call mcp__claude_ai_Atlassian_Rovo__getJiraIssue to get:
- Summary, description, acceptance criteria
- Status (must be "To Do" to proceed)
- Labels (for
area:*andmilestone:*) - Issue links (for dependency check)
If a task is already "Done", skip it with a message. If "In Progress", warn and ask the user whether to continue.
Phase 2: Dependency Check
For each task, inspect issuelinks of type "is blocked by":
- Fetch each blocker's status
- If ANY blocker is NOT "Done", the task is blocked
If blocked: Report which blockers are not done. Suggest running those first. Do NOT proceed with blocked tasks.
If requesting multiple tasks with inter-dependencies: Automatically sequence them. Example: if the user requests T1.1 and T1.2, and T1.2 depends on T1.1, execute T1.1 first, then T1.2 after T1.1 completes.
Phase 3: Execution Plan
Before starting implementation, present the plan:
## Execution Plan
### Sequential (dependency chain):
1. PRAX-37 (T1.1) — Create go.mod [area:build]
### Parallel (independent):
- PRAX-42 (T2.1) — Define State type [area:state-machine]
- PRAX-52 (T4.1) — TypedError interface [area:errors]
Proceed? [Y/n]
Wait for user confirmation before executing.
Phase 4: Implementation (per task)
4.1 Transition to "In Progress"
Use mcp__claude_ai_Atlassian_Rovo__getTransitionsForJiraIssue to find the
transition ID for "In Progress", then call
mcp__claude_ai_Atlassian_Rovo__transitionJiraIssue.
4.2 Gather context
Read these sources for implementation guidance:
- The Jira issue description and acceptance criteria
- The task's full specification in
docs/jira-decomposition.md - Relevant phase documents in
docs/phase-*directories - Decision references (D01, D02, etc.) mentioned in the task
CLAUDE.mdfor project conventions
4.3 Implement
Follow the golang-pro agent patterns (.claude/agents/golang-pro.md):
- SPDX header:
// SPDX-License-Identifier: Apache-2.0on every.gofile - gofmt compliance
- Context propagation in all APIs
- Error handling with wrapping (
fmt.Errorf("...: %w", err)) - Table-driven tests with subtests
- Godoc on every exported type, function, method, and constant
- Race-free code (safe for
go test -race) - Accept interfaces, return structs
- Package naming: follow the layout in design docs (e.g.,
orchestrator/,llm/,errors/,hooks/,budget/,telemetry/,credentials/,identity/,tools/,internal/)
4.4 Verify
Run in sequence:
go build ./...— must succeedgo vet ./...— must succeedgo test ./...— must passgo test -race ./...— must pass (if applicable)
If any step fails, stop. Do NOT transition to "Done". Report the error and leave the task "In Progress" for the user to investigate.
4.5 Commit
Create an atomic commit with conventional commit format:
feat(<area>): <concise summary> [PRAX-XX]
<body: what was implemented and why>
Refs: PRAX-XX
Where <area> is derived from the task's area:* label:
area:build→buildarea:state-machine→state-machinearea:orchestrator→orchestratorarea:errors→errorsarea:llm→llmarea:defaults→defaultsarea:docs→docsarea:quality→qualityarea:testing→testarea:ci→ciarea:streaming→streamingarea:hooks→hooksarea:filters→filtersarea:budget→budgetarea:telemetry→telemetryarea:identity→identityarea:credentials→credentialsarea:security→securityarea:benchmarks→bencharea:examples→examplesarea:governance→governancearea:api→apiarea:cancellation→cancel
4.6 Transition to "Done"
Use mcp__claude_ai_Atlassian_Rovo__getTransitionsForJiraIssue to find the
transition ID for "Done", then call
mcp__claude_ai_Atlassian_Rovo__transitionJiraIssue.
4.7 Update jira-map.md
After each Jira transition, update the corresponding row's Status column in
.claude/skills/work-tasks/jira-map.md to match the new Jira status.
- When transitioning to "In Progress": set Status to
In Progress - When transitioning to "Done": set Status to
Done - For tasks marked "skip" or "pre-existing" in the map: also transition them in Jira to keep both sources aligned
4.8 Propagate status to parent Story and Epic
After transitioning a subtask, check whether the parent Story and Epic need updating:
- Parent Story (from the subtask's
parentfield):- If all sibling subtasks are now "Done" → transition Story to "Done"
- Else if any sibling subtask is "In Progress" or "Done" and Story is still "To Do" → transition Story to "In Progress"
- Parent Epic (from the Story's Epic link in jira-map.md):
- If all Stories in the Epic are "Done" → transition Epic to "Done"
- Else if any Story is "In Progress" or "Done" and Epic is still "To Do" → transition Epic to "In Progress"
Use searchJiraIssuesUsingJql with
parent = <story-key> AND issuetype = Subtask to check sibling statuses,
and the Epic's child stories from jira-map.md.
Phase 5: Parallel Execution
If multiple independent tasks are requested (no dependency between them):
- Launch each task as a separate
Agentinstance usingsubagent_type: "golang-pro"withisolation: "worktree"for file-level isolation - Provide each agent with the full task context (Jira description, design docs, conventions)
- After all agents complete, merge worktree changes
- Verify no file conflicts
Important: Only parallelize tasks that:
- Have zero "Blocks" links between them
- Are likely to modify different packages/files
- Are all in "To Do" status with all dependencies met
When in doubt, run sequentially.
Guardrails
- Never mark "Done" without green tests — if tests fail, leave "In Progress"
- SPDX header on every
.gofile —// SPDX-License-Identifier: Apache-2.0 - Decoupling contract — never introduce banned identifiers (custos, reef, governance_event, hardcoded org.id/agent.id/user.id/tenant.id)
- One commit per task — atomic, traceable back to Jira key
- No scope creep — implement exactly what the task specifies, nothing more
- Acceptance criteria — every criterion in the Jira issue must be satisfied
- Ask before proceeding — always show the execution plan and wait for confirmation
04 同仓库更多 Skills
code-reviewer
Reviews staged changes for correctness, test coverage, and style.
missing-name
Skill without a name field.
minimal
A minimal skill with only required fields.
malformed
暂无简介
with-extensions
Skill with unrecognised fields.
empty-body
Skill with no instruction body.