@erclx/aitk 3.14.2 → 3.15.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aitk",
3
3
  "description": "Automated governance, versioning, and discovery tools for Claude Code.",
4
- "version": "3.14.2",
4
+ "version": "3.15.0",
5
5
  "author": {
6
6
  "name": "Eric Le",
7
7
  "url": "https://github.com/erclx"
@@ -30,7 +30,7 @@ The greenfield path needs a personality paragraph to propose against, and stops
30
30
 
31
31
  Read these on both paths, skipping any that do not exist:
32
32
 
33
- - `CLAUDE.md`: voice, personality, spelling rules
33
+ - `CLAUDE.md`: voice and personality
34
34
  - `.claude/REQUIREMENTS.md`: the `## Personality` paragraph, worldview, non-goals
35
35
  - `${CLAUDE_SKILL_DIR}/../../standards/markdown.md`: word, punctuation, and formatting constraints
36
36
  - The `write-human` skill: tone and sentence construction constraints
@@ -0,0 +1,14 @@
1
+ ---
2
+ description: Route index.md edits to the regeneration verb, its frontmatter contract, and the hand-edit opt-out
3
+ paths:
4
+ - '**/index.md'
5
+ ---
6
+
7
+ # Index standards
8
+
9
+ ## Generation
10
+
11
+ - Do not hand-edit an `index.md` that an agent browses to pick a document. Run `aitk indexes regen` instead.
12
+ - Preserve an `index.md`'s own frontmatter (`title`, `subtitle`). The regen walker keeps it.
13
+ - Add `auto: false` to an `index.md`'s frontmatter to keep that folder's index hand-edited.
14
+ - Skip `index.md` in a code folder or a scratch folder. Neither needs one.
@@ -0,0 +1,19 @@
1
+ ---
2
+ description: Route .cspell/ dictionary additions to the right seeded file and keep each sorted
3
+ paths:
4
+ - '.cspell/**'
5
+ ---
6
+
7
+ # Spelling standards
8
+
9
+ ## Dictionary routing
10
+
11
+ - Rewrite a typo rather than adding it. Add only a real term.
12
+ - Add a term from a tool, library, or platform the project depends on to `.cspell/tech-stack.txt`, whether it is the dependency's own name or vocabulary from its config, API, or spec.
13
+ - Add jargon, an acronym, a handle, or another project-specific term to `.cspell/project-terms.txt`.
14
+ - Leave a dictionary declared `addWords: false` alone. It mirrors a closed set maintained elsewhere in the project rather than approved vocabulary, so route a word there through whatever maintains that set instead of editing the dictionary file.
15
+ - Add a third dictionary only when cspell still flags a term neither file covers. Declare its path in `cspell.json` with `addWords: true` before adding words to it.
16
+
17
+ ## File shape
18
+
19
+ - Keep every dictionary file sorted alphabetically.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@erclx/aitk",
3
3
  "type": "module",
4
- "version": "3.14.2",
4
+ "version": "3.15.0",
5
5
  "description": "Infrastructure and quality tooling for developer workflows",
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -31,8 +31,6 @@
31
31
  ## Indexes
32
32
 
33
33
  - Check a folder's `index.md` before grepping its source or reading its files, starting with `.claude/context/` for a domain and `.claude/wireframes/` for a UI surface. It orients faster than a blind search.
34
- - For folders where an agent browses to pick a document, `index.md` is regenerated from each file's frontmatter. Do not hand-edit `index.md`. Code folders and scratch folders do not need one.
35
- - Every `index.md` carries its own frontmatter (`title`, `subtitle`) that the walker preserves. To keep a folder's `index.md` hand-edited, add `auto: false` to its frontmatter.
36
34
 
37
35
  ## Commands
38
36
 
@@ -60,11 +58,6 @@
60
58
  - `.claude/rules/`: path-scoped coding standards loaded by Claude Code on file match
61
59
  - `.claude/review/`: gitignored scratch for review and UI-test output, overwritten on each run
62
60
 
63
- ## Spelling
64
-
65
- - When cspell flags a word, rewrite typos. Add real terms to the appropriate dictionary in `cspell.json`.
66
- - Keep dictionary files sorted alphabetically
67
-
68
61
  ## Tasks
69
62
 
70
63
  - `.claude/tasks/` is gitignored local session scratch, one file per task. Edit freely. No staging or revert before commits.