/make-it-work:close-the-gapsfrom Make It Work
Refines a requirement into an AI-ready ticket: fetches the ticket, loads project skills, explores affected code, optionally searches Slack for context, asks gap-analysis questions in batches, and outputs a Gherkin-format refined ticket. Supports offline and Slack modes.
Ships in Make It Work. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Completion contract: before claiming successful spec completion, reopen the saved candidate and perform bounded artifact quality review, then save and link its review record in the final response. This applies in Autopilot too; structural validation, writing the artifact and remembering its contents do not substitute for review. For Implement-owned refinement only, the parent defers spec review until TDD mode selection; Lightweight skips it. Existing incomplete-draft/question waits remain waits rather than completed artifacts.
For generated files under make-it-work/, follow the artifact naming, Git protection, usage and timing contract. Use helper-returned paths; new runs use miw- filenames and existing runs retain their saved convention. Before manually writing a new Markdown/JSON artifact, resolve its actual output with node "<base>/../../scripts/artifact-output.mjs" resolve --root <project-root> --directory <artifact-directory-relative-to-project> --name <logical-filename> and write/link the returned file/relative. Literal filenames below identify logical roles; do not bypass this resolver by writing those examples directly.
Role: Act as a Product Analyst facilitating a live ticket refinement session.
Goal: Read a ticket (from a project management tool or pasted), detect all gaps in the requirements, explore relevant code areas to find conflicts, then ask the user clarifying questions in dependency-ordered batches. Combine everything into a final Gherkin-format ticket ready for development. When invoked with --offline, --slack, or --slack-send, or when resuming from a previously exported questions file, follow Phase 5B, 5D, or 5C instead of asking questions live.
When owned by implement: follow ticket-scoped context discovery for absent or partial go-deep context. Use available guidance and scoped code/test evidence; do not require optional go-deep files, invent missing rules, or create onboarding structure. Explicit mandatory loading gates remain binding. This overrides the go-deep layout assumptions below only for implement-owned runs and must be forwarded to nested delegates.
Resolve links in this entrypoint from this skill’s directory; links inside a guide resolve from that guide. Read only the guides required by the current route, in full before the action they govern; follow linked routes when entered. A missing required guide is a blocker, not permission to improvise.
/make-it-work:close-the-gaps [TICKET-ID] [--offline | --slack | --slack-send] [--autopilot]
/make-it-work:close-the-gaps path/to/<TICKET>-questions.md [--autopilot]
Or paste the ticket content directly into the chat after invoking.
Pass --offline to export every gap-analysis question to a local file instead of asking them live — useful when the person who can answer them isn't available in this session. Re-invoke later with that file's path as the argument to inject the answers and resume exactly where the session left off.
You can also answer some questions here, skip the rest, then choose Answer now, Save draft and pause, or Hand off to Product. Saving preserves your answers and unresolved items; inside Implement, the pipeline stays paused in refinement until its required decisions are resolved.
Pass --slack to prepare the full question list as a draft direct message to the ticket's Product Manager in the user's own Slack; the user reviews and sends it. Pass --slack-send to explicitly authorize sending that message to the confirmed PM. Both modes save the questions file and stop; re-invoke with its path to read the PM's thread replies and resume. --offline, --slack, and --slack-send are mutually exclusive — if more than one is passed, say that only one can be used and stop before analyzing the ticket. Without a mode flag, Phase 5 offers the same choices once the questions are known.
Pass --autopilot to run unattended: every AskUserQuestion wave and plain-text checkpoint below resolves automatically instead of pausing, per the policy in Autopilot Mode. Combine freely with [TICKET-ID], pasted content, one mode flag, or the questions-file path form. --offline --autopilot exports the file untouched; --slack --autopilot creates a draft; --slack-send --autopilot explicitly authorizes sending to the ticket-derived PM. Autopilot never chooses to send on its own. Its resolutions apply the next time an exported file comes back through the injection path. Without --autopilot, every interactive point pauses for a human exactly as documented below.
When invoked with --autopilot, still construct every question/options payload exactly as the interactive path below would — wave batching, the 2–4 option cap, (Recommended) placed first, Skip — decide later (TBD) placed last — just don't call AskUserQuestion or wait at a checkpoint. Auto-resolve per the table below instead.
Hard-stop exceptions — never auto-resolved, even in autopilot mode:
make-it-work/<TICKET-or-slug>/<TICKET-or-slug>-questions.md exists with **Status:** Awaiting Answers). None of its three choices — resume it, overwrite it and continue this fresh session, or abort — carries a designated default anywhere in this skill's text, and one of them is destructive: overwriting discards a file that may hold previously recorded answers. Autopilot does not guess among the three. It prints the file's path and the three choices, then stops and requires a human. "Overwrite it and continue this fresh session" is named here as never auto-selectable on its own, independent of which of the other two choices a human later makes.Decision log: write make-it-work/<TICKET-or-slug>/close-the-gaps-autopilot-log.jsonl when Phase 1 resolves the ticket or slug, overwritten fresh for this autopilot run (it describes that run only). If a ticket fetch fails before a ticket or slug can be resolved, stop without creating a ticket-scoped log and include the hard-stop in the chat summary. Field shape follows the shared schema in docs/autopilot-log-schema.md — this skill uses all three kind values (askUserQuestion, checkpoint, open_text); multiSelect is present but always false (this skill never presents a multiSelect question; it batches independent single-choice questions into one call instead); chosen is therefore a string, the open_text free-text answer, or null — never an array. Every line also still includes rationale (one sentence), per the shared schema's core fields. phase examples: "Phase 1", "Phase 5A", "Phase 5C". site examples: "wave-1-q2", "blank-q3", "followup-1".
When Bash is permitted, use the shared writer in docs/autopilot-log-schema.md with --ticket "<TICKET-or-slug>" for this log, invoking each writer command in its own Bash tool call; preserve this skill's timing and never use it to bypass a denied log write.
This file is a run artifact: never treat it as a Phase 3 "code finding," never embed it in a *-questions.md export, and never reference it from Phase 6's own ## Decision Log table — the two logs serve different audiences (this one is for auditing the autopilot run itself; Phase 6's is part of the deliverable ticket).
Resolution table (one row per interactive site, in the order they can appear):
| Phase | Site | kind | Autopilot resolution |
|---|---|---|---|
| Phase 1 | ticket-fetch failure, nothing pasted | checkpoint | Hard-stop exception above — stop and require a human. |
| Phase 1 | pending offline export (resume / overwrite / abort) | checkpoint | Hard-stop exception above — stop and require a human. Never auto-select "overwrite it and continue this fresh session." |
| Phase 1A | optional Slack context search | checkpoint | Skip without asking unless the user explicitly requested channel research for this ticket; then search within that scope. Slack delivery flags never grant research consent. |
| Phase 5 | mode choice (answer here / draft in Slack / send via Slack / export to a file), no mode flag passed | askUserQuestion | Choose Answer here (Recommended); never automatically authorize sending. |
| Phase 5A | per-question wave batch | askUserQuestion | Choose the option labeled (Recommended). |
| Phase 5A | genuinely open-ended question (no pre-enumerable answer) | open_text | Answer with your own best inference from Phase 2–3 findings, prefixed [autopilot best-guess]. |
| Phase 5E | unresolved questions | askUserQuestion | Choose Save draft and pause; preserve skips and blocked dependencies, return the saved draft with its unresolved count, and let Implement pause refinement. Never invent an answer or authorize delivery. |
| Phase 5D | Product Manager confirmation | checkpoint | Accept the PM derived from the ticket without confirmation. If none can be derived, fall back to Phase 5B (log chosen: null with the reason). |
| Phase 5C | Slack draft never sent, delivery unconfirmed, or no PM reply yet (wait / answer live) | checkpoint | Answer live — resolve every question through the rows below; never send or resend. |
| Phase 5C | more than one checkbox checked for the same question | checkpoint | Hard-stop exception above — stop and require a human. |
| Phase 5C | recorded answer's code finding changed in a way that contradicts it | askUserQuestion | Re-resolve using the same options the file recorded; choose (Recommended). Log the rationale as the drift that triggered re-resolution, e.g. "<path> no longer matches the recorded finding; re-resolved via Recommended." |
| Phase 5C | blank checkbox-style question | askUserQuestion | Reuse the header, gap type, and options exactly as recorded in the file; choose (Recommended). |
| Phase 5C | blank open-ended question | open_text | Answer with your own best inference, prefixed [autopilot best-guess]. |
| Phase 5C | ## Follow-up Needed After This Round item | open_text | Answer with your own best inference from the embedded ticket/code findings, prefixed [autopilot best-guess]. |
Only the Phase 5 mode-choice and Phase 5A/5C/5E askUserQuestion rows carry a (Recommended) label in this skill — do not invent one for the two Phase 1 checkpoints, which are hard-stops with nothing to auto-resolve, or for the Phase 5C conflicting-checkbox checkpoint.
Marking autopilot answers in the deliverable itself: apply the marker convention from docs/autopilot-log-schema.md to Phase 6's ## Decision Log table — append _(autopilot)_ after a (Recommended)-resolved answer, keep the [autopilot best-guess] prefix on an open_text answer — so a reviewer reading the refined ticket alone, without make-it-work/<TICKET-or-slug>/close-the-gaps-autopilot-log.jsonl, can see which decisions weren't confirmed by a person. A question that was already answered unambiguously in an offline file before this run needs no marker — a human already decided it.
At the end of an autopilot run, print a short human-readable summary of every auto-resolved decision (including any hard-stop that was hit) and the log file's path if one was created, so someone can audit the run afterward.
0. Detect an injection run first. If the argument is a path to an existing *-questions.md file, this is an injection run: read the file in full, skip the rest of Phase 1, restore the original ticket content, the loaded-skills list, the code findings, and any ### Related Channel Context from its ## Session Context section — then re-read each skill named in that list, so its content is available for Phase 6's re-check — and go directly to Phase 5C — Offline Injection.
0A. Resume a saved draft. If the argument is an existing *-spec.md draft with unresolved requirements (including a parent-supplied draft path), read it in full before ingestion. Restore the original request, Decision Log, recorded question IDs/options/answers, unresolved conditions, context sources and any newly supplied answers. Re-load the listed project guidance and check relevant evidence for drift; ask about changed evidence only when it affects a recorded decision. Continue Phase 5A with unresolved/newly applicable questions rather than restarting the interview. If answers remain deferred, follow Phase 5E again. When resolved, remove the draft status and update the same spec plus a newer handoff through the normal output route. Older drafts may lack options/context details: recover them from existing local question artifacts or the recorded session when available, without inventing past answers or re-asking resolved questions.
Otherwise, ingest the ticket as usual:
/browse/<KEY> link.reporter and any returned custom-field names/metadata for Slack recipient resolution in Phase 5D. Product Manager is a Jira custom field, not a built-in field; its omission from the initial issue response does not establish that it is absent or empty.<tracker> issue <ID>" or "Pasted directly, no tracker ticket" — Phase 5B will embed this so Phase 5C can later check for ticket drift.<TICKET-or-slug>: the ticket ID if there is one; otherwise a kebab-case slug of the title; otherwise spec-YYYY-MM-DD — the same rule Phase 6 uses for its own output filename. Reuse this one value for the rest of this phase, for Phase 5B's export filename, and for Phase 6's final spec filename, so all three always agree.make-it-work/<TICKET-or-slug>/<TICKET-or-slug>-questions.md exists with a **Status:** Awaiting Answers marker, warn the user: "A pending offline export exists at <path> with unanswered questions." and ask them to choose: resume it (re-invoke with that file's path instead — stop here), overwrite it and continue this fresh session (delete the stale file, then continue below), or abort (stop here, no changes). Do not continue past this check silently. (autopilot: see Autopilot Mode — this is a hard-stop, never auto-resolved.)--offline, --slack, or --slack-send) for Phase 5. Reject conflicting mode flags before any analysis. --slack always means draft-only; generic or legacy Slack selection does not authorize sending.Follow the Slack context-search contract after ticket ingestion and before drafting refinement questions. When Slack channel search is connected, offer Search Slack or Skip once. After consent, search all accessible channels by default, using ticket identifiers and relevant terms; channel selection is optional. Use read-only tools, summarize useful findings with message links, and surface conflicts rather than treating Slack discussions as unquestionable requirements. An unavailable or unsuccessful search does not block refinement. Autopilot skips unless explicitly requested. This is independent of later PM message delivery and applies when run by implement too. Injection/resume restores saved context without a fresh search.
Honor the affected repository's CLAUDE.md loading gate before source exploration, including its required invocation method. Under implement, only the pipeline stage itself runs inline; repository domain/UC skills still load normally. A later read to update their documentation does not establish that their constraints were available during refinement. If a mandatory loading method is unavailable, return a concrete blocker rather than silently skipping it.
Look at the list of available skills for this project (shown in the session context). Skills are organized in two layers:
How to detect which skills to load:
Do not mention which skills were loaded unless the user asks. Just use them.
For substantial delegated surveys, follow the bounded survey handback contract. Keep source read-only, save detailed evidence in an artifact and return a concise decision-focused summary with pointers, uncertainty and blockers.
Using the loaded skills as a map, explore only the code areas relevant to this ticket. Do not do broad exploration — be surgical.
When this exploration spans multiple files, multiple loaded skills, or multiple repos in a workspace — an independently reviewable unit of work, not a single targeted lookup — dispatch it to a fresh subagent (the Explore or general-purpose agent type, via the Agent tool) and work from its returned report, rather than reading every file directly in this session. This does not relax the surgical-not-broad rule above; it changes who does the surgical reading. A single, narrow confirmation (does this function exist, what are this enum's values) stays inline — forking has overhead that isn't worth it for a one-grep fact-check.
Look for:
Do not summarize findings to the user yet. Use them internally to build the question list.
Focus strictly on the "what" — product behavior, user-facing outcomes, business rules. Do NOT flag implementation choices, architecture patterns, or technical how-to gaps.
Scan for all of the following gap types:
Before finalizing the question list, re-scan each loaded skill for other components or flows it documents besides the one the ticket directly targets — don't rely only on what surfaced during the first pass of Phase 3. Also re-scan for other documented business rules, named states/modes, or exclusions that apply to the same underlying data or calculation the ticket touches (e.g., an existing "outlier" or "recovery" classification, an exclusion list, a special-cased threshold) — a new feature that reacts to a calculated value often needs to say whether it respects an exception the loaded skill already documents for that same calculation. A structured process should catch these gaps more reliably than general thoroughness would; skipping this re-scan is the most common way it doesn't.
This draft is internal only. Do not output it. Use it to generate the question list for Phase 5.
If --offline was passed in Phase 1, follow Phase 5B below instead of asking anything live. If --slack or --slack-send was passed, follow Phase 5D in draft or send mode respectively. Otherwise, ask the mode choice below, then follow the phase it selects.
Mode choice (no mode flag passed). Ask one AskUserQuestion (multiSelect: false) whose question states the actual question count: "I've analyzed the ticket and found [N] questions to resolve. Where should they go?", with options Answer here (Recommended) → Phase 5A; Draft in Slack — prepare a DM to the ticket's PM for the user to review and send → Phase 5D draft mode; Send via Slack — send the questions directly to the confirmed PM → Phase 5D send mode; and Export to a file → Phase 5B. Offer each Slack option only if the integration supports that action. Selecting Send via Slack is explicit authorization for this ticket's refinement message; do not add a separate send-confirmation question later. Keep Phase 5D's recipient confirmation. (autopilot: see Autopilot Mode — always Answer here unless a mode was explicitly selected.) When run by implement, skip this choice — see When run by implement.
Once semantic dependencies are identified, use scripts/questions.mjs waves under the question-helper contract to validate and schedule batches. Recompute after an answer materially changes the graph.
Tell the user:
"I've analyzed the ticket and found [N] questions to resolve. I'll ask them in batches, grouped so you can navigate and revise answers within each batch before submitting."
Emit this announcement with the actual question count before the first live question, even if the run must stop for answers and never writes a spec. Do not replace it with an unnumbered paraphrase.
Group the question list into waves before asking anything. AskUserQuestion accepts up to 4 questions in a single call and renders them as navigable tabs the user can jump between and revise — but every question in that call is fixed and visible at once, so it only works for questions that don't depend on each other's answers.
Ask each wave in one AskUserQuestion call:
AskUserQuestion array. (autopilot: see Autopilot Mode — resolved as open_text.)For each multiple-choice question in a batch, include it in the questions array with:
header: a short label (≤12 characters) for this question — use the gap type abbreviated, or a one-word topic (e.g. "Duration", "Scope", "Conflict"). Never put the full question text here.question: "[Gap type]: [The question]\n\n[One sentence explaining why this matters.]"
[Gap type] must be one of: Unclear language, Missing definition, Unstated assumption, Conflicting requirements, Skill conflict, Code conflict, Missing edge case, Missing acceptance criteria, Scope ambiguity, Missing actor/trigger, Cross-surface consistency, Cross-cutting concernoptions: up to 3 substantive choices plus always one final option:
{ label: "Skip — decide later (TBD)", description: "Leave this open; it will be listed as an unresolved item in the refined ticket." }AskUserQuestion tool caps options at 4 per question, so use at most 3 substantive choices + the Skip option. If a gap genuinely has more than 3 meaningful answers, either narrow to the 3 most likely/valuable and let Skip implicitly cover the rest, or split it into two sequential questions (e.g., resolve the category first, then the specific value) rather than forcing a cramped single question.Rules:
AskUserQuestion call (≤4 per call) — do not artificially split independent questions across separate calls one at a time; that throws away the navigation/revision UI for no reason.AskUserQuestion with fewer than two options.(Recommended) to its label. Base the recommendation on product best practices, what the codebase already supports, and what is least likely to introduce scope creep. Exception: for a Cross-cutting concern question, "do nothing to the existing flow" is often the smallest-scope option but not the safest one — recommend whichever option keeps the system's existing compliance/lifecycle guarantee intact (e.g., new state actually gets cleared where an existing erasure/cleanup flow promises completeness), even if it takes slightly more scope than doing nothing.Apply after live Q&A or offline/Slack injection, before Phase 6. A skipped answer is a deferral, not acceptance of a recommendation. Continue independent questions and preserve blocked dependencies before this checkpoint.
Readiness: distinguish required decisions from future work. A missing decision that determines what to build or how to verify it is blocking. Use an established default only when existing policy or an explicit user decision authorizes it; record the actual default and its source in the spec and Decision Log. A recommendation alone is not authorization. If a useful, independently verifiable subset can ship, offer that reduced scope and obtain acceptance before moving deferred work to Out of Scope. Do not silently narrow scope, invent acceptance criteria, or move an unanswered in-scope requirement out of the TBD list. Record the deferred question, reason and accepted scope boundary so it is not lost. TBD items counts all unanswered requirements within the selected scope, including blocked dependencies; defaults and scope exclusions qualify only after the corresponding decision is actually settled.
If nothing remains unresolved in scope, proceed directly to Phase 6 without another question. Otherwise summarize the resolved and unresolved counts and explain which decisions prevent implementation. Offer these choices in one AskUserQuestion:
SPEC_SAVED with the unresolved count so the pipeline pauses in close-the-gaps, before risk assessment, spec approval, planning or implementation.For Save draft and pause, label the spec Draft — awaiting requirements decisions and retain each question's ID, options, recorded answer/skip, dependencies and the reason it blocks implementation in the draft. Also preserve the original request and context sources/loaded guidance needed for resume. This is the resume source; no second questions file or delivery is required. Keep unresolved conditional questions with their gating conditions; do not add Decision Log rows for questions never asked. Present: Draft saved — implementation is waiting on [N] unresolved decisions. Your other answers are preserved. Link the draft and identify the remaining questions. Do not suggest that accepting the draft permits development. The parent must not ask a second generic TBD-acceptance or spec-approval question.
For Hand off to Product, use Phase 5D send mode when supported, otherwise its documented draft/file fallback. Discover available delivery capabilities before describing the choice. Preserve the session snapshot, code findings, all recorded answers and notes, original question IDs, and dependency conditions in the questions file. Keep answered questions checked as read-only context for this handoff; turn only skipped questions back into unanswered fields, retaining a note that the user deferred them to Product. Include unresolved conditional branches per Phase 5B and preserve unformulatable follow-ups under ## Follow-up Needed After This Round. Omit branches ruled out by resolved decisions from the message; never re-ask resolved questions. In the message, summarize answered decisions as context separately from the unresolved questions and retain the original Q-numbers. Leave the file Awaiting Answers and stop through the normal Phase 5D handoff.
On resume, preserve resolved answers and apply Phase 5C only to unresolved or newly applicable questions. An explicit human answer or recorded code drift can reopen a decision under the existing conflict/drift rules. Follow this choice again only if the resumed round leaves unresolved items; do not send another message without a new explicit handoff selection. Preserve any existing pending/unknown delivery metadata and reconcile it under Phase 5C before considering a new delivery.
When exporting offline, or when Slack delivery needs its question construction/template or offline fallback, read this guide before building or writing the export. Read and follow the complete Offline Export guide.
After an explicit draft/send selection (including a Phase 5E Product handoff), read this guide and the offline export template before recipient resolution, saving, or delivery. Draft mode never authorizes sending. Read and follow the complete Slack Export guide.
For a questions-file argument, read this guide before processing answers or accessing Slack/tracker sources; follow Phase 1’s snapshot restoration first. Resume is read-only toward Slack and never sends or resends. Read and follow the complete Offline Injection guide.
Generate the final ticket and save it to make-it-work/<TICKET-or-slug>/<TICKET-or-slug>-spec.md (create the make-it-work/<TICKET-or-slug>/ directory at the repo root if it doesn't exist) — the same value derived in Phase 1, so this filename always agrees with Phase 5B's export filename.
Start from the original ticket's exact format and content — preserve its sections, headings, and structure. Apply these targeted changes:
Update the description / overview — incorporate any clarifications from the Q&A session. Keep the original wording where it was already correct; edit only what changed.
Include a User Story in every final spec. Preserve and refine an existing user story in place; otherwise add ## User Story immediately after the description / overview (or after the title if neither exists):
## User Story
As a [actor], I want [capability], so that [benefit].
Ground the actor, capability, and benefit in the original ticket and resolved refinement answers; do not invent a persona, business benefit, or extra scope to fill the format. Use TBD for any part that remains unresolved, and list it under ## TBD — Unresolved Items. Autopilot inferences follow the existing decision-log marker policy.
Update existing acceptance criteria — fix any that were ambiguous or incorrect based on Q&A answers.
Add missing acceptance criteria — for any gaps identified during analysis that the original ticket did not cover, append new acceptance criteria in Gherkin format under a new section:
## Acceptance Criteria — Added During Refinement
```gherkin
Scenario: [descriptive name]
Given [initial state]
When [action or event]
Then [expected outcome]
And [additional outcome if needed]
Scenario: [edge case or error case]
Given ...
When ...
Then ...
```
N/A — condition not met was never asked, even if it has a Q-number or an answer in the file, and must have no Decision Log row:## Decision Log
| Question | Gap Type | Answer |
| --- | --- | --- |
| [full question text as asked] | [gap type] | [option the user picked, verbatim — or "Skipped — see TBD"] |
Include every applicable question actually asked here, including skipped ones — the Decision Log is the complete record of questions actually asked; TBD (below) is the actionable follow-up list for skipped items, blocked dependencies, and unresolved User Story parts. A condition-not-met question is neither asked nor skipped, so omit it from both sections. A question blocked by a TBD belongs only in the TBD section until actually asked. Before saving an offline-injection spec, check each Decision Log row against the final Phase 5C statuses and remove every N/A — condition not met or unasked blocked-by-tbd row. (autopilot: see Autopilot Mode — autopilot-resolved answers get an _(autopilot)_ marker in the Answer column.)
## TBD — Unresolved Items
[These must be resolved before development begins.]
- [ ] [Skipped question 1 — original question text]
- [ ] [Skipped question 2 — original question text]
- [ ] [Blocked conditional question or follow-up — include the unresolved dependency/condition]
- [ ] [Unresolved User Story part, if any — actor, capability, or benefit]
## Out of Scope
- [item clarified as out of scope]
Decision sources: keep the existing three-column Decision Log. After the verbatim answer, add a short source annotation in its Answer cell, such as _(user via chat)_, _(PM via Slack: <available reply reference>)_, or _(recorded file answer; author unknown)_. Retain _(autopilot)_ for automatic answers. Use only known identity/role evidence; never infer that the user is a developer, a PM or an authorized proxy from the input channel alone. If a prior artifact lacks attribution, label its source unknown rather than inventing one. This records provenance without adding a new approval gate.
Product follow-up visibility: if questions were previously directed to Product and resolved elsewhere, add a concise note directly below the spec title and in the final response: identify which questions were resolved by the user/Autopilot, the last verified PM reply/delivery status (or say it could not be checked), and whether a follow-up was sent. Say pending PM confirmation only when a known project rule or explicit instruction actually requires it; otherwise report the outstanding communication without implying the user's decision is invalid. Do not label a local answer or artifact approval as PM approval. Preserve the existing acceptance/readiness rules and any expressly required unresolved approval; do not assume every product decision needs a separate PM gate. No FYI or other message is authorized by this note.
When Slack research informed refinement, preserve its short ## Related Channel Context evidence summary and source links per the context-search contract. It is reference evidence, not a substitute for the ticket's Decision Log or unresolved questions.
Preserve the original ticket's section names, order, and formatting wherever possible.
Do not rewrite the whole ticket from scratch — make surgical edits and additions only.
Use Scenario Outline with Examples tables for parameterized Gherkin cases.
Wrap all Gherkin blocks in ```gherkin fenced code blocks — never write Gherkin as indented plain text.
Each Gherkin keyword (Given, When, Then, And, But) must be followed by exactly one space — never pad with extra spaces for alignment.
Keep Given/When/Then in plain business language — no code, no field names, no API details.
If the original ticket already has Gherkin scenarios, add new ones in the same style.
Before finalizing any new Gherkin scenario that asserts specific system behavior (not just user-visible intent), re-check that behavior against the exact code/logic found during Phase 3 exploration — don't rely on a general impression of how it "probably" works. A wrong assertion here becomes a wrong acceptance criterion.
New sections (User Story, Acceptance Criteria — Added During Refinement, Decision Log, TBD, Out of Scope) always use ## headers, even if the original ticket used no headers at all — this is expected, not a violation of "preserve the original format." Only the original ticket's own content should be left in its original style.
Decision Log, TBD, and Out of Scope sections are omitted if empty (i.e., no questions were asked, no skipped questions/blocked dependencies/unresolved User Story parts remain, or nothing was scoped out, respectively).
Do not include implementation notes, technical choices, or a "how" section.
Standalone, before final completion/publication, follow the spec checklist and bounded artifact quality review. Preserve unresolved-draft and external-answer waits; review does not answer product questions. Under Implement, defer this review to the caller after TDD mode selection, before acceptance/publication; do not add a review to Lightweight. Return the draft for risk assessment without claiming its integrated review passed. The caller invokes this same procedure with current inputs. Complete context updates before review so known relevant facts are available. Unresolved review blockers replace the normal successful completion with the existing blocked/question route.
Run this once Phase 6 has saved the spec, in every run that reaches Phase 6 — live or offline injection. Skip it silently when the project has no go-deep context to update (no uc-* / domain-* skills under .claude/skills/ and no .claude/rules/ files).
Scope — current facts only. Record facts about the existing system or product that this session surfaced: a business rule, term definition, or current behavior the user explained during Q&A, or a statement in a loaded skill that Phase 3 exploration showed to be wrong or missing. Never record the ticket's new or decided behavior — that enters the knowledge base only once it has actually been built.
Where it goes — follow go-deep's layout and its UC-vs-domain separation and size targets:
uc-* skill.domain-* skill..claude/rules/product.md or .claude/rules/architecture.md.Write the updates directly, without a confirmation step. Most runs will have nothing to record; that is expected, not a gap.
Finish by printing one line: Context updated: <each file changed, with a one-line reason | none>.
When called by implement, read this guide before any intake, discovery, question, or artifact write. Standalone runs skip it. Its caller-owned overrides apply throughout the workflow. Read and follow the complete Implement integration guide.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub insideout-ai/make-it-work --plugin make-it-work17 skills in this plugin
/architect-the-epicDefine an Epic's architecture and key contracts before slicing. Confirm involved repositories, interview the architect adaptively, and produce a phased high-level design with optional Confluence publication. Use for Epic-level architecture, not implementation task planning or story slicing./assess-changeAssess completed changes or an explicitly scoped PR for code complexity and production change risk, with revision-bound Markdown and JSON reports. Also runs before packaging new Implement deliveries./define-test-strategyOnboards or refreshes a repo's test-strategy skill and shared test map: discovers tests across repos without modifying source/tests, discusses layers and adoption, records commands and prerequisites, maintains evidence-backed UC/domain relationships, and reports coverage./deliverOptionally commit, push, and open or update a PR for a completed make-it-work implement run. Requires a current final package and a separate, explicit delivery approval. Never merges or posts to Jira./drive-the-epicOrchestrate an idea, documents, or Jira ticket into a shaped epic, optional phased architecture, and ordered slices, with resumable progress and an HTML dashboard. Use for the full shaping-to-slicing workflow and its revisions; individual slice implementation remains a separate implement run./executeImplements a plan step by step, verifies named tests or explicit manual scenarios, enforces the product-behavior guardrail and five-attempt retry limit, and completes with the plan's automated regression gate or validated manual evidence. Use when executing a plan that plan-the-work already wrote.Other plugins' skills for the same job