minimal-vibe-coding-kit 0.3.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 (223) hide show
  1. package/.agents/skills/agentshield-security-review/SKILL.md +75 -0
  2. package/.agents/skills/agentshield-security-review/agents/openai.yaml +5 -0
  3. package/.agents/skills/agentshield-security-review/references/native-install.md +97 -0
  4. package/.agents/skills/agentshield-security-review/references/report-template.md +54 -0
  5. package/.agents/skills/agentshield-security-review/references/review-checklist.md +45 -0
  6. package/.agents/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
  7. package/.agents/skills/autoresearch-coding/README.md +15 -0
  8. package/.agents/skills/autoresearch-coding/SKILL.md +101 -0
  9. package/.agents/skills/autoresearch-coding/references/experiment-contract.md +13 -0
  10. package/.agents/skills/autoresearch-coding/references/metric-extraction.md +8 -0
  11. package/.agents/skills/autoresearch-coding/references/result-ledger.md +15 -0
  12. package/.agents/skills/autoresearch-coding/scripts/log_result.py +24 -0
  13. package/.agents/skills/autoresearch-coding/scripts/run_logged.py +30 -0
  14. package/.agents/skills/clearthought/SKILL.md +100 -0
  15. package/.agents/skills/clearthought/examples/decision-framework.md +441 -0
  16. package/.agents/skills/clearthought/examples/metagame-examples.md +536 -0
  17. package/.agents/skills/clearthought/examples/sequential-thinking.md +380 -0
  18. package/.agents/skills/clearthought/references/output-schemas.md +494 -0
  19. package/.agents/skills/clearthought/references/parameter-reference.md +482 -0
  20. package/.agents/skills/coding-level/SKILL.md +27 -0
  21. package/.agents/skills/coding-level/references/level-0.md +131 -0
  22. package/.agents/skills/coding-level/references/level-1.md +118 -0
  23. package/.agents/skills/coding-level/references/level-2.md +140 -0
  24. package/.agents/skills/coding-level/references/level-3.md +142 -0
  25. package/.agents/skills/coding-level/references/level-4.md +152 -0
  26. package/.agents/skills/coding-level/references/level-5.md +84 -0
  27. package/.agents/skills/daily-workflow-curator/SKILL.md +52 -0
  28. package/.agents/skills/memento/SKILL.md +36 -0
  29. package/.agents/skills/reviewing-4p-priorities/SKILL.md +72 -0
  30. package/.agents/skills/reviewing-4p-priorities/examples.md +298 -0
  31. package/.agents/skills/sequential-thinking/SKILL.md +106 -0
  32. package/.agents/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
  33. package/.agents/skills/sequential-thinking/examples/branching-exploration.md +474 -0
  34. package/.agents/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
  35. package/.agents/skills/sequential-thinking/examples/revision-pattern.md +304 -0
  36. package/.agents/skills/sequential-thinking/references/output-schema.md +483 -0
  37. package/.agents/skills/sequential-thinking/references/parameters.md +463 -0
  38. package/.agents/skills/sequential-thinking/references/patterns.md +666 -0
  39. package/.agents/skills/vibekit-init/SKILL.md +52 -0
  40. package/.agents/skills/visual-design-loop/SKILL.md +103 -0
  41. package/.agents/skills/visual-design-loop/agents/openai.yaml +4 -0
  42. package/.claude/agents/code-reviewer.md +11 -0
  43. package/.claude/agents/context-architect.md +11 -0
  44. package/.claude/agents/debug-fixer.md +11 -0
  45. package/.claude/agents/hypothesis-planner.md +11 -0
  46. package/.claude/agents/implementation-hacker.md +11 -0
  47. package/.claude/agents/research-coordinator.md +11 -0
  48. package/.claude/agents/results-analyst.md +11 -0
  49. package/.claude/agents/security-reviewer.md +11 -0
  50. package/.claude/agents/test-runner.md +11 -0
  51. package/.claude/agents/workflow-curator.md +11 -0
  52. package/.claude/commands/autoresearch-coding.md +15 -0
  53. package/.claude/commands/council.md +7 -0
  54. package/.claude/commands/daily-enhance.md +7 -0
  55. package/.claude/commands/init-vibe.md +7 -0
  56. package/.claude/commands/security-scan.md +7 -0
  57. package/.claude/commands/vibe-finalize.md +7 -0
  58. package/.claude/rules/autoresearch.md +3 -0
  59. package/.claude/rules/security.md +3 -0
  60. package/.claude/rules/tooling.md +6 -0
  61. package/.claude/rules/vibe-core.md +8 -0
  62. package/.claude/settings.json +22 -0
  63. package/.claude/skills/agentshield-security-review/SKILL.md +75 -0
  64. package/.claude/skills/agentshield-security-review/agents/openai.yaml +5 -0
  65. package/.claude/skills/agentshield-security-review/references/native-install.md +97 -0
  66. package/.claude/skills/agentshield-security-review/references/report-template.md +54 -0
  67. package/.claude/skills/agentshield-security-review/references/review-checklist.md +45 -0
  68. package/.claude/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
  69. package/.claude/skills/autoresearch-coding/README.md +15 -0
  70. package/.claude/skills/autoresearch-coding/SKILL.md +101 -0
  71. package/.claude/skills/autoresearch-coding/references/experiment-contract.md +13 -0
  72. package/.claude/skills/autoresearch-coding/references/metric-extraction.md +8 -0
  73. package/.claude/skills/autoresearch-coding/references/result-ledger.md +15 -0
  74. package/.claude/skills/autoresearch-coding/scripts/log_result.py +24 -0
  75. package/.claude/skills/autoresearch-coding/scripts/run_logged.py +30 -0
  76. package/.claude/skills/clearthought/SKILL.md +100 -0
  77. package/.claude/skills/clearthought/examples/decision-framework.md +441 -0
  78. package/.claude/skills/clearthought/examples/metagame-examples.md +536 -0
  79. package/.claude/skills/clearthought/examples/sequential-thinking.md +380 -0
  80. package/.claude/skills/clearthought/references/output-schemas.md +494 -0
  81. package/.claude/skills/clearthought/references/parameter-reference.md +482 -0
  82. package/.claude/skills/coding-level/SKILL.md +27 -0
  83. package/.claude/skills/coding-level/references/level-0.md +131 -0
  84. package/.claude/skills/coding-level/references/level-1.md +118 -0
  85. package/.claude/skills/coding-level/references/level-2.md +140 -0
  86. package/.claude/skills/coding-level/references/level-3.md +142 -0
  87. package/.claude/skills/coding-level/references/level-4.md +152 -0
  88. package/.claude/skills/coding-level/references/level-5.md +84 -0
  89. package/.claude/skills/daily-workflow-curator/SKILL.md +52 -0
  90. package/.claude/skills/memento/SKILL.md +36 -0
  91. package/.claude/skills/reviewing-4p-priorities/SKILL.md +72 -0
  92. package/.claude/skills/reviewing-4p-priorities/examples.md +298 -0
  93. package/.claude/skills/sequential-thinking/SKILL.md +106 -0
  94. package/.claude/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
  95. package/.claude/skills/sequential-thinking/examples/branching-exploration.md +474 -0
  96. package/.claude/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
  97. package/.claude/skills/sequential-thinking/examples/revision-pattern.md +304 -0
  98. package/.claude/skills/sequential-thinking/references/output-schema.md +483 -0
  99. package/.claude/skills/sequential-thinking/references/parameters.md +463 -0
  100. package/.claude/skills/sequential-thinking/references/patterns.md +666 -0
  101. package/.claude/skills/vibekit-init/SKILL.md +52 -0
  102. package/.claude/skills/visual-design-loop/SKILL.md +103 -0
  103. package/.claude/skills/visual-design-loop/agents/openai.yaml +4 -0
  104. package/.codex/README.md +11 -0
  105. package/.codex/config.example.toml +8 -0
  106. package/.codex-plugin/plugin.json +10 -0
  107. package/.cursor/commands/autoresearch-coding.md +11 -0
  108. package/.cursor/commands/council.md +3 -0
  109. package/.cursor/commands/daily-enhance.md +3 -0
  110. package/.cursor/commands/init-vibe.md +3 -0
  111. package/.cursor/commands/security-scan.md +3 -0
  112. package/.cursor/commands/vibe-finalize.md +3 -0
  113. package/.cursor/rules/001-vibe-core.mdc +6 -0
  114. package/.cursor/rules/010-init.mdc +7 -0
  115. package/.cursor/rules/020-security-agentshield.mdc +7 -0
  116. package/.cursor/rules/030-autoresearch-loop.mdc +7 -0
  117. package/.cursor/settings.json +22 -0
  118. package/.cursor/skills/clearthought/SKILL.md +100 -0
  119. package/.cursor/skills/clearthought/examples/decision-framework.md +441 -0
  120. package/.cursor/skills/clearthought/examples/metagame-examples.md +536 -0
  121. package/.cursor/skills/clearthought/examples/sequential-thinking.md +380 -0
  122. package/.cursor/skills/clearthought/references/output-schemas.md +494 -0
  123. package/.cursor/skills/clearthought/references/parameter-reference.md +482 -0
  124. package/.cursor/skills/coding-level/SKILL.md +27 -0
  125. package/.cursor/skills/coding-level/references/level-0.md +131 -0
  126. package/.cursor/skills/coding-level/references/level-1.md +118 -0
  127. package/.cursor/skills/coding-level/references/level-2.md +140 -0
  128. package/.cursor/skills/coding-level/references/level-3.md +142 -0
  129. package/.cursor/skills/coding-level/references/level-4.md +152 -0
  130. package/.cursor/skills/coding-level/references/level-5.md +84 -0
  131. package/.cursor/skills/memento/SKILL.md +36 -0
  132. package/.cursor/skills/reviewing-4p-priorities/SKILL.md +72 -0
  133. package/.cursor/skills/reviewing-4p-priorities/examples.md +298 -0
  134. package/.cursor/skills/sequential-thinking/SKILL.md +106 -0
  135. package/.cursor/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
  136. package/.cursor/skills/sequential-thinking/examples/branching-exploration.md +474 -0
  137. package/.cursor/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
  138. package/.cursor/skills/sequential-thinking/examples/revision-pattern.md +304 -0
  139. package/.cursor/skills/sequential-thinking/references/output-schema.md +483 -0
  140. package/.cursor/skills/sequential-thinking/references/parameters.md +463 -0
  141. package/.cursor/skills/sequential-thinking/references/patterns.md +666 -0
  142. package/.vbkit-commands/autoresearch-coding.md +11 -0
  143. package/.vbkit-commands/council.md +3 -0
  144. package/.vbkit-commands/daily-enhance.md +3 -0
  145. package/.vbkit-commands/init-vibe.md +3 -0
  146. package/.vbkit-commands/security-scan.md +3 -0
  147. package/.vbkit-commands/vibe-finalize.md +3 -0
  148. package/.vbkit-docs/AUTORESEARCH_LEDGER.md +11 -0
  149. package/.vbkit-docs/BACKBONE_REFERENCE.md +59 -0
  150. package/.vbkit-docs/INSTALL.md +120 -0
  151. package/.vbkit-docs/RESEARCH_NOTES.md +22 -0
  152. package/.vbkit-docs/SECURITY_MODEL.md +40 -0
  153. package/.vbkit-docs/TOOLING_GUIDE.md +22 -0
  154. package/.vbkit-docs/backbone.schema.json +110 -0
  155. package/.vbkit-docs/templates/CONTEXT_TEMPLATE.md +47 -0
  156. package/.vbkit-docs/templates/PRD_TEMPLATE.md +48 -0
  157. package/.vbkit-scripts/agentshield-probe.mjs +22 -0
  158. package/.vbkit-scripts/daily-enhance.mjs +62 -0
  159. package/.vbkit-scripts/doctor.mjs +323 -0
  160. package/.vbkit-scripts/init-backbone.mjs +628 -0
  161. package/.vbkit-scripts/mvck.mjs +444 -0
  162. package/.vbkit-scripts/pack-dry-run.mjs +16 -0
  163. package/.vbkit-scripts/test-install.mjs +118 -0
  164. package/.vbkit-scripts/validate-kit.mjs +419 -0
  165. package/.vbkit-scripts/vibekit-finalize.mjs +185 -0
  166. package/AGENTS.md +60 -0
  167. package/CHANGELOG.md +34 -0
  168. package/CLAUDE-template.md +52 -0
  169. package/CODE_OF_CONDUCT.md +18 -0
  170. package/CONTRIBUTING.md +28 -0
  171. package/FIRST_PROMPT.md +54 -0
  172. package/FIRST_TIME_INIT.md +165 -0
  173. package/LICENSE +21 -0
  174. package/README.md +493 -0
  175. package/README.vi.md +431 -0
  176. package/SECURITY.md +28 -0
  177. package/backbone.yml +103 -0
  178. package/bin/mvck.js +2 -0
  179. package/bin/vibe-kit.js +2 -0
  180. package/install.ps1 +14 -0
  181. package/install.sh +8 -0
  182. package/package.json +92 -0
  183. package/skills/agentshield-security-review/SKILL.md +75 -0
  184. package/skills/agentshield-security-review/agents/openai.yaml +5 -0
  185. package/skills/agentshield-security-review/references/native-install.md +97 -0
  186. package/skills/agentshield-security-review/references/report-template.md +54 -0
  187. package/skills/agentshield-security-review/references/review-checklist.md +45 -0
  188. package/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
  189. package/skills/autoresearch-coding/README.md +15 -0
  190. package/skills/autoresearch-coding/SKILL.md +101 -0
  191. package/skills/autoresearch-coding/references/experiment-contract.md +13 -0
  192. package/skills/autoresearch-coding/references/metric-extraction.md +8 -0
  193. package/skills/autoresearch-coding/references/result-ledger.md +15 -0
  194. package/skills/autoresearch-coding/scripts/log_result.py +24 -0
  195. package/skills/autoresearch-coding/scripts/run_logged.py +30 -0
  196. package/skills/clearthought/SKILL.md +100 -0
  197. package/skills/clearthought/examples/decision-framework.md +441 -0
  198. package/skills/clearthought/examples/metagame-examples.md +536 -0
  199. package/skills/clearthought/examples/sequential-thinking.md +380 -0
  200. package/skills/clearthought/references/output-schemas.md +494 -0
  201. package/skills/clearthought/references/parameter-reference.md +482 -0
  202. package/skills/coding-level/SKILL.md +27 -0
  203. package/skills/coding-level/references/level-0.md +131 -0
  204. package/skills/coding-level/references/level-1.md +118 -0
  205. package/skills/coding-level/references/level-2.md +140 -0
  206. package/skills/coding-level/references/level-3.md +142 -0
  207. package/skills/coding-level/references/level-4.md +152 -0
  208. package/skills/coding-level/references/level-5.md +84 -0
  209. package/skills/daily-workflow-curator/SKILL.md +52 -0
  210. package/skills/memento/SKILL.md +36 -0
  211. package/skills/reviewing-4p-priorities/SKILL.md +72 -0
  212. package/skills/reviewing-4p-priorities/examples.md +298 -0
  213. package/skills/sequential-thinking/SKILL.md +106 -0
  214. package/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
  215. package/skills/sequential-thinking/examples/branching-exploration.md +474 -0
  216. package/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
  217. package/skills/sequential-thinking/examples/revision-pattern.md +304 -0
  218. package/skills/sequential-thinking/references/output-schema.md +483 -0
  219. package/skills/sequential-thinking/references/parameters.md +463 -0
  220. package/skills/sequential-thinking/references/patterns.md +666 -0
  221. package/skills/vibekit-init/SKILL.md +52 -0
  222. package/skills/visual-design-loop/SKILL.md +103 -0
  223. package/skills/visual-design-loop/agents/openai.yaml +4 -0
