@lifeaitools/rdc-skills 0.35.6 → 0.35.7

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 (107) hide show
  1. package/.claude-plugin/plugin.json +180 -44
  2. package/.github/workflows/self-test.yml +34 -34
  3. package/CHANGELOG.md +393 -393
  4. package/MANIFEST.md +224 -224
  5. package/README.md +10 -3
  6. package/clauth-plugin.json +1 -1
  7. package/commands/analyze-tests.md +1 -4
  8. package/commands/build.md +1 -2
  9. package/commands/check-clean-code.md +1 -3
  10. package/commands/check-packages.md +1 -3
  11. package/commands/collab.md +1 -2
  12. package/commands/compare-compliance.md +1 -4
  13. package/commands/deploy.md +1 -2
  14. package/commands/design.md +1 -2
  15. package/commands/edit.md +1 -2
  16. package/commands/fixit.md +1 -2
  17. package/commands/flow.md +1 -2
  18. package/commands/full-analysis.md +1 -7
  19. package/commands/get-refactoring-plan.md +1 -5
  20. package/commands/handoff.md +1 -2
  21. package/commands/help.md +1 -3
  22. package/commands/mode.md +1 -2
  23. package/commands/overnight.md +1 -2
  24. package/commands/plan.md +1 -2
  25. package/commands/preplan.md +1 -2
  26. package/commands/prototype.md +1 -2
  27. package/commands/quick-check.md +1 -4
  28. package/commands/recover.md +1 -2
  29. package/commands/release.md +2 -2
  30. package/commands/report.md +1 -2
  31. package/commands/review-arch.md +1 -4
  32. package/commands/review.md +1 -5
  33. package/commands/self-test.md +1 -2
  34. package/commands/status.md +1 -2
  35. package/commands/suggest-patterns.md +1 -4
  36. package/commands/validate-solid.md +1 -3
  37. package/commands/watch.md +1 -2
  38. package/commands/workitems.md +1 -2
  39. package/guides/agents/backend.md +102 -102
  40. package/guides/agents/content.md +94 -94
  41. package/guides/agents/cs2.md +56 -56
  42. package/guides/agents/data.md +86 -86
  43. package/guides/agents/design.md +77 -77
  44. package/guides/agents/frontend.md +91 -91
  45. package/guides/agents/infrastructure.md +81 -81
  46. package/guides/agents/setup.md +272 -272
  47. package/guides/agents/verify.md +119 -119
  48. package/guides/agents/viz.md +106 -106
  49. package/guides/orchestration-epic.md +17 -17
  50. package/hooks/require-work-item-on-commit.js +69 -4
  51. package/package.json +1 -1
  52. package/scripts/gen-skill-descriptions.mjs +190 -0
  53. package/scripts/self-test.mjs +1459 -1459
  54. package/skills/architecture-reviewer/SKILL.md +1 -11
  55. package/skills/behavior-audit/SKILL.md +1 -1
  56. package/skills/behavior-audit/agents/openai.yaml +4 -4
  57. package/skills/brochure/SKILL.md +1 -1
  58. package/skills/brochurify/SKILL.md +1 -1
  59. package/skills/build/SKILL.md +1 -1
  60. package/skills/channel-formatter/SKILL.md +1 -1
  61. package/skills/clean-code-analyzer/SKILL.md +1 -6
  62. package/skills/co-develop/SKILL.md +1 -1
  63. package/skills/collab/SKILL.md +1 -1
  64. package/skills/convert/SKILL.md +1 -1
  65. package/skills/deploy/SKILL.md +1 -1
  66. package/skills/design/SKILL.md +1 -1
  67. package/skills/edit/SKILL.md +1 -1
  68. package/skills/env/SKILL.md +1 -1
  69. package/skills/extract-verifier-rules/SKILL.md +1 -1
  70. package/skills/fixit/SKILL.md +1 -1
  71. package/skills/fs-mcp/SKILL.md +1 -1
  72. package/skills/handoff/SKILL.md +1 -1
  73. package/skills/help/SKILL.md +1 -1
  74. package/skills/housekeeping/SKILL.md +1 -1
  75. package/skills/lifeai-brochure-author/SKILL.md +1 -1
  76. package/skills/new-model/SKILL.md +1 -7
  77. package/skills/onramp/SKILL.md +1 -1
  78. package/skills/overnight/SKILL.md +1 -1
  79. package/skills/package-design/SKILL.md +1 -4
  80. package/skills/pattern-advisor/SKILL.md +1 -6
  81. package/skills/pattern-refactoring-guide/SKILL.md +1 -4
  82. package/skills/plan/SKILL.md +1 -1
  83. package/skills/preplan/SKILL.md +1 -1
  84. package/skills/prototype/SKILL.md +1 -1
  85. package/skills/refactor/SKILL.md +1 -1
  86. package/skills/regen-media/SKILL.md +1 -1
  87. package/skills/release/SKILL.md +1 -1
  88. package/skills/report/SKILL.md +1 -1
  89. package/skills/review/SKILL.md +1 -1
  90. package/skills/rpms-filemap/SKILL.md +1 -1
  91. package/skills/self-test/SKILL.md +1 -1
  92. package/skills/solid-validator/SKILL.md +1 -6
  93. package/skills/status/SKILL.md +1 -1
  94. package/skills/terminal-config/SKILL.md +1 -1
  95. package/skills/testing-strategy/SKILL.md +1 -6
  96. package/skills/tests/onramp.test.json +101 -101
  97. package/skills/tests/rdc-env.test.json +12 -12
  98. package/skills/tests/rdc-new-model.test.json +12 -12
  99. package/skills/tests/rdc-refactor.test.json +29 -29
  100. package/skills/tests/rdc-regen-media.test.json +29 -29
  101. package/skills/watch/SKILL.md +1 -1
  102. package/skills/workitems/SKILL.md +1 -1
  103. package/tests/clauth-plugin-postinstall.test.mjs +14 -1
  104. package/tests/help-surface.test.mjs +2 -2
  105. package/tests/require-work-item-on-commit.test.mjs +54 -0
  106. package/commands/open.md +0 -84
  107. package/ecosystem.local.config.cjs +0 -18
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rdc",
3
- "version": "0.35.6",
3
+ "version": "0.35.7",
4
4
  "description": "RDC typed-agent dispatch skill suite for Claude Code — plan, build, review, overnight unattended builds with work-item tracking and TDD enforcement.",
