@lifeaitools/rdc-skills 0.35.18 → 0.35.20
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 +1 -1
- package/.github/workflows/self-test.yml +34 -34
- package/MANIFEST.md +224 -224
- package/VALIDATOR-ARCHITECTURE.md +18 -0
- package/bin/rdc-skills-mcp.mjs +40 -1
- package/guides/agent-bootstrap.md +26 -7
- 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/guides/orchestration-epic.md +17 -17
- package/package.json +1 -1
- package/scripts/self-test.mjs +1459 -1459
- package/skills/behavior-audit/agents/openai.yaml +4 -4
- package/skills/build/SKILL.md +13 -2
- package/skills/deploy/SKILL.md +82 -533
- package/skills/edit/SKILL.md +8 -1
- package/skills/open/SKILL.md +73 -7
- package/skills/plan/SKILL.md +1 -1
- package/skills/release/SKILL.md +5 -4
- package/skills/review/SKILL.md +11 -0
- package/skills/rpms-filemap/SKILL.cloud.md +14 -7
- package/skills/rpms-filemap/SKILL.md +19 -6
- package/skills/tests/onramp.test.json +101 -101
- package/skills/tests/rdc-env.test.json +12 -12
- package/skills/tests/rdc-new-model.test.json +12 -12
- package/skills/tests/rdc-refactor.test.json +29 -29
- package/skills/tests/rdc-regen-media.test.json +29 -29
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface:
|
|
2
|
-
display_name: "Behavior Audit"
|
|
3
|
-
short_description: "Audit Claude and Codex behavior against shared rules."
|
|
4
|
-
default_prompt: "Run a behavior audit for the last seven days and write the evidence bundle to a report directory."
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Behavior Audit"
|
|
3
|
+
short_description: "Audit Claude and Codex behavior against shared rules."
|
|
4
|
+
default_prompt: "Run a behavior audit for the last seven days and write the evidence bundle to a report directory."
|
package/skills/build/SKILL.md
CHANGED
|
@@ -497,7 +497,7 @@ Read the task title and description, then:
|
|
|
497
497
|
TEST PLAN — you MUST implement/verify each of these and tick them off via update_checklist_item(..., p_actor_session_id := '<your-session-id>', p_actor_role := 'agent'):
|
|
498
498
|
- test-assert-xxx: <description> → write a vitest test that proves this
|
|
499
499
|
- test-smoke-xxx: <description> → run the command and confirm the result
|
|
500
|
-
- test-visual-xxx: <
|
|
500
|
+
- test-visual-xxx: <route + state + viewport + visible expectation> → run the project's pinned headless Playwright test and retain its screenshot/trace on failure
|
|
501
501
|
- test-contract-xxx: <description> → verify the export/type/shape exists
|
|
502
502
|
Tick each item as you complete it. Do NOT batch — tick immediately after each verification.
|
|
503
503
|
```
|
|
@@ -537,6 +537,14 @@ Read the task title and description, then:
|
|
|
537
537
|
construction, or a `/health` probe cannot substitute. If no safe disposable
|
|
538
538
|
environment exists, create one within the work package; do not waive this
|
|
539
539
|
gate or mark the item reviewable.
|
|
540
|
+
- **Rendered UI gate (hard):** A task that creates or changes a rendered UI
|
|
541
|
+
route MUST use a project-owned, pinned `@playwright/test` harness. The work
|
|
542
|
+
package installs the matching Chromium once (`pnpm exec playwright install
|
|
543
|
+
chromium`), adds/updates a named `test:ui` assertion for every changed route
|
|
544
|
+
and relevant state, and runs it headlessly against a fresh app-owned test
|
|
545
|
+
server or an explicitly documented deploy-equivalent target. An HTTP probe,
|
|
546
|
+
source review, manual editor preview, global Playwright CLI, or a delegated
|
|
547
|
+
note is not visual evidence. Preserve screenshot/trace on failure.
|
|
540
548
|
|
|
541
549
|
8. **Post-wave test gate (mandatory):**
|
|
542
550
|
After all agents in a wave complete, before proceeding:
|
|
@@ -645,7 +653,10 @@ Read the task title and description, then:
|
|
|
645
653
|
- **Verifies test plan completion per work item:**
|
|
646
654
|
- For each `test-assert-*` checklist item: confirm a corresponding vitest test exists and passes
|
|
647
655
|
- For each `test-smoke-*` checklist item: run the command and confirm exit code / HTTP status
|
|
648
|
-
- For each `test-visual-*` checklist item:
|
|
656
|
+
- For each `test-visual-*` checklist item: run the target's project-owned
|
|
657
|
+
headless Playwright command; reject the item if the route/state assertion
|
|
658
|
+
is absent, fails, or relies on a global Playwright install. Retain the
|
|
659
|
+
route-specific receipt; failure screenshots/traces are the diagnostic artifact.
|
|
649
660
|
- For each `test-contract-*` checklist item: verify the export/type/shape exists in the built code
|
|
650
661
|
- Any unchecked `test-*` item with `required: true` = work item CANNOT be set to `done` (DB enforces this)
|
|
651
662
|
- Sets passing items to `done`, failing items back to `todo` with failure detail
|