From arthur0824hao-skills
Bridge between OMO Prometheus and TKT ticket lifecycle. Generates structured review context for Prometheus after bundle close, converts Prometheus plans into TKT bundle commands, writes review feedback into the Review Agent Inbox, and provides a structured question protocol for gathering information efficiently. Load this skill when you need to: (1) generate a review prompt for a completed ticket/bundle, (2) convert a Prometheus plan.md into TKT worker tickets, (3) write review feedback back into the ticket system, (4) ask structured questions using the question tool across all scenarios (requirements, decisions, review, planning).
npx claudepluginhub arthur0824hao/skills --plugin document-skillsThis skill uses the workspace's default tool permissions.
Bridge between OMO Prometheus and the TKT ticket lifecycle.
SKILL.behavior.yamlSKILL.spec.yamlprompts/prometheus-tkt-integration.mdprompts/question-protocol.mdprompts/review-agent-starter.mdprompts/review-handoff.mdschema/review-prompt-contract.yamlscripts/review_prompt.pyscripts/test_dispatch.pyscripts/test_governance_cycle.pyscripts/test_review_cycle.pyscripts/test_review_prompt.pyscripts/test_smart_routing.pyCreates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Bridge between OMO Prometheus and the TKT ticket lifecycle.
Two directions:
Generate a structured review context from a completed/active ticket for Prometheus review.
python3 "<this-skill-dir>/scripts/review_prompt.py" generate-review-prompt --ticket-id <TKT-XXX>
Input: --ticket-id (required) — the ticket to build review context for
Output: JSON with review_context, prometheus_prompt, expected_output_format
Reads:
review.yaml (stub generated by tkt.sh close)roadmap.yaml stateGenerate a review overview prompt for Prometheus at session startup (no active ticket context).
python3 "<this-skill-dir>/scripts/review_prompt.py" generate-startup-review-prompt
Output: JSON with roadmap_summary, bundles, prometheus_prompt
Generate a compact startup context summary for the next session.
python3 "<this-skill-dir>/scripts/review_prompt.py" generate-startup-review
Output: JSON with context_summary, roadmap_summary, bundles
carryover_bundles[] when reviewed bundles still have carryover workSuggest roadmap changes from findings/issues without mutating roadmap.yaml.
python3 "<this-skill-dir>/scripts/review_prompt.py" suggest-roadmap-update --input findings.json
Output: JSON suggestions[] with {phase, section, change_type, description, rationale}
Convert a Prometheus plan file (.sisyphus/drafts/*.md) into TKT bundle creation commands.
python3 "<this-skill-dir>/scripts/review_prompt.py" plan-to-bundle --plan-file <path>
Input: --plan-file (required) — path to Prometheus plan markdown
Output: JSON with route, goal, tickets[], tkt_commands[] (ready-to-execute shell commands)
Parsing rules:
## or ### headings with TODO/task keywords → ticket titles- [ ] checkboxes → individual worker ticketsdepends on, after, blocks) → depends_on fieldsvisual-engineering, deep, quick, etc.) → ticket category### WAVE N headings → ticket wave metadata for following tasksWrite Prometheus review feedback into the Review Agent Inbox format for refresh_review_inbox() ingestion.
python3 "<this-skill-dir>/scripts/review_prompt.py" write-review-inbox --input <json-file>
Input: JSON file with discussion_points[], next_actions[], batch_id
Output: Appends ## Review Agent Inbox + # TICKET_BATCH section to note/note_tasks.md
Generate a worker dispatch view from bundle ticket state.
python3 "<this-skill-dir>/scripts/review_prompt.py" generate-dispatch --bundle B-001 [--tickets TKT-001,TKT-002]
python3 "<this-skill-dir>/scripts/review_prompt.py" generate-dispatch --auto
Input: --bundle (required), optional --tickets comma list
Output: human-readable wave summary plus last-line JSON containing grouped dispatch waves
Rules:
--tickets, emit currently open worker tickets onlydispatch_wave--auto creates the suggested next bundle from suggest-next-bundle and immediately emits dispatch for itSuggest the next bundle goal and seed tickets from roadmap/open work/carryover.
python3 "<this-skill-dir>/scripts/review_prompt.py" suggest-next-bundle
Output: JSON with goal, suggested_tickets[], open_issues[]
When a TKT bundle closes:
tkt.sh close generates review.yaml stubgenerate-review-prompt to assemble review contextsummary — what was accomplisheddiscussion_points[] — trade-offs, concerns, questions for usernext_actions[] — follow-up work itemsquality_assessment — structured quality evaluationwrite-review-inbox converts Prometheus output into TKT-ingestible ticketsrefresh_review_inbox() picks up new tickets automaticallyWhen a user makes a new request through Prometheus:
.sisyphus/drafts/plan-to-bundle reads the plan and generates TKT commandsprompts/prometheus-tkt-integration.md — Instructions for Prometheus on how to use TKT roadmap/bundle systemprompts/question-protocol.md — Structured questioning guide for all scenarios (requirements, branch decisions, review discussion, roadmap planning). Implements the question_tool_first policy from config/tkt.yaml.review_prompt.py path matches the hardcoded reference at tickets.py:2468-2470parse_review_agent_inbox() expected format (## Review Agent Inbox + # TICKET_BATCH)allowed_prefixes entries in tickets.py{
"schema_version": "2.0",
"id": "skill-system-review",
"version": "1.0.0",
"capabilities": [
"review-generate",
"review-startup",
"review-startup-summary",
"review-roadmap-suggestion",
"review-plan-to-bundle",
"review-generate-dispatch",
"review-suggest-next-bundle",
"review-write-inbox"
],
"effects": ["fs.read", "fs.write"],
"operations": {
"generate-review-prompt": {
"description": "Assemble structured review context from completed ticket/bundle for Prometheus",
"input": { "ticket_id": { "type": "string", "required": true } },
"output": { "description": "Review context JSON", "fields": { "review_context": "object", "prometheus_prompt": "string" } },
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/review_prompt.py", "generate-review-prompt", "--ticket-id", "{ticket_id}"]
}
},
"generate-startup-review-prompt": {
"description": "Generate Prometheus review overview at session startup",
"input": {},
"output": { "description": "Startup review context JSON", "fields": { "roadmap_summary": "object", "bundles": "array", "prometheus_prompt": "string" } },
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/review_prompt.py", "generate-startup-review-prompt"]
}
},
"generate-startup-review": {
"description": "Generate compact startup context summary from roadmap and recent bundle reviews",
"input": {},
"output": { "description": "Startup summary JSON", "fields": { "context_summary": "string", "roadmap_summary": "object", "bundles": "array" } },
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/review_prompt.py", "generate-startup-review"]
}
},
"suggest-roadmap-update": {
"description": "Suggest roadmap updates from findings/issues without mutating roadmap.yaml",
"input": {
"input": { "type": "string", "required": false }
},
"output": {
"description": "Roadmap suggestion payload",
"fields": { "suggestions": "array" }
},
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/review_prompt.py", "suggest-roadmap-update"]
}
},
"plan-to-bundle": {
"description": "Convert Prometheus plan markdown into TKT bundle or express creation commands with metadata preservation",
"input": { "plan_file": { "type": "string", "required": true } },
"output": { "description": "Bundle or express creation commands", "fields": { "route": "string", "goal": "string", "tickets": "array", "tkt_commands": "array" } },
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/review_prompt.py", "plan-to-bundle", "--plan-file", "{plan_file}"]
}
},
"generate-dispatch": {
"description": "Generate a human-readable + JSON dispatch prompt from bundle ticket state",
"input": {
"bundle": { "type": "string", "required": false },
"tickets": { "type": "string", "required": false },
"auto": { "type": "boolean", "required": false }
},
"output": {
"description": "Dispatch payload grouped by waves",
"fields": { "bundle": "string", "tickets": "array", "waves": "array" }
},
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/review_prompt.py", "generate-dispatch", "--bundle", "{bundle}"]
}
},
"suggest-next-bundle": {
"description": "Suggest the next bundle goal and seed tickets from roadmap/open work/carryover",
"input": {},
"output": {
"description": "Suggested next bundle payload",
"fields": { "goal": "string", "suggested_tickets": "array", "open_issues": "array" }
},
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/review_prompt.py", "suggest-next-bundle"]
}
},
"write-review-inbox": {
"description": "Write Prometheus review feedback into Review Agent Inbox for ticket ingestion",
"input": { "input_file": { "type": "string", "required": true } },
"output": { "description": "Inbox write confirmation", "fields": { "inbox_path": "string", "tickets_written": "integer" } },
"entrypoints": {
"unix": ["python3", "{skill_dir}/scripts/review_prompt.py", "write-review-inbox", "--input", "{input_file}"]
}
}
},
"stdout_contract": {
"last_line_json": true
}
}