Skip to content

Commit 7ec0885

Browse files
blafourcadeclaude
andcommitted
refactor(aidd-context): rebuild 00-onboard as a plain-language guide
Rework onboard from a state-machine hub into a guide that teaches the AIDD flow and suggests the next logical step, adapted to the project and the installed plugins. - three actions (read-project, orient, act) with the Input/Output/Process/ Test anatomy; the router carries plain transversal rules, no internal state taxonomy. - references/journey.md holds the canonical flow from the course (courses/05_ai_coding/0501_flow.md): Context, then Clarify, Track, Plan, Build, Review, Ship. It is the spine only; every skill is discovered at runtime by description and grouped by step, so a new skill surfaces on its own with no edit here. - read and lead with the project's own memory (brief, architecture); a choice explains the project from its memory bank. - suggest by function and resolve to an installed skill, name a gap by function, never invent a skill or plugin id. - move the flow model from assets/ to references/ (it is read, not copied). - aidd_docs is not required: a project without it is suggested the Context step first. Validated via headless claude -p: canonical flow, memory context, the six-choice menu, Ship distinct from Review, full skill discovery, and gap-honesty against a single-plugin marketplace. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d4a901c commit 7ec0885

11 files changed

Lines changed: 208 additions & 403 deletions

File tree

‎plugins/aidd-context/CATALOG.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ Auto-generated index of skills, agents, references and assets shipped by the `ai
4343

4444
| Group | File | Description |
4545
|-------|------|---|
46-
| `actions` | [01-detect-state.md](skills/00-onboard/actions/01-detect-state.md) | - |
47-
| `actions` | [02-recommend-next.md](skills/00-onboard/actions/02-recommend-next.md) | - |
48-
| `actions` | [03-execute-or-handoff.md](skills/00-onboard/actions/03-execute-or-handoff.md) | - |
49-
| `assets` | [state-matrix.md](skills/00-onboard/assets/state-matrix.md) | - |
46+
| `actions` | [01-read-project.md](skills/00-onboard/actions/01-read-project.md) | - |
47+
| `actions` | [02-orient.md](skills/00-onboard/actions/02-orient.md) | - |
48+
| `actions` | [03-act.md](skills/00-onboard/actions/03-act.md) | - |
5049
| `-` | [README.md](skills/00-onboard/README.md) | - |
51-
| `-` | [SKILL.md](skills/00-onboard/SKILL.md) | `Detect the current project's state and open a hub of project actions - understand the project, set up or refresh the memory bank, or continue the AIDD development journey. Silently inspects the project, the AIDD setup, and which AIDD plugins are installed, then adapts the menu to that context. Use when the user says "where do I start", "onboard me", "onboard me to this project", "what should I run next", "what should I work on next", "what's the state of this project", "guide me through aidd", "guide me through aidd-context", or invokes `aidd-context:00-onboard`. Do NOT use to enumerate every installed surface from raw user intent (the discovery skill in this plugin handles that).` |
50+
| `references` | [journey.md](skills/00-onboard/references/journey.md) | - |
51+
| `-` | [SKILL.md](skills/00-onboard/SKILL.md) | `Guide the user through the AIDD framework on the current project. Explain the flow in plain language and suggest the next logical step, adapted to what is already set up and which AIDD plugins are installed. Use when the user asks where to start, what to do next, how AIDD works, or to be onboarded. Not for listing every installed surface (the discovery skill does that) or running a skill the user already knows they need (invoke it directly).` |
5252

5353
#### `skills/01-bootstrap`
5454

Lines changed: 18 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,35 @@
1-
← [aidd-framework](../../../../README.md) / [aidd-context](../../README.md)
1+
← [framework](../../../../README.md) / [aidd-context](../../README.md)
22

33
# 00 - Onboard
44

5-
State-aware onboarding **hub** for the current project. Silently probes the
6-
project, its AIDD setup, and which AIDD plugins are installed, then opens a
7-
short briefing and a menu of project actions. Loops back to detection after
8-
each action so the briefing always reflects the latest state.
5+
A plain-language guide to the AIDD framework for the current project. It reads the project lightly, explains where the project sits in the AIDD flow, and suggests the next logical step, using only the plugins that are installed. It teaches as it goes and never assumes you already know the framework.
96

