@lythos/skill-deck 0.9.46 → 0.9.48
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/README.md +12 -12
- package/package.json +1 -1
- package/src/cli.ts +6 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
This package exposes a **CLI**. Invoke via:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
bunx @lythos/skill-deck@0.9.
|
|
12
|
+
bunx @lythos/skill-deck@0.9.48 <command> [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
No installation required. `bunx` auto-downloads the package.
|
|
@@ -55,15 +55,15 @@ prompt = "Search for latest info, then generate professional document with diagr
|
|
|
55
55
|
|
|
56
56
|
| Situation | Command |
|
|
57
57
|
|-----------|---------|
|
|
58
|
-
| Sync working set with `skill-deck.toml` | `bunx @lythos/skill-deck@0.9.
|
|
59
|
-
| Validate `skill-deck.toml` before committing | `bunx @lythos/skill-deck@0.9.
|
|
60
|
-
| Download a skill to cold pool and add to deck | `bunx @lythos/skill-deck@0.9.
|
|
61
|
-
| Pull latest versions of declared skills | `bunx @lythos/skill-deck@0.9.
|
|
62
|
-
| Refresh a single skill by alias | `bunx @lythos/skill-deck@0.9.
|
|
63
|
-
| Remove a skill from deck and working set | `bunx @lythos/skill-deck@0.9.
|
|
64
|
-
| Switch skill to symlink mode (live) | `bunx @lythos/skill-deck@0.9.
|
|
65
|
-
| Switch skill to snapshot mode (pinned) | `bunx @lythos/skill-deck@0.9.
|
|
66
|
-
| Use a custom deck file or working dir | `bunx @lythos/skill-deck@0.9.
|
|
58
|
+
| Sync working set with `skill-deck.toml` | `bunx @lythos/skill-deck@0.9.48 link` |
|
|
59
|
+
| Validate `skill-deck.toml` before committing | `bunx @lythos/skill-deck@0.9.48 validate` |
|
|
60
|
+
| Download a skill to cold pool and add to deck | `bunx @lythos/skill-deck@0.9.48 add owner/repo` |
|
|
61
|
+
| Pull latest versions of declared skills | `bunx @lythos/skill-deck@0.9.48 refresh` |
|
|
62
|
+
| Refresh a single skill by alias | `bunx @lythos/skill-deck@0.9.48 refresh tdd` |
|
|
63
|
+
| Remove a skill from deck and working set | `bunx @lythos/skill-deck@0.9.48 remove tdd` |
|
|
64
|
+
| Switch skill to symlink mode (live) | `bunx @lythos/skill-deck@0.9.48 to-symlink tdd` |
|
|
65
|
+
| Switch skill to snapshot mode (pinned) | `bunx @lythos/skill-deck@0.9.48 to-snapshot tdd` |
|
|
66
|
+
| Use a custom deck file or working dir | `bunx @lythos/skill-deck@0.9.48 link --deck ./my-deck.toml --workdir /path/to/project` |
|
|
67
67
|
|
|
68
68
|
### Commands
|
|
69
69
|
|
|
@@ -124,7 +124,7 @@ path = "github.com/lythos-labs/lythoskill/skills/lythoskill-deck"
|
|
|
124
124
|
EOF
|
|
125
125
|
|
|
126
126
|
# 2. Link — creates symlinks in .claude/skills/
|
|
127
|
-
bunx @lythos/skill-deck@0.9.
|
|
127
|
+
bunx @lythos/skill-deck@0.9.48 link
|
|
128
128
|
```
|
|
129
129
|
|
|
130
130
|
### Key Concepts
|
|
@@ -210,7 +210,7 @@ Caution: deck's deny-by-default will remove any skills not declared in your deck
|
|
|
210
210
|
|
|
211
211
|
| Symptom | Cause | Fix |
|
|
212
212
|
|---------|-------|-----|
|
|
213
|
-
| `❌ Skill not found: <name>` | Skill declared in deck but not in cold pool | `bunx @lythos/skill-deck@0.9.
|
|
213
|
+
| `❌ Skill not found: <name>` | Skill declared in deck but not in cold pool | `bunx @lythos/skill-deck@0.9.48 add github.com/owner/repo/skill` or clone manually into cold pool |
|
|
214
214
|
| `link` skips entries with warnings | Real files/directories exist in working set (not symlinks) | Delete the real directories in `working_set` and re-run `link`. Never create directories manually there |
|
|
215
215
|
| `refresh` reports "Not a git repository" | Skill was copied (not cloned) into cold pool | Re-clone with `git clone` or use `deck add` which clones by default |
|
|
216
216
|
| `deck update` prints deprecation warning | `update` was renamed to `refresh` in v0.8+ | Use `deck refresh` instead |
|
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -29,7 +29,12 @@ if (cliDeck && isUrl(cliDeck)) {
|
|
|
29
29
|
try {
|
|
30
30
|
deckPath = await fetchDeckUrl(cliDeck)
|
|
31
31
|
} catch (e: any) {
|
|
32
|
-
console.error(`❌ ${e.message}`)
|
|
32
|
+
console.error(`❌ Failed to fetch deck from URL: ${e.message}`)
|
|
33
|
+
console.error('')
|
|
34
|
+
console.error('The deck URL may be unreachable or require authentication.')
|
|
35
|
+
console.error('To fix:')
|
|
36
|
+
console.error(' - Verify the URL is correct and publicly accessible')
|
|
37
|
+
console.error(' - Use a local deck file instead: deck <command> --deck ./skill-deck.toml')
|
|
33
38
|
process.exit(1)
|
|
34
39
|
}
|
|
35
40
|
} else if (cliDeck) {
|