@lifeaitools/rdc-skills 0.9.33 → 0.9.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +2 -1
- package/.github/workflows/self-test.yml +34 -34
- package/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/commands/build.md +181 -181
- package/commands/collab.md +180 -180
- package/commands/deploy.md +152 -152
- package/commands/fixit.md +105 -105
- package/commands/handoff.md +173 -173
- package/commands/overnight.md +220 -220
- package/commands/plan.md +158 -158
- package/commands/preplan.md +131 -131
- package/commands/prototype.md +145 -145
- package/commands/report.md +99 -99
- package/commands/review.md +120 -120
- package/commands/status.md +86 -86
- package/commands/workitems.md +127 -127
- package/guides/agent-bootstrap.md +206 -202
- package/guides/agents/backend.md +102 -102
- package/guides/agents/content.md +94 -94
- package/guides/agents/cs2.md +56 -56
- package/guides/agents/data.md +86 -86
- package/guides/agents/design.md +77 -77
- package/guides/agents/frontend.md +91 -91
- package/guides/agents/infrastructure.md +81 -81
- package/guides/agents/setup.md +280 -278
- package/guides/agents/verify.md +119 -119
- package/guides/agents/viz.md +106 -106
- package/guides/engineering-behavior.md +43 -0
- package/hooks/rdc-invocation-marker.js +143 -0
- package/hooks/rdc-output-contract-gate.js +85 -0
- package/package.json +2 -2
- package/scripts/install-rdc-skills.js +29 -0
- package/scripts/install.ps1 +15 -0
- package/scripts/self-test.mjs +1414 -1323
- package/skills/build/SKILL.md +359 -355
- package/skills/collab/SKILL.md +217 -217
- package/skills/deploy/SKILL.md +198 -198
- package/skills/design/SKILL.md +211 -211
- package/skills/fixit/SKILL.md +136 -132
- package/skills/fs-mcp/SKILL.md +131 -0
- package/skills/handoff/SKILL.md +200 -200
- package/skills/help/SKILL.md +104 -104
- package/skills/overnight/SKILL.md +224 -224
- package/skills/plan/SKILL.md +252 -252
- package/skills/preplan/SKILL.md +86 -86
- package/skills/prototype/SKILL.md +150 -150
- package/skills/release/SKILL.md +342 -342
- package/skills/report/SKILL.md +100 -100
- package/skills/review/SKILL.md +122 -121
- package/skills/self-test/SKILL.md +126 -126
- package/skills/status/SKILL.md +99 -99
- package/skills/watch/SKILL.md +91 -91
- package/skills/workitems/SKILL.md +151 -151
package/skills/handoff/SKILL.md
CHANGED
|
@@ -1,200 +1,200 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: rdc:handoff
|
|
3
|
-
description: "Usage `rdc:handoff [--from-prototype <id>]` — Convert a finalized plan or prototype into CLI-ready artifacts: writes .rdc/plans/, creates Supabase work items with DoD checklists, registers prototype if present. Bridge between planning session and rdc:build."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
> **⚠️ OUTPUT CONTRACT (READ FIRST):** `guides/output-contract.md`
|
|
7
|
-
> Checklist-only output. No tool-call narration. No raw MCP/JSON/log dumps.
|
|
8
|
-
> One checklist upfront, updated in place, shown again at end with a 1-line verdict.
|
|
9
|
-
|
|
10
|
-
> If dispatching subagents or running as a subagent: read `{PROJECT_ROOT}/.rdc/guides/agent-bootstrap.md` first (fallback: `{PROJECT_ROOT}/.rdc/guides/agent-bootstrap.md`).
|
|
11
|
-
|
|
12
|
-
> **Sandbox contract:** This skill honors `RDC_TEST=1` per `guides/agent-bootstrap.md` § RDC_TEST Sandbox Contract. Destructive external calls short-circuit under the flag. Supabase work item writes, prototype registry inserts, design context inserts, and git push are skipped under `RDC_TEST=1`.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
# rdc:handoff — Planning → CLI Bridge
|
|
16
|
-
|
|
17
|
-
## When to Use
|
|
18
|
-
|
|
19
|
-
- A prototype has been built and needs production implementation
|
|
20
|
-
- A design decision has been made and needs to be executed
|
|
21
|
-
- Project lead says "hand this off", "give this to the CLI", "write it up"
|
|
22
|
-
- A plan exists in the conversation but hasn't been saved to disk or database yet
|
|
23
|
-
|
|
24
|
-
## What This Skill Produces
|
|
25
|
-
|
|
26
|
-
1. **Plan doc** → `.rdc/plans/<topic-slug>.md` (fallback: `.rdc/plans/<topic-slug>.md`)
|
|
27
|
-
2. **Database epic + child tasks** (with agent types and guide file refs)
|
|
28
|
-
3. **Prototype registry entry** (if a prototype was built)
|
|
29
|
-
4. **Design context entries** (for decisions made in the session)
|
|
30
|
-
|
|
31
|
-
## Procedure
|
|
32
|
-
|
|
33
|
-
### Step 1 — Extract the Plan
|
|
34
|
-
|
|
35
|
-
Identify from the conversation:
|
|
36
|
-
- What is the goal?
|
|
37
|
-
- What prototypes or designs were built? Where are they?
|
|
38
|
-
- What decisions were made? What was rejected and why?
|
|
39
|
-
- What is the sequencing (what depends on what)?
|
|
40
|
-
- Which agent types are needed?
|
|
41
|
-
|
|
42
|
-
### Step 2 — Write the Plan Doc
|
|
43
|
-
|
|
44
|
-
```
|
|
45
|
-
.rdc/plans/<topic-slug>.md
|
|
46
|
-
```
|
|
47
|
-
(fallback: `.rdc/plans/<topic-slug>.md` if `.rdc/` does not exist)
|
|
48
|
-
|
|
49
|
-
Template:
|
|
50
|
-
```markdown
|
|
51
|
-
# Plan: <Topic>
|
|
52
|
-
> Route: <app route or package>
|
|
53
|
-
> Status: Ready for CLI build
|
|
54
|
-
> Created: <date>
|
|
55
|
-
> Source: planning session
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## What Already Exists (Do NOT Re-implement)
|
|
60
|
-
|
|
61
|
-
[List any existing components, database tables, or files
|
|
62
|
-
that agents must use rather than recreate]
|
|
63
|
-
|
|
64
|
-
## What Was Built in Planning (Prototype)
|
|
65
|
-
|
|
66
|
-
[Describe the prototype — file location, key design decisions,
|
|
67
|
-
what to preserve vs what to adapt]
|
|
68
|
-
|
|
69
|
-
## Work Packages
|
|
70
|
-
|
|
71
|
-
### Package 1 — <Name>
|
|
72
|
-
- Agent type: frontend | backend | data | design | infra | content | cs2 | viz
|
|
73
|
-
- Guide: .rdc/guides/<type>.md (fallback: .rdc/guides/<type>.md)
|
|
74
|
-
- Files to create/modify: [list]
|
|
75
|
-
- Deliverables: [specific outputs]
|
|
76
|
-
- Depends on: [other packages if sequential]
|
|
77
|
-
|
|
78
|
-
### Package 2 — <Name>
|
|
79
|
-
[...]
|
|
80
|
-
|
|
81
|
-
## Sequencing
|
|
82
|
-
|
|
83
|
-
Wave 1 (parallel): Package 1, Package 2
|
|
84
|
-
Wave 2 (after Wave 1): Package 3
|
|
85
|
-
|
|
86
|
-
## Checklist Decomposition Matrix
|
|
87
|
-
|
|
88
|
-
| Work item | Atomic deliverable | Surface type | Route or file path | Preconditions / fixture data | Action | Expected result | Verification artifact | Owner package | Status |
|
|
89
|
-
|-----------|-------------------|--------------|--------------------|------------------------------|--------|-----------------|-----------------------|---------------|--------|
|
|
90
|
-
| WP-1 | decomp-<surface>-<slug> | screen | /route | seeded fixture | open / click / submit | observable result | Playwright screenshot / route probe / test name | Package 1 | todo |
|
|
91
|
-
|
|
92
|
-
Rules:
|
|
93
|
-
- One observable behavior per row.
|
|
94
|
-
- Each row must be independently pass/fail.
|
|
95
|
-
- Each implementation work item must have matching `decomp-*` checklist rows and `test-*` verification rows.
|
|
96
|
-
- UI routes list state rows separately: empty, loading, loaded, error, create/edit/detail/mobile where applicable.
|
|
97
|
-
- API and DB rows include success, failure/guard, and side-effect proof where applicable.
|
|
98
|
-
|
|
99
|
-
## Checklist Quality Gate
|
|
100
|
-
|
|
101
|
-
verdict: PASS | FAIL
|
|
102
|
-
failures:
|
|
103
|
-
- <missing/coarse row if any>
|
|
104
|
-
deferred:
|
|
105
|
-
- <explicitly out-of-scope row if any>
|
|
106
|
-
|
|
107
|
-
## Definition of Done
|
|
108
|
-
|
|
109
|
-
- [ ] [specific acceptance criterion]
|
|
110
|
-
- [ ] [build verification: zero new TS errors]
|
|
111
|
-
- [ ] [functional test]
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
### Step 3 — Create Database Epic + Tasks
|
|
115
|
-
|
|
116
|
-
```sql
|
|
117
|
-
-- Check for existing epics first
|
|
118
|
-
SELECT get_open_epics();
|
|
119
|
-
|
|
120
|
-
-- Create epic
|
|
121
|
-
SELECT insert_work_item(
|
|
122
|
-
p_title := 'EPIC: <Topic>',
|
|
123
|
-
p_description := 'See .rdc/plans/<topic-slug>.md for full spec.',
|
|
124
|
-
p_item_type := 'epic',
|
|
125
|
-
p_priority := 'high',
|
|
126
|
-
p_labels := ARRAY['<system-label>'],
|
|
127
|
-
p_source := 'planning'
|
|
128
|
-
);
|
|
129
|
-
|
|
130
|
-
-- Create tasks (one per work package)
|
|
131
|
-
SELECT insert_work_item(
|
|
132
|
-
p_title := '<Package Name>',
|
|
133
|
-
p_description := 'What: <deliverable>
|
|
134
|
-
Where: <files>
|
|
135
|
-
Agent type: <type>
|
|
136
|
-
Guide: .rdc/guides/<type>.md (fallback: .rdc/guides/<type>.md)
|
|
137
|
-
Design doc: .rdc/plans/<topic-slug>.md (fallback: .rdc/plans/<topic-slug>.md)
|
|
138
|
-
Checklist: include required rows from the plan matrix:
|
|
139
|
-
- decomp-<surface>-<slug>: route/file=<path> | action=<action> | expect=<result> | evidence=<artifact>
|
|
140
|
-
- test-<type>-<slug>: <verification command or artifact>
|
|
141
|
-
Depends on: <other task if applicable>
|
|
142
|
-
Est: <hours>',
|
|
143
|
-
p_parent_id := '<epic-uuid>'::uuid,
|
|
144
|
-
p_item_type := 'task',
|
|
145
|
-
p_priority := 'high',
|
|
146
|
-
p_labels := ARRAY['<label>'],
|
|
147
|
-
p_estimated_hours := 2,
|
|
148
|
-
p_source := 'planning'
|
|
149
|
-
);
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
Do not create build-ready tasks unless the plan has `## Checklist Decomposition Matrix` and `## Checklist Quality Gate` with `verdict: PASS`. If the matrix fails, save the plan as `Status: Needs checklist repair` and return the failure list instead of creating dispatchable implementation tasks.
|
|
153
|
-
|
|
154
|
-
### Step 4 — Register Prototype (if one was built)
|
|
155
|
-
|
|
156
|
-
```sql
|
|
157
|
-
INSERT INTO prototype_registry (name, component, source_path, notes, created_by)
|
|
158
|
-
VALUES (
|
|
159
|
-
'<Component Name> v1',
|
|
160
|
-
'<ComponentName>',
|
|
161
|
-
'docs/source/<filename>.jsx',
|
|
162
|
-
'<Key design decisions, data shapes, what to preserve>',
|
|
163
|
-
'planning'
|
|
164
|
-
)
|
|
165
|
-
ON CONFLICT DO NOTHING;
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
### Step 5 — Record Design Decisions
|
|
169
|
-
|
|
170
|
-
```sql
|
|
171
|
-
INSERT INTO design_context (topic, context_type, summary, source, created_by)
|
|
172
|
-
VALUES
|
|
173
|
-
('<Topic>', 'decision', '<What was decided and why>', 'planning session', 'planning'),
|
|
174
|
-
('<Topic>', 'rejected', '<What was considered but not chosen, and why>', 'planning session', 'planning');
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
## System Labels Reference
|
|
178
|
-
|
|
179
|
-
| Label | When |
|
|
180
|
-
|-------|------|
|
|
181
|
-
| `project-a` | Your-app-specific label |
|
|
182
|
-
| `marketing` | Marketing / outreach work |
|
|
183
|
-
| `ui` | Component library work |
|
|
184
|
-
| `data` | Schema, migrations |
|
|
185
|
-
| `infrastructure` | CI/CD, deployment |
|
|
186
|
-
| `cs2` | Core paradigm packages |
|
|
187
|
-
| `website` | Public-facing sites |
|
|
188
|
-
| `media` | Media/asset work |
|
|
189
|
-
|
|
190
|
-
## Output
|
|
191
|
-
|
|
192
|
-
When complete, tell the project lead:
|
|
193
|
-
```
|
|
194
|
-
Handoff complete:
|
|
195
|
-
- Plan: .rdc/plans/<topic-slug>.md
|
|
196
|
-
- Epic: <epic-id> ("<title>")
|
|
197
|
-
- Tasks: <N> tasks created, wave structure: [Wave 1: X, Y | Wave 2: Z]
|
|
198
|
-
- Prototype: registered at docs/source/<file> (if applicable)
|
|
199
|
-
- CLI agents will pick this up on next run.
|
|
200
|
-
```
|
|
1
|
+
---
|
|
2
|
+
name: rdc:handoff
|
|
3
|
+
description: "Usage `rdc:handoff [--from-prototype <id>]` — Convert a finalized plan or prototype into CLI-ready artifacts: writes .rdc/plans/, creates Supabase work items with DoD checklists, registers prototype if present. Bridge between planning session and rdc:build."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
> **⚠️ OUTPUT CONTRACT (READ FIRST):** `guides/output-contract.md`
|
|
7
|
+
> Checklist-only output. No tool-call narration. No raw MCP/JSON/log dumps.
|
|
8
|
+
> One checklist upfront, updated in place, shown again at end with a 1-line verdict.
|
|
9
|
+
|
|
10
|
+
> If dispatching subagents or running as a subagent: read `{PROJECT_ROOT}/.rdc/guides/agent-bootstrap.md` first (fallback: `{PROJECT_ROOT}/.rdc/guides/agent-bootstrap.md`).
|
|
11
|
+
|
|
12
|
+
> **Sandbox contract:** This skill honors `RDC_TEST=1` per `guides/agent-bootstrap.md` § RDC_TEST Sandbox Contract. Destructive external calls short-circuit under the flag. Supabase work item writes, prototype registry inserts, design context inserts, and git push are skipped under `RDC_TEST=1`.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
# rdc:handoff — Planning → CLI Bridge
|
|
16
|
+
|
|
17
|
+
## When to Use
|
|
18
|
+
|
|
19
|
+
- A prototype has been built and needs production implementation
|
|
20
|
+
- A design decision has been made and needs to be executed
|
|
21
|
+
- Project lead says "hand this off", "give this to the CLI", "write it up"
|
|
22
|
+
- A plan exists in the conversation but hasn't been saved to disk or database yet
|
|
23
|
+
|
|
24
|
+
## What This Skill Produces
|
|
25
|
+
|
|
26
|
+
1. **Plan doc** → `.rdc/plans/<topic-slug>.md` (fallback: `.rdc/plans/<topic-slug>.md`)
|
|
27
|
+
2. **Database epic + child tasks** (with agent types and guide file refs)
|
|
28
|
+
3. **Prototype registry entry** (if a prototype was built)
|
|
29
|
+
4. **Design context entries** (for decisions made in the session)
|
|
30
|
+
|
|
31
|
+
## Procedure
|
|
32
|
+
|
|
33
|
+
### Step 1 — Extract the Plan
|
|
34
|
+
|
|
35
|
+
Identify from the conversation:
|
|
36
|
+
- What is the goal?
|
|
37
|
+
- What prototypes or designs were built? Where are they?
|
|
38
|
+
- What decisions were made? What was rejected and why?
|
|
39
|
+
- What is the sequencing (what depends on what)?
|
|
40
|
+
- Which agent types are needed?
|
|
41
|
+
|
|
42
|
+
### Step 2 — Write the Plan Doc
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
.rdc/plans/<topic-slug>.md
|
|
46
|
+
```
|
|
47
|
+
(fallback: `.rdc/plans/<topic-slug>.md` if `.rdc/` does not exist)
|
|
48
|
+
|
|
49
|
+
Template:
|
|
50
|
+
```markdown
|
|
51
|
+
# Plan: <Topic>
|
|
52
|
+
> Route: <app route or package>
|
|
53
|
+
> Status: Ready for CLI build
|
|
54
|
+
> Created: <date>
|
|
55
|
+
> Source: planning session
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## What Already Exists (Do NOT Re-implement)
|
|
60
|
+
|
|
61
|
+
[List any existing components, database tables, or files
|
|
62
|
+
that agents must use rather than recreate]
|
|
63
|
+
|
|
64
|
+
## What Was Built in Planning (Prototype)
|
|
65
|
+
|
|
66
|
+
[Describe the prototype — file location, key design decisions,
|
|
67
|
+
what to preserve vs what to adapt]
|
|
68
|
+
|
|
69
|
+
## Work Packages
|
|
70
|
+
|
|
71
|
+
### Package 1 — <Name>
|
|
72
|
+
- Agent type: frontend | backend | data | design | infra | content | cs2 | viz
|
|
73
|
+
- Guide: .rdc/guides/<type>.md (fallback: .rdc/guides/<type>.md)
|
|
74
|
+
- Files to create/modify: [list]
|
|
75
|
+
- Deliverables: [specific outputs]
|
|
76
|
+
- Depends on: [other packages if sequential]
|
|
77
|
+
|
|
78
|
+
### Package 2 — <Name>
|
|
79
|
+
[...]
|
|
80
|
+
|
|
81
|
+
## Sequencing
|
|
82
|
+
|
|
83
|
+
Wave 1 (parallel): Package 1, Package 2
|
|
84
|
+
Wave 2 (after Wave 1): Package 3
|
|
85
|
+
|
|
86
|
+
## Checklist Decomposition Matrix
|
|
87
|
+
|
|
88
|
+
| Work item | Atomic deliverable | Surface type | Route or file path | Preconditions / fixture data | Action | Expected result | Verification artifact | Owner package | Status |
|
|
89
|
+
|-----------|-------------------|--------------|--------------------|------------------------------|--------|-----------------|-----------------------|---------------|--------|
|
|
90
|
+
| WP-1 | decomp-<surface>-<slug> | screen | /route | seeded fixture | open / click / submit | observable result | Playwright screenshot / route probe / test name | Package 1 | todo |
|
|
91
|
+
|
|
92
|
+
Rules:
|
|
93
|
+
- One observable behavior per row.
|
|
94
|
+
- Each row must be independently pass/fail.
|
|
95
|
+
- Each implementation work item must have matching `decomp-*` checklist rows and `test-*` verification rows.
|
|
96
|
+
- UI routes list state rows separately: empty, loading, loaded, error, create/edit/detail/mobile where applicable.
|
|
97
|
+
- API and DB rows include success, failure/guard, and side-effect proof where applicable.
|
|
98
|
+
|
|
99
|
+
## Checklist Quality Gate
|
|
100
|
+
|
|
101
|
+
verdict: PASS | FAIL
|
|
102
|
+
failures:
|
|
103
|
+
- <missing/coarse row if any>
|
|
104
|
+
deferred:
|
|
105
|
+
- <explicitly out-of-scope row if any>
|
|
106
|
+
|
|
107
|
+
## Definition of Done
|
|
108
|
+
|
|
109
|
+
- [ ] [specific acceptance criterion]
|
|
110
|
+
- [ ] [build verification: zero new TS errors]
|
|
111
|
+
- [ ] [functional test]
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Step 3 — Create Database Epic + Tasks
|
|
115
|
+
|
|
116
|
+
```sql
|
|
117
|
+
-- Check for existing epics first
|
|
118
|
+
SELECT get_open_epics();
|
|
119
|
+
|
|
120
|
+
-- Create epic
|
|
121
|
+
SELECT insert_work_item(
|
|
122
|
+
p_title := 'EPIC: <Topic>',
|
|
123
|
+
p_description := 'See .rdc/plans/<topic-slug>.md for full spec.',
|
|
124
|
+
p_item_type := 'epic',
|
|
125
|
+
p_priority := 'high',
|
|
126
|
+
p_labels := ARRAY['<system-label>'],
|
|
127
|
+
p_source := 'planning'
|
|
128
|
+
);
|
|
129
|
+
|
|
130
|
+
-- Create tasks (one per work package)
|
|
131
|
+
SELECT insert_work_item(
|
|
132
|
+
p_title := '<Package Name>',
|
|
133
|
+
p_description := 'What: <deliverable>
|
|
134
|
+
Where: <files>
|
|
135
|
+
Agent type: <type>
|
|
136
|
+
Guide: .rdc/guides/<type>.md (fallback: .rdc/guides/<type>.md)
|
|
137
|
+
Design doc: .rdc/plans/<topic-slug>.md (fallback: .rdc/plans/<topic-slug>.md)
|
|
138
|
+
Checklist: include required rows from the plan matrix:
|
|
139
|
+
- decomp-<surface>-<slug>: route/file=<path> | action=<action> | expect=<result> | evidence=<artifact>
|
|
140
|
+
- test-<type>-<slug>: <verification command or artifact>
|
|
141
|
+
Depends on: <other task if applicable>
|
|
142
|
+
Est: <hours>',
|
|
143
|
+
p_parent_id := '<epic-uuid>'::uuid,
|
|
144
|
+
p_item_type := 'task',
|
|
145
|
+
p_priority := 'high',
|
|
146
|
+
p_labels := ARRAY['<label>'],
|
|
147
|
+
p_estimated_hours := 2,
|
|
148
|
+
p_source := 'planning'
|
|
149
|
+
);
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
Do not create build-ready tasks unless the plan has `## Checklist Decomposition Matrix` and `## Checklist Quality Gate` with `verdict: PASS`. If the matrix fails, save the plan as `Status: Needs checklist repair` and return the failure list instead of creating dispatchable implementation tasks.
|
|
153
|
+
|
|
154
|
+
### Step 4 — Register Prototype (if one was built)
|
|
155
|
+
|
|
156
|
+
```sql
|
|
157
|
+
INSERT INTO prototype_registry (name, component, source_path, notes, created_by)
|
|
158
|
+
VALUES (
|
|
159
|
+
'<Component Name> v1',
|
|
160
|
+
'<ComponentName>',
|
|
161
|
+
'docs/source/<filename>.jsx',
|
|
162
|
+
'<Key design decisions, data shapes, what to preserve>',
|
|
163
|
+
'planning'
|
|
164
|
+
)
|
|
165
|
+
ON CONFLICT DO NOTHING;
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Step 5 — Record Design Decisions
|
|
169
|
+
|
|
170
|
+
```sql
|
|
171
|
+
INSERT INTO design_context (topic, context_type, summary, source, created_by)
|
|
172
|
+
VALUES
|
|
173
|
+
('<Topic>', 'decision', '<What was decided and why>', 'planning session', 'planning'),
|
|
174
|
+
('<Topic>', 'rejected', '<What was considered but not chosen, and why>', 'planning session', 'planning');
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
## System Labels Reference
|
|
178
|
+
|
|
179
|
+
| Label | When |
|
|
180
|
+
|-------|------|
|
|
181
|
+
| `project-a` | Your-app-specific label |
|
|
182
|
+
| `marketing` | Marketing / outreach work |
|
|
183
|
+
| `ui` | Component library work |
|
|
184
|
+
| `data` | Schema, migrations |
|
|
185
|
+
| `infrastructure` | CI/CD, deployment |
|
|
186
|
+
| `cs2` | Core paradigm packages |
|
|
187
|
+
| `website` | Public-facing sites |
|
|
188
|
+
| `media` | Media/asset work |
|
|
189
|
+
|
|
190
|
+
## Output
|
|
191
|
+
|
|
192
|
+
When complete, tell the project lead:
|
|
193
|
+
```
|
|
194
|
+
Handoff complete:
|
|
195
|
+
- Plan: .rdc/plans/<topic-slug>.md
|
|
196
|
+
- Epic: <epic-id> ("<title>")
|
|
197
|
+
- Tasks: <N> tasks created, wave structure: [Wave 1: X, Y | Wave 2: Z]
|
|
198
|
+
- Prototype: registered at docs/source/<file> (if applicable)
|
|
199
|
+
- CLI agents will pick this up on next run.
|
|
200
|
+
```
|
package/skills/help/SKILL.md
CHANGED
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: rdc:help
|
|
3
|
-
description: "Usage `rdc:help` — Show all rdc:* skills with full argument syntax. Call when unsure which skill to use or what args it takes."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
> **⚠️ OUTPUT CONTRACT (READ FIRST):** `guides/output-contract.md`
|
|
7
|
-
> Checklist-only output. No tool-call narration. No raw MCP/JSON/log dumps.
|
|
8
|
-
> One checklist upfront, updated in place, shown again at end with a 1-line verdict.
|
|
9
|
-
|
|
10
|
-
# rdc:help — Command Reference
|
|
11
|
-
|
|
12
|
-
> **⚠️ HARD OUTPUT RULE:** Your ENTIRE response MUST be the block below, copied verbatim.
|
|
13
|
-
> No preamble. No follow-up question. No summary. No "what would you like to do?".
|
|
14
|
-
> Do NOT add any text before or after the block. Emit it exactly as written. This is non-negotiable.
|
|
15
|
-
|
|
16
|
-
## When to Use
|
|
17
|
-
|
|
18
|
-
- The project lead asks what RDC commands exist
|
|
19
|
-
- The active task is unclear and needs command selection
|
|
20
|
-
- A user needs syntax for planning, build, review, deployment, design, or release workflows
|
|
21
|
-
|
|
22
|
-
## Arguments
|
|
23
|
-
|
|
24
|
-
- `rdc:help` — print the full command reference menu
|
|
25
|
-
- `rdc` — alias; same as `rdc:help`
|
|
26
|
-
|
|
27
|
-
## Workflow — the RDC loop
|
|
28
|
-
|
|
29
|
-
| Command | Usage |
|
|
30
|
-
|---|---|
|
|
31
|
-
| `rdc:preplan` | `rdc:preplan <topic> [--unattended]` — research, no code |
|
|
32
|
-
| `rdc:plan` | `rdc:plan <topic> [--unattended]` — architecture + epic/tasks |
|
|
33
|
-
| `rdc:build` | `rdc:build <epic-id\|topic> [--unattended]` — dispatch agents, commit, close items |
|
|
34
|
-
| `rdc:review` | `rdc:review [--unattended]` — typecheck, tests, fix, commit |
|
|
35
|
-
| `rdc:report` | `rdc:report [--unattended]` — write `.rdc/reports/YYYY-MM-DD.md` |
|
|
36
|
-
| `rdc:overnight` | `rdc:overnight [epic-id\|label=X]` — chain preplan→plan→build→review→report |
|
|
37
|
-
| `rdc:status` | `rdc:status` — read-only dashboard |
|
|
38
|
-
| `rdc:fixit` | `rdc:fixit <description>` — bypass the loop, <5 files / <30 min |
|
|
39
|
-
|
|
40
|
-
## Ops
|
|
41
|
-
|
|
42
|
-
| Command | Usage |
|
|
43
|
-
|---|---|
|
|
44
|
-
| `rdc:deploy` | `rdc:deploy <slug> [build-id]` · `rdc:deploy new <slug>` · `rdc:deploy diagnose <slug>` · `rdc:deploy audit [--fix]` |
|
|
45
|
-
| `rdc:release` | `rdc:release <repo> [version]` · `rdc:release <repo> --patch\|--minor\|--major` · `rdc:release <repo> --dry-run` |
|
|
46
|
-
|
|
47
|
-
## Planning ↔ CLI bridge
|
|
48
|
-
|
|
49
|
-
| Command | Usage |
|
|
50
|
-
|---|---|
|
|
51
|
-
| `rdc:handoff` | `rdc:handoff <topic>` — finalize plan → work items for CLI |
|
|
52
|
-
| `rdc:prototype` | `rdc:prototype <description>` — JSX mock for review |
|
|
53
|
-
| `rdc:workitems` | `rdc:workitems <add\|update\|done\|list\|epics> [args]` |
|
|
54
|
-
| `rdc:collab` | `rdc:collab --session <id>` — claude.ai bidirectional relay |
|
|
55
|
-
| `rdc:co-develop` | `rdc:co-develop <start\|resume\|send\|poll\|status\|stop>` — Claude/Codex peer-aware co-development |
|
|
56
|
-
| `rdc:design` | `rdc:design <command\|brief>` — RDC/Studio design, tokens, palettes, themes, Rampa CLI |
|
|
57
|
-
|
|
58
|
-
## Agent guides (dispatched by rdc:build, not user-invocable)
|
|
59
|
-
|
|
60
|
-
These live under `guides/agents/` — they are role playbooks the build skill spawns as sub-agents. You do NOT invoke them directly.
|
|
61
|
-
|
|
62
|
-
- `guides/agents/frontend.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
63
|
-
- `guides/agents/backend.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
64
|
-
- `guides/agents/data.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
65
|
-
- `guides/agents/design.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
66
|
-
- `guides/agents/infrastructure.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
67
|
-
- `guides/agents/content.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
68
|
-
- `guides/agents/cs2.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
69
|
-
- `guides/agents/viz.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
70
|
-
- `guides/agents/setup.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
71
|
-
- `guides/agents/verify.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
72
|
-
|
|
73
|
-
Each agent reads `.rdc/guides/agent-bootstrap.md` first, then its role guide.
|
|
74
|
-
|
|
75
|
-
## Decision tree
|
|
76
|
-
|
|
77
|
-
```
|
|
78
|
-
Project lead says → invoke
|
|
79
|
-
─────────────────────────────────────────────────
|
|
80
|
-
"research this" / "how do others do" → rdc:preplan <topic>
|
|
81
|
-
"plan this out" / "architect" → rdc:plan <topic>
|
|
82
|
-
"build it" / "go" / "execute" → rdc:build <topic>
|
|
83
|
-
"run overnight" / "while I sleep" → rdc:overnight
|
|
84
|
-
"quick fix" / "hotfix" / "typo" → rdc:fixit <desc>
|
|
85
|
-
"review" / "is it clean" → rdc:review
|
|
86
|
-
"report" / "summarize" → rdc:report
|
|
87
|
-
"status" / "where are we" → rdc:status
|
|
88
|
-
"deploy" / "ship" → rdc:deploy <slug>
|
|
89
|
-
"release" / "publish" → rdc:release <repo>
|
|
90
|
-
"hand this off" / "give to agents" → rdc:handoff
|
|
91
|
-
"show me what it looks like" → rdc:prototype
|
|
92
|
-
"add to backlog" / "create a ticket" → rdc:workitems
|
|
93
|
-
"work together" / "partner review" → rdc:co-develop start <name>
|
|
94
|
-
"design/tokens/palette/theme" → rdc:design <command>
|
|
95
|
-
"what commands" / "what skills" → rdc:help
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
## Hard rules (apply everywhere)
|
|
99
|
-
|
|
100
|
-
- NEVER `pnpm build` — crashes the machine. Typecheck with `npx tsc --noEmit`.
|
|
101
|
-
- NEVER commit to `main` without explicit approval. Default branch is `develop`.
|
|
102
|
-
- NEVER overlap agents on the same files.
|
|
103
|
-
- ALWAYS update work items in real time via RPCs (see `.claude/rules/work-items-rpc.md`).
|
|
104
|
-
- ALWAYS credentials via clauth daemon: `curl -s http://127.0.0.1:52437/v/<service>` (returns plain text).
|
|
1
|
+
---
|
|
2
|
+
name: rdc:help
|
|
3
|
+
description: "Usage `rdc:help` — Show all rdc:* skills with full argument syntax. Call when unsure which skill to use or what args it takes."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
> **⚠️ OUTPUT CONTRACT (READ FIRST):** `guides/output-contract.md`
|
|
7
|
+
> Checklist-only output. No tool-call narration. No raw MCP/JSON/log dumps.
|
|
8
|
+
> One checklist upfront, updated in place, shown again at end with a 1-line verdict.
|
|
9
|
+
|
|
10
|
+
# rdc:help — Command Reference
|
|
11
|
+
|
|
12
|
+
> **⚠️ HARD OUTPUT RULE:** Your ENTIRE response MUST be the block below, copied verbatim.
|
|
13
|
+
> No preamble. No follow-up question. No summary. No "what would you like to do?".
|
|
14
|
+
> Do NOT add any text before or after the block. Emit it exactly as written. This is non-negotiable.
|
|
15
|
+
|
|
16
|
+
## When to Use
|
|
17
|
+
|
|
18
|
+
- The project lead asks what RDC commands exist
|
|
19
|
+
- The active task is unclear and needs command selection
|
|
20
|
+
- A user needs syntax for planning, build, review, deployment, design, or release workflows
|
|
21
|
+
|
|
22
|
+
## Arguments
|
|
23
|
+
|
|
24
|
+
- `rdc:help` — print the full command reference menu
|
|
25
|
+
- `rdc` — alias; same as `rdc:help`
|
|
26
|
+
|
|
27
|
+
## Workflow — the RDC loop
|
|
28
|
+
|
|
29
|
+
| Command | Usage |
|
|
30
|
+
|---|---|
|
|
31
|
+
| `rdc:preplan` | `rdc:preplan <topic> [--unattended]` — research, no code |
|
|
32
|
+
| `rdc:plan` | `rdc:plan <topic> [--unattended]` — architecture + epic/tasks |
|
|
33
|
+
| `rdc:build` | `rdc:build <epic-id\|topic> [--unattended]` — dispatch agents, commit, close items |
|
|
34
|
+
| `rdc:review` | `rdc:review [--unattended]` — typecheck, tests, fix, commit |
|
|
35
|
+
| `rdc:report` | `rdc:report [--unattended]` — write `.rdc/reports/YYYY-MM-DD.md` |
|
|
36
|
+
| `rdc:overnight` | `rdc:overnight [epic-id\|label=X]` — chain preplan→plan→build→review→report |
|
|
37
|
+
| `rdc:status` | `rdc:status` — read-only dashboard |
|
|
38
|
+
| `rdc:fixit` | `rdc:fixit <description>` — bypass the loop, <5 files / <30 min |
|
|
39
|
+
|
|
40
|
+
## Ops
|
|
41
|
+
|
|
42
|
+
| Command | Usage |
|
|
43
|
+
|---|---|
|
|
44
|
+
| `rdc:deploy` | `rdc:deploy <slug> [build-id]` · `rdc:deploy new <slug>` · `rdc:deploy diagnose <slug>` · `rdc:deploy audit [--fix]` |
|
|
45
|
+
| `rdc:release` | `rdc:release <repo> [version]` · `rdc:release <repo> --patch\|--minor\|--major` · `rdc:release <repo> --dry-run` |
|
|
46
|
+
|
|
47
|
+
## Planning ↔ CLI bridge
|
|
48
|
+
|
|
49
|
+
| Command | Usage |
|
|
50
|
+
|---|---|
|
|
51
|
+
| `rdc:handoff` | `rdc:handoff <topic>` — finalize plan → work items for CLI |
|
|
52
|
+
| `rdc:prototype` | `rdc:prototype <description>` — JSX mock for review |
|
|
53
|
+
| `rdc:workitems` | `rdc:workitems <add\|update\|done\|list\|epics> [args]` |
|
|
54
|
+
| `rdc:collab` | `rdc:collab --session <id>` — claude.ai bidirectional relay |
|
|
55
|
+
| `rdc:co-develop` | `rdc:co-develop <start\|resume\|send\|poll\|status\|stop>` — Claude/Codex peer-aware co-development |
|
|
56
|
+
| `rdc:design` | `rdc:design <command\|brief>` — RDC/Studio design, tokens, palettes, themes, Rampa CLI |
|
|
57
|
+
|
|
58
|
+
## Agent guides (dispatched by rdc:build, not user-invocable)
|
|
59
|
+
|
|
60
|
+
These live under `guides/agents/` — they are role playbooks the build skill spawns as sub-agents. You do NOT invoke them directly.
|
|
61
|
+
|
|
62
|
+
- `guides/agents/frontend.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
63
|
+
- `guides/agents/backend.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
64
|
+
- `guides/agents/data.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
65
|
+
- `guides/agents/design.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
66
|
+
- `guides/agents/infrastructure.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
67
|
+
- `guides/agents/content.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
68
|
+
- `guides/agents/cs2.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
69
|
+
- `guides/agents/viz.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
70
|
+
- `guides/agents/setup.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
71
|
+
- `guides/agents/verify.md` — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
72
|
+
|
|
73
|
+
Each agent reads `.rdc/guides/agent-bootstrap.md` first, then its role guide.
|
|
74
|
+
|
|
75
|
+
## Decision tree
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
Project lead says → invoke
|
|
79
|
+
─────────────────────────────────────────────────
|
|
80
|
+
"research this" / "how do others do" → rdc:preplan <topic>
|
|
81
|
+
"plan this out" / "architect" → rdc:plan <topic>
|
|
82
|
+
"build it" / "go" / "execute" → rdc:build <topic>
|
|
83
|
+
"run overnight" / "while I sleep" → rdc:overnight
|
|
84
|
+
"quick fix" / "hotfix" / "typo" → rdc:fixit <desc>
|
|
85
|
+
"review" / "is it clean" → rdc:review
|
|
86
|
+
"report" / "summarize" → rdc:report
|
|
87
|
+
"status" / "where are we" → rdc:status
|
|
88
|
+
"deploy" / "ship" → rdc:deploy <slug>
|
|
89
|
+
"release" / "publish" → rdc:release <repo>
|
|
90
|
+
"hand this off" / "give to agents" → rdc:handoff
|
|
91
|
+
"show me what it looks like" → rdc:prototype
|
|
92
|
+
"add to backlog" / "create a ticket" → rdc:workitems
|
|
93
|
+
"work together" / "partner review" → rdc:co-develop start <name>
|
|
94
|
+
"design/tokens/palette/theme" → rdc:design <command>
|
|
95
|
+
"what commands" / "what skills" → rdc:help
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Hard rules (apply everywhere)
|
|
99
|
+
|
|
100
|
+
- NEVER `pnpm build` — crashes the machine. Typecheck with `npx tsc --noEmit`.
|
|
101
|
+
- NEVER commit to `main` without explicit approval. Default branch is `develop`.
|
|
102
|
+
- NEVER overlap agents on the same files.
|
|
103
|
+
- ALWAYS update work items in real time via RPCs (see `.claude/rules/work-items-rpc.md`).
|
|
104
|
+
- ALWAYS credentials via clauth daemon: `curl -s http://127.0.0.1:52437/v/<service>` (returns plain text).
|