107
## When to use
118

129
- "Where do I start?" / "Onboard me to this project."
13-
- "What should I run next?" / "What should I work on next?"
14-
- "What's the current state of this project?"
15-
- After a partial setup, to figure out what to do next.
10+
- "What should I do next?"
11+
- "How does AIDD work?"
12+
- After a partial setup, to figure out the next move.
1613

17-
## When NOT to use
14+
## When not to use
1815

19-
- To enumerate every installed surface from raw intent -> use the discovery
20-
skill in this plugin.
21-
- To run a specific AIDD skill you already know you need -> invoke it directly.
16+
- To list every installed surface. Use the discovery skill in this plugin.
17+
- To run a specific skill you already know you need. Invoke it directly.
2218

23-
## How to invoke
19+
## Flow
2420

25-
```
26-
Use skill aidd-context:00-onboard
27-
```
21+
Three actions, in a loop:
2822

29-
The skill walks 3 atomic actions in a loop:
23+
1. `read-project`: **silently** read a few plain facts about the project and the installed skills. Prints nothing.
24+
2. `orient`: explain where the project sits in the AIDD flow and suggest the next step, in plain language, then offer choices.
25+
3. `act`: run the suggestion, explain it, walk the whole flow, switch to a different step, hand off, or stop. Then loop back to `01`.
3026

31-
1. `detect-state` - **silently** probe the filesystem, the project context,
32-
and the installed AIDD surface. Prints nothing.
33-
2. `recommend-next` - render the briefing header and the hub menu, route the
34-
user's pick to one concrete action.
35-
3. `execute-or-handoff` - carry out the choice (briefing, run, explain,
36-
handoff, swap, stop), then loop back to `01`.
27+
It suggests by **function**, then resolves that to whatever skill is actually installed. A step with no installed skill is named as a gap, never an invented recommendation. The suggested step is always a hint, never a forced choice.
3728

38-
## The hub menu
29+
## Requires
3930

40-
Every pass opens with a three-line briefing (project, AIDD setup, standing),
41-
then this menu:
31+
Only the `aidd-context` plugin installed and enabled, and a working directory rooted in the target project. The `aidd_docs/` memory bank is **not** required: on a project without it, onboard's first suggestion is to set it up (the Context step). Onboard is the entry point, so it works before anything else exists.
4232

43-
1. **Understand this project** - a full briefing on state, stack, AIDD setup,
44-
and where the project stands.
45-
2. **Memory bank** - set it up if absent, refresh it if present.
46-
3. **Continue the SDLC** - open the journey sub-menu and pick a development leg.
47-
4. **List every installed surface** - open the discovery skill.
48-
5. **Stop**.
33+
## Details
4934

50-
## The AIDD journey
51-
52-
`bootstrap -> context-setup -> refine -> specify -> plan -> implement -> review -> ship`
53-
54-
The first two legs (`bootstrap`, `context-setup`) are reached through hub
55-
option 2 (Memory bank); the remaining six (`refine` through `ship`) through the
56-
SDLC sub-menu under hub option 3.
57-
58-
Onboard recommends by **category** (a function), then resolves the category to
59-
whatever installed skill fits. A leg with no installed skill is reported as a
60-
gap, never as an invented recommendation. The detected SDLC phase is shown only
61-
as a hint - onboard never forces a leg or assumes a phase is finished.
62-
63-
## Outputs
64-
65-
- A clean three-line project briefing (no raw snapshot, no `Analysis:` noise).
66-
- A hub menu of project actions, with one option marked as the suggested start.
67-
- Numbered sub-menus for the SDLC journey and for a resolved skill.
68-
- Updated detection after each action.
69-
70-
## Prerequisites
71-
72-
- Plugin `aidd-context` installed and enabled in the AI tool.
73-
- A working directory rooted in the target project.
74-
75-
## Technical details
76-
77-
See [`SKILL.md`](SKILL.md) for the action contract, [`actions/`](actions/) for
78-
each of the 3 atomic actions, and `assets/state-matrix.md` for the hub menu,
79-
the SDLC sub-menu, the journey backbone, and the category resolution rules.
35+
See [`SKILL.md`](SKILL.md) for the action contract, [`actions/`](actions/) for the three actions, and [`references/journey.md`](references/journey.md) for the AIDD flow stages and how each resolves to an installed skill.
Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,32 @@
11
---
22
name: 00-onboard
3-
description: Detect the current project's state and open a hub of project actions - understand the project, set up or refresh the memory bank, or continue the AIDD development journey. Silently inspects the project, the AIDD setup, and which AIDD plugins are installed, then adapts the menu to that context. Use when the user says "where do I start", "onboard me", "onboard me to this project", "what should I run next", "what should I work on next", "what's the state of this project", "guide me through aidd", "guide me through aidd-context", or invokes `aidd-context:00-onboard`. Do NOT use to enumerate every installed surface from raw user intent (the discovery skill in this plugin handles that).
4-
model: opus
3+
description: Guide the user through the AIDD framework on the current project. Explain the flow in plain language and suggest the next logical step, adapted to what is already set up and which AIDD plugins are installed. Use when the user asks where to start, what to do next, how AIDD works, or to be onboarded. Not for listing every installed surface (the discovery skill does that) or running a skill the user already knows they need (invoke it directly).
54
---
65

