minimal-vibe-coding-kit 0.4.2 → 0.5.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.
Files changed (133) hide show
  1. package/.agents/skills/claim/SKILL.md +82 -0
  2. package/.agents/skills/tutien/SKILL.md +74 -0
  3. package/.agents/skills/tutien/references/classification.md +64 -0
  4. package/.agents/skills/tutien/references/lore-sources.md +15 -0
  5. package/.agents/skills/tutien/references/privacy.md +33 -0
  6. package/.agents/skills/tutien/references/schema.md +75 -0
  7. package/.agents/skills/tutien/references/scoring-and-realms.md +37 -0
  8. package/.agents/skills/tutien/references/voice-and-mode.md +44 -0
  9. package/.agents/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
  10. package/.agents/skills/tutien/scripts/adapters/git.mjs +48 -0
  11. package/.agents/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
  12. package/.agents/skills/tutien/scripts/analyze-history.mjs +84 -0
  13. package/.agents/skills/tutien/scripts/catalog.mjs +130 -0
  14. package/.agents/skills/tutien/scripts/classify.mjs +311 -0
  15. package/.agents/skills/tutien/scripts/command.mjs +107 -0
  16. package/.agents/skills/tutien/scripts/compare.mjs +41 -0
  17. package/.agents/skills/tutien/scripts/metrics.mjs +306 -0
  18. package/.agents/skills/tutien/scripts/normalize-events.mjs +68 -0
  19. package/.agents/skills/tutien/scripts/redact.mjs +30 -0
  20. package/.agents/skills/tutien/scripts/render-report.mjs +423 -0
  21. package/.agents/skills/tutien/scripts/run-tutien.mjs +272 -0
  22. package/.agents/skills/tutien/scripts/score.mjs +97 -0
  23. package/.agents/skills/tutien/scripts/snapshot.mjs +76 -0
  24. package/.agents/skills/tutien/scripts/villains.mjs +196 -0
  25. package/.claude/skills/claim/SKILL.md +82 -0
  26. package/.claude/skills/tutien/SKILL.md +74 -0
  27. package/.claude/skills/tutien/references/classification.md +64 -0
  28. package/.claude/skills/tutien/references/lore-sources.md +15 -0
  29. package/.claude/skills/tutien/references/privacy.md +33 -0
  30. package/.claude/skills/tutien/references/schema.md +75 -0
  31. package/.claude/skills/tutien/references/scoring-and-realms.md +37 -0
  32. package/.claude/skills/tutien/references/voice-and-mode.md +44 -0
  33. package/.claude/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
  34. package/.claude/skills/tutien/scripts/adapters/git.mjs +48 -0
  35. package/.claude/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
  36. package/.claude/skills/tutien/scripts/analyze-history.mjs +84 -0
  37. package/.claude/skills/tutien/scripts/catalog.mjs +130 -0
  38. package/.claude/skills/tutien/scripts/classify.mjs +311 -0
  39. package/.claude/skills/tutien/scripts/command.mjs +107 -0
  40. package/.claude/skills/tutien/scripts/compare.mjs +41 -0
  41. package/.claude/skills/tutien/scripts/metrics.mjs +306 -0
  42. package/.claude/skills/tutien/scripts/normalize-events.mjs +68 -0
  43. package/.claude/skills/tutien/scripts/redact.mjs +30 -0
  44. package/.claude/skills/tutien/scripts/render-report.mjs +423 -0
  45. package/.claude/skills/tutien/scripts/run-tutien.mjs +272 -0
  46. package/.claude/skills/tutien/scripts/score.mjs +97 -0
  47. package/.claude/skills/tutien/scripts/snapshot.mjs +76 -0
  48. package/.claude/skills/tutien/scripts/villains.mjs +196 -0
  49. package/.codex-plugin/plugin.json +1 -1
  50. package/.cursor/skills/claim/SKILL.md +82 -0
  51. package/.cursor/skills/tutien/SKILL.md +74 -0
  52. package/.cursor/skills/tutien/references/classification.md +64 -0
  53. package/.cursor/skills/tutien/references/lore-sources.md +15 -0
  54. package/.cursor/skills/tutien/references/privacy.md +33 -0
  55. package/.cursor/skills/tutien/references/schema.md +75 -0
  56. package/.cursor/skills/tutien/references/scoring-and-realms.md +37 -0
  57. package/.cursor/skills/tutien/references/voice-and-mode.md +44 -0
  58. package/.cursor/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
  59. package/.cursor/skills/tutien/scripts/adapters/git.mjs +48 -0
  60. package/.cursor/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
  61. package/.cursor/skills/tutien/scripts/analyze-history.mjs +84 -0
  62. package/.cursor/skills/tutien/scripts/catalog.mjs +130 -0
  63. package/.cursor/skills/tutien/scripts/classify.mjs +311 -0
  64. package/.cursor/skills/tutien/scripts/command.mjs +107 -0
  65. package/.cursor/skills/tutien/scripts/compare.mjs +41 -0
  66. package/.cursor/skills/tutien/scripts/metrics.mjs +306 -0
  67. package/.cursor/skills/tutien/scripts/normalize-events.mjs +68 -0
  68. package/.cursor/skills/tutien/scripts/redact.mjs +30 -0
  69. package/.cursor/skills/tutien/scripts/render-report.mjs +423 -0
  70. package/.cursor/skills/tutien/scripts/run-tutien.mjs +272 -0
  71. package/.cursor/skills/tutien/scripts/score.mjs +97 -0
  72. package/.cursor/skills/tutien/scripts/snapshot.mjs +76 -0
  73. package/.cursor/skills/tutien/scripts/villains.mjs +196 -0
  74. package/.grok/skills/claim/SKILL.md +82 -0
  75. package/.grok/skills/tutien/SKILL.md +74 -0
  76. package/.grok/skills/tutien/references/classification.md +64 -0
  77. package/.grok/skills/tutien/references/lore-sources.md +15 -0
  78. package/.grok/skills/tutien/references/privacy.md +33 -0
  79. package/.grok/skills/tutien/references/schema.md +75 -0
  80. package/.grok/skills/tutien/references/scoring-and-realms.md +37 -0
  81. package/.grok/skills/tutien/references/voice-and-mode.md +44 -0
  82. package/.grok/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
  83. package/.grok/skills/tutien/scripts/adapters/git.mjs +48 -0
  84. package/.grok/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
  85. package/.grok/skills/tutien/scripts/analyze-history.mjs +84 -0
  86. package/.grok/skills/tutien/scripts/catalog.mjs +130 -0
  87. package/.grok/skills/tutien/scripts/classify.mjs +311 -0
  88. package/.grok/skills/tutien/scripts/command.mjs +107 -0
  89. package/.grok/skills/tutien/scripts/compare.mjs +41 -0
  90. package/.grok/skills/tutien/scripts/metrics.mjs +306 -0
  91. package/.grok/skills/tutien/scripts/normalize-events.mjs +68 -0
  92. package/.grok/skills/tutien/scripts/redact.mjs +30 -0
  93. package/.grok/skills/tutien/scripts/render-report.mjs +423 -0
  94. package/.grok/skills/tutien/scripts/run-tutien.mjs +272 -0
  95. package/.grok/skills/tutien/scripts/score.mjs +97 -0
  96. package/.grok/skills/tutien/scripts/snapshot.mjs +76 -0
  97. package/.grok/skills/tutien/scripts/villains.mjs +196 -0
  98. package/.vibekit/docs/BACKBONE_REFERENCE.md +2 -0
  99. package/.vibekit/docs/INSTALL.md +3 -1
  100. package/.vibekit/init/CLAUDE-template.md +2 -0
  101. package/.vibekit/scripts/mvck.mjs +5 -5
  102. package/.vibekit/scripts/pack-dry-run.mjs +38 -3
  103. package/.vibekit/scripts/validate-kit.mjs +34 -24
  104. package/.vibekit/skills/claim/SKILL.md +82 -0
  105. package/.vibekit/skills/skills-manifest.json +27 -0
  106. package/.vibekit/skills/tutien/SKILL.md +74 -0
  107. package/.vibekit/skills/tutien/references/classification.md +64 -0
  108. package/.vibekit/skills/tutien/references/lore-sources.md +15 -0
  109. package/.vibekit/skills/tutien/references/privacy.md +33 -0
  110. package/.vibekit/skills/tutien/references/schema.md +75 -0
  111. package/.vibekit/skills/tutien/references/scoring-and-realms.md +37 -0
  112. package/.vibekit/skills/tutien/references/voice-and-mode.md +44 -0
  113. package/.vibekit/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
  114. package/.vibekit/skills/tutien/scripts/adapters/git.mjs +48 -0
  115. package/.vibekit/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
  116. package/.vibekit/skills/tutien/scripts/analyze-history.mjs +84 -0
  117. package/.vibekit/skills/tutien/scripts/catalog.mjs +130 -0
  118. package/.vibekit/skills/tutien/scripts/classify.mjs +311 -0
  119. package/.vibekit/skills/tutien/scripts/command.mjs +107 -0
  120. package/.vibekit/skills/tutien/scripts/compare.mjs +41 -0
  121. package/.vibekit/skills/tutien/scripts/metrics.mjs +306 -0
  122. package/.vibekit/skills/tutien/scripts/normalize-events.mjs +68 -0
  123. package/.vibekit/skills/tutien/scripts/redact.mjs +30 -0
  124. package/.vibekit/skills/tutien/scripts/render-report.mjs +423 -0
  125. package/.vibekit/skills/tutien/scripts/run-tutien.mjs +272 -0
  126. package/.vibekit/skills/tutien/scripts/score.mjs +97 -0
  127. package/.vibekit/skills/tutien/scripts/snapshot.mjs +76 -0
  128. package/.vibekit/skills/tutien/scripts/villains.mjs +196 -0
  129. package/CHANGELOG.md +30 -0
  130. package/README.md +51 -47
  131. package/docs/README.vi.md +12 -8
  132. package/docs/README.zh-CN.md +277 -0
  133. package/package.json +9 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # Changelog
