thachvd-kit 1.0.18 → 1.0.19
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/bin/cli.js +24 -19
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -140,8 +140,8 @@ ${pc.bold('What gets generated:')}
|
|
|
140
140
|
CLAUDE.md Claude Code entry file that imports AGENTS.md
|
|
141
141
|
GEMINI.md Antigravity entry file that points to AGENTS.md
|
|
142
142
|
.agent/ Shared docs, skills, workflows, agents, and rules
|
|
143
|
-
|
|
144
|
-
.claude/skills/
|
|
143
|
+
~/.codex/skills/ Selected Codex skills copied to global user dir (shows in $ menu)
|
|
144
|
+
.claude/skills/ Selected Claude Code project skills copied from .agent/skills
|
|
145
145
|
|
|
146
146
|
${pc.bold('Workflow guide:')}
|
|
147
147
|
Idea is fuzzy /brainstorm Explore options, tradeoffs, and recommended direction
|
|
@@ -918,8 +918,9 @@ If any \`.agent/docs/*.md\` file still contains \`TODO: refine\`, update the doc
|
|
|
918
918
|
## Skill Loading
|
|
919
919
|
|
|
920
920
|
- Treat \`.agent/skills/\` as the shared source of truth for all kit skills.
|
|
921
|
-
- Codex
|
|
922
|
-
-
|
|
921
|
+
- Codex exposes skills from \`~/.codex/skills/\` in the \`$\` menu; \`thachvd-kit\` copies selected skills there on init.
|
|
922
|
+
- Claude Code project skills live in \`.claude/skills/\`.
|
|
923
|
+
- If a skill is missing from the global dir, fall back to the matching \`.agent/skills/<skill>/SKILL.md\` file.
|
|
923
924
|
- Do not load skill bodies by default; load a skill only when the user mentions it, the task clearly matches its description, or \`.agent/docs/project.md\` routes the task to it.
|
|
924
925
|
- Prefer explicit skill mentions for predictable behavior: \`$clean-code\`, \`$systematic-debugging\`, \`$webapp-testing\`, or any skill listed in \`.agent/docs/project.md\`.
|
|
925
926
|
- Run \`thachvd-kit --help\` to see common workflow and skill recommendations.
|
|
@@ -939,7 +940,7 @@ If any \`.agent/docs/*.md\` file still contains \`TODO: refine\`, update the doc
|
|
|
939
940
|
- Project docs: \`.agent/docs/\`
|
|
940
941
|
- Specialist agents: \`.agent/agents/\`
|
|
941
942
|
- Skills: \`.agent/skills/\`
|
|
942
|
-
- Codex
|
|
943
|
+
- Codex global skills: \`~/.codex/skills/\` (installed by thachvd-kit init)
|
|
943
944
|
- Claude Code project skills: \`.claude/skills/\`
|
|
944
945
|
- Workflows: \`.agent/workflows/\`
|
|
945
946
|
- Tooling setup: \`.agent/docs/tooling.md\`
|
|
@@ -1121,12 +1122,12 @@ function generateWorkflowDoc() {
|
|
|
1121
1122
|
1. Read AGENTS.md.
|
|
1122
1123
|
2. Read .agent/docs/project.md.
|
|
1123
1124
|
3. Classify the request: question, survey, simple fix, feature, refactor, debug, UI, security, or deploy.
|
|
1124
|
-
4. Read only the relevant docs under .agent/agents, .agent/skills, .
|
|
1125
|
+
4. Read only the relevant docs under .agent/agents, .agent/skills, .claude/skills, and .agent/workflows.
|
|
1125
1126
|
|
|
1126
1127
|
## Skill Selection
|
|
1127
1128
|
|
|
1128
1129
|
- Prefer native skill discovery when the client exposes it.
|
|
1129
|
-
- Codex
|
|
1130
|
+
- Codex global skills live in ~/.codex/skills/ and are visible via the $ menu; thachvd-kit copies selected skills there on init.
|
|
1130
1131
|
- Claude Code project skills live in .claude/skills.
|
|
1131
1132
|
- Shared fallback skills live in .agent/skills.
|
|
1132
1133
|
- Do not load skill bodies by default.
|
|
@@ -1281,14 +1282,13 @@ Common local path:
|
|
|
1281
1282
|
|
|
1282
1283
|
## Native Skill Folders
|
|
1283
1284
|
|
|
1284
|
-
The shared kit skills live in \`.agent/skills/\`. Antigravity
|
|
1285
|
+
The shared kit skills live in \`.agent/skills/\`. Antigravity reads that folder directly. Codex shows skills from \`~/.codex/skills/\` in the \`$\` menu. Claude Code reads project skills from \`.claude/skills/\`.
|
|
1285
1286
|
|
|
1286
|
-
- Codex
|
|
1287
|
-
-
|
|
1288
|
-
-
|
|
1289
|
-
- Claude Code project skills commonly live under \`.claude/skills/\`.
|
|
1290
|
-
- \`thachvd-kit\` copies selected native skills to \`.agents/skills/\` and \`.claude/skills/\` based on the detected stack.
|
|
1287
|
+
- Codex global skills: \`~/.codex/skills/\` — installed by \`thachvd-kit init\`, visible in Codex \`$\` menu
|
|
1288
|
+
- Claude Code project skills: \`.claude/skills/\`
|
|
1289
|
+
- Antigravity: reads \`.agent/skills/\` directly (no copy needed)
|
|
1291
1290
|
- Keep \`.agent/skills/\` as the full shared source of truth committed with the repo.
|
|
1291
|
+
- Do not commit \`~/.codex/skills/\`; it is local user state.
|
|
1292
1292
|
|
|
1293
1293
|
Recommended candidates to copy first:
|
|
1294
1294
|
|
|
@@ -1340,10 +1340,15 @@ function copySelectedSkillFolders(data, assumeYes) {
|
|
|
1340
1340
|
if (!fs.existsSync(srcSkills)) return { copied: 0, skipped: 0, missing: 0, skills: [] };
|
|
1341
1341
|
|
|
1342
1342
|
const selectedSkills = resolveNativeSkills(data);
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1343
|
+
|
|
1344
|
+
// ~/.codex/skills/ — global Codex user skills dir, always visible in the $ menu
|
|
1345
|
+
const codexSkillsDir = homePath('.codex', 'skills');
|
|
1346
|
+
// .claude/skills/ — project-level Claude Code skills
|
|
1347
|
+
const claudeSkillsDir = path.join(targetDir, '.claude', 'skills');
|
|
1348
|
+
|
|
1349
|
+
const destinations = [claudeSkillsDir];
|
|
1350
|
+
if (codexSkillsDir) destinations.push(codexSkillsDir);
|
|
1351
|
+
|
|
1347
1352
|
let copied = 0;
|
|
1348
1353
|
let skipped = 0;
|
|
1349
1354
|
let missing = 0;
|
|
@@ -1605,7 +1610,7 @@ async function main() {
|
|
|
1605
1610
|
|
|
1606
1611
|
const nativeSkills = copySelectedSkillFolders(data, assumeYes);
|
|
1607
1612
|
if (nativeSkills.copied > 0) {
|
|
1608
|
-
console.log(` ${pc.green('OK')} Copied native skills to ${pc.bold('
|
|
1613
|
+
console.log(` ${pc.green('OK')} Copied native skills to ${pc.bold('~/.codex/skills/')} and ${pc.bold('.claude/skills/')} (${nativeSkills.skills.join(', ')})`);
|
|
1609
1614
|
} else if (nativeSkills.skipped > 0) {
|
|
1610
1615
|
console.log(` ${pc.yellow('~')} Native skills already exist - ${nativeSkills.skipped} file${nativeSkills.skipped !== 1 ? 's' : ''} skipped`);
|
|
1611
1616
|
}
|
|
@@ -1647,7 +1652,7 @@ async function main() {
|
|
|
1647
1652
|
- ${pc.bold('GEMINI.md')} Antigravity entry
|
|
1648
1653
|
- ${pc.bold('.agent/docs/')} scan-based project rules
|
|
1649
1654
|
- ${pc.bold('.agent/')} skills, workflows, agents, and rules
|
|
1650
|
-
- ${pc.bold('
|
|
1655
|
+
- ${pc.bold('~/.codex/skills/')} selected Codex skills installed globally (visible in $ menu)
|
|
1651
1656
|
- ${pc.bold('.claude/skills/')} selected Claude Code native skills
|
|
1652
1657
|
|
|
1653
1658
|
${pc.bold('MCP/tooling setup:')}
|