76
# Onboard
87

9-
State-aware onboarding hub for the current project. Silently inspects the project, the AIDD setup, and the installed AIDD plugins, then opens a briefing and a menu: understand the project, set up or refresh the memory bank, or continue the AIDD development journey. Loops until the user stops.
8+
A plain-language guide to the AIDD framework for the current project. It reads the project lightly, explains where the project sits in the AIDD flow, and suggests the next logical step using only the plugins that are installed. It loops until the user stops.
109

11-
## Available actions
10+
## Actions
1211

13-
| # | Action | Role | Input |
14-
| --- | -------------------- | -------------------------------------------------------------------------- | ---------------------- |
15-
| 01 | `detect-state` | Silently probe the project, the AIDD setup, and the installed AIDD surface | project root |
16-
| 02 | `recommend-next` | Render the briefing and the hub menu, route the pick to one concrete action | internal state from 01 |
17-
| 03 | `execute-or-handoff` | Carry out the choice: briefing, run, explain, handoff, swap, or stop | choice from 02 |
12+
| # | Action | Role | Input |
13+
| --- | -------------- | ---------------------------------------------------------------- | ----------------- |
14+
| 01 | `read-project` | Lightly and silently read the project and the installed skills | project root |
15+
| 02 | `orient` | Explain where the project sits and suggest the next step, in plain language | the read from 01 |
16+
| 03 | `act` | Run the suggestion, explain it, teach the flow, switch step, or stop | the user's choice |
1817

19-
## Default flow
20-
21-
`01 -> 02 -> 03 -> back to 01` after each action, until the user picks Stop. Run each action's `## Test` before moving to the next.
18+
Run `01 → 02 → 03`, then loop back to `01` after each step until the user stops. Run each action's `## Test` before the next.
2219

2320
## Transversal rules
2421