2
2
 
3
+ ## Unreleased
4
+
5
+ ## 0.5.0 — 2026-07-20
6
+
7
+ ### Added
8
+
9
+ - Added `/claim <request>` across Claude Code, Cursor, Codex, and Grok. It validates official sources, rejects unsafe or misleading URLs, checks new ideas against `backbone.yml` and existing repository conventions, stops for decisions when approval is required, and integrates only the smallest reviewed change with an evidence ledger.
10
+ - Added `/tutien`, a private, user-invoked xianxia coding-classification game built from Git history and explicitly supplied conversation exports. It provides deterministic vi/en reports, ten cultivation realms, evidence-bound workflow coaching, optional aggregate snapshots, progress comparisons, and opt-in antagonists that challenge workflow patterns rather than the person.
11
+ - Added `/tutien classify` with independent Dao faction, affiliation, and technical-path axes; a cultivation-knowledge taxonomy linked to real kit skills; and seven deterministic, token-independent progression metrics.
12
+ - Added complete Simplified Chinese documentation (`docs/README.zh-CN.md`) alongside English and Vietnamese, with synchronized language navigation and npm package inclusion.
13
+
14
+ ### Changed
15
+
16
+ - Refined `/tutien` with the cross-model namespace `tutien-coding-cultivation-v1`, calm `serene`/`spirited` narration, plain evidence beneath the lore, and reliable English/Vietnamese stop requests that restore the kit's normal writing style. Legacy `gentle`/`spicy` tone values remain compatible.
17
+ - Centralized skill distribution in `.vibekit/skills/skills-manifest.json`, keeping canonical skills, tool mirrors, installer registries, validator registries, package contents, documentation, and per-profile tests synchronized.
18
+ - Strengthened `/claim` with canonical redirect validation, HTTPS-only remote evidence, private-host and confusable-domain rejection, untrusted-content handling, explicit approval states, separate approval for integration-time execution, and a complete distribution checklist.
19
+ - Strengthened `/tutien` with one fail-closed policy state shared by rendering and persistence, idempotent event progression, boundary-aware path matching, metadata-only classification scope, and explicit authorization handling for legitimate dual-use security work.
20
+
21
+ ### Security and privacy
22
+
23
+ - `/tutien` remains offline and read-only during analysis. Raw prompts, secrets, author names, email addresses, and commit subjects do not enter reports or snapshots; stored history uses salted digests and aggregate evidence.
24
+ - Ambiguous, unauthorized, or declared-stop classifications suppress scores, realms, villains, recommendations, and positive progression. The game evaluates workflow evidence—not a person's identity, worth, health, or wellbeing—and stays isolated from unrelated support or companion modes.
25
+ - `/claim` treats fetched pages as untrusted data and never runs remote installers, lifecycle scripts, or source-provided commands during research.
26
+
27
+ ### Validation
28
+
29
+ - Expanded `/tutien` coverage to **133 deterministic, offline checks**, including adversarial privacy, token-integrity, policy-state, replay-idempotency, namespace-isolation, natural stop-request, and end-to-end approval-boundary cases.
30
+ - `pack-dry-run.mjs` now parses `npm pack --dry-run --json` and fails with the exact missing path when an on-disk skill file is absent from the package.
31
+ - Synchronized the release version to `0.5.0` in `package.json`, `.codex-plugin/plugin.json`, and both README badges.
32
+
3
33
  ## 0.4.2 — 2026-07-18
4
34
 
5
35
  - Added a Grok Build (Grok CLI) surface across the kit: `.grok/rules/` (always-on, every `*.md` loaded), `.grok/skills/` (all 13 kit skills, user-invocable as `/<skill-name>`), `.grok/README.md`, and project-scoped `[permission]` deny rules in `.grok/config.toml` mirroring the kit's dangerous-command deny list; `config.example.toml` documents the user-level `~/.grok/config.toml` settings. Added a `grok` install/update profile to `mvck.mjs` (included in `all`) and registered Grok everywhere Claude/Cursor/Codex already were: `validate-kit.mjs`, npm package files, `backbone.yml` `agent_surfaces`, `AGENTS.md`, the AgentShield probe, both READMEs, `INSTALL.md`, `BACKBONE_REFERENCE.md`, `CONTEXT_TEMPLATE.md`, `FIRST_TIME_INIT.md`, and `vibekit-init`.
package/README.md CHANGED
@@ -1,12 +1,12 @@
1
1
  <div align="center">
2
2
 
3
- **Read in:** **English** · [Tiếng Việt](docs/README.vi.md)
3
+ **Read in:** **English** · [Tiếng Việt](docs/README.vi.md) · [简体中文](docs/README.zh-CN.md)
4
4
 
5
5
  # Minimal Vibe Coding Kit
6
6
 