5
5
  "author": {
6
6
  "name": "LIFEAI",
@@ -84,7 +84,8 @@
84
84
  "sandbox_aware": true,
85
85
  "output_contract": "guides/output-contract.md",
86
86
  "enabled_default": true,
87
- "codeflow_required": false
87
+ "codeflow_required": false,
88
+ "purpose": "Apply precise, channel-native formatting and content repurposing to any output: LinkedIn, Twitter/X, Slack/..."
88
89
  },
89
90
  "brochure": {
90
91
  "name": "brochure",
@@ -156,7 +157,8 @@
156
157
  "sandbox_aware": true,
157
158
  "output_contract": "guides/output-contract.md",
158
159
  "enabled_default": true,
159
- "codeflow_required": false
160
+ "codeflow_required": false,
161
+ "purpose": "Turn a zip, folder, HTML file, URL, or markdown folder into a print-quality PDF brochure via Puppeteer"
160
162
  },
161
163
  "brochurify": {
162
164
  "name": "brochurify",
@@ -199,7 +201,8 @@
199
201
  "sandbox_aware": true,
200
202
  "output_contract": "guides/output-contract.md",
201
203
  "enabled_default": true,
202
- "codeflow_required": false
204
+ "codeflow_required": false,
205
+ "purpose": "|"
203
206
  },
204
207
  "lifeai-brochure-author": {
205
208
  "name": "lifeai-brochure-author",
@@ -239,7 +242,8 @@
239
242
  "sandbox_aware": false,
240
243
  "output_contract": "guides/output-contract.md",
241
244
  "enabled_default": true,
242
- "codeflow_required": false
245
+ "codeflow_required": false,
246
+ "purpose": "|"
243
247
  },