package/README.md ADDED
@@ -0,0 +1,493 @@
1
+ <div align="center">
2
+
3
+ **Read in:** **English** · [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
+ [![Version](https://img.shields.io/badge/version-0.2.0-2ea44f.svg)](CHANGELOG.md)
9
+ ![Claude](https://img.shields.io/badge/Claude%20Code-Commands%20%26%20Skills-111111)
10
+ ![Cursor](https://img.shields.io/badge/Cursor-Rules%20%26%20Commands-1f6feb)
11
+ ![Codex](https://img.shields.io/badge/Codex-AGENTS.md%20%26%20Plugin-6f42c1)
12
+ ![AgentShield](https://img.shields.io/badge/Security-AgentShield-d62828)
13
+ ![Node](https://img.shields.io/badge/node-%3E%3D18-339933?logo=node.js&logoColor=white)
14
+
15
+ **One installable AI-coding workflow kit for Claude Code, Cursor, and Codex — works on any repo, in any language.**
16
+
17
+ Drop it in, let the agent auto-detect your stack, approve the proposal, ship.
18
+
19
+ </div>
20
+
21
+ ---
22
+
23
+ ## Table of Contents
24
+
25
+ - [What's New in 0.2.0](#whats-new-in-020)
26
+ - [What This Kit Is](#what-this-kit-is)
27
+ - [Quick Start](#quick-start)
28
+ - [First Prompt](#first-prompt)
29
+ - [Install Profiles](#install-profiles)
30
+ - [Updating an Installed Project](#updating-an-installed-project)
31
+ - [Repository Layout](#repository-layout)
32
+ - [Workflow per Tool](#workflow-per-tool)
33
+ - [Commands & Skills Reference](#commands--skills-reference)
34
+ - [Flexible Reasoning Skills](#flexible-reasoning-skills)
35
+ - [Autoresearch Loop](#autoresearch-loop)
36
+ - [AgentShield Security Review](#agentshield-security-review)
37
+ - [Daily Enhancement](#daily-enhancement)
38
+ - [Doctor Report](#doctor-report)
39
+ - [Validate Before Release](#validate-before-release)
40
+ - [Design Goals](#design-goals)
41
+ - [Troubleshooting](#troubleshooting)
42
+ - [Contributing](#contributing)
43
+ - [License](#license)
44
+
45
+ > 🇻🇳 Bạn muốn đọc tiếng Việt? Xem [README.vi.md](README.vi.md).
46
+
47
+ ---
48
+
49
+ ## What's New in 0.2.0
50
+
51
+ | Area | Change |
52
+ | --- | --- |
53
+ | Installer | One-command CLI: `mvck install <project>` (plus `install.sh` / `install.ps1`). |
54
+ | Codex support | Adds `.agents/`, `.codex/`, and `.codex-plugin/plugin.json` surfaces. |
55
+ | Shared instructions | New `AGENTS.md` is imported by `CLAUDE.md` to avoid duplication. |
56
+ | Backbone | Compact `backbone.yml` template + auto-detection helper. |
57
+ | Skills | Adds `vibekit-init`, `agentshield-security-review`, `daily-workflow-curator`. |
58
+ | Security | Read-only AgentShield repo probe + scanner integration. |
59
+ | Daily loop | Propose-only `daily-enhance` report — never silently rewrites rules. |
60
+ | Validation | Syntax checks, install idempotency tests, `mvck doctor`, schema checks, and GitHub Actions workflow. |
61
+
62
+ Full notes in [CHANGELOG.md](CHANGELOG.md).
63
+
64
+ ## What This Kit Is
65
+
66
+ A lightweight, project-agnostic kit of shared **rules**, **skills**, **commands**, and a **backbone manifest** that lets AI coding assistants understand any project consistently.
67
+
68
+ It is intentionally minimal:
69
+
70
+ - No heavy framework, no forced structure.
71
+ - Existing `CLAUDE.md` / `AGENTS.md` are never overwritten — only managed blocks are added.
72
+ - Three template files do the heavy lifting:
73
+ - [backbone.yml](backbone.yml) — single source of truth for project structure, paths, and conventions.
74
+ - [CLAUDE-template.md](CLAUDE-template.md) — a short `CLAUDE.md` skeleton that imports `AGENTS.md`.
75
+ - [FIRST_TIME_INIT.md](FIRST_TIME_INIT.md) — the init runbook with guardrails for any repo.
76
+
77
+ The flow:
78
+
79
+ 1. Install the kit into a project. `backbone.yml` ships with `meta.template_status: uninitialized` and `<<PLACEHOLDER>>` values.
80
+ 2. Paste the [first prompt](#first-prompt) into Claude Code, Cursor, or Codex.
81
+ 3. The agent scans your repo for stack fingerprints and existing conventions, then **proposes one unified diff**.
82
+ 4. You review the inferred backbone and project rules (`yes` / `edit` / `abort`). The agent writes only after approval and flips status to `initialized`.
83
+ 5. Every later session reads the filled `backbone.yml` and skips the init flow.
84
+
85
+ Works for single-repo, monorepo, and multi-repo layouts. No silent edits. No project-specific code in the base kit.
86
+
87
+ During first-time init, the proposal also captures repo-specific rules in `backbone.yml` under `conventions`: naming style, folder architecture, shared asset/resource access, localization/message access, generated definitions, and per-app/package differences when evidence differs.
88
+
89
+ ## Quick Start
90
+
91
+ ### 1. Install the kit into any project
92
+
93
+ From this kit folder:
94
+
95
+ ```bash
96
+ ./install.sh /path/to/your-project
97
+ ```
98
+
99
+ PowerShell on Windows:
100
+
101
+ ```powershell
102
+ ./install.ps1 -Target C:\path\to\your-project
103
+ ```
104
+
105
+ Or with the Node CLI directly:
106
+
107
+ ```bash
108
+ node .vbkit-scripts/mvck.mjs install /path/to/your-project --profile all
109
+ ```
110
+
111
+ Once this repo is published on GitHub, end users can install from anywhere with:
112
+
113
+ ```bash
114
+ npx github:giang6283623/minimal-vibe-coding-kit install /path/to/your-project
115
+ ```
116
+
117
+ ### 2. Initialize the backbone
118
+
119
+ ```bash
120
+ cd /path/to/your-project
121
+ node .vbkit-scripts/init-backbone.mjs . --propose # preview the proposal
122
+ node .vbkit-scripts/init-backbone.mjs . --write --yes # write after you reviewed backbone + rules
123
+ ```
124
+
125
+ Optional stack presets:
126
+
127
+ ```bash
128
+ node .vbkit-scripts/mvck.mjs init . --preset nextjs --propose
129
+ node .vbkit-scripts/mvck.mjs init . --preset wordpress --propose
130
+ node .vbkit-scripts/mvck.mjs init . --preset python --propose
131
+ node .vbkit-scripts/mvck.mjs init . --preset laravel --propose
132
+ node .vbkit-scripts/mvck.mjs init . --preset docker --propose
133
+ ```
134
+
135
+ ### 3. Validate
136
+
137
+ ```bash
138
+ npm test
139
+ npm run security:probe
140
+ node .vbkit-scripts/mvck.mjs doctor .
141
+ ```
142
+
143
+ ### 4. Open the project and paste the [first prompt](#first-prompt).
144
+
145
+ ## First Prompt
146
+
147
+ Paste this into Claude Code, Cursor, or Codex after installing the kit:
148
+
149
+ ```text
150
+ Read FIRST_TIME_INIT.md and initialize this repo with Minimal Vibe Coding Kit.
151
+ First print the requirements you will check. Then run detection, propose one diff
152
+ for backbone.yml and managed instruction blocks, and wait for my yes before writing.
153
+ Include inferred project conventions for naming, architecture, resources,
154
+ localization, generated definitions, and per-app/package differences.
155
+ After approval, write the files, run validation, and summarize what changed.
156
+ ```
157
+
158
+ Tool-specific variants live in [FIRST_PROMPT.md](FIRST_PROMPT.md).
159
+
160
+ ## Install Profiles
161
+
162
+ Install everything (default):
163
+
164
+ ```bash
165
+ node .vbkit-scripts/mvck.mjs install . --profile all
166
+ ```
167
+
168
+ Install only what you use:
169
+
170
+ ```bash
171
+ node .vbkit-scripts/mvck.mjs install . --profile claude # Claude Code only
172
+ node .vbkit-scripts/mvck.mjs install . --profile claude,cursor # Claude + Cursor
173
+ node .vbkit-scripts/mvck.mjs install . --profile codex # Codex (and any AGENTS.md agent)
174
+ ```
175
+
176
+ Useful flags: `--force` (overwrite existing files), `--dry-run` (preview without writing), `--json` (machine-readable install plan).
177
+
178
+ ## Updating an Installed Project
179
+
180
+ When the kit ships new skills, rules, or scripts, refresh any project that already uses it with one command (run inside that project):
181
+
182
+ ```bash
183
+ npx --yes minimal-vibe-coding-kit@latest update .
184
+ ```
185
+
186
+ Or from a local clone of the newer kit:
187
+
188
+ ```bash
189
+ node /path/to/minimal-vibe-coding-kit/.vbkit-scripts/mvck.mjs update /path/to/your-project
190
+ ```
191
+
192
+ `update` is designed to be safe by default:
193
+
194
+ - **Refreshes kit-owned files only**: `skills/`, `.vbkit-commands/`, `.vbkit-scripts/`, `.vbkit-docs/`, and the Claude/Cursor/Codex skill, command, rule, and agent mirrors. New kit skills are added automatically.
195
+ - **Never overwrites user-owned files**: `backbone.yml`, `CLAUDE.md`, `AGENTS.md` content outside the managed block, `.claude/settings.json`, and `.cursor/settings.json` are seeded only if missing.
196
+ - **Managed blocks, not rewrites**: `AGENTS.md`, `CLAUDE.md`, and `.gitignore` are updated only inside the `BEGIN/END: minimal-vibe-coding-kit` markers.
197
+ - **Backs up before replacing**: any kit file that changed locally is copied to `.vibekit/update-backup/<timestamp>/` before being replaced (skip with `--no-backup`).
198
+ - **Never deletes** files you added, and skips re-seeding one-time files on finalized projects.
199
+ - **Version-stamped**: the installed kit version is recorded in `.vibekit/KIT_VERSION`; `mvck doctor` reports it.
200
+
201
+ Preview first if you want:
202
+
203
+ ```bash
204
+ npx --yes minimal-vibe-coding-kit@latest update . --dry-run
205
+ npx --yes minimal-vibe-coding-kit@latest update . --dry-run --json
206
+ ```
207
+
208
+ Recommended flow: `update . --dry-run` → `update .` → `npm run validate` (or `node .vbkit-scripts/validate-kit.mjs .`) → review the diff in git before committing.
209
+
210
+ ## Repository Layout
211
+
212
+ ```text
213
+ .
214
+ ├── backbone.yml ← project map + workflow config (template)
215
+ ├── AGENTS.md ← shared instructions for Claude, Cursor, Codex
216
+ ├── CLAUDE-template.md ← short Claude starter (imports AGENTS.md)
217
+ ├── FIRST_PROMPT.md ← copy/paste prompts per tool
218
+ ├── FIRST_TIME_INIT.md ← safe init runbook with guardrails
219
+
220
+ ├── .claude/ ← Claude Code surface
221
+ │ ├── agents/ (10 role agents: code-reviewer, debug-fixer, …)
222
+ │ ├── commands/ (/init-vibe, /security-scan, /daily-enhance, /autoresearch-coding, /council)
223
+ │ ├── rules/ (vibe-core, security, autoresearch, tooling)
224
+ │ ├── skills/ (mirrors of shared skills)
225
+ │ └── settings.json
226
+
227
+ ├── .cursor/ ← Cursor surface (rules/, commands/, skills/)
228
+ ├── .agents/skills/ ← portable / Codex skills
229
+ ├── .codex/ ← Codex config example
230
+ ├── .codex-plugin/plugin.json ← Codex plugin manifest
231
+
232
+ ├── skills/ ← canonical shared skills
233
+ │ ├── vibekit-init/
234
+ │ ├── autoresearch-coding/
235
+ │ ├── agentshield-security-review/
236
+ │ ├── daily-workflow-curator/
237
+ │ ├── clearthought/
238
+ │ ├── sequential-thinking/
239
+ │ ├── reviewing-4p-priorities/
240
+ │ └── visual-design-loop/
241
+ ├── .vbkit-commands/ ← shared command prompts
242
+
243
+ ├── .vbkit-scripts/ ← mvck CLI, init-backbone, daily-enhance, validate-kit, doctor, install tests
244
+ ├── bin/ ← npm bin entries (mvck, vibe-kit)
245
+ ├── .vbkit-docs/ ← deeper references (kept out of root)
246
+ └── .github/workflows/ ← repo validation workflow
247
+ ```
248
+
249
+ ## Workflow per Tool
250
+
251
+ ### Claude Code
252
+
253
+ Claude reads `CLAUDE.md`, `AGENTS.md`, `.claude/rules`, `.claude/commands`, `.claude/agents`, and `.claude/skills`.
254
+
255
+ Useful slash commands:
256
+
257
+ ```text
258
+ /init-vibe initialize or repair the kit setup
259
+ /security-scan AgentShield probe + scan
260
+ /daily-enhance generate a propose-only improvement report
261
+ /autoresearch-coding run the metric-driven experiment loop
262
+ /council coordinate multiple specialized agents
263
+ ```
264
+
265
+ The generated `CLAUDE.md` stays short and imports shared guidance via `@AGENTS.md`.
266
+
267
+ ### Cursor
268
+
269
+ Cursor receives project rules from:
270
+
271
+ ```text
272
+ .cursor/rules/*.mdc 001-vibe-core, 010-init, 020-security-agentshield, 030-autoresearch-loop
273
+ .cursor/commands/*.md same five commands as Claude
274
+ .cursor/skills/* custom native reasoning skills
275
+ AGENTS.md
276
+ backbone.yml
277
+ ```
278
+
279
+ Rules are split by topic so context stays small.
280
+
281
+ ### Codex
282
+
283
+ Codex receives guidance from:
284
+
285
+ ```text
286
+ AGENTS.md
287
+ .agents/skills/*/SKILL.md
288
+ .codex/config.example.toml
289
+ .codex-plugin/plugin.json
290
+ backbone.yml
291
+ ```
292
+
293
+ Recommended prompt:
294
+
295
+ ```text
296
+ Read AGENTS.md and FIRST_TIME_INIT.md. Use the vibekit-init skill if available.
297
+ Initialize backbone.yml, keep AGENTS.md concise, and wait for approval before writing.
298
+ ```
299
+
300
+ ## Commands & Skills Reference
301
+
302
+ ### Commands
303
+
304
+ | Command | Backed by skill | Use when |
305
+ | --- | --- | --- |
306
+ | `/init-vibe` | `vibekit-init` | First-time init or repair. Print requirements, propose diff, wait for approval. |
307
+ | `/security-scan` | `agentshield-security-review` | Reviewing agent surfaces, hooks, MCP, skills, commands, installer scripts. |
308
+ | `/daily-enhance` | `daily-workflow-curator` | Daily proposal to improve rules, skills, workflows, `backbone.yml`. Propose-only. |
309
+ | `/autoresearch-coding` | `autoresearch-coding` | Improving a repo through measurable experiments with a baseline + budget. |
310
+ | `/council` | (multi-agent) | Coordinate research-coordinator, security-reviewer, code-reviewer, results-analyst. |
311
+
312
+ ### Skills (`skills/` is canonical; tool-specific skill folders mirror native entrypoints where applicable)
313
+
314
+ | Skill | Purpose |
315
+ | --- | --- |
316
+ | [`vibekit-init`](skills/vibekit-init/SKILL.md) | First-time init flow: detect stack, propose diff, wait for `yes`, then write. |
317
+ | [`autoresearch-coding`](skills/autoresearch-coding/SKILL.md) | Metric-driven research loop with baseline, experiments, and a results log. |
318
+ | [`agentshield-security-review`](skills/agentshield-security-review/SKILL.md) | Read-only probe + optional scanner pass for agent-surface security. |
319
+ | [`daily-workflow-curator`](skills/daily-workflow-curator/SKILL.md) | Daily report + diff proposal. Never writes silently. |
320
+ | [`clearthought`](skills/clearthought/SKILL.md) | Flexible structured reasoning for ambiguous coding, debugging, design, and implementation planning. |
321
+ | [`sequential-thinking`](skills/sequential-thinking/SKILL.md) | Step progression, revisions, branches, and task splitting for complex work. |
322
+ | [`reviewing-4p-priorities`](skills/reviewing-4p-priorities/SKILL.md) | P0-P4 triage for bugs, review findings, risks, and fix order. |
323
+ | [`visual-design-loop`](skills/visual-design-loop/SKILL.md) | Screenshot-driven UI polish loop for render-review-fix design improvement. |
324
+ | [`memento`](skills/memento/SKILL.md) | Cross-session working memory: write `MEMENTO.md` before closing a multi-day task, resume from it next session. User-invoked (`/memento`). |
325
+ | [`coding-level`](skills/coding-level/SKILL.md) | Set the explanation register from 0 (ELI5) to 5 (expert peer); active until reinvoked. User-invoked (`/coding-level N`). |
326
+
327
+ ### Agents (`.claude/agents/`)
328
+
329
+ Drop-in role prompts: `code-reviewer`, `debug-fixer`, `hypothesis-planner`, `implementation-hacker`, `research-coordinator`, `results-analyst`, `test-runner`, `security-reviewer`, `context-architect`, `workflow-curator`.
330
+
331
+ ## Flexible Reasoning Skills
332
+
333
+ These three custom skills are native kit skills. They are available in `skills/` and mirrored for Claude, Codex, and Cursor. Each one includes bundled examples and references that are loaded only when the task needs more detail.
334
+
335
+ Use `clearthought` when the request is broad or ambiguous:
336
+
337
+ ```text
338
+ Use the clearthought skill.
339
+ Operation: implementation_plan
340
+ Problem: Split this feature into safe tasks, identify risks, and define validation.
341
+ ```
342
+
343
+ Use `sequential-thinking` when you need step-by-step decomposition:
344
+
345
+ ```text
346
+ Use the sequential-thinking skill.
347
+ Break this complex requirement into small implementation steps with tests.
348
+ ```
349
+
350
+ Use `reviewing-4p-priorities` when review findings or bug reports need fix order:
351
+
352
+ ```text
353
+ Use the reviewing-4p-priorities skill.
354
+ Classify these issues as P0-P4 and give me the practical fix sequence.
355
+ ```
356
+
357
+ Recommended flow for flexible vibe-coding tasks:
358
+
359
+ 1. Run `clearthought` to clarify the problem and select the reasoning mode.
360
+ 2. Run `sequential-thinking` to split the work into small tasks.
361
+ 3. Run `reviewing-4p-priorities` to decide what must be fixed first.
362
+ 4. Run the validation command from `backbone.yml`.
363
+
364
+ ## Autoresearch Loop
365
+
366
+ Use this when you want the agent to improve a repo through measurable experiments:
367
+
368
+ ```text
369
+ Use the autoresearch-coding skill.
370
+ Goal: improve this repo for maintainability and coding-agent usefulness.
371
+ Metric command: node .vbkit-scripts/validate-kit.mjs .
372
+ Direction: higher.
373
+ Editable paths: README.md .vbkit-docs .vbkit-scripts skills .vbkit-commands .claude .cursor .agents
374
+ .codex-plugin backbone.yml AGENTS.md CLAUDE-template.md
375
+ FIRST_TIME_INIT.md package.json install.sh install.ps1.
376
+ Protected paths: .git .env* node_modules vendor secrets lockfiles.
377
+ Budget: 3.
378
+ ```
379
+
380
+ Loop contract:
381
+
382
+ 1. Run baseline metric.
383
+ 2. Make one small experiment.
384
+ 3. Run metric again.
385
+ 4. Keep only improvements or safe simplifications.
386
+ 5. Log result.
387
+ 6. Repeat until budget is done.
388
+
389
+ ## AgentShield Security Review
390
+
391
+ Fast read-only probe (no install needed beyond Python):
392
+
393
+ ```bash
394
+ node .vbkit-scripts/agentshield-probe.mjs .
395
+ ```
396
+
397
+ Optional full scanner pass when npm is available:
398
+
399
+ ```bash
400
+ npx ecc-agentshield scan --path . --format text --min-severity medium
401
+ ```
402
+
403
+ Security rules:
404
+
405
+ - Do not run untrusted hooks, MCP servers, package lifecycle scripts, deploy scripts, migrations, or destructive commands just to inspect a repo.
406
+ - Never print full secrets.
407
+ - Any change to `CLAUDE.md`, `AGENTS.md`, `.claude/**`, `.cursor/**`, `.agents/**`, `.codex-plugin/**`, `skills/**`, `.vbkit-commands/**`, `.vbkit-scripts/**`, hooks, or MCP config should trigger an AgentShield-style review.
408
+
409
+ ## Daily Enhancement
410
+
411
+ Generate a local report:
412
+
413
+ ```bash
414
+ node .vbkit-scripts/daily-enhance.mjs . --write-report
415
+ ```
416
+
417
+ Prompt for an agent:
418
+
419
+ ```text
420
+ Use the daily-workflow-curator skill. Run the daily report, AgentShield probe,
421
+ and kit validation. Propose improvements to rules, skills, workflows, and
422
+ backbone.yml. Do not write until I approve the diff.
423
+ ```
424
+
425
+ Daily enhancement is **propose-only** by default. It does not silently commit or rewrite your rules.
426
+
427
+ ## Doctor Report
428
+
429
+ Run a read-only repo health check:
430
+
431
+ ```bash
432
+ node .vbkit-scripts/mvck.mjs doctor .
433
+ ```
434
+
435
+ Generate `VIBE_REPORT.md` when you want a local handoff report:
436
+
437
+ ```bash
438
+ node .vbkit-scripts/mvck.mjs doctor . --write-report
439
+ ```
440
+
441
+ Doctor checks backbone initialization, detected commands, Claude/Cursor/Codex surfaces, managed block duplication, protected paths, validation, and the AgentShield probe.
442
+
443
+ ## Validate Before Release
444
+
445
+ ```bash
446
+ npm test # syntax + install idempotency + structure validation
447
+ npm run validate:all # npm test + AgentShield probe + package dry-run
448
+ ```
449
+
450
+ Expected result: validation passes, AgentShield probe reports no critical structural issues, and `npm run pack:dry-run` shows the intended package files.
451
+
452
+ Publishing checklist lives in [PUSH_TO_GITHUB.md](PUSH_TO_GITHUB.md).
453
+
454
+ ## Design Goals
455
+
456
+ - Work with any language or framework.
457
+ - Support existing projects without overwriting custom instructions.
458
+ - Keep root files short — long procedures live in skills and `.vbkit-docs/`.
459
+ - Make AI workflow improvements measurable through autoresearch.
460
+ - Make agent-surface security review part of the normal workflow.
461
+
462
+ ## Troubleshooting
463
+
464
+ | Symptom | Likely cause | Fix |
465
+ | --- | --- | --- |
466
+ | Agent ignores the init flow | `CLAUDE.md` missing or its managed block was removed. | Re-run the installer, or copy [CLAUDE-template.md](CLAUDE-template.md) to `CLAUDE.md`. |
467
+ | Agent re-asks to init every session | `meta.template_status` is still `uninitialized`. | Run init, approve the diff, confirm `template_status` is `initialized` and `initialized_at` is set. |
468
+ | Wrong stack detected | Stale lockfile from an old language, or detection patterns out of date. | Delete the stale files, or extend detection in [backbone.yml](backbone.yml). |
469
+ | Agent touches a path it shouldn't | Path is not listed in `policy.protected_paths`. | Add it (globs supported). |
470
+ | Existing `CLAUDE.md` was overwritten | Merge guardrail was bypassed. | Restore from git. Re-run install — the kit only appends managed blocks. |
471
+ | Validation warns about AgentShield probe | Python or the probe script is unavailable. | Install Python 3, or skip — it is a warning, not a failure. |
472
+ | `node .vbkit-scripts/...` not found after install | Installer skipped existing files. | Re-run with `--force`, or copy `.vbkit-scripts/` manually. |
473
+
474
+ ## Contributing
475
+
476
+ Issues and PRs welcome at [`giang6283623/minimal-vibe-coding-kit`](https://github.com/giang6283623/minimal-vibe-coding-kit).
477
+
478
+ When editing the kit:
479
+
480
+ - Mirror changes between `.claude/`, `.cursor/`, and `.agents/` so all three tools stay aligned.
481
+ - Keep templates project-neutral. No company names, no hardcoded ports.
482
+ - Document each new command/skill with a one-line purpose and one example.
483
+ - Run `npm run validate:all` before opening a PR.
484
+ - Review [SECURITY.md](SECURITY.md), [CONTRIBUTING.md](CONTRIBUTING.md), and [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).
485
+
486
+ **Created by:** [GiangBV](https://www.linkedin.com/in/buivangiang1992), [AuPMH](https://www.linkedin.com/in/pham-au-2a1bb1162)
487
+ **Powered by:** Caffeine, Determination, AI Collaboration, and Weekend Coding Sessions.
488
+
489
+ ## License
490
+
491
+ MIT. See [LICENSE](LICENSE).
492
+
493
+ > 🇻🇳 *If you love Vietnam and its people, you are fully free to use everything in here at no cost.*