@csark0812/skeleton 1.0.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/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@csark0812/skeleton",
3
+ "version": "1.0.0",
4
+ "description": "SSOT audit CLI for agent harness repos",
5
+ "type": "module",
6
+ "bin": {
7
+ "skeleton": "./dist/cli.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "templates",
12
+ "schemas"
13
+ ],
14
+ "engines": {
15
+ "node": ">=22"
16
+ },
17
+ "packageManager": "bun@1.2.21",
18
+ "scripts": {
19
+ "build": "bun build src/cli.ts --target=node --outfile=dist/cli.js && bun build src/hooks/customize-on-skill-read.ts --target=node --outfile=dist/hooks/customize-on-skill-read.js",
20
+ "test": "bun test",
21
+ "test:audit": "bun test src/audit/__tests__",
22
+ "test:cli": "bun test src/__tests__/cli",
23
+ "validate:changed": "bun src/cli.ts validate changed",
24
+ "validate:ci": "bun src/cli.ts validate changed --base origin/main",
25
+ "audit:docs": "bun src/cli.ts audit docs",
26
+ "audit:skills": "bun src/cli.ts audit skills",
27
+ "audit:self": "bun src/cli.ts audit self",
28
+ "prepack": "bun test && bun run build"
29
+ },
30
+ "dependencies": {
31
+ "ajv": "^8.17.1",
32
+ "github-slugger": "^2.0.0",
33
+ "remark": "^15.0.1",
34
+ "remark-gfm": "^4.0.1",
35
+ "tinyglobby": "^0.2.14",
36
+ "unist-util-visit": "^5.0.0",
37
+ "yaml": "^2.8.0"
38
+ },
39
+ "devDependencies": {
40
+ "@types/bun": "^1.3.8",
41
+ "@types/github-slugger": "^2.0.0",
42
+ "typescript": "~5.8.3"
43
+ }
44
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://github.com/csark0812/skeleton/schemas/config.schema.json",
4
+ "title": "Skeleton config",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": ["scan", "daysUntilStale"],
8
+ "properties": {
9
+ "scan": {
10
+ "type": "object",
11
+ "additionalProperties": false,
12
+ "required": ["include", "exclude", "banned"],
13
+ "properties": {
14
+ "include": {
15
+ "type": "array",
16
+ "items": { "type": "string", "minLength": 1 },
17
+ "minItems": 1
18
+ },
19
+ "exclude": {
20
+ "type": "array",
21
+ "items": { "type": "string" }
22
+ },
23
+ "banned": {
24
+ "type": "array",
25
+ "items": { "type": "string" }
26
+ },
27
+ "retiredSkills": {
28
+ "type": "array",
29
+ "items": { "type": "string", "pattern": "^[a-z0-9-]+$" }
30
+ }
31
+ }
32
+ },
33
+ "daysUntilStale": {
34
+ "type": "integer",
35
+ "minimum": 1
36
+ },
37
+ "plugins": {
38
+ "type": "array",
39
+ "items": { "type": "string", "minLength": 1 },
40
+ "description": "Plugin entry paths relative to .skeleton/ (v1.5 — unused in v1)"
41
+ }
42
+ }
43
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "hooks": {
3
+ "PostToolUse": [
4
+ {
5
+ "matcher": "Read",
6
+ "hooks": [
7
+ {
8
+ "type": "command",
9
+ "command": "{{HOOK_COMMAND}}"
10
+ }
11
+ ]
12
+ },
13
+ {
14
+ "matcher": "Skill",
15
+ "hooks": [
16
+ {
17
+ "type": "command",
18
+ "command": "{{HOOK_COMMAND}}"
19
+ }
20
+ ]
21
+ }
22
+ ]
23
+ }
24
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "hooks": {
3
+ "PostToolUse": [
4
+ {
5
+ "matcher": "read_file",
6
+ "hooks": [
7
+ {
8
+ "type": "command",
9
+ "command": "{{HOOK_COMMAND}}"
10
+ }
11
+ ]
12
+ }
13
+ ]
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ # yaml-language-server: $schema=node_modules/@csark0812/skeleton/schemas/config.schema.json
2
+
3
+ scan:
4
+ include:
5
+ - "docs/**"
6
+ - "README.md"
7
+ - ".skeleton/registry.md"
8
+ - "AGENTS.md"
9
+ exclude:
10
+ - "refs/**"
11
+ banned: []
12
+ retiredSkills: []
13
+
14
+ daysUntilStale: 180
@@ -0,0 +1,11 @@
1
+ {
2
+ "version": 1,
3
+ "hooks": {
4
+ "postToolUse": [
5
+ {
6
+ "command": "{{HOOK_COMMAND}}",
7
+ "matcher": "Read"
8
+ }
9
+ ]
10
+ }
11
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "validate:changed": "skeleton validate changed",
3
+ "validate:ci": "skeleton validate changed --base origin/main",
4
+ "audit:docs": "skeleton audit docs",
5
+ "audit:skills": "skeleton audit skills",
6
+ "audit:self": "skeleton audit self"
7
+ }
@@ -0,0 +1,10 @@
1
+ # Registry
2
+
3
+ <!-- doc-meta: owner=eng | last-reviewed=2026-07-11 -->
4
+
5
+ **Source of truth for** topic routing in this repo. Edit rows here; edit content in canonical files only.
6
+
7
+ ## Documentation
8
+
9
+ | Topic | Canonical file |
10
+ |-------|------------------|