gsd-cc 1.4.0 → 1.4.1
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/bin/install.js +17 -5
- package/package.json +1 -1
- package/skills/gsd/plan/SKILL.md +2 -2
- package/skills/gsd/seed/SKILL.md +3 -3
- package/skills/gsd/unify/SKILL.md +3 -3
package/bin/install.js
CHANGED
|
@@ -29,7 +29,7 @@ ${cyan} ██████╗ ███████╗██████╗
|
|
|
29
29
|
// Sub-skills that get their own top-level directory under .claude/skills/
|
|
30
30
|
const SUB_SKILLS = ['apply', 'auto', 'config', 'discuss', 'help', 'ideate', 'ingest', 'plan', 'profile', 'seed', 'stack', 'status', 'tutorial', 'unify', 'update', 'vision'];
|
|
31
31
|
|
|
32
|
-
// Shared directories
|
|
32
|
+
// Shared directories installed directly into .claude/
|
|
33
33
|
const SHARED_DIRS = ['checklists', 'prompts', 'templates'];
|
|
34
34
|
|
|
35
35
|
// Parse args
|
|
@@ -139,13 +139,15 @@ function install(isGlobal) {
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
// 3. Install shared resources (templates, checklists, prompts)
|
|
143
|
-
const
|
|
142
|
+
// 3. Install shared resources (templates, checklists, prompts) into .claude/
|
|
143
|
+
const claudeBase = isGlobal
|
|
144
|
+
? path.join(os.homedir(), '.claude')
|
|
145
|
+
: path.join(process.cwd(), '.claude');
|
|
144
146
|
for (const dir of SHARED_DIRS) {
|
|
145
147
|
const srcDir = path.join(skillsSrc, dir);
|
|
146
148
|
if (fs.existsSync(srcDir)) {
|
|
147
|
-
copyDir(srcDir, path.join(
|
|
148
|
-
fileCount += countFiles(path.join(
|
|
149
|
+
copyDir(srcDir, path.join(claudeBase, dir));
|
|
150
|
+
fileCount += countFiles(path.join(claudeBase, dir));
|
|
149
151
|
}
|
|
150
152
|
}
|
|
151
153
|
|
|
@@ -311,6 +313,7 @@ function countFiles(dir) {
|
|
|
311
313
|
function uninstall() {
|
|
312
314
|
const locations = [getSkillsBase(true), getSkillsBase(false)];
|
|
313
315
|
const allDirs = ['gsd-cc', ...SUB_SKILLS.map(s => `gsd-cc-${s}`), 'gsd-cc-shared', 'gsd'];
|
|
316
|
+
const sharedDirs = ['checklists', 'prompts', 'templates', 'hooks'];
|
|
314
317
|
|
|
315
318
|
let removed = false;
|
|
316
319
|
|
|
@@ -327,6 +330,15 @@ function uninstall() {
|
|
|
327
330
|
}
|
|
328
331
|
}
|
|
329
332
|
|
|
333
|
+
// Remove shared dirs from .claude/
|
|
334
|
+
const claudeDir = base.replace(/\/skills$/, '');
|
|
335
|
+
for (const dir of sharedDirs) {
|
|
336
|
+
const fullPath = path.join(claudeDir, dir);
|
|
337
|
+
if (removeDir(fullPath)) {
|
|
338
|
+
removedFromLocation = true;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
330
342
|
if (removedFromLocation) {
|
|
331
343
|
console.log(` ${green}✓${reset} Removed GSD-CC from ${label}`);
|
|
332
344
|
removed = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gsd-cc",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Get Shit Done on Claude Code — structured AI development with your Max plan",
|
|
5
5
|
"author": "Philipp Briese (https://github.com/0ui-labs)",
|
|
6
6
|
"homepage": "https://github.com/0ui-labs/GSD-CC#readme",
|
package/skills/gsd/plan/SKILL.md
CHANGED
|
@@ -202,8 +202,8 @@ One file per task, using the PLAN.xml template format:
|
|
|
202
202
|
|
|
203
203
|
Before finishing, check against `checklists/planning-ready.md`:
|
|
204
204
|
|
|
205
|
-
Read: `~/.claude/
|
|
206
|
-
(or `./.claude/
|
|
205
|
+
Read: `~/.claude/checklists/planning-ready.md`
|
|
206
|
+
(or `./.claude/checklists/planning-ready.md`)
|
|
207
207
|
|
|
208
208
|
Verify ALL of these:
|
|
209
209
|
|
package/skills/gsd/seed/SKILL.md
CHANGED
|
@@ -102,8 +102,8 @@ Walk through the guide sections **one at a time**. For each section:
|
|
|
102
102
|
|
|
103
103
|
After completing all sections, mentally check against `checklists/planning-ready.md`:
|
|
104
104
|
|
|
105
|
-
Read: `~/.claude/
|
|
106
|
-
(or `./.claude/
|
|
105
|
+
Read: `~/.claude/checklists/planning-ready.md`
|
|
106
|
+
(or `./.claude/checklists/planning-ready.md`)
|
|
107
107
|
|
|
108
108
|
Verify:
|
|
109
109
|
- Is there enough information to create a roadmap?
|
|
@@ -118,7 +118,7 @@ Create the `.gsd/` directory and write these files:
|
|
|
118
118
|
|
|
119
119
|
#### `.gsd/PLANNING.md`
|
|
120
120
|
|
|
121
|
-
Use the template from `~/.claude/
|
|
121
|
+
Use the template from `~/.claude/templates/PLANNING.md` (or `./.claude/templates/PLANNING.md`). Fill in all sections from the conversation:
|
|
122
122
|
- Vision (from their initial description + refinements)
|
|
123
123
|
- Users (from user/auth discussions)
|
|
124
124
|
- Requirements v1, v2, Out of Scope (from exploration)
|
|
@@ -194,14 +194,14 @@ If no VISION.md exists, skip this step.
|
|
|
194
194
|
|
|
195
195
|
Check against `checklists/unify-complete.md`:
|
|
196
196
|
|
|
197
|
-
Read: `~/.claude/
|
|
198
|
-
(or `./.claude/
|
|
197
|
+
Read: `~/.claude/checklists/unify-complete.md`
|
|
198
|
+
(or `./.claude/checklists/unify-complete.md`)
|
|
199
199
|
|
|
200
200
|
Verify ALL items pass. If any fails, fix the UNIFY document before proceeding.
|
|
201
201
|
|
|
202
202
|
## Step 9: Write UNIFY.md
|
|
203
203
|
|
|
204
|
-
Write `.gsd/S{nn}-UNIFY.md` using the template from `~/.claude/
|
|
204
|
+
Write `.gsd/S{nn}-UNIFY.md` using the template from `~/.claude/templates/UNIFY.md` (or `./.claude/templates/UNIFY.md`). Include all sections from Steps 2-7.
|
|
205
205
|
|
|
206
206
|
Set frontmatter:
|
|
207
207
|
```yaml
|