244
248
  "build": {
245
249
  "name": "build",
@@ -296,7 +300,8 @@
296
300
  "sandbox_aware": true,
297
301
  "output_contract": "guides/output-contract.md",
298
302
  "enabled_default": true,
299
- "codeflow_required": true
303
+ "codeflow_required": true,
304
+ "purpose": "execute a planned epic, then gate and ship to dev"
300
305
  },
301
306
  "co-develop": {
302
307
  "name": "co-develop",
@@ -337,7 +342,8 @@
337
342
  "sandbox_aware": true,
338
343
  "output_contract": "guides/output-contract.md",
339
344
  "enabled_default": true,
340
- "codeflow_required": false
345
+ "codeflow_required": false,
346
+ "purpose": "peer-aware Claude/Codex co-development over clauth, with ask --wait as the default delegation pattern"
341
347
  },
342
348
  "collab": {
343
349
  "name": "collab",
@@ -375,7 +381,8 @@
375
381
  "sandbox_aware": true,
376
382
  "output_contract": "guides/output-contract.md",
377
383
  "enabled_default": true,
378
- "codeflow_required": true
384
+ "codeflow_required": true,
385
+ "purpose": "run a structured agent-to-agent conversation"
379
386
  },
380
387
  "convert": {
381
388
  "name": "convert",
@@ -467,7 +474,8 @@
467
474
  "sandbox_aware": false,
468
475
  "output_contract": "guides/output-contract.md",
469
476
  "enabled_default": true,
470
- "codeflow_required": false
477
+ "codeflow_required": false,
478
+ "purpose": "Convert .docx/.pptx/.ppt → Markdown (Word OMML equations as KaTeX TeX, tables, images) or Markdown → Word v..."
471
479
  },
472
480
  "deploy": {
473
481
  "name": "deploy",
@@ -532,7 +540,8 @@
532
540
  "sandbox_aware": true,
533
541
  "output_contract": "guides/output-contract.md",
534
542
  "enabled_default": true,
535
- "codeflow_required": true
543
+ "codeflow_required": true,
544
+ "purpose": "ship to PM2 dev; promote to Coolify production"
536
545
  },
537
546
  "regen-media": {
538
547
  "name": "regen-media",
@@ -597,7 +606,8 @@
597
606
  "sandbox_aware": true,
598
607
  "output_contract": "guides/output-contract.md",
599
608
  "enabled_default": true,
600
- "codeflow_required": false
609
+ "codeflow_required": false,
610
+ "purpose": "Primary image-generation and Regen Media asset workflow"
601
611
  },
602
612
  "edit": {
603
613
  "name": "edit",
@@ -633,7 +643,8 @@
633
643
  "sandbox_aware": true,
634
644
  "output_contract": "guides/output-contract.md",
635
645
  "enabled_default": true,
636
- "codeflow_required": false
646
+ "codeflow_required": false,
647
+ "purpose": "open the local website editor for a target"
637
648
  },
638
649
  "design": {
639
650
  "name": "design",
@@ -675,7 +686,8 @@
675
686
  "sandbox_aware": true,
676
687
  "output_contract": "guides/output-contract.md",
677
688
  "enabled_default": true,
678
- "codeflow_required": true
689
+ "codeflow_required": true,
690
+ "purpose": "design Studio, palette and token-aware UI work"
679
691
  },
680
692
  "fixit": {
681
693
  "name": "fixit",
@@ -721,7 +733,8 @@
721
733
  "output_contract": "guides/output-contract.md",
722
734
  "enabled_default": true,
723
735
  "codeflow_required": true,
724
- "constraint": "Files touched MUST be < 5 AND time MUST be < 30 min. Otherwise use rdc:plan."
736
+ "constraint": "Files touched MUST be < 5 AND time MUST be < 30 min. Otherwise use rdc:plan.",
737
+ "purpose": "make a scoped fix under 5 files and ship it to dev"
725
738
  },
