Compare commits
15
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e31e8686b9 | ||
|
|
cf875e6e1a | ||
|
|
b7747d27b6 | ||
|
|
b98340d432 | ||
|
|
1a887a750e | ||
|
|
1a2b63e2cb | ||
|
|
ffaf1678da | ||
|
|
9ae0c8ce09 | ||
|
|
7661d14b43 | ||
|
|
9dad7fa71c | ||
|
|
8cc8667bb3 | ||
|
|
a84ce90694 | ||
|
|
f5cbaa78e2 | ||
|
|
e4abbd06df | ||
|
|
d782239d19 |
No files matched your search
@@ -17,7 +17,7 @@
|
||||
{
|
||||
"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.",
|
||||
"version": "3.0.0",
|
||||
"version": "4.0.0",
|
||||
"category": "Utilities",
|
||||
"source": "./plugins/bin"
|
||||
},
|
||||
@@ -44,8 +44,8 @@
|
||||
},
|
||||
{
|
||||
"name": "mattpocock",
|
||||
"description": "Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release.",
|
||||
"version": "0.4.0",
|
||||
"description": "Matt Pocock's build-side agent skills — test-first development, architecture review, code review, implementation and bug diagnosis — redistributed from upstream at a pinned release.",
|
||||
"version": "0.5.0",
|
||||
"category": "Productivity",
|
||||
"source": "./plugins/mattpocock"
|
||||
},
|
||||
@@ -86,8 +86,8 @@
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"version": "0.1.0",
|
||||
"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.4.0",
|
||||
"category": "Productivity",
|
||||
"source": "./plugins/plan"
|
||||
}
|
||||
|
||||
@@ -33,6 +33,7 @@ apm_modules/
|
||||
# deployed copy would add a third mirror of the same skills to drift against.
|
||||
.claude/skills/
|
||||
.claude/agents/
|
||||
.claude/commands/
|
||||
|
||||
# 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.
|
||||
|
||||
@@ -22,13 +22,13 @@ The plugins:
|
||||
- **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
|
||||
- **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, architecture review, 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
|
||||
- **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
|
||||
- **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
|
||||
- **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`)
|
||||
- **plan** — turning a ticket or idea into a validated, researched spec and agent-ready tickets; ships the `/plan`, `/next` and `/ship` prompts, the `plan-*` agents, `plan-track`, `research-docs`, and Matt Pocock's planning skills (grilling, research, domain modelling, codebase design, wayfinder, spec, tickets, triage) at a pinned release
|
||||
- **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
|
||||
|
||||
|
||||
+65
-31
@@ -1,11 +1,11 @@
|
||||
lockfile_version: '1'
|
||||
generated_at: '2026-11-27T16:22:59.651797+00:00'
|
||||
generated_at: '2026-11-29T09:29:04.830530+00:00'
|
||||
apm_version: 0.28.0
|
||||
dependencies:
|
||||
- repo_url: Mortis/Holocron
|
||||
name: ansible
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 0.1.0
|
||||
virtual_path: plugins/ansible
|
||||
is_virtual: true
|
||||
@@ -15,8 +15,8 @@ dependencies:
|
||||
- repo_url: Mortis/Holocron
|
||||
name: bin
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
|
||||
version: 3.0.0
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 4.0.0
|
||||
virtual_path: plugins/bin
|
||||
is_virtual: true
|
||||
package_type: apm_package
|
||||
@@ -28,10 +28,6 @@ dependencies:
|
||||
- .claude/skills/diagnose/assets/hitl-loop.template.sh
|
||||
- .claude/skills/diagnose/references/feedback-loops.md
|
||||
- .claude/skills/diagnose/references/regression-seams.md
|
||||
- .claude/skills/research-docs
|
||||
- .claude/skills/research-docs/SKILL.md
|
||||
- .claude/skills/research-docs/references/file-format.md
|
||||
- .claude/skills/research-docs/references/topics.md
|
||||
- .claude/skills/write-docs
|
||||
- .claude/skills/write-docs/SKILL.md
|
||||
- .claude/skills/zoom-out
|
||||
@@ -42,17 +38,14 @@ dependencies:
|
||||
.claude/skills/diagnose/assets/hitl-loop.template.sh: sha256:b2932630950e5210075bcd6f850e5accf30c101c5367b29eac3a29b4dd8084c8
|
||||
.claude/skills/diagnose/references/feedback-loops.md: sha256:5ed81b331fcf7dfc229b92be7250fd786064f8363dbf55bf6b6e5e9b5f5e1daf
|
||||
.claude/skills/diagnose/references/regression-seams.md: sha256:fdb24c383628d239e54424f72258860612d6fe8a1fc5d0057ab5073628cc71f4
|
||||
.claude/skills/research-docs/SKILL.md: sha256:93023786f71dac5a77e60eca0be09e6510dfd45509f5e8cbc755395fe8774539
|
||||
.claude/skills/research-docs/references/file-format.md: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c
|
||||
.claude/skills/research-docs/references/topics.md: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f
|
||||
.claude/skills/write-docs/SKILL.md: sha256:861bfa52ec1f7f5c2bc335da4e8d92880259c02c2edacb1ad79cca3a3c557d08
|
||||
.claude/skills/zoom-out/SKILL.md: sha256:35a81f26d8867ad063c5b8d50b4e7ffee9f6c0afa260b52137083fc7392ffe90
|
||||
content_hash: sha256:1380157484be45c83144b488abd04174d0d08201f53f38303f4e7df40420c7f0
|
||||
content_hash: sha256:b9e8a6cf0e0e388dc672502e86b6fcdc5692bf4be6b10355f02b5b5637727f0f
|
||||
declared_license: MIT
|
||||
- repo_url: Mortis/Holocron
|
||||
name: core
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 1.1.4
|
||||
virtual_path: plugins/core
|
||||
is_virtual: true
|
||||
@@ -107,7 +100,7 @@ dependencies:
|
||||
- repo_url: Mortis/Holocron
|
||||
name: delivery
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 0.8.0
|
||||
virtual_path: plugins/delivery
|
||||
is_virtual: true
|
||||
@@ -188,7 +181,7 @@ dependencies:
|
||||
- repo_url: Mortis/Holocron
|
||||
name: git
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 1.3.9
|
||||
virtual_path: plugins/git
|
||||
is_virtual: true
|
||||
@@ -303,7 +296,7 @@ dependencies:
|
||||
- repo_url: Mortis/Holocron
|
||||
name: gitea
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 1.3.10
|
||||
virtual_path: plugins/gitea
|
||||
is_virtual: true
|
||||
@@ -388,7 +381,7 @@ dependencies:
|
||||
- repo_url: Mortis/Holocron
|
||||
name: gitops
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 0.2.0
|
||||
virtual_path: plugins/gitops
|
||||
is_virtual: true
|
||||
@@ -411,7 +404,7 @@ dependencies:
|
||||
- repo_url: Mortis/Holocron
|
||||
name: k8s
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 0.2.0
|
||||
virtual_path: plugins/k8s
|
||||
is_virtual: true
|
||||
@@ -430,7 +423,7 @@ dependencies:
|
||||
- repo_url: Mortis/Holocron
|
||||
name: kyberforge
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 2.2.1
|
||||
virtual_path: plugins/kyberforge
|
||||
is_virtual: true
|
||||
@@ -681,7 +674,7 @@ dependencies:
|
||||
- repo_url: Mortis/Holocron
|
||||
name: lint
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 1.1.9
|
||||
virtual_path: plugins/lint
|
||||
is_virtual: true
|
||||
@@ -709,12 +702,35 @@ dependencies:
|
||||
- repo_url: Mortis/Holocron
|
||||
name: mattpocock
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 92d39ae1f92a282de39217af34763c8e237defac
|
||||
version: 0.4.0
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 0.5.0
|
||||
virtual_path: plugins/mattpocock
|
||||
is_virtual: true
|
||||
package_type: apm_package
|
||||
content_hash: sha256:91649428cf594bd911beb982282f92f7b732908db649d484e420c0ba1d6b6b7b
|
||||
content_hash: sha256:ba0aeb2518f4e5d09049ea96b4452e07fd274a84a45a6be02f5e7daac7679dfb
|
||||
declared_license: MIT
|
||||
- repo_url: Mortis/Holocron
|
||||
name: plan
|
||||
host: git.rkdr.net
|
||||
resolved_commit: 9ae0c8ce094c972b06dc846a7b6d951a673822d1
|
||||
version: 0.3.0
|
||||
virtual_path: plugins/plan
|
||||
is_virtual: true
|
||||
package_type: apm_package
|
||||
deployed_files:
|
||||
- .claude/commands/next.md
|
||||
- .claude/commands/ship.md
|
||||
- .claude/skills/research-docs
|
||||
- .claude/skills/research-docs/SKILL.md
|
||||
- .claude/skills/research-docs/references/file-format.md
|
||||
- .claude/skills/research-docs/references/topics.md
|
||||
deployed_file_hashes:
|
||||
.claude/commands/next.md: sha256:12668ef795442d3ced640a2177cabf8df0e046381939a607784006e945bbb4a5
|
||||
.claude/commands/ship.md: sha256:f108f73e60a884f46285955027fba47d6309fed6a89812948f577e27be180af8
|
||||
.claude/skills/research-docs/SKILL.md: sha256:93023786f71dac5a77e60eca0be09e6510dfd45509f5e8cbc755395fe8774539
|
||||
.claude/skills/research-docs/references/file-format.md: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c
|
||||
.claude/skills/research-docs/references/topics.md: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f
|
||||
content_hash: sha256:eab34cb44298cbea425f10c5d42d624369a3cafa18f02bf980fa4d9eb19c76b7
|
||||
declared_license: MIT
|
||||
- repo_url: fluxcd/agent-skills
|
||||
name: gitops-knowledge
|
||||
@@ -1395,6 +1411,24 @@ deployments:
|
||||
- git.rkdr.net/Mortis/Holocron/plugins/lint
|
||||
active_owner: git.rkdr.net/Mortis/Holocron/plugins/lint
|
||||
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
|
||||
target: claude
|
||||
value: .claude/commands/ship.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:f108f73e60a884f46285955027fba47d6309fed6a89812948f577e27be180af8
|
||||
- kind: project-relative
|
||||
target: claude
|
||||
value: .claude/hooks/delivery/.apm/hooks/guard.py
|
||||
@@ -4875,8 +4909,8 @@ deployments:
|
||||
runtime: null
|
||||
scope: project
|
||||
owners:
|
||||
- git.rkdr.net/Mortis/Holocron/plugins/bin
|
||||
active_owner: git.rkdr.net/Mortis/Holocron/plugins/bin
|
||||
- git.rkdr.net/Mortis/Holocron/plugins/plan
|
||||
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
|
||||
content_hash: null
|
||||
- kind: project-relative
|
||||
target: claude
|
||||
@@ -4884,8 +4918,8 @@ deployments:
|
||||
runtime: null
|
||||
scope: project
|
||||
owners:
|
||||
- git.rkdr.net/Mortis/Holocron/plugins/bin
|
||||
active_owner: git.rkdr.net/Mortis/Holocron/plugins/bin
|
||||
- git.rkdr.net/Mortis/Holocron/plugins/plan
|
||||
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
|
||||
content_hash: sha256:93023786f71dac5a77e60eca0be09e6510dfd45509f5e8cbc755395fe8774539
|
||||
- kind: project-relative
|
||||
target: claude
|
||||
@@ -4893,8 +4927,8 @@ deployments:
|
||||
runtime: null
|
||||
scope: project
|
||||
owners:
|
||||
- git.rkdr.net/Mortis/Holocron/plugins/bin
|
||||
active_owner: git.rkdr.net/Mortis/Holocron/plugins/bin
|
||||
- git.rkdr.net/Mortis/Holocron/plugins/plan
|
||||
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
|
||||
content_hash: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c
|
||||
- kind: project-relative
|
||||
target: claude
|
||||
@@ -4902,8 +4936,8 @@ deployments:
|
||||
runtime: null
|
||||
scope: project
|
||||
owners:
|
||||
- git.rkdr.net/Mortis/Holocron/plugins/bin
|
||||
active_owner: git.rkdr.net/Mortis/Holocron/plugins/bin
|
||||
- git.rkdr.net/Mortis/Holocron/plugins/plan
|
||||
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
|
||||
content_hash: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f
|
||||
- kind: project-relative
|
||||
target: claude
|
||||
|
||||
@@ -30,7 +30,8 @@ dependencies:
|
||||
path: plugins/lint
|
||||
# Third-party skills (Matt Pocock's) arrive transitively through this
|
||||
# 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,
|
||||
# which stay unpinned for default-branch parity. The same rule holds for the
|
||||
# fluxcd skills gitops pins in plugins/gitops/apm.yml.
|
||||
@@ -47,6 +48,9 @@ dependencies:
|
||||
path: plugins/gitops
|
||||
- git: https://git.rkdr.net/Mortis/Holocron.git
|
||||
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: []
|
||||
|
||||
# Turns apm's executable-trust gate ON. Without this block the gate is disabled
|
||||
|
||||
@@ -39,5 +39,11 @@ approved) are human-set tracker state. `mattpocock`'s thinking tools (`wayfinder
|
||||
until an account exists; other runtimes are best effort.
|
||||
- *Amended 2026-11-22 (holocron#173): Copilot CLI was a tested target; with no account to test on,
|
||||
it is supported from its documentation only.*
|
||||
- *Amended 2026-11-28 (holocron#246): the thinking tools no longer live in `mattpocock`. `wayfinder`,
|
||||
`grilling`, `grill-me`, `grill-with-docs`, `domain-modeling`, `research`, `prototype`,
|
||||
`codebase-design`, `triage`, `to-spec` and `to-tickets` are now pinned in `plan`, and bin's
|
||||
`research-docs` moved there too. `setup-matt-pocock-skills` is pinned in both packages, at one
|
||||
upstream tag that is bumped in both together. `delivery` keeps its `mattpocock` dependency, but
|
||||
references none of the moved skills, so it does not depend on `plan`.*
|
||||
- Infra applies happen by merge (GitOps for Flux, Ansible and OpenTofu alike), so the PR gate is the
|
||||
apply gate; the operator verifies and opens revert PRs, never reverting on its own.
|
||||
@@ -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 |
|
||||
| `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 |
|
||||
| `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 |
|
||||
|
||||
One compiler produces the generated content in the tree:
|
||||
|
||||
+1
-2
@@ -1,5 +1,5 @@
|
||||
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.
|
||||
author:
|
||||
name: Mortis
|
||||
@@ -10,7 +10,6 @@ repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/bin
|
||||
keywords:
|
||||
- utility
|
||||
- diagnostics
|
||||
- research
|
||||
|
||||
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
|
||||
type: skill
|
||||
|
||||
+26
-42
@@ -1,6 +1,6 @@
|
||||
name: mattpocock
|
||||
version: 0.4.0
|
||||
description: Matt Pocock's agent skills — planning, grilling, test-first development, triage and bug diagnosis — redistributed from upstream at a pinned release.
|
||||
version: 0.5.0
|
||||
description: Matt Pocock's build-side agent skills — test-first development, architecture review, code review, implementation and bug diagnosis — redistributed from upstream at a pinned release.
|
||||
author:
|
||||
name: 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
|
||||
repository: https://git.rkdr.net/Mortis/Holocron/src/branch/main/plugins/mattpocock
|
||||
keywords:
|
||||
- wayfinder
|
||||
- planning
|
||||
- grilling
|
||||
- domain-modeling
|
||||
- tdd
|
||||
- triage
|
||||
- architecture
|
||||
- code-review
|
||||
- implementation
|
||||
- diagnostics
|
||||
|
||||
# Constrains what .apm/ may contain: instructions, skill, hybrid, or prompts
|
||||
type: hybrid
|
||||
@@ -34,54 +32,40 @@ includes: auto
|
||||
# repo cannot be listed directly (same constraint and mechanism as
|
||||
# the since-removed plugins/onedev, ADR-0026).
|
||||
#
|
||||
# Why these skills, not the whole upstream set:
|
||||
# - `wayfinder` is hand-invoked upstream (`disable-model-invocation: true`) and
|
||||
# its body calls `grilling`, `domain-modeling`, `research` and `prototype`,
|
||||
# and reads the tracker doc written by `setup-matt-pocock-skills`.
|
||||
# - `grill-me`, `grill-with-docs`, `tdd`, `prototype`, `improve-codebase-architecture`,
|
||||
# `triage` and `diagnosing-bugs` replace hand-maintained copies that used to
|
||||
# live in plugins/bin. Upstream's `grill-me`, `grill-with-docs`, `triage` and
|
||||
# `improve-codebase-architecture` are hand-invoked, so another skill cannot
|
||||
# route to them through the Skill tool.
|
||||
# - `codebase-design` is called through the Skill tool by `improve-codebase-architecture`
|
||||
# and `tdd`, and `code-review` is where `tdd` sends refactoring; without them
|
||||
# those calls dangle.
|
||||
# - `to-tickets` and `to-spec` publish to the tracker doc that
|
||||
# `setup-matt-pocock-skills` writes, which names them as its consumers.
|
||||
# - `implement` and `implement-spec` take that spec and ticket graph to code;
|
||||
# `retro` calls `writing-for-agents`. `writing-for-agents` is model-invoked
|
||||
# and overlaps the triggers of kyberforge's `skill-author` and core's
|
||||
# `agentsmd-author`.
|
||||
# - `research` is the skill `wayfinder` calls to resolve a research ticket: one
|
||||
# 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.
|
||||
# The planning skills (wayfinder, grilling, grill-me, grill-with-docs,
|
||||
# domain-modeling, research, prototype, codebase-design, triage, to-spec,
|
||||
# to-tickets) moved to plugins/plan (ADR-0031). What stays here is the
|
||||
# build-side set:
|
||||
# - `tdd`, `improve-codebase-architecture` and `diagnosing-bugs` replace
|
||||
# hand-maintained copies that used to live in plugins/bin. Upstream's
|
||||
# `improve-codebase-architecture` is hand-invoked, so another skill cannot
|
||||
# route to it through the Skill tool. It calls `grilling` and
|
||||
# `domain-modeling`, which now come from plugins/plan.
|
||||
# - `code-review` is where `tdd` sends refactoring; without it that call
|
||||
# dangles. `tdd` and `improve-codebase-architecture` also call
|
||||
# `codebase-design` through the Skill tool, which now comes from plugins/plan.
|
||||
# - `implement` and `implement-spec` take a spec and ticket graph to code.
|
||||
# `implement-spec` reads what plan's `to-spec`, `to-tickets` and `research`
|
||||
# produce. `retro` calls `writing-for-agents`. `writing-for-agents` is
|
||||
# model-invoked and overlaps the triggers of kyberforge's `skill-author` and
|
||||
# core's `agentsmd-author`.
|
||||
# - `setup-matt-pocock-skills` writes the tracker doc that `code-review` and
|
||||
# `implement-spec` read. plugins/plan pins it as well, at the same tag.
|
||||
#
|
||||
# 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
|
||||
# upstream revision.
|
||||
# drift. Bump every tag together, here and in plugins/plan/apm.yml, so the
|
||||
# skills stay at one upstream revision.
|
||||
dependencies:
|
||||
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/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/prototype#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/codebase-design#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-spec#v1.3.2
|
||||
- mattpocock/skills/skills/engineering/retro#v1.3.2
|
||||
- mattpocock/skills/skills/productivity/writing-for-agents#v1.3.2
|
||||
- mattpocock/skills/skills/engineering/research#v1.3.2
|
||||
mcp: []
|
||||
devDependencies:
|
||||
apm: []
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
---
|
||||
name: plan-gate
|
||||
description: >
|
||||
Use when the plan prompt needs the step-1 gate run on a ticket or idea: duplicate, already done, contradicts
|
||||
an ADR, or out of scope. Read-only. Not deep feasibility validation -> `plan-validator`.
|
||||
model: sonnet
|
||||
disallowedTools: Edit, Write, NotebookEdit
|
||||
---
|
||||
|
||||
You run the cheap gate before any grilling. You are read-only: never call a write tool.
|
||||
|
||||
## Input
|
||||
|
||||
A ticket number or the idea as free text.
|
||||
|
||||
## Checks
|
||||
|
||||
1. **Duplicate**: an open issue or PR covers the same thing (`gitea-issues`, `gitea-prs`).
|
||||
2. **Already done**: the repo already does it.
|
||||
3. **Contradicts an ADR**: a decision in `docs/adr/` rules it out.
|
||||
4. **Out of scope**: it falls outside `docs/VISION.md`.
|
||||
|
||||
## Output
|
||||
|
||||
One line per check: `<check> | pass/hit | evidence (link or file:line)`, then `verdict: go` or
|
||||
`verdict: stop: <reason>`.
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
name: plan-recorder
|
||||
description: >
|
||||
Use when the plan prompt has an agreed plan and needs step 7: the decisions recorded in a docs PR
|
||||
(AGENTS.md, GLOSSARY.md, ADRs). Not writing the spec or tickets -> `to-spec`.
|
||||
model: sonnet
|
||||
---
|
||||
|
||||
You record agreed decisions in the repo's docs and open one docs PR. You change docs only, never
|
||||
code.
|
||||
|
||||
## Input
|
||||
|
||||
The agreed plan and the list of decisions it made.
|
||||
|
||||
## Process
|
||||
|
||||
1. Create a branch `docs/plan-<slug>` from the default branch.
|
||||
2. Record each decision where it belongs: an ADR or glossary term with `domain-modeling`, an
|
||||
AGENTS.md change with `agentsmd-author`.
|
||||
3. Commit with `git-commits`, push, and open the PR with `gitea-prs`.
|
||||
|
||||
## Output
|
||||
|
||||
The PR link and one line per decision naming the file it landed in.
|
||||
@@ -0,0 +1,27 @@
|
||||
---
|
||||
name: plan-researcher
|
||||
description: >
|
||||
Use when the plan prompt needs step-3 research on an agreed intent and track, in the repo or online.
|
||||
Read-only; returns cited findings. Not a findings file in the repo -> `research`.
|
||||
model: sonnet
|
||||
disallowedTools: Edit, NotebookEdit
|
||||
---
|
||||
|
||||
You research one question for `/plan`. Never edit repo files; the only place you may write is the
|
||||
session scratchpad.
|
||||
|
||||
## Input
|
||||
|
||||
The intent, the recommended track, and a scope: `repo` or `web`.
|
||||
|
||||
## Process
|
||||
|
||||
- **repo**: current practices, rules, patterns and conventions — AGENTS.md, `GLOSSARY.md`,
|
||||
`docs/adr/`, `docs/spec/` and the code the intent touches.
|
||||
- **web**: tools, documentation, best practices, examples and standards. Use Context7 for library
|
||||
docs; prefer primary sources.
|
||||
|
||||
## Output
|
||||
|
||||
Findings as bullets, each with its source (file:line or URL) and marked `verified` or `inferred`.
|
||||
End with open questions, if any.
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
name: plan-validator
|
||||
description: >
|
||||
Use when the plan prompt needs step-4 deep validation: is the researched intent feasible and does it fit
|
||||
the repo as it is now. Read-only. Not the cheap pre-grilling gate -> `plan-gate`.
|
||||
model: opus
|
||||
disallowedTools: Edit, Write, NotebookEdit
|
||||
---
|
||||
|
||||
You validate one intent against the repo as it is now. You are read-only: never call a write tool.
|
||||
|
||||
## Input
|
||||
|
||||
The intent, the track, and the research findings.
|
||||
|
||||
## Checks
|
||||
|
||||
- Feasible with the repo's current structure, tools and conventions.
|
||||
- Consistent with ADRs, AGENTS.md and `GLOSSARY.md`.
|
||||
- Nothing it relies on is missing.
|
||||
|
||||
## Output
|
||||
|
||||
Each finding tagged `contradiction`, `missing`, `infeasible` or `risk`, with evidence, then
|
||||
`verdict: fits`, `verdict: regrill: <point>` or `verdict: stop: <reason>`.
|
||||
@@ -206,5 +206,5 @@ decisions instead.
|
||||
issue, pushing tags, or setting up infrastructure).
|
||||
7. Open decisions that need me. Do not decide these yourself.
|
||||
|
||||
End with: "Run `/ship` to build this." If I reply go, tell me to run `/ship`: it cannot be
|
||||
invoked for me. Do not build inline.
|
||||
End with: "Run `/ship` to build this, or `/plan` to spec it first." If I reply go, tell me
|
||||
to run `/ship`: it cannot be invoked for me. Do not build inline.
|
||||
@@ -0,0 +1,65 @@
|
||||
---
|
||||
description: Turn a ticket or idea into a validated plan, a spec and agent-ready tickets, with me in the loop
|
||||
argument-hint: "[#N | idea as free text] (empty: the issue picked by /next in this conversation)"
|
||||
disable-model-invocation: true
|
||||
---
|
||||
|
||||
Input (raw, verbatim):
|
||||
$ARGUMENTS
|
||||
|
||||
You are the orchestrator. Delegate the reading to subagents and keep only their conclusions. Speak
|
||||
to me only to ask, to present, or to report.
|
||||
|
||||
## 0. Entry
|
||||
|
||||
- `#N`: read the issue and its comments with `gitea-issues`.
|
||||
- Free text: that is the idea.
|
||||
- Empty: use the issue picked by `/next` earlier in this conversation. None → ask me for one.
|
||||
|
||||
## 1. Gate
|
||||
|
||||
Dispatch `plan-gate`. `verdict: stop` → tell me why and stop.
|
||||
|
||||
## 2–6. Discovery loop
|
||||
|
||||
Repeat until I agree. Count loops per point; after two loops on the same point, ask me whether to
|
||||
park the idea instead.
|
||||
|
||||
2. **Grill** with `grilling`, only if the intent is unclear. Then recommend a track with
|
||||
`plan-track`.
|
||||
3. **Research**: dispatch `plan-researcher` twice in parallel, scope `repo` and scope `web`.
|
||||
4. **Validate**: dispatch `plan-validator` with the findings. `regrill` → back to 2. `stop` → tell
|
||||
me why and stop.
|
||||
5. **Offer a plan**: options, considerations, recommendation, impact, expected results, and the
|
||||
track.
|
||||
6. **Agreement**: ask me with AskUserQuestion to agree and confirm the track, or send it back to
|
||||
grilling or research. Say in the question that agreeing also approves step 7's docs branch,
|
||||
push and PR.
|
||||
|
||||
## 7. Record decisions
|
||||
|
||||
Dispatch `plan-recorder` with the agreed plan and its decisions. My agreement in step 6 authorizes
|
||||
its branch, commit, push and docs PR. Keep the PR link.
|
||||
|
||||
## 8. Spec (spec and tickets track only)
|
||||
|
||||
`to-spec` is hand-invoked, so you cannot call it. Tell me to run:
|
||||
|
||||
`/to-spec` — and to link the docs PR <link> in the spec.
|
||||
|
||||
My running it is my approval of the spec. Wait for it.
|
||||
|
||||
## 9–10. Tickets
|
||||
|
||||
`to-tickets` is hand-invoked, so you cannot call it. Tell me to run `/to-tickets` on the spec (or on
|
||||
this conversation, on the tickets-only track). It proposes the breakdown, and my approval inside it
|
||||
covers the whole batch. It files the tickets and sets `Status/Ready for Agent`; a ticket without
|
||||
acceptance criteria must not carry it. If the breakdown shows a gap in the spec, tell me to rerun
|
||||
`/to-spec` first.
|
||||
|
||||
After it files them, read each filed ticket with `gitea-issues`. Remove `Status/Ready for Agent`
|
||||
from any ticket with no acceptance criteria, and list those tickets for me.
|
||||
|
||||
## Report
|
||||
|
||||
Links to the docs PR, the spec and the tickets.
|
||||
@@ -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.
|
||||
@@ -0,0 +1,30 @@
|
||||
---
|
||||
name: plan-track
|
||||
description: >-
|
||||
Use when planning must recommend or confirm a track for a ticket or idea: spec and tickets, or
|
||||
ticket(s) only. Not writing the spec -> `to-spec`. Not breaking work into tickets -> `to-tickets`.
|
||||
metadata:
|
||||
version: "0.1.0"
|
||||
category: planning
|
||||
---
|
||||
|
||||
# Plan track
|
||||
|
||||
Recommend one track, with a one-sentence reason.
|
||||
|
||||
## Tracks
|
||||
|
||||
- **Spec and tickets**: a spec issue in the tracker, broken down into tickets.
|
||||
- **Ticket(s) only**: one or more tickets with no spec.
|
||||
|
||||
## Pick spec and tickets when any holds
|
||||
|
||||
- The work needs more than one ticket that depends on another.
|
||||
- It makes a decision that downstream tickets must share.
|
||||
- It touches more than one plugin or subsystem.
|
||||
|
||||
Otherwise pick ticket(s) only.
|
||||
|
||||
## Output
|
||||
|
||||
`track: <spec-and-tickets|tickets-only> | reason: <one sentence>`
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
+28
-3
@@ -1,6 +1,6 @@
|
||||
name: plan
|
||||
version: 0.1.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.
|
||||
version: 0.4.0
|
||||
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:
|
||||
name: Mortis
|
||||
url: https://git.rkdr.net/Mortis/
|
||||
@@ -27,8 +27,33 @@ targets:
|
||||
|
||||
includes: auto
|
||||
|
||||
# Upstream planning skills from github.com/mattpocock/skills (MIT), moved here
|
||||
# from plugins/mattpocock: grilling, research, domain modelling, prototyping,
|
||||
# codebase design, 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, ADR-0031).
|
||||
#
|
||||
# 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:
|
||||
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/codebase-design#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: []
|
||||
devDependencies:
|
||||
apm: []
|
||||
|
||||
+158
-12
@@ -1,8 +1,10 @@
|
||||
# plan plugin — outline
|
||||
|
||||
Status: outline only. This is the maintainer's intent for the plugin, captured before any design or
|
||||
grilling. Nothing below is built yet except the `next` prompt, which is the existing personal
|
||||
`/next` command moved into the plugin unchanged.
|
||||
Status: outline, refined in a first grilling round, with a bare-bones MVP built (see "What ships
|
||||
today"). This is the maintainer's intent for the plugin.
|
||||
|
||||
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
|
||||
|
||||
@@ -24,17 +26,161 @@ The goal is to optimise:
|
||||
- **The internet and other sources**: tools, documentation, best practices, examples and
|
||||
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
|
||||
|
||||
1. **Validate the ticket or idea.** Verify it before any grilling. If it does not hold up, stop.
|
||||
2. **Initial grilling**, only if required, to explore the ticket's or idea's intention.
|
||||
3. **Research** in the repo and online.
|
||||
4. **Offer a plan** with options, considerations, recommendations, impact and expected results.
|
||||
5. **Agreement.** The user either agrees or needs more grilling before agreeing.
|
||||
6. **Write the spec** as an epic or a feature.
|
||||
7. **Propose a breakdown** of the spec into tickets.
|
||||
0. **Entry.** There are three ways in, and all of them continue at step 1:
|
||||
- an existing ticket;
|
||||
- a new idea, as free text;
|
||||
- a ticket picked through `/next`.
|
||||
1. **Gate.** A cheap check before any grilling: is it a duplicate of an open issue or PR, is it
|
||||
already done, does it contradict an ADR, or is it outside the repo's scope (`docs/VISION.md`)?
|
||||
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.
|
||||
|
||||
### Sequence diagram
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
autonumber
|
||||
actor U as User
|
||||
participant P as plan (orchestrator)
|
||||
participant R as Repo<br/>(AGENTS.md, ADRs, VISION, code)
|
||||
participant W as Web / docs
|
||||
participant T as Tracker (Gitea)
|
||||
|
||||
%% Step 0 — Entry
|
||||
alt existing ticket
|
||||
U->>P: ticket #N
|
||||
P->>T: read issue
|
||||
else new idea
|
||||
U->>P: free text
|
||||
else via /next
|
||||
U->>P: /next [metric]
|
||||
P->>T: rank open issues
|
||||
P-->>U: ranked list
|
||||
U->>P: pick one
|
||||
end
|
||||
|
||||
%% Step 1 — Gate
|
||||
P->>T: duplicate open issue/PR? already done?
|
||||
P->>R: contradicts an ADR? outside VISION scope?
|
||||
opt any gate hit
|
||||
P-->>U: stop, with reason
|
||||
end
|
||||
|
||||
%% Steps 2–6 — the discovery loop
|
||||
loop until agreed (after 2 loops on one point, offer to park)
|
||||
opt intent unclear
|
||||
P->>U: grilling questions (step 2)
|
||||
U-->>P: answers
|
||||
end
|
||||
P-->>U: recommended track + reason
|
||||
|
||||
par Research (step 3), scoped to track
|
||||
P->>R: practices, patterns, conventions
|
||||
and
|
||||
P->>W: tools, docs, standards, examples
|
||||
end
|
||||
|
||||
P->>R: deep validation: feasible, fits repo now? (step 4)
|
||||
alt doesn't fit
|
||||
P-->>U: back to grilling, or stop
|
||||
else fits
|
||||
P-->>U: plan: options, impact, results, track (step 5)
|
||||
alt user agrees and confirms track (step 6)
|
||||
U->>P: agree + track
|
||||
else disagreement
|
||||
U->>P: back to grilling or research
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
%% Step 7 — Record decisions
|
||||
P->>T: open docs PR (AGENTS.md, GLOSSARY, ADRs)
|
||||
|
||||
%% Steps 8–9 — Spec and breakdown
|
||||
loop until breakdown shows no spec gap
|
||||
opt track = spec + tickets
|
||||
P->>T: write/update spec issue, link docs PR (step 8)
|
||||
end
|
||||
P-->>U: proposed ticket breakdown (step 9)
|
||||
end
|
||||
|
||||
%% Step 10 — Approval and filing
|
||||
U->>P: one approval for the whole batch
|
||||
P->>T: file tickets
|
||||
P->>T: set Status/Ready for Agent<br/>(only tickets with acceptance criteria)
|
||||
P-->>U: links to spec, tickets, docs PR
|
||||
```
|
||||
|
||||
## What ships today
|
||||
|
||||
- `.apm/prompts/next.prompt.md` — the `/next` command: rank open issues by a metric, let the
|
||||
user pick one, validate it and present a plan. Read-only; building happens through `/ship`.
|
||||
- `.apm/prompts/next.prompt.md`: the `/next` command. It ranks open issues by a metric, lets the
|
||||
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.
|
||||
|
||||
- `.apm/prompts/plan.prompt.md`: the `/plan` command, the MVP orchestrator for steps 0–10. It
|
||||
dispatches the agents below, grills with `grilling`, and picks the track with `plan-track`.
|
||||
Steps 8–10 run upstream's hand-invoked `/to-spec` and `/to-tickets`: `/plan` tells the user to
|
||||
type them, and the user running them is the approval.
|
||||
- `.apm/agents/`: `plan-gate` (step 1), `plan-researcher` (step 3), `plan-validator` (step 4),
|
||||
read-only (the researcher may write only to the scratchpad), and `plan-recorder` (step 7, the docs PR).
|
||||
- `.apm/skills/plan-track/`: the track criteria.
|
||||
|
||||
All of these are minimal stubs, to be built out. The prompt and agents route to `gitea-issues`, `gitea-prs`,
|
||||
`git-commits` and `agentsmd-author`, which `plan` does not declare as dependencies: it assumes the
|
||||
`gitea`, `git` and `core` packages are installed.
|
||||
|
||||
## 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.
|
||||
File renamed without changes.
Reference in new issue
Block a user