@lifeaitools/rdc-skills 0.9.23 → 0.9.24
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/README.md +1 -1
- package/commands/design.md +1 -1
- package/package.json +2 -2
- package/scripts/rdc-design-cli.mjs +12 -12
- package/skills/design/SKILL.md +7 -9
- package/skills/design/reference/ownership.md +16 -0
- package/skills/design/reference/studio-model.md +1 -1
- package/skills/design/reference/lineage.md +0 -31
package/README.md
CHANGED
package/commands/design.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: rdc:design
|
|
3
3
|
description: >-
|
|
4
|
-
Usage `rdc:design <command|brief>` — RDC-owned design skill for Studio, Palette Library, token-aware UI work, and Rampa CLI-assisted color systems.
|
|
4
|
+
Usage `rdc:design <command|brief>` — RDC-owned design skill for Studio, Palette Library, token-aware UI work, and Rampa CLI-assisted color systems.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
> **⚠️ OUTPUT CONTRACT (READ FIRST):** `guides/output-contract.md`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifeaitools/rdc-skills",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.24",
|
|
4
4
|
"description": "RDC typed-agent dispatch skill suite for Claude Code — plan, build, review, overnight builds",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"type": "plugin",
|
|
20
20
|
"skills": "skills/",
|
|
21
21
|
"guides": "guides/",
|
|
22
|
-
"version": "0.9.
|
|
22
|
+
"version": "0.9.24",
|
|
23
23
|
"commands": "commands/"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
@@ -15,16 +15,16 @@ const command = cleanArgs[0] || "help";
|
|
|
15
15
|
const brief = cleanArgs.slice(1).join(" ").trim();
|
|
16
16
|
|
|
17
17
|
const commandRefs = {
|
|
18
|
-
studio: ["studio-model", "
|
|
19
|
-
tokens: ["studio-model", "
|
|
20
|
-
palette: ["studio-model", "rampa", "
|
|
21
|
-
theme: ["studio-model", "rampa", "
|
|
22
|
-
colorize: ["rampa", "studio-model", "
|
|
23
|
-
audit: ["studio-model", "
|
|
24
|
-
critique: ["studio-model", "
|
|
25
|
-
polish: ["studio-model", "
|
|
26
|
-
craft: ["studio-model", "rampa", "
|
|
27
|
-
help: ["
|
|
18
|
+
studio: ["studio-model", "ownership"],
|
|
19
|
+
tokens: ["studio-model", "ownership"],
|
|
20
|
+
palette: ["studio-model", "rampa", "ownership"],
|
|
21
|
+
theme: ["studio-model", "rampa", "ownership"],
|
|
22
|
+
colorize: ["rampa", "studio-model", "ownership"],
|
|
23
|
+
audit: ["studio-model", "ownership"],
|
|
24
|
+
critique: ["studio-model", "ownership"],
|
|
25
|
+
polish: ["studio-model", "ownership"],
|
|
26
|
+
craft: ["studio-model", "rampa", "ownership"],
|
|
27
|
+
help: ["ownership"],
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
function readText(path) {
|
|
@@ -56,7 +56,7 @@ function buildPrompt() {
|
|
|
56
56
|
const skillPath = join(skillRoot, "SKILL.md");
|
|
57
57
|
if (!existsSync(skillPath)) throw new Error(`Missing skill file: ${skillPath}`);
|
|
58
58
|
|
|
59
|
-
const refs = loadReferences(commandRefs[command] || ["studio-model", "
|
|
59
|
+
const refs = loadReferences(commandRefs[command] || ["studio-model", "ownership"]);
|
|
60
60
|
const skill = stripFrontmatter(readText(skillPath));
|
|
61
61
|
const refText = refs.map((ref) => `## Reference: ${ref.name}\n\n${ref.text}`).join("\n\n");
|
|
62
62
|
const target = brief || "(no brief supplied)";
|
|
@@ -77,7 +77,7 @@ function buildPrompt() {
|
|
|
77
77
|
"",
|
|
78
78
|
`Execute \`rdc:design ${command}\` for: ${target}`,
|
|
79
79
|
"",
|
|
80
|
-
"Return checklist-first output, cite concrete Studio files/routes/tables when relevant, and do not mutate
|
|
80
|
+
"Return checklist-first output, cite concrete Studio files/routes/tables when relevant, and do not mutate unrelated installed skills or vendor artifacts.",
|
|
81
81
|
].join("\n");
|
|
82
82
|
|
|
83
83
|
return { prompt, refs };
|
package/skills/design/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: rdc:design
|
|
3
3
|
description: >-
|
|
4
|
-
Usage `rdc:design <command|brief>` — RDC-owned design skill for Studio, Palette Library, token-aware UI work, and Rampa CLI-assisted color systems.
|
|
4
|
+
Usage `rdc:design <command|brief>` — RDC-owned design skill for Studio, Palette Library, token-aware UI work, and Rampa CLI-assisted color systems.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
> **⚠️ OUTPUT CONTRACT (READ FIRST):** `guides/output-contract.md`
|
|
@@ -14,7 +14,7 @@ description: >-
|
|
|
14
14
|
|
|
15
15
|
# rdc:design — RDC Design Skill
|
|
16
16
|
|
|
17
|
-
RDC-owned design execution for Studio and LIFEAI interfaces. This skill is
|
|
17
|
+
RDC-owned design execution for Studio and LIFEAI interfaces. This skill is the Studio-aware design authority for RDC token, palette, theme, component, and local-debug work.
|
|
18
18
|
|
|
19
19
|
## When to Use
|
|
20
20
|
|
|
@@ -24,8 +24,6 @@ RDC-owned design execution for Studio and LIFEAI interfaces. This skill is inspi
|
|
|
24
24
|
- Agent-side color-system exploration using Rampa CLI
|
|
25
25
|
- Preparing token-aware implementation instructions for frontend/backend/data agents
|
|
26
26
|
|
|
27
|
-
Use the installed `impeccable` skill directly only when the task is a general upstream Impeccable workflow and does not need RDC Studio knowledge.
|
|
28
|
-
|
|
29
27
|
## Arguments
|
|
30
28
|
|
|
31
29
|
- `rdc:design` — show the command menu
|
|
@@ -47,7 +45,7 @@ Load only what applies, but do not skip the Studio model for Studio/token/palett
|
|
|
47
45
|
|---|---|
|
|
48
46
|
| Studio, tokens, palettes, themes, editor | `skills/design/reference/studio-model.md` |
|
|
49
47
|
| Color generation, ramps, contrast, neutrals | `skills/design/reference/rampa.md` |
|
|
50
|
-
|
|
|
48
|
+
| Ownership, operating boundary, attribution files | `skills/design/reference/ownership.md` |
|
|
51
49
|
|
|
52
50
|
Project docs to read for Studio work:
|
|
53
51
|
|
|
@@ -89,7 +87,7 @@ Project docs to read for Studio work:
|
|
|
89
87
|
6. **Plan edits before mutating files.**
|
|
90
88
|
- State the files/routes/tables involved.
|
|
91
89
|
- Use RDC work-item protocol for non-trivial implementation.
|
|
92
|
-
- Keep
|
|
90
|
+
- Keep unrelated installed skills and vendor artifacts untouched.
|
|
93
91
|
|
|
94
92
|
7. **Verify.**
|
|
95
93
|
- Run scoped tests only.
|
|
@@ -130,9 +128,9 @@ Each run includes character count, word count, approximate token count, referenc
|
|
|
130
128
|
|
|
131
129
|
## Boundaries
|
|
132
130
|
|
|
133
|
-
- Do not edit installed
|
|
134
|
-
- Do not
|
|
135
|
-
- Do not use
|
|
131
|
+
- Do not edit unrelated installed skills.
|
|
132
|
+
- Do not rename this skill or create duplicate aliases for it.
|
|
133
|
+
- Do not use external live-edit runtimes as Studio's live-edit execution path.
|
|
136
134
|
- Do not persist Rampa output directly to production without Studio token mapping.
|
|
137
135
|
- Do not fork or ship Palette Designer until its license is verified.
|
|
138
136
|
- Do not use Studio's deprecated `/api/editor/render` route.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# RDC Design Ownership
|
|
2
|
+
|
|
3
|
+
RDC Design is the RDC-owned design skill for Studio and LIFEAI interface work.
|
|
4
|
+
|
|
5
|
+
## Operating Boundary
|
|
6
|
+
|
|
7
|
+
- Use this skill for Studio, tokens, palettes, themes, local-debug editing, and RDC product UI.
|
|
8
|
+
- Keep unrelated installed skills and vendor artifacts untouched.
|
|
9
|
+
- Keep third-party attribution in dedicated license or notice files on disk, not in operational skill prompts.
|
|
10
|
+
- Use Studio docs, Studio APIs, and token tables as the source of truth.
|
|
11
|
+
|
|
12
|
+
## Attribution Files
|
|
13
|
+
|
|
14
|
+
When a feature uses third-party code or derives from third-party implementation details, preserve attribution in repository license, notice, or readme files that ship with that artifact.
|
|
15
|
+
|
|
16
|
+
Operational skills should describe RDC-owned workflows directly so agents do not route Studio work through unrelated tools.
|
|
@@ -48,7 +48,7 @@ Clauth relay route families:
|
|
|
48
48
|
|
|
49
49
|
## Native Local Debug Model
|
|
50
50
|
|
|
51
|
-
Studio live editing must use the RDC-owned local debug system, not
|
|
51
|
+
Studio live editing must use the RDC-owned local debug system, not an external live-edit runtime:
|
|
52
52
|
|
|
53
53
|
1. Studio starts a local session with `POST /studio/debug/start`.
|
|
54
54
|
2. Studio embeds the returned local `devUrl` with debug query params.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# RDC Design Lineage
|
|
2
|
-
|
|
3
|
-
RDC Design is inspired by and adapted from the Impeccable design workflow. Upstream Impeccable remains installed separately and untouched.
|
|
4
|
-
|
|
5
|
-
## Rules
|
|
6
|
-
|
|
7
|
-
- Keep the installed Impeccable skill available for direct use.
|
|
8
|
-
- Do not rename or overwrite installed Impeccable files.
|
|
9
|
-
- Do not create a second skill named `impeccable`.
|
|
10
|
-
- Use `rdc:design` for RDC, Studio, token, Palette Library, Rampa CLI, and LIFEAI interface work.
|
|
11
|
-
- Preserve third-party license and notice files if source material is forked or vendored.
|
|
12
|
-
|
|
13
|
-
## Attribution Text
|
|
14
|
-
|
|
15
|
-
Use this attribution in docs or NOTICE files when the implementation materially derives from Impeccable:
|
|
16
|
-
|
|
17
|
-
```text
|
|
18
|
-
RDC Design is inspired by and adapted from the Impeccable design workflow by Paul Bakaus.
|
|
19
|
-
Upstream Impeccable remains a separate installed skill.
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Practical Boundary
|
|
23
|
-
|
|
24
|
-
Concepts such as audit, polish, colorize, shape, craft, and anti-pattern checks are useful workflow patterns. RDC Design replaces the generic project model with RDC-specific knowledge:
|
|
25
|
-
|
|
26
|
-
- Studio as token authority
|
|
27
|
-
- Palette Library as palette persistence boundary
|
|
28
|
-
- Rampa CLI as proposal tooling
|
|
29
|
-
- RDC work-item protocol
|
|
30
|
-
- local Studio editor/debug routes
|
|
31
|
-
- real LIFEAI app and package paths
|