@csark0812/skeleton 1.5.6 → 1.6.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/README.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  **Source of truth for** Package overview.
4
4
 
5
- <!-- doc-meta: owner=eng | last-reviewed=2026-07-17 -->
5
+ <!-- doc-meta: owner=eng | last-reviewed=2026-08-16 -->
6
6
 
7
7
  Agent repos get messy fast. Skills get copied around, docs disagree, links go stale, and nobody remembers which file is actually canonical.
8
8
 
9
- Skeleton is an SSOT linter for that layer. Define the contract once; Skeleton checks it locally and in CI. If a canonical doc disappears, a registry drifts, a skill index stops matching disk, or a generated reference gets edited by hand, the audit fails before merge.
9
+ Skeleton is an SSOT linter for that layer. Define the contract once; Skeleton checks it locally and in CI. If a canonical doc disappears, SSOT markers drift, a skill index stops matching disk, or a generated reference gets edited by hand, the audit fails before merge.
10
10
 
11
11
  Think ESLint — for the docs and skills your agents rely on.
12
12
 
@@ -20,7 +20,7 @@ That needs to be explicit — and stay true after the next 50 PRs. Skeleton turn
20
20
 
21
21
  | Code repos | Agent repos |
22
22
  | ------------------------------------------------------- | -------------------------------------------------------------------------------------- |
23
- | ESLint catches broken imports, unused vars, style drift | Skeleton catches broken links, missing registry rows, stale doc-meta, banned artifacts |
23
+ | ESLint catches broken imports, unused vars, style drift | Skeleton catches broken links, bad SSOT markers, stale doc-meta, deny.paths artifacts |
24
24
  | `eslint --fix` on changed files | `skeleton validate changed` on changed docs and skills |
25
25
  | Pre-commit + CI gate | `--staged` pre-commit + `--base` CI gate |
26
26
 
@@ -76,27 +76,32 @@ npm install -D @csark0812/skeleton
76
76
  npx skeleton init --skills
77
77
  ```
78
78
 
79
- That writes `.skeleton/`, adds the validation scripts, and wires customize hooks for Cursor, Claude Code, and Codex.
79
+ That writes `skeleton.toml`, ensures `.skeleton/customize/`, adds validation scripts, and may wire **optional** customize hooks for Cursor, Claude Code, and Codex.
80
80
 
81
- Edit `.skeleton/config.yaml` for your repo layout, then verify:
81
+ Edit `skeleton.toml` for your repo layout, then verify:
82
82
 
83
83
  ```bash
84
- npx skeleton audit self
84
+ npx skeleton catalog
85
+ npx skeleton audit docs
85
86
  ```
86
87
 
87
88
  Flag details: [install](docs/developer/install.md).
88
89
 
89
90
  ## What it checks
90
91
 
91
- - **Registry integrity** — `.skeleton/registry.md` topic canonical file pointers; banner format on registered docs
92
+ - **SSOT markers** — opt-in `source-of-truth` (comment or visible); dual/malformed forms fail; legacy banners accepted
93
+ - **Near-duplicate docs** — shingle overlap + duplicate SSOT summaries (warn / `--strict`)
94
+ - **SSOT summary fit** — heuristic overlap between the one-liner and the body (warn / `--strict`)
92
95
  - **Link audit** — broken refs, skill links, anchors in scanned markdown
93
96
  - **Skill index** — disk matches taxonomy READMEs in detected skill roots
94
97
  - **Banned paths** — session artifacts and other files that must not exist
95
98
  - **Coverage gaps** — markdown outside the scan perimeter (warn-only)
96
- - **Doc meta + stale dates** — owner and `last-reviewed` on index and registry-listed files
99
+ - **Doc meta + stale dates** — owner and `last-reviewed` on indexes and SSOT-bearing files
97
100
  - **Prose policy** (optional plugins) — YAML pattern rules; idle with no plugins
98
101
  - **Shell / JSON syntax** — lightweight checks on changed `.sh` and `.json` files
99
102
 
103
+ Agents skim `.skeleton/catalog.md` (generated, gitignored) before opening full papers.
104
+
100
105
  Skeleton doesn't replace your code gates. Keep TypeScript, Python, Nx, pytest, and the rest in the repo that owns them.
101
106
 
102
107
  ## The `.skeleton/` contract