@khanhspring/forge-spec 1.0.0 → 1.0.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 +3 -4
- package/package.json +2 -9
- /package/{forge-brainstorm → skills/forge-brainstorm}/SKILL.md +0 -0
- /package/{forge-close → skills/forge-close}/SKILL.md +0 -0
- /package/{forge-config → skills/forge-config}/SKILL.md +0 -0
- /package/{forge-contract → skills/forge-contract}/SKILL.md +0 -0
- /package/{forge-contract → skills/forge-contract}/reference/best-practices.md +0 -0
- /package/{forge-contract → skills/forge-contract}/reference/contract-template.yaml +0 -0
- /package/{forge-init → skills/forge-init}/SKILL.md +0 -0
- /package/{forge-spec → skills/forge-spec}/SKILL.md +0 -0
- /package/{forge-status → skills/forge-status}/SKILL.md +0 -0
- /package/{forge-tasks → skills/forge-tasks}/SKILL.md +0 -0
package/bin/install.js
CHANGED
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import { cpSync, mkdirSync } from 'fs';
|
|
4
4
|
import { join, dirname } from 'path';
|
|
5
|
-
import { homedir } from 'os';
|
|
6
5
|
import { fileURLToPath } from 'url';
|
|
7
6
|
|
|
8
7
|
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
9
8
|
const ROOT = join(__dirname, '..');
|
|
10
|
-
const SKILLS_DIR = join(
|
|
9
|
+
const SKILLS_DIR = join(process.cwd(), '.claude', 'skills');
|
|
11
10
|
|
|
12
11
|
const SKILLS = [
|
|
13
12
|
'forge-brainstorm',
|
|
@@ -25,9 +24,9 @@ console.log('Installing @forge-workflow/spec skills...\n');
|
|
|
25
24
|
mkdirSync(SKILLS_DIR, { recursive: true });
|
|
26
25
|
|
|
27
26
|
for (const skill of SKILLS) {
|
|
28
|
-
cpSync(join(ROOT, skill), join(SKILLS_DIR, skill), { recursive: true, force: true });
|
|
27
|
+
cpSync(join(ROOT, 'skills', skill), join(SKILLS_DIR, skill), { recursive: true, force: true });
|
|
29
28
|
console.log(` ✓ ${skill}`);
|
|
30
29
|
}
|
|
31
30
|
|
|
32
|
-
console.log(`\nInstalled to ${SKILLS_DIR}`)
|
|
31
|
+
console.log(`\nInstalled to ${SKILLS_DIR} (project-local)`)
|
|
33
32
|
console.log('Restart Claude Code, then run /forge-init in your spec repo.');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanhspring/forge-spec",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Forge spec repo skills for Claude Code — brainstorm, spec, tasks, contract, and more",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,14 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"bin",
|
|
11
|
-
"
|
|
12
|
-
"forge-close",
|
|
13
|
-
"forge-config",
|
|
14
|
-
"forge-contract",
|
|
15
|
-
"forge-init",
|
|
16
|
-
"forge-spec",
|
|
17
|
-
"forge-status",
|
|
18
|
-
"forge-tasks"
|
|
11
|
+
"skills"
|
|
19
12
|
],
|
|
20
13
|
"keywords": ["claude-code", "skills", "ai", "workflow", "microservices"],
|
|
21
14
|
"license": "MIT"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|