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
@@ -0,0 +1,103 @@
1
+ ---
2
+ name: visual-design-loop
3
+ description: Run an iterative visual design improvement loop for UI/product polish tasks. Use when a request involves screenshots, rendering, visual review, frontend polish, layout/typography/color refinement, design QA, or a Claude/Codex loop goal that touches a visible product surface.
4
+ ---
5
+
6
+ # Visual Design Loop
7
+
8
+ Use this skill to improve a visible UI through controlled render-review-fix loops. Keep the brief and existing project conventions as the source of truth; do not add new product requirements just because a screen could be enhanced.
9
+
10
+ ## Contract
11
+
12
+ Before editing, resolve and state:
13
+
14
+ - Goal.
15
+ - Target surface: route, page, component, flow, or supplied screenshot.
16
+ - Source of truth: current brief plus repo instructions, design system, nearby UI, and `backbone.yml` when present.
17
+ - Render method: local URL, app command, Storybook story, preview command, static file, or supplied screenshot.
18
+ - Screenshot method: browser screenshot, Playwright, in-app browser, provided image, or equivalent.
19
+ - Editable paths.
20
+ - Protected paths.
21
+ - Budget: default 3 loops.
22
+ - Timeout: default 10 minutes per loop.
23
+ - Log path: `/tmp/design-{project_slug}.md`.
24
+
25
+ If render or screenshot capture is missing and cannot be inferred safely, ask for the missing command, URL, or image before editing.
26
+
27
+ ## Baseline
28
+
29
+ 1. Render the target surface.
30
+ 2. Capture or inspect the baseline screenshot.
31
+ 3. Review visible issues only; do not invent findings.
32
+ 4. Create or update `/tmp/design-{project_slug}.md`.
33
+ 5. Log the baseline screenshot, visual score, main issues, and any render constraints.
34
+
35
+ Derive `project_slug` from `backbone.yml` `project.name` when available; otherwise use the repository directory name.
36
+
37
+ ## Visual rubric
38
+
39
+ Score screenshots from 1 to 5 using:
40
+
41
+ - Visual hierarchy: primary content and action are obvious.
42
+ - Layout and spacing: alignment, rhythm, density, whitespace.
43
+ - Typography: scale, contrast, readability, consistency.
44
+ - Color and contrast: accessible, intentional, not noisy.
45
+ - Component consistency: matches nearby UI and design system.
46
+ - Responsiveness: works at relevant viewport sizes.
47
+ - Interaction states: hover, focus, disabled, empty, loading, and error states when relevant.
48
+ - Product fit: improves the brief without adding unnecessary features.
49
+
50
+ ## Loop
51
+
52
+ For each loop:
53
+
54
+ 1. Review the latest screenshot.
55
+ 2. Identify the highest-impact visual issue.
56
+ 3. Form one small hypothesis.
57
+ 4. Apply one targeted fix inside editable paths only.
58
+ 5. Render again.
59
+ 6. Capture the after screenshot.
60
+ 7. Compare before and after.
61
+ 8. Keep the change only if quality improves, or if quality is equal with simpler and safer implementation.
62
+ 9. Revert only your own loop changes if the result is worse.
63
+ 10. Run the repo validation command when code changed.
64
+ 11. Append the loop result to `/tmp/design-{project_slug}.md`.
65
+
66
+ Each loop entry must include:
67
+
68
+ - Loop number.
69
+ - Screenshot reviewed.
70
+ - Issue found.
71
+ - Hypothesis.
72
+ - Fix applied.
73
+ - Before/after judgment.
74
+ - Rubric score before.
75
+ - Rubric score after.
76
+ - Validation result.
77
+ - Remaining concerns.
78
+ - Stop/continue decision.
79
+
80
+ ## Stop criteria
81
+
82
+ Stop when:
83
+
84
+ - The design is polished enough for the brief.
85
+ - The latest loop gives no meaningful improvement.
86
+ - Further changes would be subjective or overworked.
87
+ - Budget is reached.
88
+ - Validation fails for a non-trivial reason.
89
+ - A product or design decision is required from the user.
90
+ - Render or screenshot tooling is unavailable.
91
+
92
+ ## Final report
93
+
94
+ Report:
95
+
96
+ - Baseline score.
97
+ - Final score.
98
+ - Screenshots reviewed.
99
+ - Changes kept.
100
+ - Changes discarded, if any.
101
+ - Validation result.
102
+ - Remaining risks or design decisions.
103
+ - Log path.
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Visual Design Loop"
3
+ short_description: "Iterative screenshot-based UI polish loop"
4
+ default_prompt: "Use $visual-design-loop to render, screenshot, review, and improve this UI until it is polished but not overworked."
@@ -0,0 +1,11 @@
1
+ # Codex notes
2
+
3
+ Codex reads `AGENTS.md` and repository skills from `.agents/skills`. This kit also includes `.codex-plugin/plugin.json` for plugin packaging.
4
+
5
+ Useful built-ins in Codex CLI include `/init`, `/skills`, `/review`, `/permissions`, `/plan`, and `/goal` when available.
6
+
7
+ Native custom reasoning skills:
8
+
9
+ - `clearthought`: structured reasoning for broad or ambiguous coding tasks.
10
+ - `sequential-thinking`: step-by-step task splitting with revisions and branches.
11
+ - `reviewing-4p-priorities`: P0-P4 review triage and fix ordering.
@@ -0,0 +1,8 @@
1
+ # Example only. Copy to ~/.codex/config.toml if you want these defaults.
2
+ project_doc_max_bytes = 65536
3
+ project_doc_fallback_filenames = ["AGENTS.md", "CLAUDE.md"]
4
+
5
+ # Skills can be disabled by path if needed:
6
+ # [[skills.config]]
7
+ # path = "/absolute/path/to/.agents/skills/autoresearch-coding/SKILL.md"
8
+ # enabled = false
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "minimal-vibe-coding-kit",
3
+ "version": "0.2.0",
4
+ "description": "Reusable vibe coding skills and workflows for Codex-compatible repositories.",
5
+ "author": {
6
+ "name": "Minimal Vibe Coding Kit"
7
+ },
8
+ "license": "MIT",
9
+ "skills": "./skills/"
10
+ }
@@ -0,0 +1,11 @@
1
+ # autoresearch-coding
2
+
3
+ Use the `autoresearch-coding` skill.
4
+
5
+ Before editing:
6
+
7
+ - Read `backbone.yml`; if it is uninitialized, run the first-time init approval flow first.
8
+ - Resolve and print goal, metric command, direction, editable paths, protected paths, budget, and timeout.
9
+ - Run and log a baseline before the first experiment.
10
+ - Keep only metric improvements or equal-metric simplifications.
11
+ - Run the AgentShield probe before the final report when kept changes touch agent surfaces.
@@ -0,0 +1,3 @@
1
+ # council
2
+
3
+ Coordinate relevant agents: research-coordinator, security-reviewer, code-reviewer, and results-analyst. Return one merged plan and one validation summary.
@@ -0,0 +1,3 @@
1
+ # daily-enhance
2
+
3
+ Use the `daily-workflow-curator` skill. Generate a report and proposed diff. Do not write until the user approves.
@@ -0,0 +1,3 @@
1
+ # init-vibe
2
+
3
+ Use the `vibekit-init` skill. Print requirements first, infer project conventions, propose a diff for `backbone.yml` plus rules, and wait for approval before writing.
@@ -0,0 +1,3 @@
1
+ # security-scan
2
+
3
+ Use the `agentshield-security-review` skill. Run read-only probe first, then AgentShield scan if available. Do not run hooks or MCP servers.
@@ -0,0 +1,3 @@
1
+ # vibe-finalize
2
+
3
+ Graduate this project once init and the first prompt are complete. Run `node .vbkit-scripts/vibekit-finalize.mjs . --propose` to preview, then `--write --yes` to move one-time bootstrap files (FIRST_TIME_INIT.md, FIRST_PROMPT.md, PUSH_TO_GITHUB.md, CLAUDE-template.md) into `_vibekit-cleanup/` for deletion. It refuses to run on the kit source repo and is reversible with `--restore --write`.
@@ -0,0 +1,6 @@
1
+ ---
2
+ description: Minimal Vibe Coding Kit core workflow for all Cursor agent tasks.
3
+ alwaysApply: true
4
+ ---
5
+
6
+ Read `backbone.yml` before changing code. If `meta.template_status` is `uninitialized`, follow `FIRST_TIME_INIT.md` and wait for approval before writing. After init, follow `backbone.yml` `conventions`. Keep diffs small, validate after relevant edits, and preserve user instructions outside managed blocks.
@@ -0,0 +1,7 @@
1
+ ---
2
+ description: First-time init rules for Minimal Vibe Coding Kit.
3
+ globs: ["backbone.yml", "FIRST_TIME_INIT.md", "CLAUDE.md", "AGENTS.md", ".cursor/rules/**"]
4
+ alwaysApply: false
5
+ ---
6
+
7
+ For init, print requirements first, detect stack and project conventions from files, propose one diff for `backbone.yml` plus rules, and wait for `yes`, `edit`, or `abort`. Do not overwrite existing `CLAUDE.md` or `AGENTS.md`.
@@ -0,0 +1,7 @@
1
+ ---
2
+ description: AgentShield security review for agent surfaces, skills, commands, hooks, MCP, and installer changes.
3
+ globs: ["CLAUDE.md", "AGENTS.md", ".claude/**", ".cursor/**", ".agents/**", ".codex-plugin/**", "skills/**", ".vbkit-commands/**", ".vbkit-scripts/**", "hooks/**", ".mcp.json", "mcp.json"]
4
+ alwaysApply: false
5
+ ---
6
+
7
+ Run or ask to run `node .vbkit-scripts/agentshield-probe.mjs .` before merging agent-surface changes. Do not run untrusted hooks, MCP servers, deploys, migrations, or remote installers during review.
@@ -0,0 +1,7 @@
1
+ ---
2
+ description: Metric-driven autoresearch loop rules for repeated repo improvement.
3
+ globs: ["src/**", "app/**", "lib/**", ".vbkit-docs/**", "skills/**", ".vbkit-scripts/**", ".vbkit-commands/**", ".claude/**", ".cursor/**", ".agents/**"]
4
+ alwaysApply: false
5
+ ---
6
+
7
+ Before repeated experiments, read `backbone.yml`; if it is uninitialized, complete the first-time init approval flow before experiment edits. Define goal, metric command, direction, editable paths, protected paths, budget, and timeout. Run a logged baseline before edits. Keep only improvements or safe simplifications. Run the AgentShield probe before the final report when kept changes touch agent surfaces.
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/claude-code-settings.json",
3
+ "permissions": {
4
+ "deny": [
5
+ "Bash(rm -rf *)",
6
+ "Bash(rm:*)",
7
+ "Bash(git push *)",
8
+ "Bash(git push --force*)",
9
+ "Bash(git reset --hard*)",
10
+ "Bash(curl *|*sh*)",
11
+ "Bash(wget *|*sh*)",
12
+ "Bash(npm publish*)",
13
+ "Bash(npx * --yes*)",
14
+ "Bash(migrate *)",
15
+ "Bash(docker compose up*)",
16
+ "Bash(docker-compose up*)"
17
+ ]
18
+ },
19
+ "skillOverrides": {
20
+ "autoresearch-coding": "user-invocable-only"
21
+ }
22
+ }
@@ -0,0 +1,100 @@
1
+ ---
2
+ name: clearthought
3
+ description: Structured reasoning for complex coding work. Use when requirements are ambiguous, a design/debugging decision has multiple valid paths, or a large request needs to be split into safe implementable tasks.
4
+ argument-hint: "[operation] <problem>"
5
+ user-invocable: true
6
+ effort: high
7
+ ---
8
+
9
+ # ClearThought
10
+
11
+ Use ClearThought to turn complex or ambiguous coding work into an evidence-based implementation plan.
12
+
13
+ ## Best Use
14
+
15
+ Use this skill when:
16
+
17
+ - requirements are broad, conflicting, or under-specified;
18
+ - a bug needs root-cause analysis before editing;
19
+ - an architecture or refactor decision has tradeoffs;
20
+ - a task needs to be split into small pull-request sized steps;
21
+ - the user asks for deliberate reasoning, ClearThought, or a structured decision.
22
+
23
+ ## Operations
24
+
25
+ Choose the narrowest operation that fits:
26
+
27
+ - `sequential_thinking`: decompose a complex request into ordered work.
28
+ - `debugging_approach`: isolate a broken behavior with hypotheses and checks.
29
+ - `decision_framework`: compare implementation options and choose one.
30
+ - `systems_thinking`: map components, contracts, and side effects.
31
+ - `scientific_method`: define hypothesis, metric, baseline, experiment, and result.
32
+ - `risk_review`: identify safety, security, data, and rollback risks.
33
+ - `implementation_plan`: produce an edit plan, validation plan, and review checklist.
34
+
35
+ If the operation is omitted, infer it from the request. Default to `sequential_thinking`.
36
+
37
+ ## Workflow
38
+
39
+ 1. Read `AGENTS.md` and `backbone.yml` before repo edits.
40
+ 2. Separate observed facts, assumptions, unknowns, and decisions.
41
+ 3. Pick one operation and keep the reasoning focused on the next useful action.
42
+ 4. Split the work into safe tasks with file or module ownership where possible.
43
+ 5. Define validation commands and risk checks before editing.
44
+ 6. Revisit the plan when new evidence invalidates an assumption.
45
+
46
+ ## Output
47
+
48
+ For normal coding work, return this concise structure:
49
+
50
+ ```markdown
51
+ ## ClearThought Brief
52
+
53
+ Operation: <operation>
54
+ Problem: <one sentence>
55
+ Observed facts:
56
+ - <facts from files, tests, logs, or user request>
57
+ Assumptions:
58
+ - <explicit assumptions>
59
+ Plan:
60
+ 1. <small implementable step>
61
+ 2. <small implementable step>
62
+ Validation:
63
+ - <commands or checks>
64
+ Risks:
65
+ - <risk and mitigation>
66
+ ```
67
+
68
+ For user-invoked JSON mode, return valid JSON:
69
+
70
+ ```json
71
+ {
72
+ "toolOperation": "operation_name",
73
+ "problem": "brief problem statement",
74
+ "observedFacts": [],
75
+ "assumptions": [],
76
+ "plan": [],
77
+ "validation": [],
78
+ "risks": [],
79
+ "sessionContext": {
80
+ "sessionId": "conversation"
81
+ }
82
+ }
83
+ ```
84
+
85
+ ## References And Examples
86
+
87
+ Load these only when the active task needs more detail:
88
+
89
+ - `references/parameter-reference.md`: operation parameters and accepted values.
90
+ - `references/output-schemas.md`: JSON response shapes for supported operations.
91
+ - `examples/sequential-thinking.md`: decomposition and step-by-step planning examples.
92
+ - `examples/decision-framework.md`: option comparison and tradeoff examples.
93
+ - `examples/metagame-examples.md`: OODA, Ulysses, and high-stakes reasoning examples.
94
+
95
+ ## Safety
96
+
97
+ - Do not expose long hidden reasoning. Provide concise rationale and actionable conclusions.
98
+ - Do not invent facts. Mark weak evidence as an assumption or unknown.
99
+ - Do not run package lifecycle scripts, hooks, deploys, migrations, or destructive commands just to think.
100
+ - Prefer reversible changes and small diffs when uncertainty is high.