726
739
  "fs-mcp": {
727
740
  "name": "fs-mcp",
@@ -756,7 +769,8 @@
756
769
  "sandbox_aware": false,
757
770
  "output_contract": "guides/output-contract.md",
758
771
  "enabled_default": true,
759
- "codeflow_required": false
772
+ "codeflow_required": false,
773
+ "purpose": "Use the File System MCP bridge for live repo reads, safe writes, cloud-to-local ingest, and GitHub-branch i..."
760
774
  },
761
775
  "handoff": {
762
776
  "name": "handoff",
@@ -804,7 +818,8 @@
804
818
  "sandbox_aware": true,
805
819
  "output_contract": "guides/output-contract.md",
806
820
  "enabled_default": true,
807
- "codeflow_required": true
821
+ "codeflow_required": true,
822
+ "purpose": "turn a plan or prototype into work items and artifacts"
808
823
  },
809
824
  "help": {
810
825
  "name": "help",
@@ -828,7 +843,8 @@
828
843
  "sandbox_aware": false,
829
844
  "output_contract": "guides/output-contract.md",
830
845
  "enabled_default": true,
831
- "codeflow_required": false
846
+ "codeflow_required": false,
847
+ "purpose": "list all MCP skills with usage, requirements and slash form"
832
848
  },
833
849
  "overnight": {
834
850
  "name": "overnight",
@@ -873,7 +889,8 @@
873
889
  "sandbox_aware": true,
874
890
  "output_contract": "guides/output-contract.md",
875
891
  "enabled_default": true,
876
- "codeflow_required": true
892
+ "codeflow_required": true,
893
+ "purpose": "drain the work queue unattended, end to end"
877
894
  },
878
895
  "plan": {
879
896
  "name": "plan",
@@ -919,7 +936,8 @@
919
936
  "sandbox_aware": true,
920
937
  "output_contract": "guides/output-contract.md",
921
938
  "enabled_default": true,
922
- "codeflow_required": true
939
+ "codeflow_required": true,
940
+ "purpose": "produce architecture, decisions and an epic with tasks"
923
941
  },
924
942
  "preplan": {
925
943
  "name": "preplan",
@@ -955,7 +973,8 @@
955
973
  "sandbox_aware": true,
956
974
  "output_contract": "guides/output-contract.md",
957
975
  "enabled_default": true,
958
- "codeflow_required": true
976
+ "codeflow_required": true,
977
+ "purpose": "research the unknowns before committing to an architecture"
959
978
  },
960
979
  "prototype": {
961
980
  "name": "prototype",
@@ -997,7 +1016,8 @@
997
1016
  "sandbox_aware": true,
998
1017
  "output_contract": "guides/output-contract.md",
999
1018
  "enabled_default": true,
1000
- "codeflow_required": true
1019
+ "codeflow_required": true,
1020
+ "purpose": "build a JSX/TSX mockup for visual review"
1001
1021
  },
1002
1022
  "extract-verifier-rules": {
1003
1023
  "name": "extract-verifier-rules",
@@ -1040,7 +1060,8 @@
1040
1060
  "sandbox_aware": false,
1041
1061
  "output_contract": "guides/output-contract.md",
1042
1062
  "enabled_default": true,
1043
- "codeflow_required": false
1063
+ "codeflow_required": false,
1064
+ "purpose": "|"
1044
1065
  },
1045
1066
  "rpms-filemap": {
1046
1067
  "name": "rpms-filemap",
@@ -1066,7 +1087,8 @@
1066
1087
  "sandbox_aware": false,
1067
1088
  "output_contract": "guides/output-contract.md",
1068
1089
  "enabled_default": true,
1069
- "codeflow_required": false
1090
+ "codeflow_required": false,
1091
+ "purpose": "Generated RPMS file map — RULE #1, canonical homes, and Context Export pointers served from regen-root mani..."
1070
1092
  },
1071
1093
  "release": {
1072
1094
  "name": "release",
@@ -1145,7 +1167,8 @@
1145
1167
  "output_contract": "guides/output-contract.md",
1146
1168
  "enabled_default": true,
1147
1169
  "codeflow_required": false,
1148
- "production_gate": "Promotion to main/production requires explicit user go-ahead. Dev deploys do not."
1170
+ "production_gate": "Promotion to main/production requires explicit user go-ahead. Dev deploys do not.",
1171
+ "purpose": "bump, tag, publish and verify a package"
1149
1172
  },
