@lifeaitools/rdc-skills 0.9.31 → 0.9.33

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.
Files changed (59) hide show
  1. package/.claude-plugin/plugin.json +24 -2
  2. package/.github/workflows/self-test.yml +34 -34
  3. package/MANIFEST.md +4 -0
  4. package/commands/build.md +183 -183
  5. package/commands/collab.md +180 -180
  6. package/commands/deploy.md +152 -138
  7. package/commands/fixit.md +116 -104
  8. package/commands/handoff.md +173 -173
  9. package/commands/overnight.md +220 -220
  10. package/commands/plan.md +158 -158
  11. package/commands/preplan.md +131 -131
  12. package/commands/prototype.md +145 -145
  13. package/commands/report.md +99 -99
  14. package/commands/review.md +120 -120
  15. package/commands/status.md +86 -86
  16. package/commands/workitems.md +132 -127
  17. package/guides/agent-bootstrap.md +265 -206
  18. package/guides/agents/backend.md +104 -104
  19. package/guides/agents/content.md +94 -94
  20. package/guides/agents/cs2.md +56 -56
  21. package/guides/agents/data.md +87 -87
  22. package/guides/agents/design.md +77 -77
  23. package/guides/agents/frontend.md +92 -92
  24. package/guides/agents/infrastructure.md +81 -81
  25. package/guides/agents/setup.md +279 -279
  26. package/guides/agents/verify.md +119 -119
  27. package/guides/agents/viz.md +106 -106
  28. package/hooks/foreground-process-gate.js +109 -0
  29. package/hooks/hook-logger.js +25 -0
  30. package/hooks/run-hidden-hook.ps1 +47 -0
  31. package/hooks/work-item-exit-gate.js +297 -0
  32. package/package.json +3 -3
  33. package/rules/work-items-rpc.md +56 -7
  34. package/scripts/fixtures/guides/bad-guide.md +15 -0
  35. package/scripts/fixtures/guides-clean/good-guide.md +16 -0
  36. package/scripts/install-rdc-skills.js +53 -9
  37. package/scripts/install.ps1 +17 -11
  38. package/scripts/self-test.mjs +1323 -1113
  39. package/scripts/test-guide-validator.mjs +194 -0
  40. package/skills/build/SKILL.md +355 -355
  41. package/skills/co-develop/SKILL.md +182 -0
  42. package/skills/collab/SKILL.md +217 -217
  43. package/skills/deploy/SKILL.md +198 -152
  44. package/skills/design/SKILL.md +211 -211
  45. package/skills/fixit/SKILL.md +132 -122
  46. package/skills/handoff/SKILL.md +200 -200
  47. package/skills/help/SKILL.md +104 -102
  48. package/skills/overnight/SKILL.md +224 -224
  49. package/skills/plan/SKILL.md +252 -251
  50. package/skills/preplan/SKILL.md +86 -86
  51. package/skills/prototype/SKILL.md +150 -150
  52. package/skills/release/SKILL.md +342 -342
  53. package/skills/report/SKILL.md +100 -100
  54. package/skills/review/SKILL.md +121 -120
  55. package/skills/self-test/SKILL.md +126 -126
  56. package/skills/status/SKILL.md +99 -97
  57. package/skills/terminal-config/SKILL.md +18 -18
  58. package/skills/watch/SKILL.md +91 -91
  59. package/skills/workitems/SKILL.md +151 -146
@@ -1,102 +1,104 @@
1
- ---
2
- name: rdc:help
3
- description: "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:design` | `rdc:design <command\|brief>` — RDC/Studio design, tokens, palettes, themes, Rampa CLI |
56
-
57
- ## Agent guides (dispatched by rdc:build, not user-invocable)
58
-
59
- These live under `guides/agents/` — they are role playbooks the build skill spawns as sub-agents. You do NOT invoke them directly.
60
-
61
- - `guides/agents/frontend.md` — [agent-only — dispatched by rdc:build, not user-invocable]
62
- - `guides/agents/backend.md` — [agent-only — dispatched by rdc:build, not user-invocable]
63
- - `guides/agents/data.md` — [agent-only — dispatched by rdc:build, not user-invocable]
64
- - `guides/agents/design.md` — [agent-only — dispatched by rdc:build, not user-invocable]
65
- - `guides/agents/infrastructure.md` — [agent-only — dispatched by rdc:build, not user-invocable]
66
- - `guides/agents/content.md` — [agent-only — dispatched by rdc:build, not user-invocable]
67
- - `guides/agents/cs2.md` — [agent-only — dispatched by rdc:build, not user-invocable]
68
- - `guides/agents/viz.md` — [agent-only — dispatched by rdc:build, not user-invocable]
69
- - `guides/agents/setup.md` — [agent-only — dispatched by rdc:build, not user-invocable]
70
- - `guides/agents/verify.md` — [agent-only — dispatched by rdc:build, not user-invocable]
71
-
72
- Each agent reads `.rdc/guides/agent-bootstrap.md` first, then its role guide.
73
-
74
- ## Decision tree
75
-
76
- ```
77
- Project lead says → invoke
78
- ─────────────────────────────────────────────────
79
- "research this" / "how do others do" → rdc:preplan <topic>
80
- "plan this out" / "architect" → rdc:plan <topic>
81
- "build it" / "go" / "execute" → rdc:build <topic>
82
- "run overnight" / "while I sleep" → rdc:overnight
83
- "quick fix" / "hotfix" / "typo" → rdc:fixit <desc>
84
- "review" / "is it clean" → rdc:review
85
- "report" / "summarize" → rdc:report
86
- "status" / "where are we" → rdc:status
87
- "deploy" / "ship" → rdc:deploy <slug>
88
- "release" / "publish" → rdc:release <repo>
89
- "hand this off" / "give to agents" → rdc:handoff
90
- "show me what it looks like" → rdc:prototype
91
- "add to backlog" / "create a ticket" → rdc:workitems
92
- "design/tokens/palette/theme" → rdc:design <command>
93
- "what commands" / "what skills" → rdc:help
94
- ```
95
-
96
- ## Hard rules (apply everywhere)
97
-
98
- - NEVER `pnpm build` — crashes the machine. Typecheck with `npx tsc --noEmit`.
99
- - NEVER commit to `main` without explicit approval. Default branch is `develop`.
100
- - NEVER overlap agents on the same files.
101
- - ALWAYS update work items in real time via RPCs (see `.claude/rules/work-items-rpc.md`).
102
- - ALWAYS credentials via clauth daemon: `curl -s http://127.0.0.1:52437/get/<service>`.
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).