@lifeaitools/rdc-skills 0.25.2 → 0.25.4
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 +1560 -1560
- package/.github/workflows/self-test.yml +34 -34
- package/CHANGELOG.md +322 -322
- package/MANIFEST.md +224 -224
- package/README.md +379 -379
- package/RELEASE.md +49 -0
- package/commands/build.md +181 -181
- package/commands/collab.md +180 -180
- package/commands/deploy.md +148 -148
- package/commands/fixit.md +150 -150
- 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/git-sha.json +1 -1
- package/guides/agent-bootstrap.md +195 -195
- 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 +272 -272
- package/guides/agents/verify.md +119 -119
- package/guides/agents/viz.md +106 -106
- package/package.json +57 -57
- package/scripts/install-rdc-skills.js +1401 -1401
- package/scripts/self-test.mjs +1460 -1460
- package/scripts/validate-publish-manifests.js +502 -502
- package/skills/build/SKILL.md +559 -559
- package/skills/channel-formatter/SKILL.md +538 -538
- package/skills/collab/SKILL.md +239 -239
- package/skills/convert/SKILL.md +167 -167
- package/skills/deploy/SKILL.md +541 -541
- package/skills/design/SKILL.md +205 -205
- package/skills/env/SKILL.md +139 -141
- package/skills/fixit/SKILL.md +203 -203
- package/skills/handoff/SKILL.md +236 -236
- package/skills/housekeeping/SKILL.md +1 -1
- package/skills/onramp/SKILL.md +1459 -1459
- package/skills/overnight/SKILL.md +251 -251
- package/skills/plan/SKILL.md +345 -345
- package/skills/preplan/SKILL.md +90 -90
- package/skills/prototype/SKILL.md +150 -150
- package/skills/regen-media/SKILL.md +94 -94
- package/skills/release/SKILL.md +140 -140
- package/skills/report/SKILL.md +100 -100
- package/skills/review/SKILL.md +151 -151
- package/skills/self-test/SKILL.md +108 -108
- package/skills/status/SKILL.md +99 -99
- package/skills/tests/MATRIX.md +55 -55
- package/skills/tests/onramp.test.json +87 -87
- package/skills/tests/rdc-regen-media.test.json +29 -29
- package/skills/watch/SKILL.md +84 -84
- package/skills/workitems/SKILL.md +151 -151
package/MANIFEST.md
CHANGED
|
@@ -1,224 +1,224 @@
|
|
|
1
|
-
# RDC Skills Library — Manifest
|
|
2
|
-
|
|
3
|
-
**Created:** 2026-04-13
|
|
4
|
-
**Last updated:** 2026-05-01
|
|
5
|
-
**Source:** Regen Root project `.claude/skills/user/`
|
|
6
|
-
**Files:** 31 skill files, 10 agent guides, command mirrors, and support scripts
|
|
7
|
-
**Size:** ~480K
|
|
8
|
-
|
|
9
|
-
## Generic Conversion Summary
|
|
10
|
-
|
|
11
|
-
All skills have been converted from project-specific to generic/portable:
|
|
12
|
-
|
|
13
|
-
### Path Replacements
|
|
14
|
-
- `C:/Dev/regen-root/` → `{PROJECT_ROOT}/`
|
|
15
|
-
- Hardcoded app names (rdc-marketing-engine, brand-studio, prt, etc.) → generic examples
|
|
16
|
-
- Specific Supabase project IDs → generic table references
|
|
17
|
-
- Developer-specific paths → variables
|
|
18
|
-
|
|
19
|
-
### TDD Enhancements
|
|
20
|
-
- Added mandatory post-wave test gate to rdc:build
|
|
21
|
-
- Updated rdc:review with test coverage delta reporting
|
|
22
|
-
- Added test-first requirement to all agent skills
|
|
23
|
-
- TDD enforcement: red → implement → green cycle
|
|
24
|
-
|
|
25
|
-
### Preserved Elements
|
|
26
|
-
- All logic and procedures (100%)
|
|
27
|
-
- All safety rules
|
|
28
|
-
- All RPC patterns
|
|
29
|
-
- Branch strategy (development → production)
|
|
30
|
-
- Work item lifecycle
|
|
31
|
-
- Escalation protocols
|
|
32
|
-
- Unattended mode patterns
|
|
33
|
-
- Status block format
|
|
34
|
-
|
|
35
|
-
## Files Created
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
/c/Dev/rdc-skills/
|
|
39
|
-
├── README.md
|
|
40
|
-
├── MANIFEST.md (this file)
|
|
41
|
-
└── skills/
|
|
42
|
-
├── build/SKILL.md [+TDD enforcement, +verify gate]
|
|
43
|
-
├── plan/SKILL.md
|
|
44
|
-
├── preplan/SKILL.md
|
|
45
|
-
├── review/SKILL.md [+test coverage delta, +verify gate]
|
|
46
|
-
├── overnight/SKILL.md
|
|
47
|
-
├── fixit/SKILL.md
|
|
48
|
-
├── status/SKILL.md
|
|
49
|
-
├── report/SKILL.md
|
|
50
|
-
├── co-develop/SKILL.md [peer-aware Claude/Codex co-development]
|
|
51
|
-
├── collab/SKILL.md [claude.ai ↔ Claude Code relay]
|
|
52
|
-
├── handoff/SKILL.md
|
|
53
|
-
├── prototype/SKILL.md
|
|
54
|
-
├── workitems/SKILL.md
|
|
55
|
-
├── design/SKILL.md [RDC/Studio design, Palette Library, Rampa CLI]
|
|
56
|
-
├── help/SKILL.md
|
|
57
|
-
├── regen-media/SKILL.md [primary image generation + Regen Media upload]
|
|
58
|
-
├── deploy/SKILL.md [Coolify deployment ops]
|
|
59
|
-
├── release/SKILL.md [atomic version release]
|
|
60
|
-
├── self-test/SKILL.md [static lint + tier2 smoke tests]
|
|
61
|
-
└── watch/SKILL.md [session log + browser viewer]
|
|
62
|
-
└── guides/agents/ (agent-only playbooks — dispatched by rdc:build, not user-invocable)
|
|
63
|
-
├── frontend.md
|
|
64
|
-
├── backend.md
|
|
65
|
-
├── cs2.md
|
|
66
|
-
├── data.md
|
|
67
|
-
├── design.md
|
|
68
|
-
├── infrastructure.md
|
|
69
|
-
├── content.md
|
|
70
|
-
├── viz.md
|
|
71
|
-
├── setup.md
|
|
72
|
-
└── verify.md
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
**Note (v0.7.9):** Skills migrated from flat `rdc-<name>.md` files to `<name>/SKILL.md` subdirectories. Plugin namespace is `rdc`, so composed skill names are `rdc:<name>` — matching the frontmatter. This eliminates the duplicate `rdc:rdc-*` registration that occurred when directories were named `rdc-<name>/`.
|
|
76
|
-
|
|
77
|
-
## Skill Categories
|
|
78
|
-
|
|
79
|
-
### Orchestration (8)
|
|
80
|
-
- rdc:build — dispatch typed agents in waves
|
|
81
|
-
- rdc:plan — architecture + epic/tasks
|
|
82
|
-
- rdc:preplan — research before planning
|
|
83
|
-
- rdc:review — quality gate
|
|
84
|
-
- rdc:overnight — unattended build supervisor
|
|
85
|
-
- rdc:fixit — quick-fix bypass
|
|
86
|
-
- rdc:status — project dashboard
|
|
87
|
-
- rdc:report — nightly report
|
|
88
|
-
|
|
89
|
-
### DevOps (3)
|
|
90
|
-
- rdc:deploy — Coolify deployment ops (deploy, new, diagnose, audit)
|
|
91
|
-
- rdc:release — atomic version release with git tag + changelog
|
|
92
|
-
- rdc:watch — session log + browser viewer for Claude activity
|
|
93
|
-
|
|
94
|
-
### Quality (1)
|
|
95
|
-
- rdc:self-test — static lint (tier1) + smoke tests (tier2)
|
|
96
|
-
|
|
97
|
-
### Collaboration (1)
|
|
98
|
-
- rdc:co-develop — peer-aware Claude/Codex co-development over clauth
|
|
99
|
-
|
|
100
|
-
### Agent Guides (10, in `guides/agents/`) — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
101
|
-
- frontend — React, UI, Tailwind
|
|
102
|
-
- backend — API, database, auth
|
|
103
|
-
- data — migrations, schema
|
|
104
|
-
- design — brand, tokens
|
|
105
|
-
- infrastructure — deployment, CI/CD
|
|
106
|
-
- content — copy, messaging
|
|
107
|
-
- cs2 — paradigm-level work
|
|
108
|
-
- viz — visualizations
|
|
109
|
-
- setup — project scan + .rdc/config.json generation
|
|
110
|
-
- verify — evidence-before-claims verification gate
|
|
111
|
-
|
|
112
|
-
### Utility (1)
|
|
113
|
-
- rdc:collab — bidirectional claude.ai ↔ Claude Code relay via file transport
|
|
114
|
-
- rdc:channel-formatter — channel-native formatting and content repurposing,
|
|
115
|
-
including article-to-post, social-pack, campaign-pack, exec-pack, and
|
|
116
|
-
launch-pack outputs
|
|
117
|
-
- rdc:regen-media — primary image generation and Regen Media upload workflow,
|
|
118
|
-
defaulting to local keyless Codex `gpt-image-2` via built-in `image_gen`
|
|
119
|
-
|
|
120
|
-
### Bridge (3)
|
|
121
|
-
- rdc:handoff — planning → work items
|
|
122
|
-
- rdc:prototype — JSX prototypes
|
|
123
|
-
- rdc:workitems — work item CRUD
|
|
124
|
-
|
|
125
|
-
### Design (1)
|
|
126
|
-
- rdc:design — Studio-aware design workflow with token, Palette Library, and Rampa CLI context
|
|
127
|
-
|
|
128
|
-
### Reference (1)
|
|
129
|
-
- rdc:help — skill index
|
|
130
|
-
|
|
131
|
-
## Usage Instructions
|
|
132
|
-
|
|
133
|
-
1. **Clone or reference** the `/c/Dev/rdc-skills/` directory
|
|
134
|
-
2. **Update path variables** in all skills for your project
|
|
135
|
-
3. **Create project guides** (agent-bootstrap.md, frontend.md, etc.)
|
|
136
|
-
4. **Set up database** (work_items RPC, prototype_registry, design_context)
|
|
137
|
-
5. **Invoke skills** via your agent framework
|
|
138
|
-
- Interactive: `/rdc:build <epic-id>`
|
|
139
|
-
- Unattended: `/rdc:overnight`
|
|
140
|
-
- Quality: `/rdc:review --unattended`
|
|
141
|
-
- Content repurposing: `/rdc:channel-formatter social-pack article.md`
|
|
142
|
-
|
|
143
|
-
## Channel Formatter Content Packs
|
|
144
|
-
|
|
145
|
-
`rdc:channel-formatter` can strictly format copy for one channel or repurpose a
|
|
146
|
-
long source into a channel-native output set.
|
|
147
|
-
|
|
148
|
-
Examples:
|
|
149
|
-
|
|
150
|
-
```bash
|
|
151
|
-
rdc:channel-formatter linkedin article.md
|
|
152
|
-
rdc:channel-formatter twitter-thread article.md
|
|
153
|
-
rdc:channel-formatter social-pack article.md
|
|
154
|
-
rdc:channel-formatter campaign-pack report.md
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
Use `rdc:convert` for actual Office/Markdown file conversion, `rdc:brochure`
|
|
158
|
-
for HTML/folder/URL PDF rendering, and `rdc:brochurify` for Brochurify
|
|
159
|
-
orchestration. Channel formatter writes and repurposes text; it does not produce
|
|
160
|
-
binary Word or PDF artifacts.
|
|
161
|
-
|
|
162
|
-
## Key Differences from Source
|
|
163
|
-
|
|
164
|
-
### Added: TDD Enforcement
|
|
165
|
-
|
|
166
|
-
**rdc:build (Step 8):**
|
|
167
|
-
```bash
|
|
168
|
-
# Post-wave test gate (mandatory)
|
|
169
|
-
cd packages/<name> && npx vitest run 2>&1 | tail -20
|
|
170
|
-
```
|
|
171
|
-
All tests must pass before next wave.
|
|
172
|
-
|
|
173
|
-
**All agent skills:**
|
|
174
|
-
```
|
|
175
|
-
TDD REQUIREMENT: Write tests FIRST for new functions/modules.
|
|
176
|
-
Run: npx vitest run packages/<name>
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
**rdc:review (Step 3):**
|
|
180
|
-
```bash
|
|
181
|
-
# Check test coverage delta
|
|
182
|
-
git diff origin/main...HEAD -- packages/*/src/ | grep -c "^+"
|
|
183
|
-
git diff origin/main...HEAD -- packages/*/test* | grep -c "^+"
|
|
184
|
-
```
|
|
185
|
-
Flags any package with implementation added but 0 new tests.
|
|
186
|
-
|
|
187
|
-
**rdc:review report format:**
|
|
188
|
-
```
|
|
189
|
-
| Package | Tests | Pass/Fail | New Tests Added | Issues |
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
### Preserved: All Logic
|
|
193
|
-
|
|
194
|
-
- Work item RPC patterns (never raw SQL)
|
|
195
|
-
- Agent type classification
|
|
196
|
-
- Wave-based parallelization
|
|
197
|
-
- Escalation protocols
|
|
198
|
-
- Unattended mode patterns
|
|
199
|
-
- Status block formatting
|
|
200
|
-
- Safety rules (100%)
|
|
201
|
-
- Branch strategy
|
|
202
|
-
|
|
203
|
-
## Deployment
|
|
204
|
-
|
|
205
|
-
These skills are ready to use in any project that has:
|
|
206
|
-
|
|
207
|
-
1. A monorepo with `packages/`, `apps/`, or `sites/` structure
|
|
208
|
-
2. A database (Supabase, PostgreSQL, etc.) with work_items RPC functions
|
|
209
|
-
3. Capability to run agents (Claude Code, subagents, or CLI)
|
|
210
|
-
4. Git-based version control with at least 2 branches (dev + prod)
|
|
211
|
-
5. A credential management system (clauth daemon or equivalent)
|
|
212
|
-
|
|
213
|
-
## Questions?
|
|
214
|
-
|
|
215
|
-
- **Specific project integration:** Refer to your project's infrastructure documentation
|
|
216
|
-
- **Skill logic:** All skills are pure logic extracted from Regen Root; no project-specific magic
|
|
217
|
-
- **TDD requirements:** Built into every skill; red → implement → green is mandatory
|
|
218
|
-
- **Database schema:** You define; skills use generic `work_items` table and RPC patterns
|
|
219
|
-
|
|
220
|
-
---
|
|
221
|
-
|
|
222
|
-
**Manifest created:** 2026-04-13
|
|
223
|
-
**Source project:** Regen Root (github.com/LIFEAI/regen-root)
|
|
224
|
-
**Genericization:** Complete — all hardcoded references removed, all logic preserved
|
|
1
|
+
# RDC Skills Library — Manifest
|
|
2
|
+
|
|
3
|
+
**Created:** 2026-04-13
|
|
4
|
+
**Last updated:** 2026-05-01
|
|
5
|
+
**Source:** Regen Root project `.claude/skills/user/`
|
|
6
|
+
**Files:** 31 skill files, 10 agent guides, command mirrors, and support scripts
|
|
7
|
+
**Size:** ~480K
|
|
8
|
+
|
|
9
|
+
## Generic Conversion Summary
|
|
10
|
+
|
|
11
|
+
All skills have been converted from project-specific to generic/portable:
|
|
12
|
+
|
|
13
|
+
### Path Replacements
|
|
14
|
+
- `C:/Dev/regen-root/` → `{PROJECT_ROOT}/`
|
|
15
|
+
- Hardcoded app names (rdc-marketing-engine, brand-studio, prt, etc.) → generic examples
|
|
16
|
+
- Specific Supabase project IDs → generic table references
|
|
17
|
+
- Developer-specific paths → variables
|
|
18
|
+
|
|
19
|
+
### TDD Enhancements
|
|
20
|
+
- Added mandatory post-wave test gate to rdc:build
|
|
21
|
+
- Updated rdc:review with test coverage delta reporting
|
|
22
|
+
- Added test-first requirement to all agent skills
|
|
23
|
+
- TDD enforcement: red → implement → green cycle
|
|
24
|
+
|
|
25
|
+
### Preserved Elements
|
|
26
|
+
- All logic and procedures (100%)
|
|
27
|
+
- All safety rules
|
|
28
|
+
- All RPC patterns
|
|
29
|
+
- Branch strategy (development → production)
|
|
30
|
+
- Work item lifecycle
|
|
31
|
+
- Escalation protocols
|
|
32
|
+
- Unattended mode patterns
|
|
33
|
+
- Status block format
|
|
34
|
+
|
|
35
|
+
## Files Created
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
/c/Dev/rdc-skills/
|
|
39
|
+
├── README.md
|
|
40
|
+
├── MANIFEST.md (this file)
|
|
41
|
+
└── skills/
|
|
42
|
+
├── build/SKILL.md [+TDD enforcement, +verify gate]
|
|
43
|
+
├── plan/SKILL.md
|
|
44
|
+
├── preplan/SKILL.md
|
|
45
|
+
├── review/SKILL.md [+test coverage delta, +verify gate]
|
|
46
|
+
├── overnight/SKILL.md
|
|
47
|
+
├── fixit/SKILL.md
|
|
48
|
+
├── status/SKILL.md
|
|
49
|
+
├── report/SKILL.md
|
|
50
|
+
├── co-develop/SKILL.md [peer-aware Claude/Codex co-development]
|
|
51
|
+
├── collab/SKILL.md [claude.ai ↔ Claude Code relay]
|
|
52
|
+
├── handoff/SKILL.md
|
|
53
|
+
├── prototype/SKILL.md
|
|
54
|
+
├── workitems/SKILL.md
|
|
55
|
+
├── design/SKILL.md [RDC/Studio design, Palette Library, Rampa CLI]
|
|
56
|
+
├── help/SKILL.md
|
|
57
|
+
├── regen-media/SKILL.md [primary image generation + Regen Media upload]
|
|
58
|
+
├── deploy/SKILL.md [Coolify deployment ops]
|
|
59
|
+
├── release/SKILL.md [atomic version release]
|
|
60
|
+
├── self-test/SKILL.md [static lint + tier2 smoke tests]
|
|
61
|
+
└── watch/SKILL.md [session log + browser viewer]
|
|
62
|
+
└── guides/agents/ (agent-only playbooks — dispatched by rdc:build, not user-invocable)
|
|
63
|
+
├── frontend.md
|
|
64
|
+
├── backend.md
|
|
65
|
+
├── cs2.md
|
|
66
|
+
├── data.md
|
|
67
|
+
├── design.md
|
|
68
|
+
├── infrastructure.md
|
|
69
|
+
├── content.md
|
|
70
|
+
├── viz.md
|
|
71
|
+
├── setup.md
|
|
72
|
+
└── verify.md
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Note (v0.7.9):** Skills migrated from flat `rdc-<name>.md` files to `<name>/SKILL.md` subdirectories. Plugin namespace is `rdc`, so composed skill names are `rdc:<name>` — matching the frontmatter. This eliminates the duplicate `rdc:rdc-*` registration that occurred when directories were named `rdc-<name>/`.
|
|
76
|
+
|
|
77
|
+
## Skill Categories
|
|
78
|
+
|
|
79
|
+
### Orchestration (8)
|
|
80
|
+
- rdc:build — dispatch typed agents in waves
|
|
81
|
+
- rdc:plan — architecture + epic/tasks
|
|
82
|
+
- rdc:preplan — research before planning
|
|
83
|
+
- rdc:review — quality gate
|
|
84
|
+
- rdc:overnight — unattended build supervisor
|
|
85
|
+
- rdc:fixit — quick-fix bypass
|
|
86
|
+
- rdc:status — project dashboard
|
|
87
|
+
- rdc:report — nightly report
|
|
88
|
+
|
|
89
|
+
### DevOps (3)
|
|
90
|
+
- rdc:deploy — Coolify deployment ops (deploy, new, diagnose, audit)
|
|
91
|
+
- rdc:release — atomic version release with git tag + changelog
|
|
92
|
+
- rdc:watch — session log + browser viewer for Claude activity
|
|
93
|
+
|
|
94
|
+
### Quality (1)
|
|
95
|
+
- rdc:self-test — static lint (tier1) + smoke tests (tier2)
|
|
96
|
+
|
|
97
|
+
### Collaboration (1)
|
|
98
|
+
- rdc:co-develop — peer-aware Claude/Codex co-development over clauth
|
|
99
|
+
|
|
100
|
+
### Agent Guides (10, in `guides/agents/`) — [agent-only — dispatched by rdc:build, not user-invocable]
|
|
101
|
+
- frontend — React, UI, Tailwind
|
|
102
|
+
- backend — API, database, auth
|
|
103
|
+
- data — migrations, schema
|
|
104
|
+
- design — brand, tokens
|
|
105
|
+
- infrastructure — deployment, CI/CD
|
|
106
|
+
- content — copy, messaging
|
|
107
|
+
- cs2 — paradigm-level work
|
|
108
|
+
- viz — visualizations
|
|
109
|
+
- setup — project scan + .rdc/config.json generation
|
|
110
|
+
- verify — evidence-before-claims verification gate
|
|
111
|
+
|
|
112
|
+
### Utility (1)
|
|
113
|
+
- rdc:collab — bidirectional claude.ai ↔ Claude Code relay via file transport
|
|
114
|
+
- rdc:channel-formatter — channel-native formatting and content repurposing,
|
|
115
|
+
including article-to-post, social-pack, campaign-pack, exec-pack, and
|
|
116
|
+
launch-pack outputs
|
|
117
|
+
- rdc:regen-media — primary image generation and Regen Media upload workflow,
|
|
118
|
+
defaulting to local keyless Codex `gpt-image-2` via built-in `image_gen`
|
|
119
|
+
|
|
120
|
+
### Bridge (3)
|
|
121
|
+
- rdc:handoff — planning → work items
|
|
122
|
+
- rdc:prototype — JSX prototypes
|
|
123
|
+
- rdc:workitems — work item CRUD
|
|
124
|
+
|
|
125
|
+
### Design (1)
|
|
126
|
+
- rdc:design — Studio-aware design workflow with token, Palette Library, and Rampa CLI context
|
|
127
|
+
|
|
128
|
+
### Reference (1)
|
|
129
|
+
- rdc:help — skill index
|
|
130
|
+
|
|
131
|
+
## Usage Instructions
|
|
132
|
+
|
|
133
|
+
1. **Clone or reference** the `/c/Dev/rdc-skills/` directory
|
|
134
|
+
2. **Update path variables** in all skills for your project
|
|
135
|
+
3. **Create project guides** (agent-bootstrap.md, frontend.md, etc.)
|
|
136
|
+
4. **Set up database** (work_items RPC, prototype_registry, design_context)
|
|
137
|
+
5. **Invoke skills** via your agent framework
|
|
138
|
+
- Interactive: `/rdc:build <epic-id>`
|
|
139
|
+
- Unattended: `/rdc:overnight`
|
|
140
|
+
- Quality: `/rdc:review --unattended`
|
|
141
|
+
- Content repurposing: `/rdc:channel-formatter social-pack article.md`
|
|
142
|
+
|
|
143
|
+
## Channel Formatter Content Packs
|
|
144
|
+
|
|
145
|
+
`rdc:channel-formatter` can strictly format copy for one channel or repurpose a
|
|
146
|
+
long source into a channel-native output set.
|
|
147
|
+
|
|
148
|
+
Examples:
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
rdc:channel-formatter linkedin article.md
|
|
152
|
+
rdc:channel-formatter twitter-thread article.md
|
|
153
|
+
rdc:channel-formatter social-pack article.md
|
|
154
|
+
rdc:channel-formatter campaign-pack report.md
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Use `rdc:convert` for actual Office/Markdown file conversion, `rdc:brochure`
|
|
158
|
+
for HTML/folder/URL PDF rendering, and `rdc:brochurify` for Brochurify
|
|
159
|
+
orchestration. Channel formatter writes and repurposes text; it does not produce
|
|
160
|
+
binary Word or PDF artifacts.
|
|
161
|
+
|
|
162
|
+
## Key Differences from Source
|
|
163
|
+
|
|
164
|
+
### Added: TDD Enforcement
|
|
165
|
+
|
|
166
|
+
**rdc:build (Step 8):**
|
|
167
|
+
```bash
|
|
168
|
+
# Post-wave test gate (mandatory)
|
|
169
|
+
cd packages/<name> && npx vitest run 2>&1 | tail -20
|
|
170
|
+
```
|
|
171
|
+
All tests must pass before next wave.
|
|
172
|
+
|
|
173
|
+
**All agent skills:**
|
|
174
|
+
```
|
|
175
|
+
TDD REQUIREMENT: Write tests FIRST for new functions/modules.
|
|
176
|
+
Run: npx vitest run packages/<name>
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
**rdc:review (Step 3):**
|
|
180
|
+
```bash
|
|
181
|
+
# Check test coverage delta
|
|
182
|
+
git diff origin/main...HEAD -- packages/*/src/ | grep -c "^+"
|
|
183
|
+
git diff origin/main...HEAD -- packages/*/test* | grep -c "^+"
|
|
184
|
+
```
|
|
185
|
+
Flags any package with implementation added but 0 new tests.
|
|
186
|
+
|
|
187
|
+
**rdc:review report format:**
|
|
188
|
+
```
|
|
189
|
+
| Package | Tests | Pass/Fail | New Tests Added | Issues |
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### Preserved: All Logic
|
|
193
|
+
|
|
194
|
+
- Work item RPC patterns (never raw SQL)
|
|
195
|
+
- Agent type classification
|
|
196
|
+
- Wave-based parallelization
|
|
197
|
+
- Escalation protocols
|
|
198
|
+
- Unattended mode patterns
|
|
199
|
+
- Status block formatting
|
|
200
|
+
- Safety rules (100%)
|
|
201
|
+
- Branch strategy
|
|
202
|
+
|
|
203
|
+
## Deployment
|
|
204
|
+
|
|
205
|
+
These skills are ready to use in any project that has:
|
|
206
|
+
|
|
207
|
+
1. A monorepo with `packages/`, `apps/`, or `sites/` structure
|
|
208
|
+
2. A database (Supabase, PostgreSQL, etc.) with work_items RPC functions
|
|
209
|
+
3. Capability to run agents (Claude Code, subagents, or CLI)
|
|
210
|
+
4. Git-based version control with at least 2 branches (dev + prod)
|
|
211
|
+
5. A credential management system (clauth daemon or equivalent)
|
|
212
|
+
|
|
213
|
+
## Questions?
|
|
214
|
+
|
|
215
|
+
- **Specific project integration:** Refer to your project's infrastructure documentation
|
|
216
|
+
- **Skill logic:** All skills are pure logic extracted from Regen Root; no project-specific magic
|
|
217
|
+
- **TDD requirements:** Built into every skill; red → implement → green is mandatory
|
|
218
|
+
- **Database schema:** You define; skills use generic `work_items` table and RPC patterns
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
**Manifest created:** 2026-04-13
|
|
223
|
+
**Source project:** Regen Root (github.com/LIFEAI/regen-root)
|
|
224
|
+
**Genericization:** Complete — all hardcoded references removed, all logic preserved
|