1150
1173
  "report": {
1151
1174
  "name": "report",
@@ -1180,7 +1203,8 @@
1180
1203
  "sandbox_aware": true,
1181
1204
  "output_contract": "guides/output-contract.md",
1182
1205
  "enabled_default": true,
1183
- "codeflow_required": true
1206
+ "codeflow_required": true,
1207
+ "purpose": "write the session summary to .rdc/reports/"
1184
1208
  },
1185
1209
  "refactor": {
1186
1210
  "name": "refactor",
@@ -1237,7 +1261,8 @@
1237
1261
  "sandbox_aware": false,
1238
1262
  "output_contract": "guides/output-contract.md",
1239
1263
  "enabled_default": true,
1240
- "codeflow_required": true
1264
+ "codeflow_required": true,
1265
+ "purpose": "Governed consolidation and implementation of a cross-cutting refactor"
1241
1266
  },
1242
1267
  "review": {
1243
1268
  "name": "review",
@@ -1285,7 +1310,8 @@
1285
1310
  "sandbox_aware": true,
1286
1311
  "output_contract": "guides/output-contract.md",
1287
1312
  "enabled_default": true,
1288
- "codeflow_required": true
1313
+ "codeflow_required": true,
1314
+ "purpose": "post-build gate over tsc, tests, docs and code review"
1289
1315
  },
1290
1316
  "self-test": {
1291
1317
  "name": "self-test",
@@ -1318,7 +1344,8 @@
1318
1344
  "sandbox_aware": true,
1319
1345
  "output_contract": "guides/output-contract.md",
1320
1346
  "enabled_default": true,
1321
- "codeflow_required": false
1347
+ "codeflow_required": false,
1348
+ "purpose": "validate every rdc skill, the manifest and tooling"
1322
1349
  },
1323
1350
  "housekeeping": {
1324
1351
  "name": "housekeeping",
@@ -1361,7 +1388,8 @@
1361
1388
  "sandbox_aware": true,
1362
1389
  "output_contract": "guides/output-contract.md",
1363
1390
  "enabled_default": true,
1364
- "codeflow_required": false
1391
+ "codeflow_required": false,
1392
+ "purpose": "Weekly maintenance audit: directory structure verification, PUBLISH.md URL validation, CLAUDE.md freshness,..."
1365
1393
  },
1366
1394
  "status": {
1367
1395
  "name": "status",
@@ -1389,7 +1417,8 @@
1389
1417
  "sandbox_aware": false,
1390
1418
  "output_contract": "guides/output-contract.md",
1391
1419
  "enabled_default": true,
1392
- "codeflow_required": false
1420
+ "codeflow_required": false,
1421
+ "purpose": "snapshot open epics, health, blockers and next action"
1393
1422
  },
1394
1423
  "env": {
1395
1424
  "name": "env",
@@ -1435,7 +1464,8 @@
1435
1464
  "sandbox_aware": false,
1436
1465
  "output_contract": "guides/output-contract.md",
1437
1466
  "enabled_default": true,
1438
- "codeflow_required": false
1467
+ "codeflow_required": false,
1468
+ "purpose": "Manage the LIFEAI environment harness: check status, install on a fresh box, repair broken services, or pul..."
1439
1469
  },
1440
1470
  "terminal-config": {
1441
1471
  "name": "terminal-config",
@@ -1470,7 +1500,8 @@
1470
1500
  "sandbox_aware": false,
1471
1501
  "output_contract": "guides/output-contract.md",
1472
1502
  "enabled_default": true,
1473
- "codeflow_required": false
1503
+ "codeflow_required": false,
1504
+ "purpose": "read and safely modify Windows Terminal settings, shell profiles, and agent startup sequencing without rely..."
1474
1505
  },
