Compare commits

...
Author SHA1 Message Date
Defame1297 9dad7fa71c feat(plan)!: pull planning skills and research-docs into plan
Why: plan owns turning a ticket or idea into a spec and tickets, but the skills
that do that work lived elsewhere: Matt Pocock's planning skills in the
mattpocock wrapper and research-docs in bin. Pulling them into plan is the
first step to growing the plugin from what already exists.

Implementation notes:
- The upstream pins for wayfinder, grilling, grill-me, grill-with-docs,
  domain-modeling, research, prototype, triage, to-spec and to-tickets move
  from plugins/mattpocock to plugins/plan, still at v1.3.2.
- setup-matt-pocock-skills is pinned in both packages: it writes the tracker
  doc that plan's wayfinder, to-spec, to-tickets and triage read, and that
  mattpocock's code-review and implement-spec read. apm dedupes the pin.
- research-docs and its evals move from bin to plan unchanged. It may be
  split out again later.
- Cross-package routes (improve-codebase-architecture -> grilling,
  implement-spec -> to-spec) still resolve under ADR-0029's corpus-wide walk.
- Versions: plan 0.2.0 -> 0.3.0, mattpocock 0.4.0 -> 0.5.0, bin 3.0.0 -> 4.0.0.
  marketplace.json regenerated with apm pack.

Impact: a consumer that installs only mattpocock or only bin no longer gets
these skills and must add plan.

