@erclx/aitk 0.66.1 → 0.68.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/claude/.claude-plugin/plugin.json +1 -1
- package/claude/skills/claude-orchestrate/REQUIREMENT.md +3 -0
- package/claude/skills/claude-orchestrate/SKILL.md +4 -6
- package/claude/skills/claude-orchestrate/references/orchestrator-handoff.md +12 -7
- package/claude/skills/claude-worktree/REQUIREMENT.md +8 -5
- package/claude/skills/claude-worktree/SKILL.md +24 -4
- package/claude/skills/claude-worktree/references/branch.md +60 -0
- package/claude/skills/git-branch/references/branch.md +1 -1
- package/claude/skills/git-followup/REQUIREMENT.md +3 -3
- package/claude/skills/git-followup/SKILL.md +3 -2
- package/claude/skills/git-pr/references/branch.md +1 -1
- package/claude/skills/git-split/references/branch.md +1 -1
- package/claude/skills/project-commands/SKILL.md +13 -5
- package/docs/agents/commands.md +1 -1
- package/docs/agents/context-audit.md +5 -1
- package/docs/agents/index.md +1 -1
- package/docs/agents/install-and-sync.md +23 -0
- package/docs/agents/markdown-audit.md +26 -6
- package/docs/ai-workflow.md +1 -1
- package/docs/target-projects.md +5 -5
- package/package.json +1 -1
- package/scripts/core/verify.sh +34 -0
- package/src/commands/markdown.ts +27 -6
- package/src/commands/sync.ts +51 -6
- package/src/commands/tooling.ts +35 -0
- package/src/markdown/gate.ts +28 -0
- package/src/sync/check.ts +125 -8
- package/src/sync/stamp.ts +64 -4
- package/src/tooling/stamp.ts +44 -0
- package/standards/bundled/branch.md +1 -1
- package/standards/slug.md +4 -2
- package/tooling/astro/reference.md +1 -1
- package/tooling/base/reference.md +1 -1
- package/tooling/claude/seeds/CLAUDE.md +1 -1
- package/tooling/vite-react/reference.md +1 -1
- package/tooling/web/reference.md +1 -1
package/standards/slug.md
CHANGED
|
@@ -16,9 +16,11 @@ Does not govern:
|
|
|
16
16
|
|
|
17
17
|
## The transform
|
|
18
18
|
|
|
19
|
-
Run `git branch --show-current`
|
|
19
|
+
Run `git branch --show-current`. Drop a leading segment naming one of the types `branch.md` defines when a further segment follows it, then replace every remaining `/` with `-`. The result is `<slug>`. Anything reading a branch-derived name uses this transform, so two surfaces cannot spell it differently.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
The type comes off because a plan takes its slug from the concern it covers and the branch executing that plan carries the same slug behind a type prefix. Keeping the prefix sends every surface that finds a plan from a branch name looking for `feat-jwt-expiration`, which no plan is filed under. A first segment matching no type stays, so `spike/parser` still yields `spike-parser`.
|
|
22
|
+
|
|
23
|
+
A surface that persists output to a shared folder carries the slug in the filename, which is what keeps parallel worktrees from overwriting each other's output. Two branches differing only in type collapse onto one slug. That collision reaches the worktree directory as well, since it takes its name from the same string, so the branch is not where it would first surface.
|
|
22
24
|
|
|
23
25
|
## An empty result
|
|
24
26
|
|
|
@@ -12,7 +12,7 @@ The astro stack covers Astro + TypeScript projects: content sites, marketing sit
|
|
|
12
12
|
2. Add React integration: `bunx astro add react`. Do not use `astro add tailwind`. That command installs the v3 integration. Tailwind v4 arrives via the web manifest.
|
|
13
13
|
3. Install web tooling: `aitk tooling sync web .`
|
|
14
14
|
4. Install astro adapter: `aitk tooling sync astro .`
|
|
15
|
-
5. Extend
|
|
15
|
+
5. Extend the `ci` and `development` context entries under `.claude/context/` per the web reference's extend sections plus the astro rows below.
|
|
16
16
|
6. Run `bun run lint:fix` then `bun run check`.
|
|
17
17
|
|
|
18
18
|
## What ships as golden configs
|
|
@@ -26,7 +26,7 @@ Seeds live in `tooling/base/seeds/`. Sync drops each once on first install and n
|
|
|
26
26
|
- `.cspell/project-terms.txt` and `.cspell/tech-stack.txt`: one word per line, sorted alphabetically.
|
|
27
27
|
- `.lintstagedrc`: the glob map below.
|
|
28
28
|
- `.prettierignore`: created empty. Projects add their own entries.
|
|
29
|
-
- `.claude/context
|
|
29
|
+
- `.claude/context/`: extend the `ci` and `development` entries with project-specific commands, workflows, or deploy steps. Canonical rationale stays in this reference.
|
|
30
30
|
|
|
31
31
|
## Tool pairing
|
|
32
32
|
|
|
@@ -11,7 +11,7 @@ The vite-react stack covers Vite + React + TypeScript projects: web apps and Chr
|
|
|
11
11
|
1. Scaffold with `bunx create-vite@latest <name> --template react-ts` (web apps) or `bunx create-crxjs@latest` (Chrome extensions).
|
|
12
12
|
2. Install base and web tooling: `aitk tooling sync web .`
|
|
13
13
|
3. Install vite-react deps and configs: `aitk tooling sync vite-react .`
|
|
14
|
-
4. Extend
|
|
14
|
+
4. Extend the `ci` and `development` context entries under `.claude/context/` per the web reference's extend sections plus the vite-react rows below.
|
|
15
15
|
5. Run `bun run lint:fix` then `bun run check`.
|
|
16
16
|
|
|
17
17
|
## What ships as golden configs
|
package/tooling/web/reference.md
CHANGED
|
@@ -78,7 +78,7 @@ Under `## Running CI locally`, document that `bun run check:full` runs verify pl
|
|
|
78
78
|
|
|
79
79
|
## Development docs (extend)
|
|
80
80
|
|
|
81
|
-
Extend `.claude/context
|
|
81
|
+
Extend the `development` context entry under `.claude/context/` so the `## Scripts` table lists every web script. Stack adapters add their `dev`, `build`, `preview`, `typecheck` rows.
|
|
82
82
|
|
|
83
83
|
Append rows:
|
|
84
84
|
|