skills/complete-work/SKILL.md
Archive an OpenSpec change and transition the Jira issue to Done. Use when the user says "complete work", "finish this change", "wrap up", or otherwise signals the work is done and should be closed out. Handles archive, commit with trailers, Jira transition, push, and CI verification.
npx skillsauth add avantmedialtd/skills complete-workInstall 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.
Close out a finished unit of work: archive the OpenSpec change, commit with trailers, transition the Jira issue to Done, push, and verify CI.
main/master with a clean audit trail.openspec/changes/. If multiple exist, ask the user which change to complete.openspec/changes/<id>/proposal.md) to extract the issue key (look for a Jira key pattern like PROJ-123 in the metadata or body) and the title.af jira get <issue-key> to verify it exists and get the summary. If no issue key was found: Skip all Jira operations (steps 3, 6) and omit the Issue= trailer in step 5.openspec/changes/<id>/ directory exists/opsx:archive (Skill tool) with the <change-id>git add -A
git commit -m "<summary>" \
[--trailer "Issue=<issue-key>"] \
--trailer "OpenSpec-Id=<change-id>"
Where <summary> is derived from the Jira issue (if available) or from the OpenSpec proposal title. Only include the --trailer "Issue=<issue-key>" flag when an issue key is present.af jira transition <issue-key> --to "Done". If this fails, run af jira transitions <issue-key> to find the correct completion status name. If no issue key: Skip this step.git pushRead the Jenkins job path from the project's CLAUDE.md (e.g., Jenkins job: folder/pipeline-name). If not configured, skip this phase. The full job path includes the current branch: <job-path>/<branch>.
Wait ~30 seconds for Jenkins to pick up the push, then poll build status:
af jenkins build <job-path>/<branch> --json
Repeat every 30 seconds until the build is no longer in progress (check the building field or result field in JSON output).
If build succeeds: Done.
If build fails:
af jenkins stages <job-path>/<branch> to identify the failing stageaf jenkins stage-log <job-path>/<branch> <failing-stage> to read the error outputgit add -A && git commit -m "<summary>" --trailer ... pattern from step 5, push, and poll againEscape valve: If the build still fails after 3 CI attempts, STOP and report the failing stage, error output, and what fixes were attempted.
openspec --help for OpenSpec CLI optionsaf jira --help for Jira CLI optionsaf jenkins --help for Jenkins CLI optionsdevelopment
Manage Bitbucket Cloud pull requests, comments, tasks, and pipelines from the command line. Use when working with PRs, reviewing code, leaving inline comments, creating PR tasks, triggering or inspecting Bitbucket Pipelines, or looking up reviewer account IDs.
development
Opinionated TypeScript and React development standards from Avant Media. Use when scaffolding new components, reviewing code, writing TypeScript interfaces or types, setting up project structure, creating React hooks, or working on any TypeScript/React codebase. Also use when the user asks about best practices, patterns, or conventions for TypeScript or React projects, even if they don't explicitly mention "standards."
tools
Assign a Jira issue to yourself and convert it into an OpenSpec proposal. Use when the user says "start work", "pick up an issue", "take the next ticket", or provides a Jira key and wants to begin work on it. Handles issue selection from the backlog, assignment, transition to In Progress, and scaffolding an OpenSpec change with Jira context embedded in the proposal.
development
Bun/Elysia/React/MUI monorepo stack blueprint. Use when scaffolding a new project, adding a new app or package to the monorepo, choosing dependencies, or making architectural decisions. Contains the full tech stack, conventions, and wiring patterns.