BREAKING CHANGE: mattpocock no longer ships the planning skills and bin no
longer ships research-docs; install plan for them.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-28 20:20:32 +00:00
Defame1297 8cc8667bb3 Merge pull request 'feat(plan): refine outline and ship /ship temporarily' (#244) from feat/install-plan into main
Reviewed-on: #244
Reviewed-by: Defame1297 <[email protected]>
2026-11-28 19:46:05 +00:00
Defame1297 a84ce90694 Merge branch 'main' into feat/install-plan 2026-11-28 19:45:55 +00:00
Defame1297andClaude Opus 5.5 f5cbaa78e2 feat(plan): refine outline and ship /ship temporarily
Why: a grilling round on the outline settled its general shape. The outline
now has two tracks (spec and tickets, or tickets only), three entry points
that all start at one gate, a validation split between a cheap gate before
grilling and a deep check after research, named loop-backs with a two-loop
park cap, a docs PR that records decisions before the spec, and a single
approval to file tickets and set Ready for Agent. Undecided points are
listed under "Open for later".

/ship moves into the plugin unchanged from the personal command, so the
/ship that /next hands off to ships with the package rather than living
only in one maintainer's ~/.claude. It is marked temporary: implementation
does not belong in plan long term.

Impact: the description in apm.yml, marketplace.json and architecture.md
no longer claims the plugin stops before implementation. plan goes to
0.2.0 because it ships a new prompt.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-28 19:12:29 +00:00
Defame1297 e4abbd06df Merge pull request 'feat(apm): install plan in this repo' (#243) from feat/install-plan into main
Reviewed-on: #243
2026-11-28 18:27:23 +00:00
Defame1297andClaude Opus 5.5 d782239d19 feat(apm): install plan in this repo
This repo installs what it ships (ADR-0018), so root apm.yml now consumes
the plan package added in #241. It could not be wired in that PR because
root dependencies resolve from remote main (ADR-0019). apm.lock.yaml
records plan 0.1.0 and its one deployed file, .claude/commands/next.md.

plan is the first package to ship a prompt, so .claude/commands/ is apm
install output for the first time. It joins .claude/skills/ and
.claude/agents/ in .gitignore for the same reason: committing a deployed
copy would add a mirror of plugins/<name>/.apm/ to drift against.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-28 17:55:44 +00:00
15 changed files with 205 additions and 66 deletions

No files matched your search

+5 -5
View File
@@ -17,7 +17,7 @@
{ {
"name": "bin", "name": "bin",
"description": "Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin.", "description": "Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin.",
"version": "3.0.0", "version": "4.0.0",
"category": "Utilities", "category": "Utilities",
"source": "./plugins/bin" "source": "./plugins/bin"
}, },
@@ -44,8 +44,8 @@
}, },
{ {
"name": "mattpocock", "name": "mattpocock",
"description": "Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release.", "description": "Matt Pocock's build-side agent skills — test-first development, codebase design, code review, implementation and bug diagnosis — redistributed from upstream at a pinned release.",
"version": "0.4.0", "version": "0.5.0",
"category": "Productivity", "category": "Productivity",
"source": "./plugins/mattpocock" "source": "./plugins/mattpocock"
}, },
@@ -86,8 +86,8 @@
}, },
{ {
"name": "plan", "name": "plan",
"description": "Turning a ticket or idea into a validated, researched spec and agent-ready tickets, with the user in the loop; stops before implementation.", "description": "Turning a ticket or idea into a validated, researched spec and agent-ready tickets, with the user in the loop; temporarily also ships /ship to execute a plan.",
"version": "0.1.0", "version": "0.3.0",
"category": "Productivity", "category": "Productivity",
"source": "./plugins/plan" "source": "./plugins/plan"
} }
+1
View File
@@ -33,6 +33,7 @@ apm_modules/
# deployed copy would add a third mirror of the same skills to drift against. # deployed copy would add a third mirror of the same skills to drift against.
.claude/skills/ .claude/skills/
.claude/agents/ .claude/agents/
.claude/commands/
# APM MCP deployment output — `apm install` writes the repo-root .mcp.json from # APM MCP deployment output — `apm install` writes the repo-root .mcp.json from
# the MCP servers its dependencies declare, and regenerates it on every install. # the MCP servers its dependencies declare, and regenerates it on every install.
+3 -3
View File
@@ -22,13 +22,13 @@ The plugins:
- **gitea** — issues, pull requests, labels, milestones, releases, branches, files, and an interactive router (`gitea-workflow`) - **gitea** — issues, pull requests, labels, milestones, releases, branches, files, and an interactive router (`gitea-workflow`)
- **core** — authoring and auditing a repo's `AGENTS.md` and the provider adapter files that defer to it - **core** — authoring and auditing a repo's `AGENTS.md` and the provider adapter files that defer to it
- **lint** — configuring and running linters - **lint** — configuring and running linters
- **mattpocock** — Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release - **mattpocock** — Matt Pocock's build-side agent skills — test-first development, codebase design, code review, implementation and bug diagnosis — redistributed from upstream at a pinned release
- **delivery** — agents and skills for taking a change from spec to a verified merge through tracker-gated stages - **delivery** — agents and skills for taking a change from spec to a verified merge through tracker-gated stages
- **ansible** — authoring, testing and dry-running Ansible playbooks, roles and collections - **ansible** — authoring, testing and dry-running Ansible playbooks, roles and collections
- **gitops** — authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it - **gitops** — authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it
- **k8s** — read-only diagnosis of workloads on a Kubernetes cluster - **k8s** — read-only diagnosis of workloads on a Kubernetes cluster
- **plan** — turning a ticket or idea into a validated, researched spec and agent-ready tickets; ships the `/next` prompt today - **plan** — turning a ticket or idea into a validated, researched spec and agent-ready tickets; ships the `/next` and `/ship` prompts, `research-docs`, and Matt Pocock's planning skills (grilling, research, domain modelling, wayfinder, spec, tickets, triage) at a pinned release
- **bin** — cross-cutting workflow skills not yet split into a focused plugin: research, documentation, TDD, prototyping, triage, diagnosis, architecture review, requirement grilling, compressed output (`caveman`), and re-orienting mid-task (`zoom-out`) - **bin** — cross-cutting workflow skills not yet split into a focused plugin: documentation, diagnosis, compressed output (`caveman`), and re-orienting mid-task (`zoom-out`)
## Prerequisites ## Prerequisites
+24 -1
View File
@@ -1,5 +1,5 @@
lockfile_version: '1' lockfile_version: '1'
generated_at: '2026-11-27T16:22:59.651797+00:00' generated_at: '2026-11-28T17:55:03.653446+00:00'
apm_version: 0.28.0 apm_version: 0.28.0
dependencies: dependencies:
- repo_url: Mortis/Holocron - repo_url: Mortis/Holocron
@@ -716,6 +716,20 @@ dependencies:
package_type: apm_package package_type: apm_package
content_hash: sha256:91649428cf594bd911beb982282f92f7b732908db649d484e420c0ba1d6b6b7b content_hash: sha256:91649428cf594bd911beb982282f92f7b732908db649d484e420c0ba1d6b6b7b
declared_license: MIT declared_license: MIT
- repo_url: Mortis/Holocron
name: plan
host: git.rkdr.net
resolved_commit: 5920287122c4afa17f3323247840153456e2e666
version: 0.1.0
virtual_path: plugins/plan
is_virtual: true
package_type: apm_package
deployed_files:
- .claude/commands/next.md
deployed_file_hashes:
.claude/commands/next.md: sha256:12668ef795442d3ced640a2177cabf8df0e046381939a607784006e945bbb4a5
content_hash: sha256:7aee1153d134f9b1d39e6fd8448cb549f30221dadbcb49d79b505fa9bcbd9b3c
declared_license: MIT
- repo_url: fluxcd/agent-skills - repo_url: fluxcd/agent-skills
name: gitops-knowledge name: gitops-knowledge
host: github.com host: github.com
@@ -1395,6 +1409,15 @@ deployments:
- git.rkdr.net/Mortis/Holocron/plugins/lint - git.rkdr.net/Mortis/Holocron/plugins/lint
active_owner: git.rkdr.net/Mortis/Holocron/plugins/lint active_owner: git.rkdr.net/Mortis/Holocron/plugins/lint
content_hash: sha256:efeee4fb01c27b9177239f059851cf1b736ca50a12793b94d5d65d30ab98bcd4 content_hash: sha256:efeee4fb01c27b9177239f059851cf1b736ca50a12793b94d5d65d30ab98bcd4
- kind: project-relative
target: claude
value: .claude/commands/next.md
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:12668ef795442d3ced640a2177cabf8df0e046381939a607784006e945bbb4a5
- kind: project-relative - kind: project-relative
target: claude target: claude
value: .claude/hooks/delivery/.apm/hooks/guard.py value: .claude/hooks/delivery/.apm/hooks/guard.py
+5 -1
View File
@@ -30,7 +30,8 @@ dependencies:
path: plugins/lint path: plugins/lint
# Third-party skills (Matt Pocock's) arrive transitively through this # Third-party skills (Matt Pocock's) arrive transitively through this
# wrapper rather than as direct entries, so the marketplace and this repo # wrapper rather than as direct entries, so the marketplace and this repo
# consume them by the same path. The pins live in plugins/mattpocock/apm.yml: # consume them by the same path. The pins live in plugins/mattpocock/apm.yml
# and, for the planning skills, plugins/plan/apm.yml:
# third-party content is pinned, unlike the first-party entries above, # third-party content is pinned, unlike the first-party entries above,
# which stay unpinned for default-branch parity. The same rule holds for the # which stay unpinned for default-branch parity. The same rule holds for the
# fluxcd skills gitops pins in plugins/gitops/apm.yml. # fluxcd skills gitops pins in plugins/gitops/apm.yml.
@@ -47,6 +48,9 @@ dependencies:
path: plugins/gitops path: plugins/gitops
- git: https://git.rkdr.net/Mortis/Holocron.git - git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/k8s path: plugins/k8s
# Ticket and idea planning, up to an agent-ready spec and breakdown.
- git: https://git.rkdr.net/Mortis/Holocron.git
path: plugins/plan
mcp: [] mcp: []
# Turns apm's executable-trust gate ON. Without this block the gate is disabled # Turns apm's executable-trust gate ON. Without this block the gate is disabled
+1 -1
View File
@@ -47,7 +47,7 @@ These are routing boundaries, not inventories — they answer "where does a new
| `ansible` | Authoring, testing and dry-running Ansible playbooks, roles and collections | | `ansible` | Authoring, testing and dry-running Ansible playbooks, roles and collections |
| `gitops` | Authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it; pod-level problems hand off to `k8s` | | `gitops` | Authoring, auditing and diagnosing a Flux GitOps repository, including the secrets sealed into it; pod-level problems hand off to `k8s` |
| `k8s` | Read-only diagnosis of workloads on a Kubernetes cluster | | `k8s` | Read-only diagnosis of workloads on a Kubernetes cluster |
| `plan` | Turning a ticket or idea into a validated, researched spec and agent-ready tickets, with the user in the loop; stops before implementation, which is `delivery`'s | | `plan` | Turning a ticket or idea into a validated, researched spec and agent-ready tickets, with the user in the loop; temporarily also ships `/ship` to execute a plan, until implementation moves elsewhere |
| `bin` | Unsorted skills that have not earned a home yet | | `bin` | Unsorted skills that have not earned a home yet |
One compiler produces the generated content in the tree: One compiler produces the generated content in the tree:
+1 -2
View File
@@ -1,5 +1,5 @@
name: bin name: bin
version: 3.0.0 version: 4.0.0
description: Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin. description: Skills for everyday AI-assisted development work that is not tied to a single tool, forge or language, and has not yet been split into a focused plugin.
author: author:
name: Mortis name: Mortis
@@ -10,7 +10,6 @@ repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/bin
keywords: keywords:
- utility - utility
- diagnostics - diagnostics
- research
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts # Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
type: skill type: skill
+22 -38
View File
@@ -1,6 +1,6 @@
name: mattpocock name: mattpocock
version: 0.4.0 version: 0.5.0
description: Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release. description: Matt Pocock's build-side agent skills — test-first development, codebase design, code review, implementation and bug diagnosis — redistributed from upstream at a pinned release.
author: author:
name: Mortis name: Mortis
url: https://git.rkdr.net/Mortis/ url: https://git.rkdr.net/Mortis/
@@ -8,13 +8,11 @@ license: MIT
homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/mattpocock homepage: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/mattpocock
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/mattpocock repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/mattpocock
keywords: keywords:
- wayfinder
- planning
- grilling
- domain-modeling
- tdd - tdd
- triage - architecture
- code-review - code-review
- implementation
- diagnostics
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts # Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
type: hybrid type: hybrid
@@ -34,54 +32,40 @@ includes: auto
# repo cannot be listed directly (same constraint and mechanism as # repo cannot be listed directly (same constraint and mechanism as
# the since-removed plugins/onedev, ADR-0026). # the since-removed plugins/onedev, ADR-0026).
# #
# Why these skills, not the whole upstream set: # The planning skills (wayfinder, grilling, grill-me, grill-with-docs,
# - `wayfinder` is hand-invoked upstream (`disable-model-invocation: true`) and # domain-modeling, research, prototype, triage, to-spec, to-tickets) moved to
# its body calls `grilling`, `domain-modeling`, `research` and `prototype`, # plugins/plan. What stays here is the build-side set:
# and reads the tracker doc written by `setup-matt-pocock-skills`. # - `tdd`, `improve-codebase-architecture` and `diagnosing-bugs` replace
# - `grill-me`, `grill-with-docs`, `tdd`, `prototype`, `improve-codebase-architecture`, # hand-maintained copies that used to live in plugins/bin. Upstream's
# `triage` and `diagnosing-bugs` replace hand-maintained copies that used to # `improve-codebase-architecture` is hand-invoked, so another skill cannot
# live in plugins/bin. Upstream's `grill-me`, `grill-with-docs`, `triage` and # route to it through the Skill tool. It calls `grilling` and
# `improve-codebase-architecture` are hand-invoked, so another skill cannot # `domain-modeling`, which now come from plugins/plan.
# route to them through the Skill tool.
# - `codebase-design` is called through the Skill tool by `improve-codebase-architecture` # - `codebase-design` is called through the Skill tool by `improve-codebase-architecture`
# and `tdd`, and `code-review` is where `tdd` sends refactoring; without them # and `tdd`, and `code-review` is where `tdd` sends refactoring; without them
# those calls dangle. # those calls dangle.
# - `to-tickets` and `to-spec` publish to the tracker doc that # - `implement` and `implement-spec` take a spec and ticket graph to code.
# `setup-matt-pocock-skills` writes, which names them as its consumers. # `implement-spec` reads what plan's `to-spec`, `to-tickets` and `research`
# - `implement` and `implement-spec` take that spec and ticket graph to code; # produce. `retro` calls `writing-for-agents`. `writing-for-agents` is
# `retro` calls `writing-for-agents`. `writing-for-agents` is model-invoked # model-invoked and overlaps the triggers of kyberforge's `skill-author` and
# and overlaps the triggers of kyberforge's `skill-author` and core's # core's `agentsmd-author`.
# `agentsmd-author`. # - `setup-matt-pocock-skills` writes the tracker doc that `code-review` and
# - `research` is the skill `wayfinder` calls to resolve a research ticket: one # `implement-spec` read. plugins/plan pins it as well, at the same tag.
# question answered in one cited findings note. bin's reference-tree skill
# was renamed `research-docs` to free the name (ADR-0030). bin's `diagnose`,
# `write-docs`, `caveman` and `zoom-out` are first-party and kept.
# #
# Pinned on purpose: tracking a third-party `main` would import someone else's # Pinned on purpose: tracking a third-party `main` would import someone else's
# drift. Bump every tag together, deliberately, so the skills stay at one # drift. Bump every tag together, here and in plugins/plan/apm.yml, so the
# upstream revision. # skills stay at one upstream revision.
dependencies: dependencies:
apm: apm:
- mattpocock/skills/skills/engineering/wayfinder#v1.3.2
- mattpocock/skills/skills/productivity/grilling#v1.3.2
- mattpocock/skills/skills/engineering/domain-modeling#v1.3.2
- mattpocock/skills/skills/engineering/setup-matt-pocock-skills#v1.3.2 - mattpocock/skills/skills/engineering/setup-matt-pocock-skills#v1.3.2
- mattpocock/skills/skills/productivity/grill-me#v1.3.2
- mattpocock/skills/skills/engineering/grill-with-docs#v1.3.2
- mattpocock/skills/skills/engineering/tdd#v1.3.2 - mattpocock/skills/skills/engineering/tdd#v1.3.2
- mattpocock/skills/skills/engineering/prototype#v1.3.2
- mattpocock/skills/skills/engineering/improve-codebase-architecture#v1.3.2 - mattpocock/skills/skills/engineering/improve-codebase-architecture#v1.3.2
- mattpocock/skills/skills/engineering/triage#v1.3.2
- mattpocock/skills/skills/engineering/diagnosing-bugs#v1.3.2 - mattpocock/skills/skills/engineering/diagnosing-bugs#v1.3.2
- mattpocock/skills/skills/engineering/codebase-design#v1.3.2 - mattpocock/skills/skills/engineering/codebase-design#v1.3.2
- mattpocock/skills/skills/engineering/code-review#v1.3.2 - mattpocock/skills/skills/engineering/code-review#v1.3.2
- mattpocock/skills/skills/engineering/to-tickets#v1.3.2
- mattpocock/skills/skills/engineering/to-spec#v1.3.2
- mattpocock/skills/skills/engineering/implement#v1.3.2 - mattpocock/skills/skills/engineering/implement#v1.3.2
- mattpocock/skills/skills/engineering/implement-spec#v1.3.2 - mattpocock/skills/skills/engineering/implement-spec#v1.3.2
- mattpocock/skills/skills/engineering/retro#v1.3.2 - mattpocock/skills/skills/engineering/retro#v1.3.2
- mattpocock/skills/skills/productivity/writing-for-agents#v1.3.2 - mattpocock/skills/skills/productivity/writing-for-agents#v1.3.2
- mattpocock/skills/skills/engineering/research#v1.3.2
mcp: [] mcp: []
devDependencies: devDependencies:
apm: [] apm: []
+45
View File
@@ -0,0 +1,45 @@
---
description: Execute the plan in context with subagents — implement, clean-context review, push, PR, watch CI, report
disable-model-invocation: true
---
Execute the plan already in this conversation. If there is no plan in context, stop and ask for one.
You are the orchestrator. Delegate the work to subagents and keep your own context lean: give each
subagent a tight brief and take back only its conclusion. Do not narrate to the user between steps.
Speak to the user only to stop and ask (see below) or to give the final report.
## Loop
1. **Implement** — dispatch subagents for the plan's steps. Run them in parallel when they touch
different files and sequentially when they depend on each other or share files. Tell them to use
the repo's relevant skills (for example `git-commits`) and to follow its AGENTS.md. If you are on
the default branch, create a feature branch first.
2. **Review** — dispatch a fresh subagent with no inherited context. Give it the plan and the
diff against the base branch, not the implementers' summaries. Ask it for blocking and
non-blocking findings.
3. Blocking findings → send them to implementer subagents, then review again with a new
clean-context subagent. Cap: 3 implement→review rounds, then stop and ask.
4. **Push and PR** — push the feature branch and open a PR (use the `gitea-prs` skill on Gitea
remotes). Invoking `/ship` authorizes these: creating the branch, commits, normal pushes to it,
and opening or updating the PR.
5. **Watch CI** — without filling your context: either run a background poll you write on the spot
(every 120 s, exits when CI finishes, never saved to the repo or committed) or dispatch a
subagent to do the polling. If CI fails, a fix subagent diagnoses and fixes it, you push, and you
watch again. Cap: 3 CI fix rounds, then stop and ask.
6. **Finish** — when CI is green, update the PR title and description if they no longer match the
change.
## Stop and ask when
- the plan is ambiguous or the work would go outside the plan's scope
- a finding needs a design decision
- a secret or credential turns up
- a round cap is hit
- an action is irreversible beyond the authorization above: force-push, push to the default branch,
merge, or delete. Never merge.
## Final report
Short: PR link, what changed, number of review rounds, CI result, and open notes or non-blocking
findings.
+27 -3
View File
@@ -1,6 +1,6 @@
name: plan name: plan
version: 0.1.0 version: 0.3.0
description: Turning a ticket or idea into a validated, researched spec and agent-ready tickets, with the user in the loop; stops before implementation. description: Turning a ticket or idea into a validated, researched spec and agent-ready tickets, with the user in the loop; temporarily also ships /ship to execute a plan.
author: author:
name: Mortis name: Mortis
url: https://git.rkdr.net/Mortis/ url: https://git.rkdr.net/Mortis/
@@ -27,8 +27,32 @@ targets:
includes: auto includes: auto
# Upstream planning skills from github.com/mattpocock/skills (MIT), moved here
# from plugins/mattpocock: grilling, research, domain modelling, prototyping,
# wayfinder, and the spec, ticket and triage skills. They are string pins
# because a third-party repo cannot be listed in the marketplace directly
# (ADR-0026), and the boundary resolver reads them as routing targets
# (ADR-0029).
#
# Pinned on purpose, at the same tag as plugins/mattpocock: both packages pull
# from one upstream revision, so bump every tag in both files together.
#
# `setup-matt-pocock-skills` is pinned in both packages. It writes the tracker
# doc that wayfinder, to-spec, to-tickets and triage read here, and that
# code-review and implement-spec read there. apm dedupes the identical pin.
dependencies: dependencies:
apm: [] apm:
- mattpocock/skills/skills/engineering/wayfinder#v1.3.2
- mattpocock/skills/skills/productivity/grilling#v1.3.2
- mattpocock/skills/skills/productivity/grill-me#v1.3.2
- mattpocock/skills/skills/engineering/grill-with-docs#v1.3.2
- mattpocock/skills/skills/engineering/domain-modeling#v1.3.2
- mattpocock/skills/skills/engineering/research#v1.3.2
- mattpocock/skills/skills/engineering/prototype#v1.3.2
- mattpocock/skills/skills/engineering/triage#v1.3.2
- mattpocock/skills/skills/engineering/to-spec#v1.3.2
- mattpocock/skills/skills/engineering/to-tickets#v1.3.2
- mattpocock/skills/skills/engineering/setup-matt-pocock-skills#v1.3.2
mcp: [] mcp: []
devDependencies: devDependencies:
apm: [] apm: []
+71 -12
View File
@@ -1,8 +1,11 @@
# plan plugin — outline # plan plugin — outline
Status: outline only. This is the maintainer's intent for the plugin, captured before any design or Status: outline only, refined in a first grilling round. This is the maintainer's intent for the
grilling. Nothing below is built yet except the `next` prompt, which is the existing personal plugin. Nothing below is built yet except the `next` and `ship` prompts. Both are the existing
`/next` command moved into the plugin unchanged. personal commands, moved into the plugin unchanged.
The plugin is set up on its own, separate from `delivery`, and is meant to grow on its own first.
How the two connect is deliberately left open (see "Open for later").
## Purpose ## Purpose
@@ -24,17 +27,73 @@ The goal is to optimise:
- **The internet and other sources**: tools, documentation, best practices, examples and - **The internet and other sources**: tools, documentation, best practices, examples and
standards. standards.
## Tracks
The work takes one of two tracks:
- **Spec and tickets**: a spec issue in the tracker, broken down into tickets.
- **Ticket(s) only**: one or more tickets with no spec.
The plugin recommends a track, with its reason, after the initial grilling (step 2). The user
confirms it at agreement (step 6), because the plan can change the size of the work.
## Interaction flow ## Interaction flow
1. **Validate the ticket or idea.** Verify it before any grilling. If it does not hold up, stop. 0. **Entry.** There are three ways in, and all of them continue at step 1:
2. **Initial grilling**, only if required, to explore the ticket's or idea's intention. - an existing ticket;
3. **Research** in the repo and online. - a new idea, as free text;
4. **Offer a plan** with options, considerations, recommendations, impact and expected results. - a ticket picked through `/next`.
5. **Agreement.** The user either agrees or needs more grilling before agreeing. 1. **Gate.** A cheap check before any grilling: is it a duplicate of an open issue or PR, is it
6. **Write the spec** as an epic or a feature. already done, does it contradict an ADR, or is it outside the repo's scope (`docs/VISION.md`)?
7. **Propose a breakdown** of the spec into tickets. If any of these is true, stop.
2. **Initial grilling**, only if required, to explore the ticket's or idea's intention. It ends
with a recommended track.
3. **Research** in the repo and online, scoped to the recommended track.
4. **Deep validation.** Check that the work is feasible and fits the repo as it is now. If it does
not, go back to grilling (step 2) or stop.
5. **Offer a plan** with options, considerations, recommendations, impact, expected results and
the track.
6. **Agreement.** The user agrees and confirms the track, or the flow goes back to grilling or
research.
7. **Record decisions.** Open a docs PR that updates AGENTS.md, GLOSSARY.md, the ADRs and any
other relevant docs with what was decided. The spec links to it, so tickets point at decisions
that are already written down rather than pending.
8. **Write the spec** as an issue in the tracker (Gitea included). This step runs on the spec and
tickets track only.
9. **Propose a breakdown** into tickets. If the breakdown shows a gap in the spec, go back to
step 8.
10. **Approval and filing.** One explicit approval covers the whole batch. The plugin files the
tickets and sets `Status/Ready for Agent` on the ones that carry acceptance criteria. A
ticket without acceptance criteria is never set ready.
### Loops
The flow is a loop, not a straight line. The named loop-backs are:
- research → grilling (step 3 or 4 back to 2);
- disagreement → grilling or research (step 6 back to 2 or 3);
- breakdown → spec (step 9 back to 8).
After two loops on the same point, the plugin asks whether to park the idea instead of
circling.
## What ships today ## What ships today
- `.apm/prompts/next.prompt.md` — the `/next` command: rank open issues by a metric, let the - `.apm/prompts/next.prompt.md`: the `/next` command. It ranks open issues by a metric, lets the
user pick one, validate it and present a plan. Read-only; building happens through `/ship`. user pick one, validates it and presents a plan. It is read-only. Building happens through
`/ship`.
- `.apm/prompts/ship.prompt.md`: the `/ship` command. It executes the plan in context with
subagents: implement, review with a clean context, push, open a PR, watch CI. **This is
temporary.** Implementation does not belong in this plugin long term. It ships here so `/next`
has a working handoff until implementation has a home.
## Open for later
- How plan hands off to `delivery`, and how the two plugins relate. Today `delivery` says only a
human sets `Status/Ready for Agent`, while plan may set it (step 10). When the two meet, one
of those rules has to change.
- Templates for the spec and tickets. Plan will own them.
- How epics are represented and tickets linked (milestones, map issues, dependency edges).
- Where research output goes: folded into the spec, or kept as findings files.
- Whether the tracker issue carries the session's state, so planning can be resumed across
sessions.