tk-studio-consolidate
Consolidate merged measurement data into the living issues ledger — cluster defect-shaped events, mint stable ISS-NNN entries with severity, expected-vs-actual, named evidence, and fix candidates, updating rows in place. Use when the user says "consolidate the measurements", "tk consolidate", or a job's invoke-skill directive names this skill.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- tk-studio-consolidate
- description
- Consolidate merged measurement data into the living issues ledger — cluster defect-shaped events, mint stable ISS-NNN entries with severity, expected-vs-actual, named evidence, and fix candidates, updating rows in place. Use when the user says "consolidate the measurements", "tk consolidate", or a job's invoke-skill directive names this skill.
02 资源文件 1
- 其他customize.toml606 B
03 SKILL.md 正文
tk-studio-consolidate
The closing half of the measurement loop (ST-7.2, AD-12): merged
measurements/ data becomes issues/ledger.md entries that lead to
specific fixes — the O1 revision channel. The deterministic core owns the
clustering and the row discipline; judgment about what a cluster means
stays with you and the reviewer.
Behavior (both modes)
-
Run the core (never hand-edit machine-owned columns):
uv run "${CLAUDE_PLUGIN_ROOT}/lib/consolidate.py" run --directory <studio-repo-root>It clusters defect-shaped events (install/activation failures, conformance headless-failures, drift, blocked job runs, failed onboarding stages, operator reports), then syncs the ledger: new clusters append rows with the next stable
ISS-NNN, severity default, statusOpen, expected-vs-actual, evidence naming the events (count, type, source machines, date span), and a specific fix candidate where the evidence makes one clear — including "revise the distribution mechanism" when cross-machine drift or install failures point there (AD-1). Existing rows update in place: evidence and Updated refresh; operator-owned Sev/Status and any hand-edited fix candidate stand; no row is ever deleted or renumbered. Reruns on unchanged data are byte-identical no-ops. -
Review the result. Read the created/updated entries; refine severities or fix candidates in the ledger by hand where your judgment beats the deterministic default (the core will not overwrite your edits). Commit
issues/ledger.mdon a branch and let review ride the normal git membrane. -
Attended: summarize new and updated issues and the fix candidates worth acting on. Headless: a refusal from the core (missing directory, not the studio repo, unparseable ledger — exit 2) ends
blockedwith the core's error asreason; a clean no-op iscomplete— never a prompt (AD-11). End headless runs with the status block:{"status": "complete", "intent": "tk-studio-consolidate", "artifacts": ["issues/ledger.md"], "reason": null}
If the deterministic core is unrunnable — a tool call denied by permissions, uv/python unavailable — end blocked with the status block naming the unrunnable core as reason: never a question, never a headless run that ends without the block (AD-11).
Rules
- Rows update in place, never delete (legacy-council discipline); ids are stable and never reused — a wrong finding is corrected with an edit, never erased.
- Not an emitter: consolidation derives from events already emitted by
their one named emitter each (AD-12); it appends nothing to any ledger
but
issues/ledger.md. - Fixes are candidates: consolidation names them, review adopts them — no fix is applied from this skill.
- All paths resolve through
${CLAUDE_PLUGIN_ROOT}.
04 同仓库更多 Skills
tk-studio-track
Tracking verbs on the bound Jira project — `block` moves a story the loop cannot progress, and each dependent story, to "Blocked - Awaiting User" with a comment that @mentions the owner (or, with `--engagement`, one engagement's questions issue, which `close` later moves to "Done"); `reply` posts the owner's answer (or "Done.") with the owner's host-only token and moves the issue to "Block Resolved"; `validate` checks that resolution and passes the issue back to work or re-blocks it with a follow-up. Use when the user says "block this story", "tk track block", "put it in the owner's inbox", "reply to the blocked issue", "validate the resolution", or a supervisor or engagement payload names this skill.
tk-studio-session
Session discipline as a surface — land a boundary handoff (optionally carrying knowledge deltas) and end the session, or resume a fresh session from a run workspace alone. Use when the user says "hand off this run", "tk session", "resume the run", or a boundary/budget trigger says the session must split.
tk-studio-research
Run a chartered research pass — survey the topics a charter scopes, grade every finding by evidence, land the findings in the run workspace, and emit observation events for recommendation-worthy ones. Use when the user says "run the ecosystem watch", "tk research", or a research job's invoke-skill directive names this skill.
tk-studio-report
One-verb human defect report — "the skill did the wrong thing" — recorded as a report event in the local measurement ledger. Use when the user says "tk report", "report a defect", "that skill misbehaved", or "log a studio issue".
tk-studio-playable-judge
The playable-verify leg's screenshot judge (Story 34.3) — reads only a playable run's report.json and its frames, answers the fixed rubric (scene loaded, player visible and framed, no magenta or error overlay, HUD reads, the named moments shown) with pass or fail and findings each naming a frame and a rubric line. Driven headless by the supervisor's host leg on the project's sandbox tier; use when the payload names a playable `media` folder, or the user says "judge the playable frames".
tk-studio-plan-sync
Planning adapter — canonicalize BMad-native planning artifacts (normalize pass, sole id authority) and sync them with the bound planning backend. Use when the user says "sync the plan", "normalize planning artifacts", "tk plan sync", or after stock BMad planning flows produce or change epics/stories.