Setup

From melodic-software/claude-code-plugins · View interactive version

Setup is an AI agent skill from the GitHub repository melodic-software/claude-code-plugins. Verify and configure the work-items plugin for this repo. check read-only inspects the tracker binding (the home's work-items.yaml), tracked .github/recurring-schedule.json (presence, JSON validity, unique reconciliation keys), jq and tracker-seam entry gates, recurring-maintenance role label, prove

How to use this skill

Skill file

Purpose

Verify and configure the work-items plugin for the consuming repo. Setup owns three concerns: **bind

the tracker provider** (the tracker key of the tracked <home>/work-items.yaml, the once-per-repo

declaration the seam needs before any verb runs; see "Provider binding" below), the tracked

recurring-schedule config at .github/recurring-schedule.json so the due, recheck, and work

actions resolve a real schedule instead of degrading to "no recurring schedule configured", and the

optional canonical-role → label remap in the binding (see "Canonical role labels" below). The

recurring-schedule pass is the bulk path for seeding or reshaping the whole schedule at once; the

per-item add --recurring path (which appends a single row as a side effect of filing its work item)

stays as-is. That bulk pass is opt-in rather than part of initial config: a first-time bind writes the

empty skeleton and stops there, because that bind is usually reached as a detour from another verb

reporting "no binding", the operator came to do something else, and should not be walked through a

per-item interview to get there.

Check-centric per the uniform setup contract (docs/plugin-philosophy.md

"Setup is explicit and repeatable" in the marketplace repository): check inspects read-only and

reports a PASS/FAIL/INFO table; apply binds the provider, writes or reshapes the schedule, and

offers the role remap, then re-runs check. No argument or check runs the check; apply runs the

check first, then the bind-and-write flow; apply --seed-schedule additionally opts in to the

candidate-inference-and-interview pass. Idempotent: re-running reads the on-disk files and offers

updates rather than overwriting blind. The schedule file is a plain tracked

JSON file the skill reads and writes directly (Read / Write / jq). It is not a tracker record, so it

does not route through the work-item-tracker seam; only operations on the work items themselves (labels,

item lookups, edits) go through the bound provider.

Resolving the paths

Root every path at the project root, never a bare relative path (which breaks when invoked from a

subdirectory). The binding lives in the convention home, which the repository binds in the pointer

region of AGENTS.md or CLAUDE.md:

ROOT="<project root>"
bash "${CLAUDE_PLUGIN_ROOT}/lib/resolve-convention-home.sh" --root "$ROOT"

<project root> is the literal path CODE1 "Project root" resolves, in its own Bash call before this snippet; the same holds wherever <project root> appears below.

Exit 0 prints the home; exit 1 (no pointer) means docs/conventions. Exit 4 (the repository

declined a home) or 5 (the root is $HOME, an ancestor of it, or not a git work tree) means no home

applies: nothing can bind the repository there, so setup writes no binding and reports that the

repository needs a convention home first. Exit 3 (a broken pointer) is a check FAIL naming the

resolver's message. With <home> resolved:

work-items settings; setup edits only its tracker mapping.

$ROOT/.work-item-tracker.local.json. The seam no longer reads them; step 1 of "Provider binding"

copies them, and setup never writes them.

The binding and schedule are version-controlled and shared by the whole team. They belong in the

consumer's tree, never in the plugin directory or any machine-local state.

Provider binding (the tracker seam)

apply runs this first, the recurring-schedule and role-label passes below resolve the binding; the

check binding probe validates it read-only. The tracker seam runs against exactly one provider per

repo, declared under the tracker key of the tracked <home>/work-items.yaml (resolved as BINDING

above); every seam verb resolves the bound provider from it, and with no binding the seam hard-errors

(exit 3) with a message naming /work-items:setup apply. The seam ships with this plugin and bundles two adapters, github and local-markdown;

for those, installing the plugin is enough and a repo only declares which one it uses. jira, gitea,

and linear ship as seeds, which step 4 copies into the consuming repo, where the repo owns them.

Binding shape, discovery, and

adapter resolution are the seam contract's

CODE0

"Setup (binding file)" and "Adapter resolution".

Step 1's keep-or-re-bind recommendation and the steps 2–3 interview are all decisions. With no

interactive user, resolve them by apply's "Autonomous invocation" rule below rather than asking,

it fixes what the RECOMMENDED answers resolve to (including that an existing binding is kept), and

when this pass must stop instead of guessing.

  1. Read the current binding first. If <home>/work-items.yaml has a tracker key, load it and

report the bound provider and config. RECOMMENDED: keep it. Re-bind only to switch providers

or fix config. Keeping a binding to a seeded provider still runs step 4's seed copy, attended or

not. When only the legacy .work-item-tracker.json binds the repository, copy it: run step 5's

ignore pass for OVERRIDE first, then

bash "${CLAUDE_PLUGIN_ROOT}/skills/setup/scripts/migrate-binding.sh" --root "$ROOT". It copies

the JSON binding and its personal override into the tracker mapping of <home>/work-items.yaml and

<home>/work-items.local.yaml, appending to a file that holds other settings. It checks both

layers and reads each copy back through the seam before it writes either, so a binding is never

copied without its personal override. Announce each line it prints (copied, already-yaml, no-json,

empty). Exit 1 names a value it cannot copy (a null, an empty object, a list of mappings);

3 an OVERRIDE path that no .gitignore rule covers or that the index holds; 4 a repository

where no home applies or whose pointer is broken. Each writes nothing and is a finding to report. The JSON files

stay where they are, unchanged, and no longer bind: a vendored seam or the repository's own tooling

may still read only them. Say so, and say that a later binding edit lands only in the YAML file. Then treat the copy as the current binding. If neither

file binds the repository, say so and continue to the interview.

  1. Choose the provider, recommendation first. One line each below; the selection detail,

how to verify a github bind, what each provider can and cannot do, and every config key,

is reference/providers.md. Read it before recommending, and cite it when explaining a

capability gap.

CLI. gh repo view --json owner,name is the operative bind-time test (gh auth status is

not, see the reference).

never a coordination surface. Needs config.storage_dir.

enable /work-items:work or track start.

API key (the headless-appropriate credential); issue numbering lives outside the repo.

leases and no sub-items**, so /work-items:work cannot claim on it.

<repo root>/tools/work-item-tracker/adapters/<provider>/; the seam resolves those ahead of

the bundled pair, so no fork is needed. /work-items:onboard-adapter (if enabled) generates

one rather than starting from a blank file.

  1. Settle the config, all non-secret. lease_ttl_hours (required for every provider;

RECOMMENDED 24) plus that provider's own subtree, the per-provider key table is in

reference/providers.md. Interview for each value; for any token, ask for the env-var name

and probe that it resolves in-env at bind time.

references it by env-var name / the repo's secret-store convention from inside its adapter, never

as a literal here. github needs none (ambient gh); jira, gitea, and linear reference theirs by

auth_env name.

  1. Write the binding. Re-read <home>/work-items.yaml from disk immediately before writing

(create the home directory and the file when absent) and edit only its tracker mapping,

leaving every other top-level key and comment as it was: preserve any existing

config.role_labels (owned by the role-label pass below) and any other keys. Write

schema_version: "1.0" (quoted, so it stays a string), the chosen provider, the config, and,

unless one already exists, the self-describing docs pointer (CONTRACT.md "Setup (binding

file)"). Keep to the YAML subset the seam reads (CONTRACT.md "Setup (binding file)"): block

mappings and sequences, no flow mappings; quote any string holding a colon followed by a space. Confirm the file still

parses with awk -f "${CLAUDE_PLUGIN_ROOT}/skills/triage/scripts/yaml-subset.awk" <file> (exit

0), then confirm tracked-not-ignored via the pair: git check-ignore -v no match and git ls-files --error-unmatch exit 0 (non-zero after a fresh write = "written but untracked: commit it").

For a seeded provider (jira, gitea, linear), whether this step wrote the binding or

step 1 kept it, copy its seed by running

bash "${CLAUDE_PLUGIN_ROOT}/tools/work-item-tracker/seed-copy.sh" <provider> from the project

root; the seam exits 3 for that provider until the copy exists. Its first stdout line is the outcome

(the table is in ${CLAUDE_PLUGIN_ROOT}/tools/work-item-tracker/seeds/README.md):

tools/work-item-tracker/adapters/<provider>/ is the consumer's to commit and own.

and stop this step; never delete or overwrite the copy to force an update. With no interactive

user, report it as a finding and continue with the existing copy.

  1. Ensure the personal-override gitignore line. The gitignored personal override

(<home>/work-items.local.yaml, allowlisted keys only. CONTRACT.md "Setup (binding file)") sits

in the convention home, outside the .claude/**/*.local.* convention line, so apply must

confirm a repository .gitignore rule covers it even when the personal override file does not exist yet,

and append that path as a line when none does, announcing the edit (touch nothing else there).

While a legacy .work-item-tracker.local.json exists, it must stay ignored and untracked too:

run the same probes on it.

$GIT_DIR/info/exclude and core.excludesFile do not protect a teammate. A tracked personal override

in the index is a finding to stop and report, never ignore. Ignored and untracked are **two

independent probes**; a bare git check-ignore is silent for an already-tracked path. Run the

probes as CODE0 specifies,

including why the ignore verdict must not come from check-ignore -v's exit code.

Example <home>/work-items.yaml (github; local-markdown adds storage_dir: .work-items under

config):

tracker:
  schema_version: "1.0"
  provider: github
  docs: Work-item tracker binding, see the work-items plugin's tools/work-item-tracker/CONTRACT.md (Setup)
  config:
    lease_ttl_hours: 24

`check` (read-only)

check inspects and reports; it writes nothing. Read reference/check.md

when invoked with check or with no action, and again at the start of apply, which runs the same

probes first: it owns the probe order, every PASS/FAIL/INFO row, and the remediation line each FAIL

prints. apply below consumes those probe results and never re-derives them. The jq and

tracker-binding entry gates that check.md's probe 1 tests are defined in

CODE0

"Provider-neutral over the seam" (its three entry invariants); read it for what each gate enforces and its remediation.

`apply` (idempotent)

Run check, then bind the provider (step 1) before the schedule and role-label passes. The schedule

branches on how many rows the schedule already carries, never on whether the file exists. A

skipped first-time apply leaves {"items": []} on disk, so a file-absence gate would make the

seeding path unreachable by re-running:

(steps 7–9), offering updates. --seed-schedule is a no-op here; this branch already interviews.

the provider binding, the role-label pass, and the empty {"items": []} skeleton so due /

recheck / work stop degrading to "no recurring schedule configured". Steps 4–5 do not run: no

candidate inference, no per-item interview. This is the default.

non-array items, a non-object root, or invalid JSON. This is a check FAIL, not a zero-row

schedule: stop and report it rather than treating it as either branch, because overwriting or

"leaving it untouched" both leave a malformed file the recurring actions cannot read.

Seeding rows on the empty/absent branch is opt-in, satisfied by any one of: the explicit

--seed-schedule argument; an accepted yes/no offer; or an invocation that in its own words asks for

the schedule to be seeded (e.g. "seed a sensible recurring schedule for this repo"), an explicit

request is the opt-in, so honor it without re-asking. Otherwise offer exactly once, before step 7, as a

single yes/no with skip marked RECOMMENDED: name that seeding walks them through one interview per

candidate item, that the skeleton alone already stops the degradation, and that re-running apply (or

apply --seed-schedule) bulk-seeds later at any time. On skip, say so plainly and go to step 10.

Autonomous invocation (no interactive user)

When apply runs in an unattended or loop-driven context there is nobody to answer any of its

questions, and blocking on one strands the run. Read

reference/autonomous-apply.md before the first decision point of

an unattended apply, and follow it for every decision in the flow, not only the seeding offer: it

owns the silent-resolve rule, the never-guess rule, the per-pass unattended resolutions, and what

the run must say in its summary about each decision it took without asking.

The first decision is the bind. With no binding in either file (work-items.yaml or the legacy

JSON), bind github only when gh is installed and

gh repo view --json owner,name resolves; otherwise no provider can be chosen safely, so write no

tracker key, stop, and report the named blocker "tracker binding needs a provider decision; run

/work-items:setup apply with a user present". Unlike the seeding offer, whose safe default (skip)

resolves silently, this decision has no safe default.

The `apply` flow, step by step

Attended and unattended runs take the same numbered steps; only the answers differ.

The row shape, the root {"items": []} structure, and the cadence-duration table are defined once in

CODE0

(step "If --recurring" and the Cadence Duration Table). Read that file for the authoritative field

list before writing. Proceed non-interactively where the invocation and the repo make the values

unambiguous; ask only where an item genuinely needs the user.

  1. Bind the tracker provider first. Run the "Provider binding" procedure above. Seed, copy or

update the tracker mapping of <home>/work-items.yaml before any pass below resolves it. Every

step that follows reads the bound provider and its config.role_labels from that mapping; the

seam hard-errors (exit 3) without a binding.

  1. Offer the canonical role→label remap. Run the "Canonical role labels (optional remap)" procedure

below, which writes config.role_labels into the binding just seeded. It is anchored here, after

the bind, before any schedule work, so it runs identically on the skipped first-time path (where no

interview happens) and on the seeding path, and every later step resolves the post-remap labels.

Then run the "Won't-do classification" procedure below for the bound provider.

  1. Migrate the provenance label. Run the "Provenance label (migration)" procedure below.

It discovers a missing provenance: untrusted and provisions it when authorized. When it is still

missing after this pass, stop. Triage cannot mark an untrusted item without it.

  1. Migrate the capability-tier label axis. Run the procedure in

reference/capability-tier-axis-migration.md, which

provisions the canonical capability-tier: frontier member defined in

CODE0.

When the canonical member is still missing after this pass, stop: triage cannot stamp the

frontier-tier label, so the frontier-tier quota guard never applies and the work-loop reader fails closed to the general tier.

  1. Backfill legacy frontier-tier body stamps. Run the procedure in

reference/capability-tier-backfill.md. This pass is

load-bearing on upgrade: items already triaged with only a body prose frontier-tier stamp

will not be re-triaged, so setup applies the label here once the axis exists.

  1. Read the current schedule file first. If .github/recurring-schedule.json exists, load it and

present a short summary (item count, each item's id / cadence / next_due, and which are already

overdue against today). The interview proposes changes against that baseline; nothing is dropped

without the user confirming. If the file is absent or carries an empty items array, say so and

settle the opt-in decision above before steps 7–8.

  1. Infer candidate items before asking. Steps 7 and 8 run on the seeding path only (the schedule

already carries ≥1 item, or seeding was opted into). On the default skipped path, run neither and go

straight to step 9. Recurring items can't be fully derived, but don't skip the rung. Propose

candidates from what the repo actually contains, each with a recommended cadence:

quarterly).