1475
1506
  "watch": {
1476
1507
  "name": "watch",
@@ -1494,7 +1525,8 @@
1494
1525
  "sandbox_aware": true,
1495
1526
  "output_contract": "guides/output-contract.md",
1496
1527
  "enabled_default": true,
1497
- "codeflow_required": false
1528
+ "codeflow_required": false,
1529
+ "purpose": "open a live session-log viewer and report its path"
1498
1530
  },
1499
1531
  "new-model": {
1500
1532
  "name": "new-model",
@@ -1540,7 +1572,8 @@
1540
1572
  "sandbox_aware": false,
1541
1573
  "output_contract": "guides/output-contract.md",
1542
1574
  "enabled_default": true,
1543
- "codeflow_required": true
1575
+ "codeflow_required": true,
1576
+ "purpose": "Register a new Reference Model completely — the yes/no gate that prevents half-registered models"
1544
1577
  },
1545
1578
  "workitems": {
1546
1579
  "name": "workitems",
@@ -1579,7 +1612,8 @@
1579
1612
  "sandbox_aware": true,
1580
1613
  "output_contract": "guides/output-contract.md",
1581
1614
  "enabled_default": true,
1582
- "codeflow_required": false
1615
+ "codeflow_required": false,
1616
+ "purpose": "create, update and query work items directly"
1583
1617
  },
1584
1618
  "behavior-audit": {
1585
1619
  "name": "behavior-audit",
@@ -1642,7 +1676,8 @@
1642
1676
  "sandbox_aware": false,
1643
1677
  "output_contract": "guides/output-contract.md",
1644
1678
  "enabled_default": true,
1645
- "codeflow_required": true
1679
+ "codeflow_required": true,
1680
+ "purpose": "produces a bounded, redacted Claude/Codex transcript evidence bundle, incrementally skips completed transcr..."
1646
1681
  },
1647
1682
  "onramp": {
1648
1683
  "name": "onramp",
@@ -1727,7 +1762,8 @@
1727
1762
  "sandbox_aware": true,
1728
1763
  "output_contract": "guides/output-contract.md",
1729
1764
  "enabled_default": true,
1730
- "codeflow_required": true
1765
+ "codeflow_required": true,
1766
+ "purpose": "Full-pipeline enrollment orchestrator for a new Place Fund project"
1731
1767
  },
1732
1768
  "solid-validator": {
1733
1769
  "name": "solid-validator",
@@ -1778,7 +1814,8 @@
1778
1814
  "sandbox_aware": false,
1779
1815
  "output_contract": "guides/output-contract.md",
1780
1816
  "enabled_default": true,
1781
- "codeflow_required": false
1817
+ "codeflow_required": false,
1818
+ "purpose": "the FORM corner of the form/fit/function model"
1782
1819
  },
1783
1820
  "architecture-reviewer": {
1784
1821
  "name": "architecture-reviewer",
@@ -1823,7 +1860,8 @@
1823
1860
  "sandbox_aware": false,
1824
1861
  "output_contract": "guides/output-contract.md",
1825
1862
  "enabled_default": true,
1826
- "codeflow_required": false
1863
+ "codeflow_required": false,
1864
+ "purpose": "Clean Architecture boundary/dependency-direction/layer-separation review"
1827
1865
  },
1828
1866
  "testing-strategy": {
1829
1867
  "name": "testing-strategy",
@@ -1856,7 +1894,8 @@
1856
1894
  "sandbox_aware": false,
1857
1895
  "output_contract": "guides/output-contract.md",
1858
1896
  "enabled_default": true,
1859
- "codeflow_required": false
1897
+ "codeflow_required": false,
1898
+ "purpose": "recommends the right TEST LEVEL and SHAPE for a surface (unit/integration/live tier, assertion vs golden-ca..."
1860
1899
  },
1861
1900
  "clean-code-analyzer": {
1862
1901
  "name": "clean-code-analyzer",
@@ -1900,7 +1939,8 @@
1900
1939
  "sandbox_aware": false,
1901
1940
  "output_contract": "guides/output-contract.md",
1902
1941
  "enabled_default": true,
1903
- "codeflow_required": false
1942
+ "codeflow_required": false,
1943
+ "purpose": "naming, dead code, function-size, and error-handling smells outside SOLID's scope (SOLID governs class/modu..."
1904
1944
  },