25-
- Hub, not a track. Onboard shows a briefing and a menu of project actions; it never forces a single next step.
26-
- Silent detection. `01-detect-state` prints nothing - no `state:` snapshot, no signal dump, no `Analysis:` label ever reaches the user. The first visible output is the briefing header.
27-
- Briefing first. Every pass opens with a clean three-line briefing header: project, AIDD setup, standing.
28-
- Categories, never hard-coded foreign skills. Onboard recommends by category - a function such as "technical planning" or "shipping" - and resolves it at runtime against the skills actually installed. It never names a skill or plugin id that is not installed.
29-
- Honest gaps. A category that resolves to no installed skill is reported as a gap, described by function. Onboard never invents a skill to fill it.
30-
- `sdlc_phase` is a hint, never a verdict. Onboard shows where the project seems to stand but always lets the user pick the SDLC leg. It never assumes a phase is finished or unfinished.
31-
- Numbered choices only. The user replies with a digit. Free-text replies re-render the same menu with a one-line digit reminder.
32-
- Never assume the user will run a skill in this conversation. For a resolved skill always offer: run-in-session, explain, hand off to a new session, swap, stop.
33-
- Always loop back to `01-detect-state` after an action runs or is handed off. The project state changes; re-detect before re-rendering.
34-
- Anti-sycophancy. If the user picks an option that conflicts with the detected state, challenge once before complying.
35-
- Wait for an explicit user response between every menu. Do not auto-advance.
36-
37-
## Assets
38-
39-
- `@assets/state-matrix.md` - the hub menu, the SDLC sub-menu, the AIDD journey backbone, and the category resolution rules
22+
- Teach, do not assume. The user may be new to AIDD. Explain a term the first time it appears (the memory bank is the project memory the AI loads each session), never assume framework literacy.
23+
- Suggest, never force. Show where the project seems to stand and the next logical step, and always let the user choose another.
24+
- Plain language only. No internal state names, no raw phase labels, no signal dump reaches the user. The user reads guidance, not a state machine.
25+
- Adapt to what is installed. Suggest by function and resolve it to a skill that is actually installed. If none is installed, name the missing capability by function, never invent a skill.
26+
- Silent read. `01-read-project` prints nothing. The first visible output is the plain briefing from `02-orient`.
27+
- Re-read after each step. The project changes, so read again before suggesting again.
28+
- Wait for an explicit reply between prompts. Never auto-advance.
4029

4130
## References
4231

43-
- The AI tool's native plugin and skill discovery - the runtime source of truth for which categories onboard can resolve to a real skill
32+
- `references/journey.md`: the AIDD flow stages, what each unblocks, and how a step resolves to an installed skill.

‎plugins/aidd-context/skills/00-onboard/actions/01-detect-state.md‎

Lines changed: 0 additions & 47 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# 01 - Read project
2+
3+
Read the project lightly and **silently**. No questions, no writes, no visible output. The few facts gathered are working notes the next action uses to orient the user.
4+
5+
## Input
6+
7+
The project root, the current working directory.
8+
9+
## Output
10+
11+
Internal working notes only, **never printed**. Onboard must not show a snapshot or a list of checks. The first thing the user sees is the briefing from `02-orient`.
12+
13+
The notes answer a handful of plain questions:
14+
15+
- Is the project memory set up? Does `aidd_docs/memory/` exist, and does any file hold real content rather than a bare template?
16+
- When the memory is filled, what does it say the project is? Read the project brief and the architecture for the project's purpose, stack, and shape. This is the project's own context, and it leads the briefing.
17+
- Does the AI context file carry the `<aidd_project_memory>` block?
18+
- Is there code yet, and what stack? A manifest like `package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`, `pom.xml`, or the stack named in the memory when there is no manifest.
19+
- Is there a spec or a plan under `aidd_docs/`?
20+
- Is there an open pull request on the current branch?
21+
- Is the repo empty, nothing built yet?
22+
- Which AIDD plugins and skills are installed, with each skill's description?
23+
24+
## Process
25+
26+
1. **Check the setup.** `test -d aidd_docs/memory`, list its `*.md`, and judge whether any file is filled rather than an untouched template. When a file is filled, read the project brief and the architecture so the briefing speaks from the project's own context, not a guess. `grep -l '<aidd_project_memory>' CLAUDE.md AGENTS.md .github/copilot-instructions.md` for the context block.
27+
2. **Check the work.** Look for source files outside `aidd_docs/`, a stack manifest, a spec or plan under `aidd_docs/`, and an open pull request on the branch. If nothing is built at all, note the repo as empty.
28+
3. **List what is installed.** Use the AI tool's native plugin and skill discovery to gather the enabled AIDD plugins and the skills they expose, each with its description. This is how onboard adapts to what the user actually has.
29+
4. **Hold, do not print.** Keep the notes in context. Hand directly to `02-orient`.
30+
31+
## Test
32+
33+
- The action produces zero user-visible output. No snapshot, no check list, no labels appear.
34+
- The setup facts, the work facts, and the installed-skill list are all available to `02-orient`.
35+
- No skill id is named in the conversation by this action.

0 commit comments

Comments
 (0)