quarterly).

item (recommend quarterly).

(recommend semi-annual or quarterly).

Present these as a starting menu; the user keeps, edits, or drops each. Do not invent items the repo

gives no signal for.

  1. Interview, one decision at a time, recommendation first. When --accept-recommended is set

alongside --seed-schedule, skip the interview: accept every inferred candidate from step 7 with

its recommended field values and proceed to step 9. Otherwise, for each candidate (and any custom item

the user names last), settle its fields against the shape in

CODE0: id (kebab-case),

title, cadence (one of the cadence table's values), area[], category, triggers[] (external

events warranting an early recheck. E.g. "new major framework release"), notes, and

close_previous. Present one item at a time with your recommended values marked; the user accepts

or edits before you move on. Date handling depends on whether the item is new or already present,

setup seeds the schedule but never performs the maintenance, so it must not advance the cadence

clock on an existing item (that is recheck's job, gated on the check actually being done):

(Cadence Duration Table in CODE0).

next_due when the user explicitly reschedules or changes the cadence, and even then never set

last_checked to today (setup did no maintenance). Blindly resetting the dates would drop an

already-overdue item out of the due / work recurring tiers, which both select on

next_due <= today.

  1. **Confirm the recurring-maintenance role label is present in the provider. Load-bearing whenever

the schedule will carry rows.** (Step 2 settled which label string each role resolves to; this step

verifies that string actually exists.) Key this on the schedule's final row count, not on what

this run wrote: with ≥1 row (written now or already on disk) a missing label is reported as a hard

finding, exactly as spelled out below. With zero

rows, the skipped first-time bind's empty skeleton, no recurring item can ever be created

from that schedule, so a missing label is informational, not a gate: report it, note it must

exist before the schedule is ever seeded, and continue without blocking the bind.

Resolve the role from the binding's config.role_labels["recurring-maintenance"],

defaulting to recurring only when the file or entry is absent (a malformed, empty, or non-string

configured value is an error, not a fallback). due / work enumerate open maintenance items with

that resolved label, and the create path filters out labels the repo lacks, so if you write a

schedule while the resolved label is absent, the first recurring item created (by the recurring

automation or the work due-recurring tier) lands without that label, is invisible to the next

due / work pass, and gets duplicated or reported as orphaned. Verify presence via the adapter's

label listing (for the GitHub adapter, gh label list). **When the repository declares a

label-as-code owner (label_as_code_repo, as

CODE0 defines it), that system is the sole writer, never gh label create labels ad

hoc.** When the resolved label is missing and the schedule carries rows, tell the user plainly that

the schedule cannot be reconciled until the label is added through the repository's declared

provisioning process; do not silently treat it as optional. This step files no items; for a row now

in the schedule, its recurring item is created, item only, no extra schedule row, by the consuming repo's

recurring automation or the work due-recurring tier when next_due arrives. Do not point users

at add --recurring to create it: that per-item path appends another schedule row, duplicating an

already-seeded item.

  1. Write the schedule. On the skipped path there is nothing to merge: write the {"items": []}

skeleton when the file is absent, leave an already-empty file untouched, and go to step 12. Step 11

has no renamed or dropped row to reconcile. Otherwise read the current file (if any) and merge the

accepted items into the items

array, keying each edited item on the original id it had when read in step 6, not its final

id, so an id rename replaces the original row instead of leaving it behind. Concretely: replace

the row whose id matches the item's origin id; append only genuinely new items (no origin row); and

when the user renamed an id, drop the old-id row so due / work never see two rows for the same

maintenance (which would create duplicate items). Preserve any existing rows the user did not

touch. Before writing, **verify both reconciliation keys are unique across the whole items array,

every final id and every final title.** On any collision, stop and prompt the user to merge the

two rows, replace one, or pick a unique value; never write a schedule with a duplicate id or

title. Then write it back with the {"items": [ ... ]} root. Confirm the file is tracked, not

ignored.

  1. Reconcile an existing row's open item when its id is renamed or the row is dropped. Both

operations strand the row's live recurring item (if still open), whose body's

<!-- recurring-schedule id=<old id> --> line

(CODE0 "Recurring marker")

names an id the written schedule no longer carries, so due / work, which derive recurring

candidates only from the schedule, and whose frontier tiers exclude items carrying the resolved

recurring-maintenance label, will never surface it again, leaving it stale outside the normal flow

(an id rename additionally risks a duplicate under the new id). A title-only edit strands nothing,

since the title is not the match key. For each id-renamed or dropped existing row, look up its open

item (adapter: "List items", --label <resolved recurring-maintenance label>, with bodies) and keep

only the one whose marker names the old id exactly. When exactly one exists. Renamed id:

rewrite that marker line to the new id (a provider body-edit op, read-modify-write of the whole

body; GitHub adapter: gh issue edit <N> -R <owner>/<repo> --body-file ..., the repository the item id names), or close it (adapter: "Close item") if

the user is instead retiring the item; Dropped row: close that item (adapter: "Close item") with

a comment noting the recurring item was retired from the schedule. Otherwise the

recurring-labeled issue lingers unreachable. An id rename or drop with no matching open item

needs no reconciliation.

  1. Verify after remediation. Re-run the check probes on the written binding and schedule. Binding

validity, including that any config.role_labels step 2 wrote survived the step-10 write intact and

is well-formed; JSON validity; unique id/title; tracked-not-ignored, and report the actual

results, never success on the write alone. This re-run is scoped to those probes: step 9 already

owns whether the resolved recurring-maintenance label exists in the provider, so do not repeat that

lookup here; steps 3–4 already own provenance-label and capability-tier axis provisioning.

Provenance label (migration)

apply runs this pass at step 3 of its numbered flow, after the role-label pass and before any

schedule work. Triage marks an untrusted item with provenance: untrusted, the canonical member in

CODE0.

  1. Skip when no binding exists, nothing is bound yet.
  2. Skip when the bound provider has no label listing (local-markdown, read-only jira), report

INFO and continue; triage verifies at item-edit time.

  1. Discover via the adapter's label listing (GitHub: gh label list -R <owner>/<repo> --limit 200, the repository check probe 2 named, filter

provenance:). Look for provenance: untrusted.

  1. Present. Report "provenance label provisioned" and continue.
  2. Missing, label-as-code owner declared (label_as_code_repo, as

CODE0 defines it), stop. Name the

