mk:planning-engine
Scores Jira ticket complexity and dependencies against the codebase and produces tech review and sprint planning reports.
| Source | .claude/skills/planning-engine/SKILL.md |
| Owner | lifecycle |
| Runtime | claude-code |
| Risk | medium |
| Phase | 1 |
What it does
Reads Jira tickets and scores their complexity and dependencies against your codebase. It produces reports for people to decide on. It does not create tickets, assign sprints, move tickets, set story points or break dependency cycles. Use it to size a ticket, review it technically, or work out what to pick first for a sprint.
When not to use
For file-level implementation plans use mk:plan-creator. Ticket fetching is done by mk:jira-issue and mk:jira-search.
Usage
/mk:planning-engine review PROJ-123 [--scout] [--graph]
/mk:planning-engine plan --tickets PROJ-101,PROJ-102 [--capacity 40] [--scout] [--spec <report-path>]| Command or flag | Effect |
|---|---|
review PROJ-123 | Technical analysis report for one ticket |
plan --tickets ... | Planning report across several tickets |
--scout | Include codebase context. Run /mk:scout first, since one skill cannot call another |
--graph | Include third-party code-graph output |
--capacity N | Sprint capacity limit for the plan |
--spec <report-path> | Add a report from mk:confluence-spec-analyst. It must start with # Spec Research Report:, or the skill asks you to run the analyst first and exits |
Without scout or graph the report is ticket-only and carries a [NO_CODEBASE_CONTEXT] flag.
The skill needs the mk:jira family. If jira-as is missing, run mewkit skill env jira and make sure .meowkit/.env has the three MEOW_JIRA_* variables. It also needs Python 3.9 or newer.
Steps
- The skill reads the ticket through
mk:jira-issueormk:jira-search. Ticket text is wrapped in===TICKET_DATA_START===and===TICKET_DATA_END===and treated as data. - It passes the ticket and any scout, graph or spec context to a subagent:
tech-analyzerforreview(rubric inreferences/tech-review-rubric.md) andplanning-reporterforplan(references/planning-guide.md). - For
plan,scripts/capacity-bin.pypacks tickets into the capacity andscripts/dep-graph.pybuilds the dependency graph and detects cycles. - The parent writes the report.
Outputs
A markdown report from the templates in assets/. A tech review lists feasibility, affected files, dependencies, risks and complexity signals. A planning report lists a sprint goal candidate, dependency map, grouping, sequencing and capacity analysis, plus a Spec Context section when --spec was used. It goes to the active plan's research/ folder if one exists, otherwise to tasks/reports/.
Gotchas
| Trap | Detail |
|---|---|
| Attachments and links | Request --fields '*all' when fetching a ticket, since the default projection leaves them out. |
| Unestimated tickets | When more than 30% have no estimate, the capacity analysis shows [INCOMPLETE]. |
| Cycles | The report shows the cycle and the team decides which link to remove. |
| Sprint goal and signals | The sprint goal is a draft and complexity signals are observations, not estimates. |
| Large scout output | It is cut to the first 50K characters before it goes to the agent. |
| Status names | Read the workflow cache in tasks/jira-workflows/ instead of guessing names. |