7
7
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
8
8
  [![npm](https://img.shields.io/badge/npm-minimal--vibe--coding--kit-cb3837?logo=npm)](https://www.npmjs.com/package/minimal-vibe-coding-kit)
9
- [![Version](https://img.shields.io/badge/version-0.4.2-2ea44f.svg)](CHANGELOG.md)
9
+ [![Version](https://img.shields.io/badge/version-0.5.0-2ea44f.svg)](CHANGELOG.md)
10
10
  ![Claude](https://img.shields.io/badge/Claude%20Code-Commands%20%26%20Skills-111111)
11
11
  ![Cursor](https://img.shields.io/badge/Cursor-Rules%20%26%20Commands-1f6feb)
12
12
  ![Codex](https://img.shields.io/badge/Codex-AGENTS.md%20%26%20Plugin-6f42c1)
@@ -84,12 +84,12 @@ npx mvck install . # required — copies the kit out of node_modules into
84
84
 
85
85
  Either way, the short `mvck` command (alias: `vibe-kit`) is then available via `npx`:
86
86
 
87
- | Short command | What it does |
88
- | --- | --- |
89
- | `npx mvck install .` | Copy the kit into the repo (`--profile`, `--dry-run`, `--force`) |
90
- | `npx mvck update .` | Refresh kit-owned files after a new kit release |
91
- | `npx mvck doctor .` | Read-only health check |
92
- | `npx mvck validate .` | Structure validation |
87
+ | Short command | What it does |
88
+ | --------------------- | ---------------------------------------------------------------- |
89
+ | `npx mvck install .` | Copy the kit into the repo (`--profile`, `--dry-run`, `--force`) |
90
+ | `npx mvck update .` | Refresh kit-owned files after a new kit release |
91
+ | `npx mvck doctor .` | Read-only health check |
92
+ | `npx mvck validate .` | Structure validation |
93
93
 
94
94
  Then continue with **step 2** of the Quick Start (paste the init prompt).
95
95
 
@@ -145,42 +145,46 @@ You (prompt) ──▶ Claude Code / Cursor / Codex / Grok
145
145
  1. **Just code.** Ask for features and fixes normally; the agent follows `backbone.yml` conventions and keeps diffs small.
146
146
  2. **Big or vague task?** Start with the `clearthought` or `sequential-thinking` skill to get a plan first.
147
147
  3. **Complex task but only a rough prompt?** `/prompt-sharpener <rough prompt>` sharpens it into a precise prompt and executes it in the same turn.
148
- 4. **Repo-wide question or big review?** Use `parallel-analysis` it fans out read-only analysis lanes and verifies the merged result.
149
- 5. **Changed `.claude/`, skills, hooks, or installer scripts?** Run `/security-scan` before merging.
150
- 6. **Want measurable improvements?** Run `/autoresearch-coding` with a metric and budget.
151
- 7. **Keep the setup sharp:** `/daily-enhance` proposes improvements it never applies them silently.
152
- 8. **Onboarding finished for good?** `/vibe-finalize` moves one-time bootstrap files out.
148
+ 4. **Found a skill, rule, or tool you want to bring in?** `/claim <request + links>` validates the sources against official docs, checks fit with your repo, asks when unclear, then integrates and documents it.
149
+ 5. **Want a quiet reset while reviewing progress?** `/tutien` is a private, wholesome xianxia classification game over Git history + supplied AI-chat exports. It uses a refined mystical voice to reflect on realms, token use, and workflow habits without changing the evidence; `/tutien off` restores the kit's normal writing style.
150
+ 6. **Repo-wide question or big review?** Use `parallel-analysis` it fans out read-only analysis lanes and verifies the merged result.
151
+ 7. **Changed `.claude/`, skills, hooks, or installer scripts?** Run `/security-scan` before merging.
152
+ 8. **Want measurable improvements?** Run `/autoresearch-coding` with a metric and budget.
153
+ 9. **Keep the setup sharp:** `/daily-enhance` proposes improvements — it never applies them silently.
154
+ 10. **Onboarding finished for good?** `/vibe-finalize` moves one-time bootstrap files out.
153
155
 
154
156
  ## Commands
155
157
 
156
- | Command | What it does | Example |
157
- | --- | --- | --- |
158
- | `/init-vibe` | First-time init or repair: propose one diff, wait for approval. | `/init-vibe` — then review the diff and answer `yes`. |
159
- | `/security-scan` | Read-only AgentShield probe + optional scanner over agent surfaces. | `/security-scan` before merging changes to `.claude/**` or skills. |
160
- | `/daily-enhance` | Propose-only report to improve rules, skills, and workflows. | `/daily-enhance` — review the proposed diff, then approve. |
161
- | `/autoresearch-coding` | Metric-driven experiment loop with baseline and budget. | `/autoresearch-coding` Goal: fewer lint errors. Budget: 3. |
162
- | `/council` | Coordinates reviewer/researcher/analyst agents into one merged plan. | `/council` on this branch diff. |
163
- | `/vibe-finalize` | Graduate the project: move one-time bootstrap files to `_vibekit-cleanup/`. | `/vibe-finalize` — preview first, apply after approval. |
158
+ | Command | What it does | Example |
159
+ | ---------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------ |
160
+ | `/init-vibe` | First-time init or repair: propose one diff, wait for approval. | `/init-vibe` — then review the diff and answer `yes`. |
161
+ | `/security-scan` | Read-only AgentShield probe + optional scanner over agent surfaces. | `/security-scan` before merging changes to `.claude/**` or skills. |
162
+ | `/daily-enhance` | Propose-only report to improve rules, skills, and workflows. | `/daily-enhance` — review the proposed diff, then approve. |
163
+ | `/autoresearch-coding` | Metric-driven experiment loop with baseline and budget. | `/autoresearch-coding` Goal: fewer lint errors. Budget: 3. |
164
+ | `/council` | Coordinates reviewer/researcher/analyst agents into one merged plan. | `/council` on this branch diff. |
165
+ | `/vibe-finalize` | Graduate the project: move one-time bootstrap files to `_vibekit-cleanup/`. | `/vibe-finalize` — preview first, apply after approval. |
164
166
 
165
167
  ## Skills
166
168
 
167
- All 13 skills live in `.vibekit/skills/` and are mirrored for each tool. Invoke them by name ("Use the X skill…") or via the commands above.
168
-
169
- | Skill | Use it when | Example prompt |
170
- | --- | --- | --- |
171
- | `vibekit-init` | First-time setup, or `backbone.yml` / managed blocks need repair. | "Use the vibekit-init skill. Propose one diff and wait for my yes." |
172
- | `parallel-analysis` | Repo-wide questions, large diff reviews, consistency audits. | "Use parallel-analysis: where is auth handled and what depends on it?" |
173
- | `agentshield-security-review` | Auditing agent config, skills, hooks, MCP, commands before merge. | "Use agentshield-security-review on .claude/** and .vibekit/skills/**." |
174
- | `autoresearch-coding` | Improving the repo through measured experiments. | "Use autoresearch-coding. Metric: `npm test`. Direction: higher. Budget: 3." |
175
- | `daily-workflow-curator` | Periodic tune-up of rules, skills, and workflows (propose-only). | "Use daily-workflow-curator and propose today's improvements." |
176
- | `path-sensitive-shell-safety` | Before editing shell/installer/deploy logic with path variables or `rm`/`mv`/`rsync`. | "Use path-sensitive-shell-safety before changing this cleanup script." |
177
- | `visual-design-loop` | UI polish: render → screenshot → review → fix, in a loop. | "Use visual-design-loop on /dashboard. Budget 3 loops." |
178
- | `clearthought` | Ambiguous requirements, design tradeoffs, risky decisions. | "Use clearthought. Operation: implementation_plan. Split this feature into safe tasks." |
179
- | `sequential-thinking` | Step-by-step decomposition of complex work. | "Use sequential-thinking. Break this refactor into ordered steps with tests." |
180
- | `reviewing-4p-priorities` | Triaging bugs/findings into P0–P4 fix order. | "Use reviewing-4p-priorities. Classify these findings and give a fix sequence." |
181
- | `memento` | Multi-day tasks: save context before stopping, resume next session. | "/memento — write MEMENTO.md with Goal, Done, Stuck, Next." |
182
- | `coding-level` | Setting how detailed explanations should be (0 = ELI5 … 5 = expert). | "/coding-level 2" |
183
- | `prompt-sharpener` | A complex task but only a rough prompt: sharpen it, then execute it in the same turn. | "/prompt-sharpener make the settings page load faster" |
169
+ All 15 skills live canonically in `.vibekit/skills/`. Claude, Codex, and Grok mirror all 15; Cursor mirrors the 10 interactive ones. Invoke them by name ("Use the X skill…") or via the commands above.
170
+
171
+ | Skill | Use it when | Example prompt |
172
+ | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
173
+ | `vibekit-init` | First-time setup, or `backbone.yml` / managed blocks need repair. | "Use the vibekit-init skill. Propose one diff and wait for my yes." |
174
+ | `parallel-analysis` | Repo-wide questions, large diff reviews, consistency audits. | "Use parallel-analysis: where is auth handled and what depends on it?" |
175
+ | `agentshield-security-review` | Auditing agent config, skills, hooks, MCP, commands before merge. | "Use agentshield-security-review on .claude/** and .vibekit/skills/**." |
176
+ | `autoresearch-coding` | Improving the repo through measured experiments. | "Use autoresearch-coding. Metric: `npm test`. Direction: higher. Budget: 3." |
177
+ | `daily-workflow-curator` | Periodic tune-up of rules, skills, and workflows (propose-only). | "Use daily-workflow-curator and propose today's improvements." |
178
+ | `path-sensitive-shell-safety` | Before editing shell/installer/deploy logic with path variables or `rm`/`mv`/`rsync`. | "Use path-sensitive-shell-safety before changing this cleanup script." |
179
+ | `visual-design-loop` | UI polish: render → screenshot → review → fix, in a loop. | "Use visual-design-loop on /dashboard. Budget 3 loops." |
180
+ | `clearthought` | Ambiguous requirements, design tradeoffs, risky decisions. | "Use clearthought. Operation: implementation_plan. Split this feature into safe tasks." |
181
+ | `sequential-thinking` | Step-by-step decomposition of complex work. | "Use sequential-thinking. Break this refactor into ordered steps with tests." |
182
+ | `reviewing-4p-priorities` | Triaging bugs/findings into P0–P4 fix order. | "Use reviewing-4p-priorities. Classify these findings and give a fix sequence." |
183
+ | `memento` | Multi-day tasks: save context before stopping, resume next session. | "/memento — write MEMENTO.md with Goal, Done, Stuck, Next." |
184
+ | `coding-level` | Setting how detailed explanations should be (0 = ELI5 … 5 = expert). | "/coding-level 2" |
185
+ | `prompt-sharpener` | A complex task but only a rough prompt: sharpen it, then execute it in the same turn. | "/prompt-sharpener make the settings page load faster" |
186
+ | `claim` | Bringing something new into the repo (skill, rule, convention, tool): vet sources against official docs, fit-check, confirm, integrate, document. | "/claim add the conventional-commits rule from https://www.npmjs.com/package/minimal-vibe-coding-kit" |
187
+ | `tutien` | A private, stress-relieving xianxia classification game for coding progress: refined mystical prose around exact Git/chat evidence, isolated from unrelated conversational modes. User-invoked; `/tutien off` restores normal kit prose. | "/tutien preview sources=git,/path/to/export.jsonl" |
184
188
 
185
189
  ## Advanced
186
190
 
@@ -248,14 +252,14 @@ Publishing checklist: [.vibekit/init/PUSH_TO_GITHUB.md](.vibekit/init/PUSH_TO_GI
248
252
  <details>
249
253
  <summary><strong>Troubleshooting</strong></summary>
250
254
 
251
- | Symptom | Fix |
252
- | --- | --- |
253
- | Agent ignores the init flow | Re-run the installer, or copy [.vibekit/init/CLAUDE-template.md](.vibekit/init/CLAUDE-template.md) to `CLAUDE.md`. |
254
- | Agent re-asks to init every session | Run init and approve; confirm `meta.template_status: initialized` in `backbone.yml`. |
255
- | Wrong stack detected | Remove stale lockfiles, or edit `backbone.yml` directly. |
256
- | Agent touches a path it shouldn't | Add the path to `policy.protected_paths` in `backbone.yml` (globs supported). |
257
- | AgentShield probe warning | Install Python 3, or ignore — it is a warning, not a failure. |
258
- | Scripts missing after install | Re-run install with `--force`, or copy `.vibekit/scripts/` manually. |
255
+ | Symptom | Fix |
256
+ | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
257
+ | Agent ignores the init flow | Re-run the installer, or copy [.vibekit/init/CLAUDE-template.md](.vibekit/init/CLAUDE-template.md) to `CLAUDE.md`. |
258
+ | Agent re-asks to init every session | Run init and approve; confirm `meta.template_status: initialized` in `backbone.yml`. |
259
+ | Wrong stack detected | Remove stale lockfiles, or edit `backbone.yml` directly. |
260
+ | Agent touches a path it shouldn't | Add the path to `policy.protected_paths` in `backbone.yml` (globs supported). |
261
+ | AgentShield probe warning | Install Python 3, or ignore — it is a warning, not a failure. |
262
+ | Scripts missing after install | Re-run install with `--force`, or copy `.vibekit/scripts/` manually. |
259
263
 
260
264
  </details>
261
265
 
@@ -270,4 +274,4 @@ Issues and PRs welcome at [`giang6283623/minimal-vibe-coding-kit`](https://githu
270
274
 
271
275
  MIT. See [LICENSE](LICENSE).
272
276
 
273
- > 🇻🇳 *If you love Vietnam and its people, you are fully free to use everything in here at no cost.*
277
+ > 🇻🇳 _If you love Vietnam and its people, you are fully free to use everything in here at no cost._
package/docs/README.vi.md CHANGED
@@ -1,12 +1,12 @@
1
1
  <div align="center">
2
2
 
3
- **Đọc bằng:** [English](../README.md) · **Tiếng Việt**
3
+ **Đọc bằng:** [English](../README.md) · **Tiếng Việt** · [简体中文](README.zh-CN.md)
4
4
 
5
5
  # Minimal Vibe Coding Kit
6
6
 
7
7
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](../LICENSE)
8
8
  [![npm](https://img.shields.io/badge/npm-minimal--vibe--coding--kit-cb3837?logo=npm)](https://www.npmjs.com/package/minimal-vibe-coding-kit)
9
- [![Version](https://img.shields.io/badge/version-0.4.2-2ea44f.svg)](../CHANGELOG.md)
9
+ [![Version](https://img.shields.io/badge/version-0.5.0-2ea44f.svg)](../CHANGELOG.md)
10
10
  ![Claude](https://img.shields.io/badge/Claude%20Code-Commands%20%26%20Skills-111111)
11
11
  ![Cursor](https://img.shields.io/badge/Cursor-Rules%20%26%20Commands-1f6feb)
12
12
  ![Codex](https://img.shields.io/badge/Codex-AGENTS.md%20%26%20Plugin-6f42c1)
@@ -145,11 +145,13 @@ Bạn (prompt) ──▶ Claude Code / Cursor / Codex / Grok
145
145
  1. **Cứ code bình thường.** Yêu cầu feature/fix như thường lệ; agent theo quy ước trong `backbone.yml` và giữ diff nhỏ.
146
146
  2. **Task lớn hoặc mơ hồ?** Bắt đầu với skill `clearthought` hoặc `sequential-thinking` để có kế hoạch trước.
147
147
  3. **Task phức tạp nhưng prompt mù mờ?** `/prompt-sharpener <prompt mù mờ>` cải thiện prompt thành bản rõ ràng rồi thực thi ngay trong cùng lượt.
148
- 4. **Câu hỏi toàn repo hoặc review lớn?** Dùng `parallel-analysis` chia các lane phân tích chỉ-đọc chạy song song rồi xác minh kết quả gộp.
149
- 5. **Đã sửa `.claude/`, skills, hooks, hoặc script installer?** Chạy `/security-scan` trước khi merge.
150
- 6. **Muốn cải tiến đo được?** Chạy `/autoresearch-coding` với metric budget.
151
- 7. **Giữ setup luôn sắc bén:** `/daily-enhance` đề xuất cải tiến không bao giờ tự áp dụng.
152
- 8. **Onboarding xong hẳn?** `/vibe-finalize` dọn các file bootstrap một lần.
148
+ 4. **Muốn đưa skill, rule, hoặc tool mới vào repo?** `/claim <yêu cầu + link>` kiểm chứng nguồn với tài liệu chính thức, kiểm tra độ khớp với repo, hỏi lại khi chưa rõ, rồi tích hợp ghi tài liệu.
149
+ 5. **Muốn thả lỏng một chút khi nhìn lại tiến độ?** `/tutien` là trò chơi phân loại tu tiên lành mạnh, riêng tư dựa trên lịch sử Git + file export chat AI. Giọng văn huyền nhã bao quanh số liệu thật về cảnh giới, token thói quen làm việc; `/tutien off` khôi phục văn phong bình thường của kit.
150
+ 6. **Câu hỏi toàn repo hoặc review lớn?** Dùng `parallel-analysis` chia các lane phân tích chỉ-đọc chạy song song rồi xác minh kết quả gộp.
151
+ 7. **Đã sửa `.claude/`, skills, hooks, hoặc script installer?** Chạy `/security-scan` trước khi merge.
152
+ 8. **Muốn cải tiến đo được?** Chạy `/autoresearch-coding` với metric budget.
153
+ 9. **Giữ setup luôn sắc bén:** `/daily-enhance` đề xuất cải tiến — không bao giờ tự áp dụng.
154
+ 10. **Onboarding xong hẳn?** `/vibe-finalize` dọn các file bootstrap một lần.
153
155
 
154
156
  ## Commands
155
157
 
@@ -164,7 +166,7 @@ Bạn (prompt) ──▶ Claude Code / Cursor / Codex / Grok
164
166
 
165
167
  ## Skills
166
168
 
167
- Cả 13 skill nằm trong `.vibekit/skills/`được mirror cho từng tool. Gọi bằng tên ("Use the X skill…") hoặc qua các command ở trên.
169
+ Cả 15 skill nằm canonical trong `.vibekit/skills/`. Claude, Codex Grok mirror đủ 15; Cursor mirror 10 skill tương tác. Gọi bằng tên ("Use the X skill…") hoặc qua các command ở trên.
168
170
 
169
171
  | Skill | Dùng khi | Prompt ví dụ |
170
172
  | ----------------------------- | ------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
@@ -181,6 +183,8 @@ Cả 13 skill nằm trong `.vibekit/skills/` và được mirror cho từng tool
181
183
  | `memento` | Task nhiều ngày: lưu ngữ cảnh trước khi dừng, resume phiên sau. | "/memento — write MEMENTO.md with Goal, Done, Stuck, Next." |
182
184
  | `coding-level` | Chỉnh độ chi tiết khi giải thích (0 = ELI5 … 5 = chuyên gia). | "/coding-level 2" |
183
185
  | `prompt-sharpener` | Task phức tạp nhưng prompt mù mờ: cải thiện prompt rồi thực thi ngay trong cùng lượt. | "/prompt-sharpener make the settings page load faster" |
186
+ | `claim` | Đưa thứ mới vào repo (skill, rule, quy ước, tool): kiểm chứng nguồn chính thức, kiểm tra độ khớp, xác nhận, tích hợp, ghi tài liệu. | "/claim add the conventional-commits rule from https://www.conventionalcommits.org" |
187
+ | `tutien` | Trò chơi phân loại tu tiên riêng tư, giúp thư giãn khi nhìn lại tiến độ code; văn phong huyền nhã bao quanh bằng chứng Git/chat chính xác và tách biệt với các chế độ hội thoại khác. User-invoked; `/tutien off` khôi phục văn phong bình thường. | "/tutien preview sources=git,/path/to/export.jsonl" |
184
188
 
185
189
  ## Nâng cao
186
190
 
@@ -0,0 +1,277 @@
1
+ <div align="center">
2
+
3
+ **阅读语言:** [English](../README.md) · [Tiếng Việt](README.vi.md) · **简体中文**
4
+
5
+ # Minimal Vibe Coding Kit
6
+
7
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](../LICENSE)
8
+ [![npm](https://img.shields.io/badge/npm-minimal--vibe--coding--kit-cb3837?logo=npm)](https://www.npmjs.com/package/minimal-vibe-coding-kit)
9
+ [![Version](https://img.shields.io/badge/version-0.5.0-2ea44f.svg)](../CHANGELOG.md)
10
+ ![Claude](https://img.shields.io/badge/Claude%20Code-Commands%20%26%20Skills-111111)
11
+ ![Cursor](https://img.shields.io/badge/Cursor-Rules%20%26%20Commands-1f6feb)
12
+ ![Codex](https://img.shields.io/badge/Codex-AGENTS.md%20%26%20Plugin-6f42c1)
13
+ ![Grok](https://img.shields.io/badge/Grok-Rules%20%26%20Skills-000000)
14
+ ![AgentShield](https://img.shields.io/badge/Security-AgentShield-d62828)
15
+ ![Node](https://img.shields.io/badge/node-%3E%3D18-339933?logo=node.js&logoColor=white)
16
+
17
+ **一套可安装的 AI 编程工作流工具包,同时支持 Claude Code、Cursor、Codex 和 Grok——适用于任何仓库、任何语言。**
18
+
19
+ 安装 → 粘贴一个提示词 → 审核方案 → 在护栏保护下开始编码。
20
+
21
+ </div>
22
+
23
+ ---
24
+
25
+ ## 这是什么?
26
+
27
+ 这是一套精简的共享 **规则(rules)**、**技能(skills)** 和 **命令(commands)**,再配合一个 **`backbone.yml`** 清单,让 Claude Code、Cursor、Codex 和 Grok 以一致的方式理解你的项目。
28
+
29
+ - 绝不会覆盖已有的 `CLAUDE.md` 或 `AGENTS.md`,只会添加受管理的区块。
30
+ - 初始化期间的每一次写入都会等待你的明确批准。
31
+ - 对 Agent 表面进行安全审查(AgentShield)是标准工作流的一部分。
32
+ - 默认安全删除:所有 Agent 优先使用可恢复的 `trash` 命令。初始化会检查它是否可用,并在缺失时给出安装建议;同时配合各工具官方支持的护栏配置——Claude Code 拒绝规则(`.claude/settings.json`)、Cursor CLI 权限(`.cursor/cli.json`)、Codex 执行策略规则(`.codex/rules/`,实验性,需要先信任项目)以及 Grok 项目权限规则(`.grok/config.toml`)。
33
+ - 首次初始化会询问两个偏好:是否用 `trash` 代替 `rm`,以及默认解释级别(0–5,可随时通过 `/coding-level N` 修改),然后将它们记录到 `backbone.yml`。
34
+
35
+ ## 快速开始
36
+
37
+ 三个步骤,大约两分钟。
38
+
39
+ **1. 安装到你的项目中**(无需克隆仓库):
40
+
41
+ ```bash
42
+ npx --yes minimal-vibe-coding-kit@latest install /path/to/your-project
43
+ ```
44
+
45
+ 已经运行过 `npm i minimal-vibe-coding-kit`,或者更喜欢 GitHub / 本地克隆方式?请参阅[从 npm 安装](#从-npm-安装)。
46
+
47
+ **2. 在 Claude Code、Cursor、Codex 或 Grok 中打开项目并粘贴:**
48
+
49
+ ```text
50
+ Read .vibekit/init/FIRST_TIME_INIT.md and initialize this repo with Minimal Vibe Coding Kit.
51
+ First print the requirements you will check. Then run detection, propose one diff
52
+ for backbone.yml and managed instruction blocks, and wait for my yes before writing.
53
+ ```
54
+
55
+ **3. 审核提出的差异并回复 `yes`。**
56
+
57
+ Agent 会使用检测到的技术栈和约定填写 `backbone.yml`,并将状态改为 `initialized`。完成后,之后的每个会话都会自动读取它并跳过初始化。
58
+
59
+ 你可以随时运行健康检查:
60
+
61
+ ```bash
62
+ node .vibekit/scripts/mvck.mjs doctor .
63
+ ```
64
+
65
+ ## 从 npm 安装
66
+
67
+ 工具包以 [`minimal-vibe-coding-kit`](https://www.npmjs.com/package/minimal-vibe-coding-kit) 的名称发布到 npm。它是一个**脚手架 CLI,而不是代码库依赖**——仅仅放在 `node_modules/` 中不会自动生效。运行一次 `install`,才会像 GitHub 安装方式一样把工具包复制到你的仓库根目录。
68
+
69
+ **方式 A——一次性运行(推荐)。** 不会向项目依赖中添加任何内容:
70
+
71
+ ```bash
72
+ npx --yes minimal-vibe-coding-kit@latest install /path/to/your-project
73
+ ```
74
+
75
+ **方式 B——作为开发依赖安装。** 如果工具包已经存在或将要加入你的 `package.json`,还需要再执行一个命令:
76
+
77
+ ```bash
78
+ npm i -D minimal-vibe-coding-kit
79
+ npx mvck install . # 必需——将工具包从 node_modules 复制到仓库中
80
+ ```
81
+
82
+ > **重要:** 单独运行 `npm i` 只会把工具包下载到 `node_modules/`,此时任何功能都尚未启用。
83
+ > `mvck install` 才会把 `.claude/`、`.cursor/`、`.agents/`、`.vibekit/` 和 `backbone.yml` 复制到仓库根目录。
84
+
85
+ 之后可以通过 `npx` 使用简短命令 `mvck`(别名:`vibe-kit`):
86
+
87
+ | 简短命令 | 作用 |
88
+ | ------------------------- | ---------------------------------------------------------------- |
89
+ | `npx mvck install .` | 将工具包复制到仓库(`--profile`、`--dry-run`、`--force`) |
90
+ | `npx mvck update .` | 在新版本发布后刷新工具包拥有的文件 |
91
+ | `npx mvck doctor .` | 只读健康检查 |
92
+ | `npx mvck validate .` | 验证目录和配置结构 |
93
+
94
+ 然后继续执行快速开始的**第 2 步**(粘贴初始化提示词)。
95
+
96
+ 其他安装方式:`npx github:giang6283623/minimal-vibe-coding-kit install /path/to/your-project`,或者在本地克隆中运行 `./install.sh /path/to/your-project`(Windows:`./install.ps1 -Target C:\path\to\your-project`)。
97
+
98
+ ## 安装后仓库中会出现什么
99
+
100
+ 安装只会添加以下内容,不会触碰项目中的其他文件:
101
+
102
+ ```text
103
+ your-project/
104
+ ├── backbone.yml ← Agent 首先读取的项目地图(唯一事实来源)
105
+ ├── AGENTS.md ← 共享 Agent 指令(受管理区块)
106
+ ├── CLAUDE.md ← 简短入口;导入 AGENTS.md(仅在缺失时创建)
107
+ ├── .gitignore ← 在受管理区块中追加工具包条目
108
+ ├── .claude/ ← Claude Code:规则、命令、Agent、技能
109
+ ├── .cursor/ ← Cursor:规则、命令、技能
110
+ ├── .agents/ ← Codex / 可移植技能
111
+ ├── .codex/ .codex-plugin/ ← Codex 配置示例和插件清单
112
+ ├── .grok/ ← Grok Build:规则、技能、配置示例
113
+ └── .vibekit/ ← 工具包拥有的所有内容都集中在一个目录
114
+ ├── skills/ ← 规范技能源(镜像到各工具目录)
115
+ ├── commands/ ← 共享命令提示词
116
+ ├── scripts/ ← mvck CLI、初始化、验证、doctor、安全探针
117
+ ├── docs/ ← 深入参考资料
118
+ └── init/ ← 一次性引导文件(可通过 /vibe-finalize 移除)
119
+ ```
120
+
121
+ 已有文件绝不会被替换。工具包只会合并受管理区块(`BEGIN/END: minimal-vibe-coding-kit`),并跳过你自己拥有的内容。
122
+
123
+ ## 各部分如何连接
124
+
125
+ ```text
126
+ 你(提示词)──▶ Claude Code / Cursor / Codex / Grok
127
+ │ 首先读取
128
+
129
+ backbone.yml + AGENTS.md / CLAUDE.md + rules
130
+ │ 按需加载
131
+
132
+ skills(流程) + commands(快捷入口)
133
+ │ 受以下机制保护
134
+
135
+ protected paths · 写入前提案 · AgentShield probe
136
+ ```
137
+
138
+ - **`backbone.yml`**——仓库路径、约定、受保护路径以及验证命令。
139
+ - **规则(Rules)**——始终加载的短护栏,例如先读取 backbone、保持差异小、修改 Agent 表面时执行安全审查。
140
+ - **技能(Skills)**——可重复执行的工作流程,只在任务需要时加载。
141
+ - **命令(Commands)**——常用技能的一词快捷入口。
142
+
143
+ ## 日常使用指南
144
+
145
+ 1. **正常提出编码需求。** 像平时一样请求功能或修复;Agent 会遵循 `backbone.yml` 中的约定,并保持差异小而易审查。
146
+ 2. **任务很大或不够明确?** 先使用 `clearthought` 或 `sequential-thinking` 技能生成计划。
147
+ 3. **任务复杂,但只有一个粗略提示词?** `/prompt-sharpener <rough prompt>` 会将它变得清晰准确,并在同一轮中执行。
148
+ 4. **想把新技能、规则或工具带入仓库?** `/claim <request + links>` 会根据官方文档验证来源、检查是否适合当前仓库、在不明确时询问,然后完成集成和文档记录。
149
+ 5. **想在回顾进度时安静地放松一下?** `/tutien` 是一款私密、健康的修仙风格分类游戏,分析 Git 历史和你明确提供的 AI 聊天导出。它以清雅玄妙的文风呈现境界、token 使用和工作流习惯,但绝不改变证据;`/tutien off` 会恢复工具包的正常文风。
150
+ 6. **需要回答全仓库问题或进行大型审查?** 使用 `parallel-analysis`,它会并行执行多个只读分析通道,并验证合并后的结论。
151
+ 7. **修改了 `.claude/`、技能、hook 或安装脚本?** 合并前运行 `/security-scan`。
152
+ 8. **想进行可衡量的改进?** 使用带有 metric 和预算的 `/autoresearch-coding`。
153
+ 9. **保持配置清晰可靠:** `/daily-enhance` 只提出改进建议,绝不会静默应用。
154
+ 10. **引导工作已经彻底完成?** `/vibe-finalize` 会移出一次性 bootstrap 文件。
155
+
156
+ ## 命令
157
+
158
+ | 命令 | 作用 | 示例 |
159
+ | ------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
160
+ | `/init-vibe` | 首次初始化或修复:提出一个差异并等待批准。 | `/init-vibe`——审核差异后回复 `yes`。 |
161
+ | `/security-scan` | 对 Agent 表面执行只读 AgentShield 探针和可选完整扫描。 | 修改 `.claude/**` 或技能后,在合并前运行 `/security-scan`。 |
162
+ | `/daily-enhance` | 生成仅供提案的规则、技能和工作流改进报告。 | `/daily-enhance`——审核提出的差异后再批准。 |
163
+ | `/autoresearch-coding` | 带基线、指标和预算的实验循环。 | `/autoresearch-coding` Goal: fewer lint errors. Budget: 3. |
164
+ | `/council` | 协调 reviewer、researcher 和 analyst Agent,形成一个统一计划。 | `/council` on this branch diff. |
165
+ | `/vibe-finalize` | 让项目完成引导:将一次性文件移到 `_vibekit-cleanup/`。 | `/vibe-finalize`——先预览,批准后再应用。 |
166
+
167
+ ## 技能
168
+
169
+ 全部 15 个技能的规范版本位于 `.vibekit/skills/`。Claude、Codex 和 Grok 镜像全部 15 个技能;Cursor 镜像其中 10 个交互式技能。可以直接按名称调用(例如“Use the X skill…”),也可以使用上面的命令。
170
+
171
+ | 技能 | 适用场景 | 示例提示词 |
172
+ | ------------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
173
+ | `vibekit-init` | 首次设置,或需要修复 `backbone.yml` / 受管理区块。 | "Use the vibekit-init skill. Propose one diff and wait for my yes." |
174
+ | `parallel-analysis` | 全仓库问题、大型差异审查、一致性审计。 | "Use parallel-analysis: where is auth handled and what depends on it?" |
175
+ | `agentshield-security-review` | 合并前审计 Agent 配置、技能、hook、MCP 和命令。 | "Use agentshield-security-review on .claude/** and .vibekit/skills/**." |
176
+ | `autoresearch-coding` | 通过可衡量的实验持续改进仓库。 | "Use autoresearch-coding. Metric: `npm test`. Direction: higher. Budget: 3." |
177
+ | `daily-workflow-curator` | 定期调整规则、技能和工作流(仅提案)。 | "Use daily-workflow-curator and propose today's improvements." |
178
+ | `path-sensitive-shell-safety` | 修改包含路径变量或 `rm`/`mv`/`rsync` 的 shell、安装或部署逻辑之前。 | "Use path-sensitive-shell-safety before changing this cleanup script." |
179
+ | `visual-design-loop` | UI 打磨:渲染 → 截图 → 审查 → 修复,循环进行。 | "Use visual-design-loop on /dashboard. Budget 3 loops." |
180
+ | `clearthought` | 需求模糊、存在设计取舍或高风险决策。 | "Use clearthought. Operation: implementation_plan. Split this feature into safe tasks." |
181
+ | `sequential-thinking` | 将复杂工作拆解为有序步骤。 | "Use sequential-thinking. Break this refactor into ordered steps with tests." |
182
+ | `reviewing-4p-priorities` | 按 P0–P4 对缺陷和发现进行排序。 | "Use reviewing-4p-priorities. Classify these findings and give a fix sequence." |
183
+ | `memento` | 跨多日任务:停止前保存上下文,下一会话恢复。 | "/memento — write MEMENTO.md with Goal, Done, Stuck, Next." |
184
+ | `coding-level` | 设置解释详细程度(0 = ELI5,5 = 专家同行)。 | "/coding-level 2" |
185
+ | `prompt-sharpener` | 复杂任务只有粗略提示词时:优化提示词并在同一轮执行。 | "/prompt-sharpener make the settings page load faster" |
186
+ | `claim` | 将新技能、规则、约定或工具带入仓库:验证官方来源、检查适配性、确认、集成并记录文档。 | "/claim add the conventional-commits rule from https://www.conventionalcommits.org" |
187
+ | `tutien` | 私密、舒缓压力的修仙编码进度分类游戏:以清雅玄妙的叙事包裹准确的 Git/聊天证据,并与其他对话模式隔离。仅由用户调用;`/tutien off` 恢复正常文风。 | "/tutien preview sources=git,/path/to/export.jsonl" |
188
+
189
+ ## 高级用法
190
+
191
+ ### 安装配置档
192
+
193
+ 只安装你使用的工具表面(默认为 `all`):
194
+
195
+ ```bash
196
+ npx --yes minimal-vibe-coding-kit@latest install . --profile claude # 仅 Claude Code
197
+ npx --yes minimal-vibe-coding-kit@latest install . --profile claude,cursor # Claude + Cursor
198
+ npx --yes minimal-vibe-coding-kit@latest install . --profile codex # Codex / AGENTS.md Agent
199
+ npx --yes minimal-vibe-coding-kit@latest install . --profile grok # Grok Build CLI
200
+ ```
201
+
202
+ 选项:`--force`(覆盖已有的工具包文件)、`--dry-run`(预览)、`--json`(机器可读计划)。
203
+
204
+ ### 更新已安装的项目
205
+
206
+ 当工具包发布新技能或脚本后,在项目中运行:
207
+
208
+ ```bash
209
+ npx --yes minimal-vibe-coding-kit@latest update . --dry-run # 预览
210
+ npx --yes minimal-vibe-coding-kit@latest update . # 应用
211
+ ```
212
+
213
+ `update` 只刷新**工具包拥有的文件**,绝不会触碰 `backbone.yml` 或你自己的内容。它会原位更新受管理区块,并将变更前的文件备份到 `.vibekit/update-backup/<timestamp>/`。详情请参阅 [.vibekit/docs/INSTALL.md](../.vibekit/docs/INSTALL.md)。
214
+
215
+ ### Autoresearch 循环
216
+
217
+ ```text
218
+ Use the autoresearch-coding skill.
219
+ Goal: improve maintainability. Metric command: <your validate command>. Direction: higher.
220
+ Editable paths: src/ docs/. Protected paths: .git .env* node_modules lockfiles.
221
+ Budget: 3.
222
+ ```
223
+
224
+ 约定:先建立基线 → 每次只进行一个小实验 → 只保留指标改善的变更 → 记录所有实验。
225
+
226
+ ### 安全审查(AgentShield)
227
+
228
+ ```bash
229
+ node .vibekit/scripts/agentshield-probe.mjs . # 快速只读探针
230
+ npx ecc-agentshield scan --path . --format text --min-severity medium # 可选完整扫描
231
+ ```
232
+
233
+ 对 `CLAUDE.md`、`AGENTS.md`、`.claude/**`、`.cursor/**`、`.agents/**`、`.grok/**`、`.codex-plugin/**` 或 `.vibekit/skills|commands|scripts/**` 的任何修改都应触发安全审查。安全模型:[.vibekit/docs/SECURITY_MODEL.md](../.vibekit/docs/SECURITY_MODEL.md)。
234
+
235
+ ### Doctor 和报告
236
+
237
+ ```bash
238
+ node .vibekit/scripts/mvck.mjs doctor . # 只读健康检查
239
+ node .vibekit/scripts/mvck.mjs doctor . --write-report # 写入 VIBE_REPORT.md
240
+ node .vibekit/scripts/daily-enhance.mjs . --write-report
241
+ ```
242
+
243
+ ### 面向工具包开发者
244
+
245
+ ```bash
246
+ npm test # 语法 + 真实临时目录安装测试 + 结构验证
247
+ npm run validate:all # npm test + AgentShield 探针 + npm 打包预检
248
+ ```
249
+
250
+ 发布检查清单:[.vibekit/init/PUSH_TO_GITHUB.md](../.vibekit/init/PUSH_TO_GITHUB.md)。深入文档:[.vibekit/docs/](../.vibekit/docs/)。
251
+
252
+ <details>
253
+ <summary><strong>故障排除</strong></summary>
254
+
255
+ | 症状 | 解决方法 |
256
+ | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
257
+ | Agent 忽略初始化流程 | 重新运行安装程序,或将 [.vibekit/init/CLAUDE-template.md](../.vibekit/init/CLAUDE-template.md) 复制为 `CLAUDE.md`。 |
258
+ | Agent 每个会话都重新要求初始化 | 运行并批准初始化;确认 `backbone.yml` 中存在 `meta.template_status: initialized`。 |
259
+ | 检测到错误的技术栈 | 删除过期 lockfile,或直接编辑 `backbone.yml`。 |
260
+ | Agent 修改了不应触碰的路径 | 将该路径加入 `backbone.yml` 的 `policy.protected_paths`(支持 glob)。 |
261
+ | AgentShield 探针发出警告 | 安装 Python 3,或者忽略;这是 warning,不是 failure。 |
262
+ | 安装后缺少脚本 | 使用 `--force` 重新安装,或手动复制 `.vibekit/scripts/`。 |
263
+
264
+ </details>
265
+
266
+ ## 贡献
267
+
268
+ 欢迎在 [`giang6283623/minimal-vibe-coding-kit`](https://github.com/giang6283623/minimal-vibe-coding-kit) 提交 Issue 和 PR。提交 PR 前,请在 `.claude/`、`.cursor/`、`.agents/` 之间同步技能变更,保持模板与具体项目无关,并运行 `npm run validate:all`。另请参阅 [CONTRIBUTING.md](../CONTRIBUTING.md)、[SECURITY.md](../SECURITY.md) 和 [CODE_OF_CONDUCT.md](../CODE_OF_CONDUCT.md)。
269
+
270
+ **创建者:** [GiangBV](https://www.linkedin.com/in/buivangiang1992)、[AuPMH](https://www.linkedin.com/in/pham-au-2a1bb1162)
271
+ **技术动力:** 咖啡因、坚持、与 AI 协作,以及周末的编程时光。
272
+
273
+ ## 许可证
274
+
275
+ MIT。请参阅 [LICENSE](../LICENSE)。
276
+
277
+ > 🇻🇳 _如果你热爱越南和越南人民,你可以完全免费使用这里的一切。_
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minimal-vibe-coding-kit",
3
- "version": "0.4.2",
3
+ "version": "0.5.0",
4
4
  "description": "Project-agnostic AI coding workflow kit for Claude Code, Cursor, Codex, and Grok with AgentShield security review.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -15,12 +15,13 @@
15
15
  "daily": "node .vibekit/scripts/daily-enhance.mjs . --write-report",
16
16
  "check:syntax": "node --check .vibekit/scripts/mvck.mjs && node --check .vibekit/scripts/init-backbone.mjs && node --check .vibekit/scripts/daily-enhance.mjs && node --check .vibekit/scripts/validate-kit.mjs && node --check .vibekit/scripts/doctor.mjs && node --check .vibekit/scripts/test-install.mjs && node --check .vibekit/scripts/agentshield-probe.mjs && node --check .vibekit/scripts/pack-dry-run.mjs && node --check .vibekit/scripts/vibekit-finalize.mjs && node --check bin/mvck.js && node --check bin/vibe-kit.js",
17
17
  "test:install": "node .vibekit/scripts/test-install.mjs",
18
- "test": "npm run check:syntax && npm run test:install && npm run validate",
18
+ "test": "npm run check:syntax && npm run test:install && npm run validate && npm run test:tutien",
19
19
  "validate": "node .vibekit/scripts/validate-kit.mjs .",
20
20
  "security:probe": "node .vibekit/scripts/agentshield-probe.mjs .",
21
21
  "pack:dry-run": "node .vibekit/scripts/pack-dry-run.mjs",
22
22
  "validate:all": "npm test && npm run security:probe && npm run pack:dry-run",
23
- "pack:repo": "node .vibekit/scripts/validate-kit.mjs . && npm pack"
23
+ "pack:repo": "node .vibekit/scripts/validate-kit.mjs . && npm pack",
24
+ "test:tutien": "node test/tutien/scripts/test-analyzer.mjs && node test/tutien/scripts/test-render.mjs && node test/tutien/scripts/test-villains.mjs && node test/tutien/scripts/test-snapshot.mjs && node test/tutien/scripts/test-classify.mjs && node test/tutien/scripts/test-adversarial.mjs && node test/tutien/scripts/test-e2e.mjs"
24
25
  },
25
26
  "keywords": [
26
27
  "vibe-coding",
@@ -58,6 +59,8 @@
58
59
  ".claude/skills/coding-level/",
59
60
  ".claude/skills/parallel-analysis/",
60
61
  ".claude/skills/prompt-sharpener/",
62
+ ".claude/skills/claim/",
63
+ ".claude/skills/tutien/",
61
64
  ".cursor/rules/",
62
65
  ".cursor/commands/",
63
66
  ".cursor/settings.json",
@@ -70,6 +73,8 @@
70
73
  ".cursor/skills/coding-level/",
71
74
  ".cursor/skills/parallel-analysis/",
72
75
  ".cursor/skills/prompt-sharpener/",
76
+ ".cursor/skills/claim/",
77
+ ".cursor/skills/tutien/",
73
78
  ".agents/",
74
79
  ".grok/",
75
80
  ".codex/",
@@ -84,6 +89,7 @@
84
89
  "install.ps1",
85
90
  "README.md",
86
91
  "docs/README.vi.md",
92
+ "docs/README.zh-CN.md",
87
93
  "SECURITY.md",
88
94
  "CONTRIBUTING.md",
89
95
  "CODE_OF_CONDUCT.md",