mcpField
W
write-ticket

write-ticket

github.com/gabriel-lafranceDevelopment093 installsUpdated 1d ago
Repository

About write-ticket

write-ticket is a skill for researching and drafting software tickets in the same chat; it does not implement them. It turns code and project evidence into an independently actionable plan, and reads back tickets after an authorized tracker write.

Key features

  1. 01Investigate problem and code evidence
  2. 02Reuse analysis and resolve key decisions
  3. 03Draft implementation steps in dependency order
  4. 04Prepare child tickets and executor handoff
  5. 05Check drafts and resolve concrete blockers
  6. 06Read back tickets after authorized writes

Use cases

  1. 01Draft a ticket for a feature or change
  2. 02Turn investigation findings into an actionable plan
  3. 03Split larger changes into reviewable child tickets
  4. 04Create or update a tracker ticket when authorized

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/gabriel-lafrance/skills --skill write-ticket

After installing, type/write-ticketin Claude Code to confirm it loaded.

Bundled filesdoctrine.mdreference.md

Details

From the project README

Write Ticket

Develop the final ticket in the same chat as the research and decisions. User start only; /task reads tickets (ticket context). This skill never implements the ticket.

Read when

Process

  1. Read the prompt and any named existing ticket. Identify the intended outcome and whether the user requested a chat draft or an actual tracker write. Infer repository and tracker facts when available. Do not ask for a ticket stage.
  2. Gather problem and code evidence through /analyze, reusing current analysis and refreshing only gaps. Its targeted /how and /why investigations apply when they materially improve understanding. Apply its public boundary investigation when the change warrants it, before decomposition. Keep preparation in the same chat; no intermediate ticket or saved research artifact is required.
  3. Apply /grill-me using the decision guidance, including its own-words, line-by-line intent restatement and readiness check. Ask only unresolved consequential user choices; a fully settled request needs no questions. Reuse settled answers. Clarify incomplete replies and contradictions; carry exact contracts, reasons, dependencies, and explicit blockers into the owning work items. As answers change the understanding, research new facts and revise the developing ticket here; do not restart the interview or require another analysis pass without a gap.
  4. Fill the Plan body from that evidence and locked context. Write meaningful implementation items in dependency order, each with local Do, Why, How, and planned Verify details under the work-item contract. Keep shared context in the other sections without repeating item rationale. Assign the work kind. Apply PR-sized subissues when the work has useful reviewable PR boundaries. Derive child bodies and the stack handoff from the same context. Scrub every body to its final current version.
  5. Apply the fresh-executor handoff, including its fresh-context read-only checker for nontrivial drafts and conditional stack check. Resolve its concrete blockers, then show the complete final draft once in a Locked in message with no Questions (the final response for draft-only). Include child bodies and stack order when split. Incomplete or unchecked drafts remain in chat with the gaps visible; do not call them implementation-ready.
  6. For a draft-only request, stop with that single final draft. For an authorized tracker write, gather any still-missing priority, assignee, or tracker in one metadata batch. Write after the complete draft is visible, without a redundant permission question. Follow Tracker write, preserving ticket identity and the material prior body on update. Recheck final-version cleanliness after corrections.
  7. Read back the saved body and relationships. Return actual URLs, kind, applied metadata, and stack order when relevant, with any incomplete write or blocker. Do not print the complete body again; follow Working output. Status is Todo on create; preserve it on update unless the user named another. Do not start implementation or publishing.

Comments

Markdown supported