1905
1945
  "package-design": {
1906
1946
  "name": "package-design",
@@ -1935,7 +1975,8 @@
1935
1975
  "sandbox_aware": false,
1936
1976
  "output_contract": "guides/output-contract.md",
1937
1977
  "enabled_default": true,
1938
- "codeflow_required": false
1978
+ "codeflow_required": false,
1979
+ "purpose": "module boundary and export-surface review: does this package expose the right things, hide the right things..."
1939
1980
  },
1940
1981
  "pattern-advisor": {
1941
1982
  "name": "pattern-advisor",
@@ -1970,7 +2011,8 @@
1970
2011
  "sandbox_aware": false,
1971
2012
  "output_contract": "guides/output-contract.md",
1972
2013
  "enabled_default": true,
1973
- "codeflow_required": false
2014
+ "codeflow_required": false,
2015
+ "purpose": "suggests an applicable design pattern for a given code shape"
1974
2016
  },
1975
2017
  "pattern-refactoring-guide": {
1976
2018
  "name": "pattern-refactoring-guide",
@@ -2010,7 +2052,101 @@
2010
2052
  "sandbox_aware": false,
2011
2053
  "output_contract": "guides/output-contract.md",
2012
2054
  "enabled_default": true,
2013
- "codeflow_required": false
2055
+ "codeflow_required": false,
2056
+ "purpose": "turns a pattern-advisor recommendation (or a solid-validator/architecture-reviewer finding) into a concrete..."
2057
+ }
2058
+ },
2059
+ "commands_meta": {
2060
+ "analyze-tests": {
2061
+ "name": "analyze-tests",
2062
+ "slash": "rdc:analyze-tests",
2063
+ "usage": "rdc:analyze-tests <path>",
2064
+ "command_only": true,
2065
+ "purpose": "recommend the test level and shape for a surface"
2066
+ },
2067
+ "check-clean-code": {
2068
+ "name": "check-clean-code",
2069
+ "slash": "rdc:check-clean-code",
2070
+ "usage": "rdc:check-clean-code <path> [--diff <ref>]",
2071
+ "command_only": true,
2072
+ "purpose": "flag naming, dead code and complexity smells"
2073
+ },
2074
+ "check-packages": {
2075
+ "name": "check-packages",
2076
+ "slash": "rdc:check-packages",
2077
+ "usage": "rdc:check-packages <path>",
2078
+ "command_only": true,
2079
+ "purpose": "review module boundaries and the export surface"
2080
+ },
2081
+ "compare-compliance": {
2082
+ "name": "compare-compliance",
2083
+ "slash": "rdc:compare-compliance",
2084
+ "usage": "rdc:compare-compliance <path> --diff <ref>",
2085
+ "command_only": true,
2086
+ "purpose": "gate a change against a ref, did compliance get worse"
2087
+ },
2088
+ "flow": {
2089
+ "name": "flow",
2090
+ "slash": "rdc:flow",
2091
+ "usage": "rdc:flow [status|<state> [\"<reason>\"]|normal]",
2092
+ "command_only": true,
2093
+ "purpose": "show or set the flow state"
2094
+ },
2095
+ "full-analysis": {
2096
+ "name": "full-analysis",
2097
+ "slash": "rdc:full-analysis",
2098
+ "usage": "rdc:full-analysis <path> [--diff <ref>]",
2099
+ "command_only": true,
2100
+ "purpose": "run all seven review surfaces over a path"
2101
+ },
2102
+ "get-refactoring-plan": {
2103
+ "name": "get-refactoring-plan",
2104
+ "slash": "rdc:get-refactoring-plan",
2105
+ "usage": "rdc:get-refactoring-plan <finding>",
2106
+ "command_only": true,
2107
+ "purpose": "turn a finding into a step-ordered before/after plan"
2108
+ },
2109
+ "mode": {
2110
+ "name": "mode",
2111
+ "slash": "rdc:mode",
2112
+ "usage": "rdc:mode [status|hotfix \"<reason>\" [minutes]|normal]",
2113
+ "command_only": true,
2114
+ "purpose": "show or set the operating mode"
2115
+ },
2116
+ "quick-check": {
2117
+ "name": "quick-check",
2118
+ "slash": "rdc:quick-check",
2119
+ "usage": "rdc:quick-check <path>",
2120
+ "command_only": true,
2121
+ "purpose": "fast mechanical pass, SOLID score and boundary check"
2122
+ },
2123
+ "recover": {
2124
+ "name": "recover",
2125
+ "slash": "rdc:recover",
2126
+ "usage": "rdc:recover [list|start]",
2127
+ "command_only": true,
2128
+ "purpose": "detect, repair and resume after a crash"
2129
+ },
2130
+ "review-arch": {
2131
+ "name": "review-arch",
2132
+ "slash": "rdc:review-arch",
2133
+ "usage": "rdc:review-arch <path> [--diff <ref>]",
2134
+ "command_only": true,
2135
+ "purpose": "review layering and dependency direction"
2136
+ },
2137
+ "suggest-patterns": {
2138
+ "name": "suggest-patterns",
2139
+ "slash": "rdc:suggest-patterns",
2140
+ "usage": "rdc:suggest-patterns <path>",
2141
+ "command_only": true,
2142
+ "purpose": "suggest design patterns; \"none needed\" is a valid verdict"
2143
+ },
2144
+ "validate-solid": {
2145
+ "name": "validate-solid",
2146
+ "slash": "rdc:validate-solid",
2147
+ "usage": "rdc:validate-solid <path> [--diff <ref>]",
2148
+ "command_only": true,
2149
+ "purpose": "score SOLID and Clean Architecture deterministically"
2014
2150
  }
2015
2151
  }
