Spec → PR: Behind the Scenes
A ten-step walkthrough of taking a Confluence spec to a merged PR with MeowKit, showing the prompt, the skills, the artifact written and the decision you make at each step.
This walkthrough follows one spec through Confluence, Jira and your codebase. Each step page shows the prompt you type, the skills that run, the artifact written and the decision that is yours. It is written for developers who want to know why the workflow has this shape and not only which commands to run.
A first read takes about 20 minutes. A real run takes one to four hours, depending on ticket size. For the commands only, Ticket to Code covers the second half.
Before you start
Jira access needs the jira-as CLI and three variables in .meowkit/.env. Jira Integration covers the install, the token and what to check when authentication fails. Confluence uses the same token and setup. Confluence Integration covers the Cloud-only limit if you are on Server or Data Center.
The ten steps
Step 1: Pull the spec out of Confluence
mk:confluence-spec-analyst writes a Spec Research Report locally.
Step 2: Send open questions back to the PM
Footer comments carry ambiguities back to Confluence, and the walkthrough pauses.
Step 3: Tech feasibility breakdown
A read-only scan with mk:scout and mk:docs-finder before any ticket exists.
Step 3.5: Story sizing
mk:story-sizer sizes each story. Advisory by default.
Step 4: Create the Jira tickets
One command per issue, with the spec URL in the description.
Step 5: Group into an epic and rank
Epic, rank and blocking links, all declared by you.
Step 6: Refine and estimate
The evaluator rates complexity and the estimator suggests points.
Step 7: Tech review against your codebase
mk:planning-engine reviews each ticket and plans the sprint.
Step 8: Plan per ticket
mk:plan-creator writes a plan per ticket, in a mode that fits its size and risk.
Step 9: Implement with /mk:cook
The cook pipeline from orient to reflect, with the review verdict at Phase 4.
Step 10: After merge, close the loop
Transition the ticket and comment back on the spec page.
The quick path, one command per stage:
/mk:confluence-spec-analyst analyze 12345 --include-children 1
/mk:jira-issue create --project AUTH --type Story ... # one per story it found
/mk:planning-engine plan --tickets AUTH-201,AUTH-202 --capacity 40
/mk:cook AUTH-201 # then repeat per ticket
/mk:shipHow the steps connect
Every skill writes an artifact, and you read it before the next step. The paths below mark where each one lands.
A trivial ticket skips Steps 7 and 8. You hand cook a task description, and cook writes and agrees the plan in its own Phase 1.
Planning and review are practices in this workflow. You agree each plan and read each review verdict, and no hook blocks an edit or a commit when you skip either. The one enforced control is the ship check, which runs at commit, push, merge and PR.
Reports from Steps 1 to 7 stay in tasks/reports/, and plans from Step 8 go to tasks/plans/<slug>/. Nothing copies one into the other.
What crosses between systems
Solid arrows carry work forward. Dashed arrows write back to a system you already used.
Decisions that are yours
| Decision | When |
|---|---|
| Which spec gaps to resolve before ticketing | After Step 1 |
| Feasibility, and which stories to defer | After Step 3 |
| Which stories to file, and whether to batch-create | After Step 3.5 |
| Ranking and dependencies | Step 5 |
| Story-point estimate | After Step 6, as a team |
| Plan mode per ticket, and agreeing each plan | Step 8, or cook's Phase 1 for trivial tickets |
| Whether to ship with WARN dimensions | After the Phase 4 verdict |
When the situation differs
| Situation | What to do |
|---|---|
| The spec is already a Jira ticket | Start at Step 6. |
| Tickets exist but nobody analyzed a spec | Start at Step 6 and ask the product owner to fill in acceptance criteria. |
| The work is a bug | Use Fix a Bug. The spec analyst does not apply. |
| A one-shot hotfix with no blast radius | /mk:fix skips the separate plan, as scale-adaptive-rules.md Rule 4 describes. |
| A green-field product | Use Autonomous Build with /mk:autobuild. |
| The spec changed mid-sprint | Run /mk:confluence-spec-analyst again. The report ends with a page hash, which shows whether the page changed. |
| An estimate was far off | Update the points through mk:jira-agile and raise it at the retro. |
| A plan is more than 14 days old | Cook warns about it. Run mk:plan-creator again before cooking. |
| The review verdict is FAIL | Fix the failing dimension and run /mk:review again before shipping. |
Related
- Spec to Sprint Planning covers the planner side of Steps 1 to 7.
- Ticket to Code covers the per-ticket cycle that Step 9 sits inside.
- Agile / Scrum Workflow covers the sprint rituals around this loop.
- Review Code and Ship Safely cover Phases 4 and 5 in depth.
Tickets to Sprint Planning
Research-driven workflow from ticket evaluation through codebase review to sprint planning.
Step 1: Pull the spec out of Confluence
mk:confluence-spec-analyst forks an agent, reads the Confluence page and its children, and writes a Spec Research Report to the local repository. It never writes to Confluence.