@hegemonart/get-design-done 1.45.0 → 1.47.0
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/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +97 -0
- package/README.md +4 -0
- package/SKILL.md +5 -1
- package/dist/claude-code/.claude/skills/figma-extract/SKILL.md +1 -1
- package/dist/claude-code/.claude/skills/graphify/SKILL.md +1 -1
- package/dist/claude-code/.claude/skills/list-pins/SKILL.md +27 -0
- package/dist/claude-code/.claude/skills/live/SKILL.md +98 -0
- package/dist/claude-code/.claude/skills/pin/SKILL.md +37 -0
- package/dist/claude-code/.claude/skills/unpin/SKILL.md +31 -0
- package/package.json +3 -1
- package/reference/live-mode-integration.md +80 -0
- package/reference/registry.json +14 -0
- package/reference/schemas/events.schema.json +1 -1
- package/reference/schemas/live-session.schema.json +64 -0
- package/reference/skill-metadata.md +117 -0
- package/scripts/lib/live/bandit-feed.cjs +64 -0
- package/scripts/lib/live/events.cjs +86 -0
- package/scripts/lib/live/harness-mode.cjs +93 -0
- package/scripts/lib/live/postcheck.cjs +158 -0
- package/scripts/lib/live/runtime.cjs +233 -0
- package/scripts/lib/live/scope-guard.cjs +145 -0
- package/scripts/lib/live/session-store.cjs +364 -0
- package/scripts/lib/manifest/schemas/skills.schema.json +42 -1
- package/scripts/lib/manifest/skills.json +415 -83
- package/scripts/lib/pin/cli.cjs +145 -0
- package/scripts/lib/pin/harness-detect.cjs +75 -0
- package/scripts/lib/pin/store.cjs +288 -0
- package/skills/figma-extract/SKILL.md +1 -1
- package/skills/graphify/SKILL.md +1 -1
- package/skills/list-pins/SKILL.md +27 -0
- package/skills/live/SKILL.md +98 -0
- package/skills/pin/SKILL.md +37 -0
- package/skills/unpin/SKILL.md +31 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gdd-pin
|
|
3
|
+
description: "Writes standalone shortcut aliases for a gdd skill across installed harness skill dirs. Use when you want a skill directly discoverable as its own command in every installed runtime."
|
|
4
|
+
argument-hint: "<skill-name>"
|
|
5
|
+
tools: Read, Bash
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# /gdd:pin
|
|
9
|
+
|
|
10
|
+
**Role:** Write a standalone shortcut alias (a small SKILL.md stub) for one gdd skill into every installed harness `skills/` directory, so that skill is directly discoverable as its own command in each runtime (Claude Code, Codex, Cursor, Gemini, and the rest).
|
|
11
|
+
|
|
12
|
+
Each pinned stub starts with the marker line `<!-- gdd-pinned-skill source=<skill> -->`, then carries frontmatter (name, description, argument-hint, tools) pulled from the manifest source of truth, then a one-line body pointing back at the canonical skill. Stubs are written atomically (temp file plus rename), so a failed write never leaves a half-written file.
|
|
13
|
+
|
|
14
|
+
## Steps
|
|
15
|
+
|
|
16
|
+
1. **Read the argument.** The skill name to pin comes from `$ARGUMENTS` (for example `darkmode`). If it is empty, ask the user which skill to pin and stop.
|
|
17
|
+
|
|
18
|
+
2. **Run the pin CLI.** Invoke the shipped script, passing the skill name. The plugin root resolves via `CLAUDE_PLUGIN_ROOT` (falling back to the current directory when that variable is absent):
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
node "${CLAUDE_PLUGIN_ROOT:-$(pwd)}/scripts/lib/pin/cli.cjs" pin "<skill-name>"
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The CLI detects every harness `skills/` directory that exists under the current project (`.claude/skills`, `.cursor/skills`, and so on) and writes the stub into each. Pass `--user` to also create the harness directories that do not exist yet:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
node "${CLAUDE_PLUGIN_ROOT:-$(pwd)}/scripts/lib/pin/cli.cjs" pin "<skill-name>" --user
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
3. **Report the result.** The CLI prints one line per harness it wrote to, plus any skips. Relay that summary verbatim. Exit codes: 0 means at least one stub was written, 1 means nothing was written (no harness dirs found, suggest `--user`), 2 means an error (for example an unknown skill name).
|
|
31
|
+
|
|
32
|
+
## Do Not
|
|
33
|
+
|
|
34
|
+
- Do not hand-write the stub files. Always go through the CLI so the marker, the manifest-sourced frontmatter, and the atomic write stay consistent.
|
|
35
|
+
- Do not pin a skill that is not in the manifest. The CLI rejects unknown skill names with exit code 2; surface that error rather than inventing a stub.
|
|
36
|
+
|
|
37
|
+
## PIN COMPLETE
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gdd-unpin
|
|
3
|
+
description: "Removes pinned skill aliases across harness dirs, deleting only stubs that carry the gdd pin marker. Use when you no longer want a pinned shortcut and want hand-written skills left untouched."
|
|
4
|
+
argument-hint: "<skill-name>"
|
|
5
|
+
tools: Read, Bash
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# /gdd:unpin
|
|
9
|
+
|
|
10
|
+
**Role:** Remove the pinned shortcut aliases for one gdd skill from every installed harness `skills/` directory. Only stubs that carry the marker line `<!-- gdd-pinned-skill source=<skill> -->` as their first non-empty line are deleted, so a hand-authored or unrelated SKILL.md is never touched.
|
|
11
|
+
|
|
12
|
+
## Steps
|
|
13
|
+
|
|
14
|
+
1. **Read the argument.** The skill name to unpin comes from `$ARGUMENTS` (for example `darkmode`). If it is empty, ask the user which skill to unpin and stop.
|
|
15
|
+
|
|
16
|
+
2. **Run the unpin CLI.** Invoke the shipped script, passing the skill name. The plugin root resolves via `CLAUDE_PLUGIN_ROOT` (falling back to the current directory when that variable is absent):
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
node "${CLAUDE_PLUGIN_ROOT:-$(pwd)}/scripts/lib/pin/cli.cjs" unpin "<skill-name>"
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
The CLI scans every harness `skills/` directory under the current project, checks each candidate stub for the gdd pin marker, deletes the ones that carry it, and refuses (skips with a warning) any file that does not.
|
|
23
|
+
|
|
24
|
+
3. **Report the result.** The CLI prints one line per harness it removed a stub from, plus a warning for any file it refused to delete. Relay that summary verbatim. Exit codes: 0 means at least one stub was removed, 1 means nothing was removed (no matching pinned stubs found), 2 means an error.
|
|
25
|
+
|
|
26
|
+
## Do Not
|
|
27
|
+
|
|
28
|
+
- Do not delete skill files by hand. Always go through the CLI so the marker check protects hand-written skills.
|
|
29
|
+
- Do not force-remove a file the CLI refused. A refusal means the file lacks the gdd pin marker and is not a pinned alias; leave it in place.
|
|
30
|
+
|
|
31
|
+
## UNPIN COMPLETE
|