2016
2152
  }
@@ -1,29 +1,29 @@
1
- name: self-test
2
-
3
- on:
4
- push:
5
- branches: ['**']
6
- tags: ['v*']
7
- pull_request:
8
-
9
- jobs:
10
- tier1:
11
- name: Tier 1 static lint
12
- runs-on: ubuntu-latest
13
- steps:
14
- - name: Checkout
15
- uses: actions/checkout@v4
16
-
17
- - name: Setup Node 20
18
- uses: actions/setup-node@v4
19
- with:
20
- node-version: '20'
21
-
22
- - name: Run rdc:self-test --strict (Tier 1)
23
- # Tier 2 requires headless claude + clauth daemon — not available in standard CI.
24
- # Tier 1 catches the backtick-drift + frontmatter class of bugs.
25
- run: node scripts/self-test.mjs --strict
26
-
1
+ name: self-test
2
+
3
+ on:
4
+ push:
5
+ branches: ['**']
6
+ tags: ['v*']
7
+ pull_request:
8
+
9
+ jobs:
10
+ tier1:
11
+ name: Tier 1 static lint
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v4
16
+
17
+ - name: Setup Node 20
18
+ uses: actions/setup-node@v4
19
+ with:
20
+ node-version: '20'
21
+
22
+ - name: Run rdc:self-test --strict (Tier 1)
23
+ # Tier 2 requires headless claude + clauth daemon — not available in standard CI.
24
+ # Tier 1 catches the backtick-drift + frontmatter class of bugs.
25
+ run: node scripts/self-test.mjs --strict
26
+
27
27
  tier2-gate:
28
28
  name: Tier 2 behavioral (tag releases only)
29
29
  runs-on: ubuntu-latest
@@ -32,14 +32,14 @@ jobs:
32
32
  env:
33
33
  ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
34
34
  steps:
35
- - name: Checkout
36
- uses: actions/checkout@v4
37
-
38
- - name: Setup Node 20
39
- uses: actions/setup-node@v4
40
- with:
41
- node-version: '20'
42
-
35
+ - name: Checkout
36
+ uses: actions/checkout@v4
37
+
38
+ - name: Setup Node 20
39
+ uses: actions/setup-node@v4
40
+ with:
41
+ node-version: '20'
42
+
43
43
  - name: Install claude CLI
44
44
  if: env.ANTHROPIC_API_KEY != ''
45
45
  run: npm install -g @anthropic-ai/claude-code