label and route remediation to that repository; never gh label create ad hoc.

  1. Missing, no label-as-code owner, interactive user present, offer to create it via the

adapter's label-creation mechanics (GitHub: `gh label create "<name>" -R <owner>/<repo> --description

"<description>" --color "<color>"` using the reference table). RECOMMENDED: create it, this pass

is the upgrade migration for repos that predated the label. Re-list after creation and confirm

it exists before continuing.

  1. Missing, no label-as-code owner, no interactive user, stop per apply's "Autonomous

invocation" rule: "provenance label needs provisioning; run /work-items:setup apply with a user

present".

Canonical role labels (optional remap)

apply runs this pass at step 2 of its numbered flow, immediately after the bind and before any

schedule work. See that list above. The work-items actions speak three

canonical roles. autonomous-eligible, human-gated, recurring-maintenance, and resolve each

repo-actual label string from the tracker binding: the tracker mapping of

<home>/work-items.yaml, key config.role_labels. Absent entries fall back to the defaults agent-ready / needs-human /

recurring, so a repo that never remaps needs no binding change at all. Role semantics and the

binding shape live in the plugin's

CODE0

"Canonical roles".

  1. Skip silently when no binding exists, the tracker seam isn't bound in this repo, so there

is nothing to remap.

  1. Read the current binding first and present each role with its currently-resolved label

(the default when unset). RECOMMENDED: keep the defaults. Remap only when the repo already

uses a different vocabulary for these markers. With no interactive user, take that recommendation

silently per apply's "Autonomous invocation" rule: the pass completes as a no-op, leaving

config.role_labels absent so every role resolves to its documented fallback.

  1. On a remap, per role:

repo's label-as-code owner under the same policy the schedule step applies, never create ad hoc.

keys on this label. The shipped seam resolves it from config.role_labels; a consumer-local

adapter must resolve the same key, or the frontier filter and the skill will disagree about

what autonomous agents may pick up.

  1. Write the binding: re-read <home>/work-items.yaml from disk immediately before writing

and merge only the tracker.config.role_labels key, the binding carries seam-required keys

(provider, config.lease_ttl_hours, …) that must survive untouched. Omit entries that keep

their default rather than snapshotting defaults into the file.

Re-running apply once every role resolves as intended changes nothing in this pass and reports

"already configured" for the role labels. That says nothing about the rest of apply: a schedule still

carrying zero rows re-offers seeding on every run, by design.

Won't-do classification

apply runs this right after the role-label pass, at step 2. A blocker closed as won't-do

keeps its dependent blocked and lands it in triage's "blocked by won't-do" bucket. How a tracker

marks won't-do differs per consumer, so the plugin ships no list: this pass reads the tracker's

own vocabulary and the user classifies it. Field semantics are CONTRACT.md "JSON output

contract" and "jira adapter". Skip it when no binding exists or the provider is

neither github nor jira. In both branches nothing is written without the user's choice;

with no interactive user, leave the key out (detection stays at its key-absent behavior) and

report INFO naming /work-items:setup apply with a user present.

--json name,description, the repository check` probe 2 named) and show them with the currently configured

