@csark0812/skeleton 1.1.0 → 1.1.2
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 +18 -7
- package/dist/cli.js +105 -14
- package/dist/hooks/customize-on-skill-read.js +6385 -13
- package/package.json +3 -2
- package/schemas/config.schema.json +22 -1
- package/templates/skeleton-init/config.yaml +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csark0812/skeleton",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "SSOT audit CLI for agent harness repos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,12 +20,13 @@
|
|
|
20
20
|
"test": "bun test",
|
|
21
21
|
"test:audit": "bun test src/audit/__tests__",
|
|
22
22
|
"test:cli": "bun test src/__tests__/cli",
|
|
23
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
23
24
|
"validate:changed": "bun src/cli.ts validate changed",
|
|
24
25
|
"validate:ci": "bun src/cli.ts validate changed --base origin/main",
|
|
25
26
|
"audit:docs": "bun src/cli.ts audit docs",
|
|
26
27
|
"audit:skills": "bun src/cli.ts audit skills",
|
|
27
28
|
"audit:self": "bun src/cli.ts audit self",
|
|
28
|
-
"prepack": "bun test && bun run build"
|
|
29
|
+
"prepack": "bun test && bun run typecheck && bun run build"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
32
|
"ajv": "^8.17.1",
|
|
@@ -24,9 +24,14 @@
|
|
|
24
24
|
"type": "array",
|
|
25
25
|
"items": { "type": "string" }
|
|
26
26
|
},
|
|
27
|
-
|
|
27
|
+
"retiredSkills": {
|
|
28
28
|
"type": "array",
|
|
29
29
|
"items": { "type": "string", "pattern": "^[a-z0-9-]+$" }
|
|
30
|
+
},
|
|
31
|
+
"nonPublicSkills": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": { "type": "string", "pattern": "^[a-z0-9-]+$" },
|
|
34
|
+
"description": "Skill slugs that exist on disk but must not appear in README Taxonomy (consumer-internal skills)"
|
|
30
35
|
}
|
|
31
36
|
}
|
|
32
37
|
},
|
|
@@ -34,6 +39,22 @@
|
|
|
34
39
|
"type": "integer",
|
|
35
40
|
"minimum": 1
|
|
36
41
|
},
|
|
42
|
+
"customize": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"description": "Customize inject options for IDE hooks and `skeleton customize resolve`",
|
|
46
|
+
"properties": {
|
|
47
|
+
"alwaysInclude": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"minLength": 1,
|
|
52
|
+
"pattern": "^[a-zA-Z0-9._-]+\\.md$"
|
|
53
|
+
},
|
|
54
|
+
"description": "Basenames under .skeleton/customize/ appended whenever a skill customize injects (even if the slug file is missing or empty)"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
37
58
|
"plugins": {
|
|
38
59
|
"type": "array",
|
|
39
60
|
"items": { "type": "string", "minLength": 1 },
|