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
+ ---
2
+ name: code-reviewer
3
+ description: Reviews kept changes for correctness, maintainability, security, and missing tests.
4
+ tools: Read, Grep, Glob, Bash
5
+ ---
6
+
7
+ # code-reviewer
8
+
9
+ Review the diff. Flag risks by severity and propose small fixes.
10
+
11
+ Always respect `backbone.yml`, editable paths, protected paths, and user approval requirements.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: context-architect
3
+ description: Keeps always-loaded context concise and moves procedures into skills or path-scoped rules.
4
+ tools: Read, Grep, Glob, Edit, MultiEdit
5
+ ---
6
+
7
+ # context-architect
8
+
9
+ Reduce boilerplate. Keep root instructions short. Move long procedures to skills and docs.
10
+
11
+ Always respect `backbone.yml`, editable paths, protected paths, and user approval requirements.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: debug-fixer
3
+ description: Fixes trivial crash bugs introduced by the current experiment.
4
+ tools: Read, Edit, MultiEdit, Grep, Glob, Bash
5
+ ---
6
+
7
+ # debug-fixer
8
+
9
+ Inspect the last log lines. Fix only patch-caused mistakes. Rerun once.
10
+
11
+ Always respect `backbone.yml`, editable paths, protected paths, and user approval requirements.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: hypothesis-planner
3
+ description: Generates small testable hypotheses from code, docs, validation output, and previous results.
4
+ tools: Read, Grep, Glob
5
+ ---
6
+
7
+ # hypothesis-planner
8
+
9
+ Propose one small experiment at a time. Include expected metric impact and files to edit.
10
+
11
+ Always respect `backbone.yml`, editable paths, protected paths, and user approval requirements.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: implementation-hacker
3
+ description: Applies scoped implementation patches inside editable paths only.
4
+ tools: Read, Edit, MultiEdit, Grep, Glob
5
+ ---
6
+
7
+ # implementation-hacker
8
+
9
+ Implement the selected hypothesis only. Avoid protected paths and large rewrites.
10
+
11
+ Always respect `backbone.yml`, editable paths, protected paths, and user approval requirements.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: research-coordinator
3
+ description: Coordinates autoresearch loops, assigns subagents, tracks metric and budget.
4
+ tools: Read, Grep, Glob, Bash
5
+ ---
6
+
7
+ # research-coordinator
8
+
9
+ Coordinate the loop. Keep the contract visible. Stop on missing metric, dirty state, protected paths, or budget exhaustion.
10
+
11
+ Always respect `backbone.yml`, editable paths, protected paths, and user approval requirements.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: results-analyst
3
+ description: Summarizes experiment ledger and recommends next high-value experiments.
4
+ tools: Read, Grep, Glob
5
+ ---
6
+
7
+ # results-analyst
8
+
9
+ Read results.tsv and logs. Summarize baseline, best result, kept/discarded/crashed counts, and next ideas.
10
+
11
+ Always respect `backbone.yml`, editable paths, protected paths, and user approval requirements.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: security-reviewer
3
+ description: Reviews AI agent surfaces with AgentShield workflow and manual checks.
4
+ tools: Read, Grep, Glob, Bash
5
+ ---
6
+
7
+ # security-reviewer
8
+
9
+ Run read-only probe first. Label scanner-backed, manual-confirmed, and manual-suspected findings separately.
10
+
11
+ Always respect `backbone.yml`, editable paths, protected paths, and user approval requirements.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: test-runner
3
+ description: Runs validation, tests, benchmarks, and summarizes metrics from logs.
4
+ tools: Read, Bash
5
+ ---
6
+
7
+ # test-runner
8
+
9
+ Run the approved metric command with timeout. Return exit code, metric value, seconds, and log path.
10
+
11
+ Always respect `backbone.yml`, editable paths, protected paths, and user approval requirements.
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: workflow-curator
3
+ description: Improves rules, skills, workflows, and docs through propose-only daily updates.
4
+ tools: Read, Grep, Glob, Bash, Edit, MultiEdit
5
+ ---
6
+
7
+ # workflow-curator
8
+
9
+ Run daily report and validation. Propose a diff. Wait for approval before writing.
10
+
11
+ Always respect `backbone.yml`, editable paths, protected paths, and user approval requirements.
@@ -0,0 +1,15 @@
1
+ ---
2
+ description: Use the `autoresearch-coding` skill. Require goal, metric command, direction, editable paths, protected paths, budget, and timeout.
3
+ ---
4
+
5
+ # autoresearch-coding
6
+
7
+ Use the `autoresearch-coding` skill.
8
+
9
+ Before editing:
10
+
11
+ - Read `backbone.yml`; if it is uninitialized, run the first-time init approval flow first.
12
+ - Resolve and print goal, metric command, direction, editable paths, protected paths, budget, and timeout.
13
+ - Run and log a baseline before the first experiment.
14
+ - Keep only metric improvements or equal-metric simplifications.
15
+ - Run the AgentShield probe before the final report when kept changes touch agent surfaces.
@@ -0,0 +1,7 @@
1
+ ---
2
+ description: Coordinate relevant agents: research-coordinator, security-reviewer, code-reviewer, and results-analyst. Return one merged plan and one validation summary.
3
+ ---
4
+
5
+ # council
6
+
7
+ Coordinate relevant agents: research-coordinator, security-reviewer, code-reviewer, and results-analyst. Return one merged plan and one validation summary.
@@ -0,0 +1,7 @@
1
+ ---
2
+ description: Use the `daily-workflow-curator` skill. Generate a report and proposed diff. Do not write until the user approves.
3
+ ---
4
+
5
+ # daily-enhance
6
+
7
+ Use the `daily-workflow-curator` skill. Generate a report and proposed diff. Do not write until the user approves.
@@ -0,0 +1,7 @@
1
+ ---
2
+ description: Use the `vibekit-init` skill. Print requirements first, propose a diff, and wait for approval before writing.
3
+ ---
4
+
5
+ # init-vibe
6
+
7
+ 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,7 @@
1
+ ---
2
+ description: Use the `agentshield-security-review` skill. Run read-only probe first, then AgentShield scan if available. Do not run hooks or MCP servers.
3
+ ---
4
+
5
+ # security-scan
6
+
7
+ 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,7 @@
1
+ ---
2
+ description: Graduate the project after init — move one-time bootstrap files into _vibekit-cleanup/ for deletion. Reversible; refuses to run on the kit source repo.
3
+ ---
4
+
5
+ # vibe-finalize
6
+
7
+ 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,3 @@
1
+ # Autoresearch rules
2
+
3
+ Use `/autoresearch-coding` for repeated improvement loops. Read `backbone.yml` first; if it is uninitialized, complete the first-time init approval flow before experiment edits. Require goal, metric, direction, editable paths, protected paths, budget, and timeout. Run a logged baseline before editing and keep only metric-positive or simplification-positive changes. Run the AgentShield probe before the final report when kept changes touch agent surfaces.
@@ -0,0 +1,3 @@
1
+ # Security rules
2
+
3
+ Run `/security-scan` for changes to agent surfaces, commands, hooks, MCP, skills, or installer scripts. Do not run untrusted hooks, MCP servers, deploys, migrations, or remote installers during review.
@@ -0,0 +1,6 @@
1
+ # Tooling rules
2
+
3
+ - Claude skills live in `.claude/skills/<name>/SKILL.md`.
4
+ - Shared canonical skills live in `skills/<name>/`.
5
+ - Keep root `CLAUDE.md` concise; import `AGENTS.md` when possible.
6
+ - Put path-specific guidance in `.claude/rules/` rather than the root file.
@@ -0,0 +1,8 @@
1
+ # Vibe core rules
2
+
3
+ - Read `backbone.yml` first.
4
+ - Follow `backbone.yml` `conventions` after init.
5
+ - Keep plans short and diffs small.
6
+ - Use skills for repeatable procedures.
7
+ - Validate with the command in `backbone.yml` after relevant edits.
8
+ - Do not overwrite user instructions; use managed blocks.
@@ -0,0 +1,22 @@
1
+ {
2
+ "permissions": {
3
+ "deny": [
4
+ "Bash(rm -rf:*)",
5
+ "Bash(rm:*)",
6
+ "Bash(git push:*)",
7
+ "Bash(git push --force:*)",
8
+ "Bash(git reset --hard:*)",
9
+ "Bash(curl *|*sh:*)",
10
+ "Bash(wget *|*sh:*)",
11
+ "Bash(npm publish:*)",
12
+ "Bash(npx * --yes:*)",
13
+ "Bash(migrate *)",
14
+ "Bash(docker compose up*)",
15
+ "Bash(docker-compose up*)"
16
+ ]
17
+ },
18
+ "skillOverrides": {
19
+ "autoresearch-coding": "user-invocable-only",
20
+ "vibekit-init": "user-invocable-only"
21
+ }
22
+ }
@@ -0,0 +1,75 @@
1
+ ---
2
+ name: agentshield-security-review
3
+ description: repository-native security review workflow for Claude Code and Codex projects using the AgentShield concept. Use when auditing or hardening agent configuration, skills, prompts, hooks, MCP servers, permissions, slash commands, Codex plugin files, Claude plugin files, AGENTS.md, CLAUDE.md, or repository-level AI coding-agent surfaces. Prefer this skill before merging changes to .claude, .codex, .codex-plugin, .claude-plugin, .agents, skills, .vbkit-commands, .vbkit-scripts, hooks, mcp configs, or generated code that touches agent execution.
4
+ ---
5
+
6
+ # AgentShield Security Review
7
+
8
+ Use this skill to run an AgentShield-style review that is native to both Claude Code and Codex repositories. Treat the repo root as the source of truth, then inspect agent surfaces before normal code review.
9
+
10
+ ## Core rule
11
+
12
+ Do not invent findings. Prefer deterministic scanner output when available, then add reviewer judgment separately. Clearly label each finding as `scanner-backed`, `manual-confirmed`, or `manual-suspected`.
13
+
14
+ ## Standard workflow
15
+
16
+ 1. Identify the repo root and active harness surfaces.
17
+ 2. Run `node .vbkit-scripts/agentshield-probe.mjs .` to inventory Claude, Codex, shared skills, hooks, MCP, commands, and repo instruction files.
18
+ 3. If Node/npm is available, run AgentShield from the repo root:
19
+ ```bash
20
+ npx ecc-agentshield scan --path . --format text
21
+ ```
22
+ 4. If JSON is needed for CI or automation, run:
23
+ ```bash
24
+ npx ecc-agentshield scan --path . --format json
25
+ ```
26
+ 5. If safe auto-fixes are requested, first summarize the proposed edits, then run:
27
+ ```bash
28
+ npx ecc-agentshield scan --path . --fix
29
+ ```
30
+ 6. Re-run the scan after fixes and report before/after score, severity counts, and changed files.
31
+ 7. If AgentShield is unavailable, perform the fallback manual review in `references/review-checklist.md`.
32
+
33
+ ## Harness-native layout
34
+
35
+ Use a shared root skill where possible:
36
+
37
+ - `skills/agentshield-security-review/SKILL.md` is the canonical workflow.
38
+ - Claude Code may add a slash-command shim in `.vbkit-commands/security-scan.md` or `.claude/commands/security-scan.md`.
39
+ - Codex should consume the same root `skills/` directory through `.codex-plugin/plugin.json` or the repo's native skill/plugin mechanism.
40
+ - Do not duplicate divergent Claude and Codex skill bodies. Duplication causes drift.
41
+
42
+ See `references/native-install.md` for copy-ready Claude and Codex snippets.
43
+
44
+ ## What to inspect
45
+
46
+ Prioritize runtime-active files over examples and docs:
47
+
48
+ 1. `CLAUDE.md`, `AGENTS.md`, `.github/copilot-instructions.md`
49
+ 2. `.claude/settings.json`, `.claude/settings.local.json`, `.claude/agents/*.md`, `.claude/commands/*.md`
50
+ 3. `.codex/config.toml`, `.codex/`, `.codex-plugin/plugin.json`
51
+ 4. `.agents/`, `agents/`, `skills/`, `.vbkit-commands/`, `.vbkit-scripts/`, `hooks/`
52
+ 5. `.mcp.json`, `mcp.json`, `mcp-configs/*.json`
53
+ 6. installer scripts, CI workflows, package scripts, and generated plugin manifests
54
+
55
+ ## Output contract
56
+
57
+ Return a concise report with:
58
+
59
+ - Security grade/score if AgentShield provides one.
60
+ - Commands run and whether the scan was `npx`, local, CI, or fallback-manual.
61
+ - Active harness surfaces found.
62
+ - Critical/high findings with exact paths, severity, confidence, exploit impact, and fix.
63
+ - Medium/low findings grouped separately.
64
+ - Safe auto-fix candidates versus manual-only changes.
65
+ - Claude-native and Codex-native installation notes when the repo lacks one of them.
66
+ - Final remediation order.
67
+
68
+ Use `references/report-template.md` for the preferred report format.
69
+
70
+ ## Safety constraints
71
+
72
+ - Never print full secrets. Show only the file path and key name or a redacted prefix/suffix.
73
+ - Do not run untrusted hook scripts, MCP server commands, package scripts, or installer scripts just to inspect them.
74
+ - Do not apply `--fix` without first stating the planned edit types.
75
+ - Treat wildcard shell permissions, unpinned `npx`, shell-running MCP servers, prompt-injection instructions, and silent hook failures as high-risk until proven otherwise.
@@ -0,0 +1,5 @@
1
+ interface:
2
+ display_name: AgentShield Security Review
3
+ short_description: Audit Claude, Codex, skills, hooks, MCP, and agent config surfaces.
4
+ icon: shield
5
+ brand_color: "#334155"
@@ -0,0 +1,97 @@
1
+ # Native Claude Code and Codex Install Pattern
2
+
3
+ Keep one canonical skill and add thin harness adapters.
4
+
5
+ ## Shared skill location
6
+
7
+ Recommended repo layout:
8
+
9
+ ```text
10
+ skills/agentshield-security-review/SKILL.md
11
+ skills/agentshield-security-review/references/review-checklist.md
12
+ skills/agentshield-security-review/references/report-template.md
13
+ skills/agentshield-security-review/scripts/agentshield_repo_probe.py
14
+ .vbkit-commands/security-scan.md
15
+ .codex-plugin/plugin.json
16
+ .claude-plugin/plugin.json
17
+ ```
18
+
19
+ ## Claude Code command shim
20
+
21
+ Create `.vbkit-commands/security-scan.md` or `.claude/commands/security-scan.md`:
22
+
23
+ ```markdown
24
+ ---
25
+ description: Run an AgentShield-style security scan against agent, hook, MCP, permission, skill, command, Claude, and Codex surfaces.
26
+ agent: security-reviewer
27
+ subtask: true
28
+ ---
29
+
30
+ # Security Scan
31
+
32
+ Run the shared `agentshield-security-review` skill against the current repo or the target path.
33
+
34
+ ## Usage
35
+
36
+ `/security-scan [path] [--format text|json|markdown|html] [--min-severity low|medium|high|critical] [--fix]`
37
+
38
+ Prefer the deterministic scanner:
39
+
40
+ ```bash
41
+ npx ecc-agentshield scan --path "${TARGET_PATH:-.}" --format text
42
+ ```
43
+
44
+ If `--fix` is requested, summarize planned safe fixes first, apply only scanner-marked safe fixes, then re-run the scan.
45
+
46
+ Return grade, score, severity counts, active paths, critical/high findings, and remediation order.
47
+ ```
48
+
49
+ ## Codex plugin pointer
50
+
51
+ Use the repo-level Codex plugin manifest to point Codex at the same `skills/` directory. Exact schema may vary by Codex plugin version, so preserve the existing repo schema and ensure it references root skills rather than a copied skill body.
52
+
53
+ Example intent:
54
+
55
+ ```json
56
+ {
57
+ "name": "your-repo",
58
+ "version": "0.1.0",
59
+ "skills": "./skills",
60
+ "mcp": "./.mcp.json"
61
+ }
62
+ ```
63
+
64
+ ## CI gate
65
+
66
+ Add a GitHub Actions job when you want agent config changes to fail builds:
67
+
68
+ ```yaml
69
+ name: agent-security
70
+ on:
71
+ pull_request:
72
+ paths:
73
+ - "CLAUDE.md"
74
+ - "AGENTS.md"
75
+ - ".claude/**"
76
+ - ".codex/**"
77
+ - ".codex-plugin/**"
78
+ - ".claude-plugin/**"
79
+ - ".agents/**"
80
+ - "agents/**"
81
+ - "skills/**"
82
+ - ".vbkit-commands/**"
83
+ - "hooks/**"
84
+ - ".mcp.json"
85
+ - "mcp-configs/**"
86
+
87
+ jobs:
88
+ agentshield:
89
+ runs-on: ubuntu-latest
90
+ steps:
91
+ - uses: actions/checkout@v4
92
+ - uses: actions/setup-node@v4
93
+ with:
94
+ node-version: "20"
95
+ - name: Run AgentShield
96
+ run: npx ecc-agentshield scan --path . --format text --min-severity medium
97
+ ```
@@ -0,0 +1,54 @@
1
+ # Security Review Report Template
2
+
3
+ Use this structure for final reports.
4
+
5
+ ## Summary
6
+
7
+ - Scan mode:
8
+ - Grade/score:
9
+ - Repo root:
10
+ - Harnesses found:
11
+ - Overall risk:
12
+
13
+ ## Commands run
14
+
15
+ ```bash
16
+ # commands here
17
+ ```
18
+
19
+ ## Active surfaces found
20
+
21
+ | Surface | Paths | Runtime confidence |
22
+ |---|---|---|
23
+ | Claude | | |
24
+ | Codex | | |
25
+ | Shared skills | | |
26
+ | Hooks | | |
27
+ | MCP | | |
28
+ | CI/plugin | | |
29
+
30
+ ## Critical/high findings
31
+
32
+ | Severity | Confidence | Path | Issue | Why it matters | Fix | Auto-fix safe? |
33
+ |---|---|---|---|---|---|---|
34
+
35
+ ## Medium/low findings
36
+
37
+ Group by theme: permissions, hooks, MCP, prompts, skills, .vbkit-docs/examples.
38
+
39
+ ## Remediation order
40
+
41
+ 1. Remove or rotate exposed secrets.
42
+ 2. Restrict shell/tool permissions.
43
+ 3. Pin or sandbox MCP/package execution.
44
+ 4. Harden hooks and quote/sanitize variables.
45
+ 5. Add CI gate.
46
+ 6. Remove duplicate divergent Claude/Codex skill copies.
47
+ 7. Re-run scan and confirm grade improvement.
48
+
49
+ ## Native integration status
50
+
51
+ - Claude Code:
52
+ - Codex:
53
+ - Shared skill source:
54
+ - Drift risks:
@@ -0,0 +1,45 @@
1
+ # AgentShield Manual Review Checklist
2
+
3
+ Use this checklist when `ecc-agentshield` is unavailable or when reviewing scanner output.
4
+
5
+ ## Critical findings
6
+
7
+ Flag as critical when a runtime-active agent surface contains any of these:
8
+
9
+ - Hardcoded API keys, tokens, private keys, passwords, or webhook secrets.
10
+ - Unrestricted shell permissions such as `Bash` wildcard permissions, `bash -c` passthroughs, or unrestricted command execution in hooks.
11
+ - Hook command injection risk from unsanitized variables such as file paths, branch names, issue titles, PR text, or model-provided arguments.
12
+ - MCP server definitions that execute shell commands, pull remote code dynamically, or expose broad filesystem/network access without pinning or sandboxing.
13
+ - Instructions that tell the agent to ignore system/developer safety boundaries or auto-run commands from untrusted content.
14
+
15
+ ## High findings
16
+
17
+ Flag as high when active config contains:
18
+
19
+ - Missing deny lists for destructive commands.
20
+ - Broad tool permissions for agents that only need read/review access.
21
+ - `npx` auto-yes flags, curl-piped-to-shell, or remote install during runtime without pinning/checksum.
22
+ - Agents that ingest untrusted web/issues/PRs without prompt-injection boundaries.
23
+ - Hooks that send repository content to remote endpoints without explicit disclosure.
24
+
25
+ ## Medium findings
26
+
27
+ Flag as medium when active config contains:
28
+
29
+ - Silent failure suppression such as always-success shell fallbacks, stderr suppression, or broad `try/catch` around security checks.
30
+ - Missing descriptions for MCP servers or agent purposes.
31
+ - Duplicate Claude/Codex skill copies likely to drift.
32
+ - Lack of CI security scan for agent config changes.
33
+
34
+ ## Low/info findings
35
+
36
+ Flag as low/info for documentation gaps, inactive examples, or optional templates that do not affect runtime.
37
+
38
+ ## Review confidence
39
+
40
+ Use these labels:
41
+
42
+ - `active-runtime`: loaded by current harness or plugin manifest.
43
+ - `repo-template`: checked-in template that users may copy.
44
+ - `documentation-example`: not active unless copied.
45
+ - `unknown`: unable to determine loading path.