config.github.wont_do_labels. Explain that a close as "not planned" or "duplicate" already

counts, and a listed label additionally counts on any close, for repos that mark won't-do with

a label such as wontfix. A suggestion from the names is fine; RECOMMENDED is to keep the

current value (none, when unset). On the user's pick, re-read the binding and merge only

config.github.wont_do_labels; an empty pick removes the key.

1. Read the current binding and present config.jira.resolutions when set.

2. Discover the instance's resolutions through Jira's resolution search (the call, its auth

and the pointer to the operation, whose page states the paging and fields, are

CODE0 "jira"). Show each resolution's name and

description, and mark the default one.

3. Have the user sort each into completed or wont_do. You may pre-select a suggestion

from the name (Done → completed; Won't Do, Duplicate → wont_do),

marked as a suggestion; the user confirms or changes every row. A resolution left unsorted

is unclassified: a done blocker carrying it keeps blocking and warns.

4. Write the binding: re-read <home>/work-items.yaml immediately before writing and merge

only tracker.config.jira.resolutions as {"completed": [ids], "wont_do": [ids]}, ids as strings.

It is team binding only; never write it to the personal override.

On a re-run, a Jira binding that already classifies every listed resolution reports "already

configured"; otherwise offer only the resolutions it does not classify.

Output

A tracked <home>/work-items.yaml binding under its tracker key (provider + non-secret config) and

a tracked .github/recurring-schedule.json, both in the consuming repo, plus a one-paragraph summary:

the bound provider and config, whether a legacy JSON binding was copied and kept, the recurring items written (id, cadence, next_due), or, on the skipped path,

that only the empty skeleton was written and that apply --seed-schedule bulk-seeds rows whenever the

operator wants them, whether any labels were created, any role→label remap written to the

binding, and how to re-run this setup to reconfigure. On a check-only run, the

PASS/FAIL/INFO table and its remediation lines, mutating nothing.

Spoke paths

The reference/ files write the plugin's root directory as <plugin-root>, which is

${CLAUDE_PLUGIN_ROOT}. Put that path in place of the placeholder before running a command or

writing it into a brief. Those files use the placeholder because we do not rely on a ${…}

token resolving in a supporting file or in the Bash tool.

plugins manifest reference § Where each variable resolves

live.

Next

What this skill does not do

/work-items:track (add, due, recheck), /work-items:work, and /work-items:triage. check

only inspects config; apply seeds the binding, schedule, and optional role→label remap.

setup is the bulk path that seeds or reshapes the whole schedule, opt-in on a first-time bind.

the jira, gitea, or linear seed (step 4 of "Provider binding"); any other adapter lives in the

consuming repo at

<project root>/tools/work-item-tracker/adapters/<provider>/, not written by setup.

referenced by name from inside its adapter, never written here).

the plugin directory or plugin data directory.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.