tracker-ops
Ad-hoc work-item operations on the configured tracker — Azure DevOps or Jira Cloud — behind one approval per write batch. Use this skill whenever the user asks for a one-off board operation outside the shipped flows: "move PROJ-12 to In Progress", "transition this issue to Done", "comment on bug 4711", "link X to Y", "update the story's title", "create a quick task on the board", "show me work item 42", "search the board for …". Every operation runs through ONE bundled script (dry run by default, REST over built-in fetch — no az, no acli); reads are free, writes show the exact request plan first and need the user's ONE approval before --execute. Unsupported operations are answered upfront from the tracker's capability flags — never guessed, never silently substituted.
- License 许可
- MIT
- 最近更新
- 2026-10-26
- Stars
- ★ 21
- Forks
- 18
01 前言 Front Matter
- name
- tracker-ops
- description
- Ad-hoc work-item operations on the configured tracker — Azure DevOps or Jira Cloud — behind one approval per write batch. Use this skill whenever the user asks for a one-off board operation outside the shipped flows: "move PROJ-12 to In Progress", "transition this issue to Done", "comment on bug 4711", "link X to Y", "update the story's title", "create a quick task on the board", "show me work item 42", "search the board for …". Every operation runs through ONE bundled script (dry run by default, REST over built-in fetch — no az, no acli); reads are free, writes show the exact request plan first and need the user's ONE approval before --execute. Unsupported operations are answered upfront from the tracker's capability flags — never guessed, never silently substituted.
02 资源文件 2
- 脚本scripts/workitem.js12.6 KB
- 脚本scripts/workitem.test.js17.0 KB
03 SKILL.md 正文
Tracker Ops — ad-hoc work-item operations (one gate per write batch)
Role
You carry out one-off work-item asks on the configured tracker (Azure DevOps or Jira Cloud): show, search, create, update, transition, comment, link. You never write to the board without the user's one approval for that write batch.
For one-off board asks that no shipped flow covers. Every operation goes through ONE
bundled script — never az or acli, never hand-composed REST; it resolves the configured
tracker (the azure or jira block in config/project.json) and reads credentials from
.env itself, Authorization-header-only:
node ${CLAUDE_PLUGIN_ROOT}/skills/tracker-ops/scripts/workitem.js <subcommand> …
| Subcommand | What it does | Kind |
|---|---|---|
show --id <id> [--expand all] |
Provider-neutral work-item summary (id, type, title, state, url, fields) | read |
search --query "<jql|wiql>" |
Runs the query in the configured provider's query language (capabilities.query says which); returns ids/titles |
read |
create --type <type> --spec <file.json> |
Creates a work item — spec: { fields, relations? }, provider-level field ids |
write |
update --id <id> --spec <file.json> |
Updates fields — spec: { fields, addRelations? } |
write |
transition --id <id> --to <name-or-id> |
Jira: resolves against the issue's REAL transitions (no match fails closed listing them). ADO: routes to the honest equivalent — a System.State field update — and says so in the plan; never dressed up as a workflow transition |
write |
comment --id <id> --body "<text>" |
Adds a comment (plain text; the script owns the ADF wrapping on Jira). Unsupported on the configured tracker → answered upfront (exit 2, the capability flag named) | write |
link --id <id> --type <linkType> --target <id> [--direction inward] |
Links two items — Jira: an issue link with that type name (acting item outward by default); ADO: the relation reference name | write |
One JSON line out, exit 0/1/2. Spec files go to the OS temp dir, never committed.
The one gate
- Reads run freely (
show,search) — no approval needed. - Every write is a dry run first (no
--execute): the script returns the exact request plan (plan+ the nothing-written note) and sends nothing. Render that plan for the user — route, body, and for a transition the resolved target state. - ONE approval per write batch: collect every write the ask implies, show the plans
together on one screen, and get one explicit approval — then re-run each with
--execute, in the approved order. Anything other than an approval → stop, zero writes. - Report results exactly (ids + URLs, or the error); a partial batch is a failure — name what landed. No retries, no cleanup writes — remediation is the user's call.
Honest gaps (capability flags)
Answer unsupported asks upfront from the flags — never improvise:
- Delete is never offered on either provider from this surface; on Jira the only delete is permanent and the plugin never performs permanent destroys.
- Comments on ADO: not wired (
capabilities.commentsunset) — the script refuses with the flag named; tell the user honestly. - Test plans/runs on Jira: don't exist (
testPlans/testRuns: false). - In CI (
AGENTEX_CI=1) every write is mechanically refused (exit 2,ci-mode); reads and dry-run plans still work.
Provider knowledge (field ids, link semantics, JQL/WIQL gotchas) lives in
${CLAUDE_PLUGIN_ROOT}/references/tracker/ado-boards.md and
${CLAUDE_PLUGIN_ROOT}/references/tracker/jira-boards.md — read the configured provider's
before composing specs or interpreting results.
Rules
- Never run
az/aclior compose REST calls for board operations — the script owns transport, auth, and validation. - Never read
.env*or place a credential anywhere — the script reads them itself. - Field values and link/transition names come from the user or the tracker's real data (the script's fail-closed errors list the real options) — never invented.
- The consumer's config is never rewritten; corrections are for the run only.
04 同仓库更多 Skills
ui-check
Execute ui-check: steps in test specs — compare the live page currently open in the browser under test against a declared design baseline: a Figma frame (identifier only; file + token configured once per project) or a screenshot image, in exact mode (every visible detail) or reference mode (only enumerated details can fail). Triggers on spec steps starting with "ui-check:", or requests like "check this page against the design", "compare with the Figma frame", "does the screen match the mockup". Baselines are resolved by the bundled fetch_baseline.js runner — an unresolvable baseline is BLOCKED, never improvised; the comparison verdict itself is agent-vision judgment.
test-execution
Run test specs against an application and report defects, routing each step to its driver (browser via playwright-cli, API calls, database checks, knowledge-base questions, UI design checks). Use whenever the user wants to test a website, web app, or API for defects (happy paths, edge cases, negative cases), either sequentially (human-in-the-loop, the default) or in parallel (autonomous). Produces per-scenario evidence plus a consolidated defect report. Read this before starting any test run.
test-design
Designs test cases for User Stories on the configured tracker — Azure DevOps or Jira Cloud: analyze a story's acceptance criteria into test conditions, map them to test case titles, create the test artifacts (ADO Test Cases with structured steps, or the Jira issue type the user chooses — Jira has no native Test Case type) and link them to the parent story, behind ONE consolidated approval. Use this skill whenever the user wants to: - Analyze a user story and identify test conditions - Map AC scenarios to test case titles using a naming convention - Create test cases in ADO with proper steps, or design test cases for a Jira story - Review whether a story's ACs are fully covered by test cases Trigger on phrases like: "create test cases for story", "design tests for", "design test cases for a Jira story", "what test cases do I need", "analyze story for testing", "map ACs to test conditions", or any time a user story ID or Jira issue key is mentioned alongside test design/coverage work.
task-estimation
Creates QA testing tasks with estimation on the configured tracker's User Stories — Azure DevOps or Jira Cloud. Reads the sprint, analyzes each story, then creates all [Testing] tasks (ADO Tasks or Jira sub-tasks) behind ONE consolidated approval, through bundled REST scripts (no Azure CLI, no acli). Use this skill whenever the user wants to: - Add QA tasks to sprint stories in Azure DevOps or Jira - Estimate testing hours for user stories - Create [Testing] tasks on ADO work items or [Testing] sub-tasks on Jira issues - Plan QA effort for a sprint - Break down stories into testing tasks with hours Trigger on phrases like: "create tasks for stories", "add QA tasks", "estimate sprint", "estimate the Jira sprint", "create testing tasks", "create tasks for Jira sprint stories", "add sub-tasks to Jira stories", "plan QA for sprint", "add tasks to stories", or any mention of sprint stories + estimation + testing.
swagger-import
Generate an API catalog + suite of test cases (integration/api_test_suites/<service>/) from a Swagger 2.0 or OpenAPI 3.x JSON document. Use for /import-swagger, or requests like "import this swagger doc", "generate endpoint tests from this OpenAPI spec", or the guided wizard (/import-swagger --wizard) that collects real test data and previews basic checks (happy path, not found, no token, missing field) before one approval. Output feeds directly into the endpoint-testing and api-integration skills. This skill generates config and sends no API request of its own; any run, including the wizard's "Approve and run now", goes through endpoint-testing's runner.
optimize-login
Pay a web application's login cost once per session instead of once per test — drive the login live, reduce it to the smallest script that works, save the browser session, and reload that session into a fresh browser to continue. Use when login is the slow part of a run, when several scenarios each re-login, or whenever a run needs an authenticated browser.