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.
- package/.agents/skills/agentshield-security-review/SKILL.md +75 -0
- package/.agents/skills/agentshield-security-review/agents/openai.yaml +5 -0
- package/.agents/skills/agentshield-security-review/references/native-install.md +97 -0
- package/.agents/skills/agentshield-security-review/references/report-template.md +54 -0
- package/.agents/skills/agentshield-security-review/references/review-checklist.md +45 -0
- package/.agents/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
- package/.agents/skills/autoresearch-coding/README.md +15 -0
- package/.agents/skills/autoresearch-coding/SKILL.md +101 -0
- package/.agents/skills/autoresearch-coding/references/experiment-contract.md +13 -0
- package/.agents/skills/autoresearch-coding/references/metric-extraction.md +8 -0
- package/.agents/skills/autoresearch-coding/references/result-ledger.md +15 -0
- package/.agents/skills/autoresearch-coding/scripts/log_result.py +24 -0
- package/.agents/skills/autoresearch-coding/scripts/run_logged.py +30 -0
- package/.agents/skills/clearthought/SKILL.md +100 -0
- package/.agents/skills/clearthought/examples/decision-framework.md +441 -0
- package/.agents/skills/clearthought/examples/metagame-examples.md +536 -0
- package/.agents/skills/clearthought/examples/sequential-thinking.md +380 -0
- package/.agents/skills/clearthought/references/output-schemas.md +494 -0
- package/.agents/skills/clearthought/references/parameter-reference.md +482 -0
- package/.agents/skills/coding-level/SKILL.md +27 -0
- package/.agents/skills/coding-level/references/level-0.md +131 -0
- package/.agents/skills/coding-level/references/level-1.md +118 -0
- package/.agents/skills/coding-level/references/level-2.md +140 -0
- package/.agents/skills/coding-level/references/level-3.md +142 -0
- package/.agents/skills/coding-level/references/level-4.md +152 -0
- package/.agents/skills/coding-level/references/level-5.md +84 -0
- package/.agents/skills/daily-workflow-curator/SKILL.md +52 -0
- package/.agents/skills/memento/SKILL.md +36 -0
- package/.agents/skills/reviewing-4p-priorities/SKILL.md +72 -0
- package/.agents/skills/reviewing-4p-priorities/examples.md +298 -0
- package/.agents/skills/sequential-thinking/SKILL.md +106 -0
- package/.agents/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
- package/.agents/skills/sequential-thinking/examples/branching-exploration.md +474 -0
- package/.agents/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
- package/.agents/skills/sequential-thinking/examples/revision-pattern.md +304 -0
- package/.agents/skills/sequential-thinking/references/output-schema.md +483 -0
- package/.agents/skills/sequential-thinking/references/parameters.md +463 -0
- package/.agents/skills/sequential-thinking/references/patterns.md +666 -0
- package/.agents/skills/vibekit-init/SKILL.md +52 -0
- package/.agents/skills/visual-design-loop/SKILL.md +103 -0
- package/.agents/skills/visual-design-loop/agents/openai.yaml +4 -0
- package/.claude/agents/code-reviewer.md +11 -0
- package/.claude/agents/context-architect.md +11 -0
- package/.claude/agents/debug-fixer.md +11 -0
- package/.claude/agents/hypothesis-planner.md +11 -0
- package/.claude/agents/implementation-hacker.md +11 -0
- package/.claude/agents/research-coordinator.md +11 -0
- package/.claude/agents/results-analyst.md +11 -0
- package/.claude/agents/security-reviewer.md +11 -0
- package/.claude/agents/test-runner.md +11 -0
- package/.claude/agents/workflow-curator.md +11 -0
- package/.claude/commands/autoresearch-coding.md +15 -0
- package/.claude/commands/council.md +7 -0
- package/.claude/commands/daily-enhance.md +7 -0
- package/.claude/commands/init-vibe.md +7 -0
- package/.claude/commands/security-scan.md +7 -0
- package/.claude/commands/vibe-finalize.md +7 -0
- package/.claude/rules/autoresearch.md +3 -0
- package/.claude/rules/security.md +3 -0
- package/.claude/rules/tooling.md +6 -0
- package/.claude/rules/vibe-core.md +8 -0
- package/.claude/settings.json +22 -0
- package/.claude/skills/agentshield-security-review/SKILL.md +75 -0
- package/.claude/skills/agentshield-security-review/agents/openai.yaml +5 -0
- package/.claude/skills/agentshield-security-review/references/native-install.md +97 -0
- package/.claude/skills/agentshield-security-review/references/report-template.md +54 -0
- package/.claude/skills/agentshield-security-review/references/review-checklist.md +45 -0
- package/.claude/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
- package/.claude/skills/autoresearch-coding/README.md +15 -0
- package/.claude/skills/autoresearch-coding/SKILL.md +101 -0
- package/.claude/skills/autoresearch-coding/references/experiment-contract.md +13 -0
- package/.claude/skills/autoresearch-coding/references/metric-extraction.md +8 -0
- package/.claude/skills/autoresearch-coding/references/result-ledger.md +15 -0
- package/.claude/skills/autoresearch-coding/scripts/log_result.py +24 -0
- package/.claude/skills/autoresearch-coding/scripts/run_logged.py +30 -0
- package/.claude/skills/clearthought/SKILL.md +100 -0
- package/.claude/skills/clearthought/examples/decision-framework.md +441 -0
- package/.claude/skills/clearthought/examples/metagame-examples.md +536 -0
- package/.claude/skills/clearthought/examples/sequential-thinking.md +380 -0
- package/.claude/skills/clearthought/references/output-schemas.md +494 -0
- package/.claude/skills/clearthought/references/parameter-reference.md +482 -0
- package/.claude/skills/coding-level/SKILL.md +27 -0
- package/.claude/skills/coding-level/references/level-0.md +131 -0
- package/.claude/skills/coding-level/references/level-1.md +118 -0
- package/.claude/skills/coding-level/references/level-2.md +140 -0
- package/.claude/skills/coding-level/references/level-3.md +142 -0
- package/.claude/skills/coding-level/references/level-4.md +152 -0
- package/.claude/skills/coding-level/references/level-5.md +84 -0
- package/.claude/skills/daily-workflow-curator/SKILL.md +52 -0
- package/.claude/skills/memento/SKILL.md +36 -0
- package/.claude/skills/reviewing-4p-priorities/SKILL.md +72 -0
- package/.claude/skills/reviewing-4p-priorities/examples.md +298 -0
- package/.claude/skills/sequential-thinking/SKILL.md +106 -0
- package/.claude/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
- package/.claude/skills/sequential-thinking/examples/branching-exploration.md +474 -0
- package/.claude/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
- package/.claude/skills/sequential-thinking/examples/revision-pattern.md +304 -0
- package/.claude/skills/sequential-thinking/references/output-schema.md +483 -0
- package/.claude/skills/sequential-thinking/references/parameters.md +463 -0
- package/.claude/skills/sequential-thinking/references/patterns.md +666 -0
- package/.claude/skills/vibekit-init/SKILL.md +52 -0
- package/.claude/skills/visual-design-loop/SKILL.md +103 -0
- package/.claude/skills/visual-design-loop/agents/openai.yaml +4 -0
- package/.codex/README.md +11 -0
- package/.codex/config.example.toml +8 -0
- package/.codex-plugin/plugin.json +10 -0
- package/.cursor/commands/autoresearch-coding.md +11 -0
- package/.cursor/commands/council.md +3 -0
- package/.cursor/commands/daily-enhance.md +3 -0
- package/.cursor/commands/init-vibe.md +3 -0
- package/.cursor/commands/security-scan.md +3 -0
- package/.cursor/commands/vibe-finalize.md +3 -0
- package/.cursor/rules/001-vibe-core.mdc +6 -0
- package/.cursor/rules/010-init.mdc +7 -0
- package/.cursor/rules/020-security-agentshield.mdc +7 -0
- package/.cursor/rules/030-autoresearch-loop.mdc +7 -0
- package/.cursor/settings.json +22 -0
- package/.cursor/skills/clearthought/SKILL.md +100 -0
- package/.cursor/skills/clearthought/examples/decision-framework.md +441 -0
- package/.cursor/skills/clearthought/examples/metagame-examples.md +536 -0
- package/.cursor/skills/clearthought/examples/sequential-thinking.md +380 -0
- package/.cursor/skills/clearthought/references/output-schemas.md +494 -0
- package/.cursor/skills/clearthought/references/parameter-reference.md +482 -0
- package/.cursor/skills/coding-level/SKILL.md +27 -0
- package/.cursor/skills/coding-level/references/level-0.md +131 -0
- package/.cursor/skills/coding-level/references/level-1.md +118 -0
- package/.cursor/skills/coding-level/references/level-2.md +140 -0
- package/.cursor/skills/coding-level/references/level-3.md +142 -0
- package/.cursor/skills/coding-level/references/level-4.md +152 -0
- package/.cursor/skills/coding-level/references/level-5.md +84 -0
- package/.cursor/skills/memento/SKILL.md +36 -0
- package/.cursor/skills/reviewing-4p-priorities/SKILL.md +72 -0
- package/.cursor/skills/reviewing-4p-priorities/examples.md +298 -0
- package/.cursor/skills/sequential-thinking/SKILL.md +106 -0
- package/.cursor/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
- package/.cursor/skills/sequential-thinking/examples/branching-exploration.md +474 -0
- package/.cursor/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
- package/.cursor/skills/sequential-thinking/examples/revision-pattern.md +304 -0
- package/.cursor/skills/sequential-thinking/references/output-schema.md +483 -0
- package/.cursor/skills/sequential-thinking/references/parameters.md +463 -0
- package/.cursor/skills/sequential-thinking/references/patterns.md +666 -0
- package/.vbkit-commands/autoresearch-coding.md +11 -0
- package/.vbkit-commands/council.md +3 -0
- package/.vbkit-commands/daily-enhance.md +3 -0
- package/.vbkit-commands/init-vibe.md +3 -0
- package/.vbkit-commands/security-scan.md +3 -0
- package/.vbkit-commands/vibe-finalize.md +3 -0
- package/.vbkit-docs/AUTORESEARCH_LEDGER.md +11 -0
- package/.vbkit-docs/BACKBONE_REFERENCE.md +59 -0
- package/.vbkit-docs/INSTALL.md +120 -0
- package/.vbkit-docs/RESEARCH_NOTES.md +22 -0
- package/.vbkit-docs/SECURITY_MODEL.md +40 -0
- package/.vbkit-docs/TOOLING_GUIDE.md +22 -0
- package/.vbkit-docs/backbone.schema.json +110 -0
- package/.vbkit-docs/templates/CONTEXT_TEMPLATE.md +47 -0
- package/.vbkit-docs/templates/PRD_TEMPLATE.md +48 -0
- package/.vbkit-scripts/agentshield-probe.mjs +22 -0
- package/.vbkit-scripts/daily-enhance.mjs +62 -0
- package/.vbkit-scripts/doctor.mjs +323 -0
- package/.vbkit-scripts/init-backbone.mjs +628 -0
- package/.vbkit-scripts/mvck.mjs +444 -0
- package/.vbkit-scripts/pack-dry-run.mjs +16 -0
- package/.vbkit-scripts/test-install.mjs +118 -0
- package/.vbkit-scripts/validate-kit.mjs +419 -0
- package/.vbkit-scripts/vibekit-finalize.mjs +185 -0
- package/AGENTS.md +60 -0
- package/CHANGELOG.md +34 -0
- package/CLAUDE-template.md +52 -0
- package/CODE_OF_CONDUCT.md +18 -0
- package/CONTRIBUTING.md +28 -0
- package/FIRST_PROMPT.md +54 -0
- package/FIRST_TIME_INIT.md +165 -0
- package/LICENSE +21 -0
- package/README.md +493 -0
- package/README.vi.md +431 -0
- package/SECURITY.md +28 -0
- package/backbone.yml +103 -0
- package/bin/mvck.js +2 -0
- package/bin/vibe-kit.js +2 -0
- package/install.ps1 +14 -0
- package/install.sh +8 -0
- package/package.json +92 -0
- package/skills/agentshield-security-review/SKILL.md +75 -0
- package/skills/agentshield-security-review/agents/openai.yaml +5 -0
- package/skills/agentshield-security-review/references/native-install.md +97 -0
- package/skills/agentshield-security-review/references/report-template.md +54 -0
- package/skills/agentshield-security-review/references/review-checklist.md +45 -0
- package/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +110 -0
- package/skills/autoresearch-coding/README.md +15 -0
- package/skills/autoresearch-coding/SKILL.md +101 -0
- package/skills/autoresearch-coding/references/experiment-contract.md +13 -0
- package/skills/autoresearch-coding/references/metric-extraction.md +8 -0
- package/skills/autoresearch-coding/references/result-ledger.md +15 -0
- package/skills/autoresearch-coding/scripts/log_result.py +24 -0
- package/skills/autoresearch-coding/scripts/run_logged.py +30 -0
- package/skills/clearthought/SKILL.md +100 -0
- package/skills/clearthought/examples/decision-framework.md +441 -0
- package/skills/clearthought/examples/metagame-examples.md +536 -0
- package/skills/clearthought/examples/sequential-thinking.md +380 -0
- package/skills/clearthought/references/output-schemas.md +494 -0
- package/skills/clearthought/references/parameter-reference.md +482 -0
- package/skills/coding-level/SKILL.md +27 -0
- package/skills/coding-level/references/level-0.md +131 -0
- package/skills/coding-level/references/level-1.md +118 -0
- package/skills/coding-level/references/level-2.md +140 -0
- package/skills/coding-level/references/level-3.md +142 -0
- package/skills/coding-level/references/level-4.md +152 -0
- package/skills/coding-level/references/level-5.md +84 -0
- package/skills/daily-workflow-curator/SKILL.md +52 -0
- package/skills/memento/SKILL.md +36 -0
- package/skills/reviewing-4p-priorities/SKILL.md +72 -0
- package/skills/reviewing-4p-priorities/examples.md +298 -0
- package/skills/sequential-thinking/SKILL.md +106 -0
- package/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
- package/skills/sequential-thinking/examples/branching-exploration.md +474 -0
- package/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
- package/skills/sequential-thinking/examples/revision-pattern.md +304 -0
- package/skills/sequential-thinking/references/output-schema.md +483 -0
- package/skills/sequential-thinking/references/parameters.md +463 -0
- package/skills/sequential-thinking/references/patterns.md +666 -0
- package/skills/vibekit-init/SKILL.md +52 -0
- package/skills/visual-design-loop/SKILL.md +103 -0
- package/skills/visual-design-loop/agents/openai.yaml +4 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
- Added `memento` skill (cross-session `MEMENTO.md` working memory) across shared, Claude, Codex, and Cursor surfaces.
|
|
6
|
+
- Added `coding-level` skill (explanation register 0=ELI5 … 5=expert peer, with per-level reference personas) across shared, Claude, Codex, and Cursor surfaces.
|
|
7
|
+
- Added safe updater: `mvck update` refreshes kit-owned files (skills, commands, rules, scripts, docs, agent mirrors), seeds user-owned files only when missing, refreshes managed blocks in place, backs up replaced files to `.vibekit/update-backup/<timestamp>/`, and supports `--dry-run`, `--json`, `--no-backup`, and `--profile`.
|
|
8
|
+
- Stamped installed kit version in `.vibekit/KIT_VERSION` on install/update; `mvck doctor` now reports it with the update command.
|
|
9
|
+
- Added update-behavior tests (stale-file refresh, new-skill backfill, user-file preservation, backup creation, non-kit target rejection).
|
|
10
|
+
- Hardened installer managed-block fallback when template markers are missing.
|
|
11
|
+
- Fixed `mvck init|validate|daily` delegation so flags are preserved when target is omitted.
|
|
12
|
+
- Added install/idempotency tests with temporary clean and existing repos.
|
|
13
|
+
- Added `mvck doctor` with optional `VIBE_REPORT.md` generation.
|
|
14
|
+
- Added dependency-free `backbone.yml` schema validation and `.vbkit-docs/backbone.schema.json`.
|
|
15
|
+
- Added a portable Node wrapper for the AgentShield probe.
|
|
16
|
+
- Added syntax checks, `npm test`, CI Node 18/20/22 matrix, and package dry-run verification.
|
|
17
|
+
- Added release safety docs and Dependabot config.
|
|
18
|
+
- Promoted `clearthought`, `sequential-thinking`, and `reviewing-4p-priorities` as native custom reasoning skills across shared, Claude, Codex, and Cursor surfaces.
|
|
19
|
+
- Added first-time convention discovery so init proposals include repo-specific naming, architecture, resource, localization, and generated-definition rules before approval.
|
|
20
|
+
- Added validation checks for mirrored skill-surface parity across shared, Claude, Cursor, and Codex paths.
|
|
21
|
+
- Hardened autoresearch guidance so experiment loops honor first-time init, logged baselines, metric extraction, and AgentShield review for agent-surface changes.
|
|
22
|
+
|
|
23
|
+
## 0.2.0
|
|
24
|
+
|
|
25
|
+
- Added one-command installer CLI: `mvck install <project>`.
|
|
26
|
+
- Added quick shell and PowerShell installers: `install.sh`, `install.ps1`.
|
|
27
|
+
- Added compact `backbone.yml` template and automatic backbone detection helper.
|
|
28
|
+
- Added clean first prompt and first-time init runbook.
|
|
29
|
+
- Added Claude, Cursor, and Codex support surfaces.
|
|
30
|
+
- Added shared skills for autoresearch coding, AgentShield security review, daily workflow curation, and kit init.
|
|
31
|
+
- Added AgentShield read-only repo probe.
|
|
32
|
+
- Added daily propose-only enhancement report.
|
|
33
|
+
- Added validation script and GitHub Actions validation workflow.
|
|
34
|
+
- Reduced root instruction boilerplate by moving details into docs and skills.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@AGENTS.md
|
|
2
|
+
|
|
3
|
+
# Claude Code
|
|
4
|
+
|
|
5
|
+
This file is intentionally small. Shared rules live in `AGENTS.md`, project facts live in `backbone.yml`, and long procedures live in `.claude/skills/`.
|
|
6
|
+
|
|
7
|
+
## Startup
|
|
8
|
+
|
|
9
|
+
1. Read `backbone.yml`.
|
|
10
|
+
2. If `meta.template_status` is `uninitialized`, follow `FIRST_TIME_INIT.md` before other work.
|
|
11
|
+
3. If initialized, follow `backbone.yml` `conventions` and continue with the user's task.
|
|
12
|
+
|
|
13
|
+
## Useful skills
|
|
14
|
+
|
|
15
|
+
- `/init-vibe` - initialize or repair the kit setup.
|
|
16
|
+
- `/autoresearch-coding` - run a metric-driven improvement loop.
|
|
17
|
+
- `/security-scan` - run AgentShield-style review.
|
|
18
|
+
- `/daily-enhance` - propose rule, skill, and workflow improvements.
|
|
19
|
+
|
|
20
|
+
## Hard rules
|
|
21
|
+
|
|
22
|
+
- Show a diff and wait for explicit approval before changing root instruction files, `backbone.yml`, rules, skills, or workflows.
|
|
23
|
+
- Do not deploy, rotate secrets, run migrations, delete data, or rewrite remote history without explicit approval.
|
|
24
|
+
- Keep `.autoresearch/`, `results.tsv`, and `.vibekit/reports/` local unless the user asks to commit them.
|
|
25
|
+
|
|
26
|
+
## English Learning & Grammar Correction
|
|
27
|
+
|
|
28
|
+
### Grammar Correction Protocol
|
|
29
|
+
|
|
30
|
+
When the user sends a message, **ALWAYS start by correcting their English grammar first** before providing the main response:
|
|
31
|
+
|
|
32
|
+
1. **Quote their original message** in a blockquote
|
|
33
|
+
2. **Provide the corrected version** with proper grammar
|
|
34
|
+
3. **List the grammar fixes made** with brief explanations
|
|
35
|
+
4. **Then proceed** with answering their request
|
|
36
|
+
|
|
37
|
+
This helps the user learn English while getting assistance with their technical work.
|
|
38
|
+
|
|
39
|
+
**Example Format:**
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
**Your original message:**
|
|
43
|
+
> "now please using sequential thinking to helpme has instruction"
|
|
44
|
+
|
|
45
|
+
**Corrected version:**
|
|
46
|
+
> "Now please use sequential thinking to help me add an instruction"
|
|
47
|
+
|
|
48
|
+
**Grammar fixes made:**
|
|
49
|
+
- "using" → "use" (imperative form)
|
|
50
|
+
- "helpme" → "help me" (two words)
|
|
51
|
+
- "has instruction" → "add an instruction" (verb agreement)
|
|
52
|
+
```
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Expected behavior
|
|
4
|
+
|
|
5
|
+
- Be respectful and practical in technical discussion.
|
|
6
|
+
- Focus critique on code, documentation, security risk, and user impact.
|
|
7
|
+
- Assume good intent, but verify claims with reproducible evidence.
|
|
8
|
+
- Avoid sharing secrets, private data, or exploit details in public threads.
|
|
9
|
+
|
|
10
|
+
## Unacceptable behavior
|
|
11
|
+
|
|
12
|
+
- Harassment, discrimination, threats, or personal attacks.
|
|
13
|
+
- Publishing credentials, private keys, tokens, or sensitive logs.
|
|
14
|
+
- Encouraging unsafe agent behavior such as hidden command execution or bypassing user approval.
|
|
15
|
+
|
|
16
|
+
## Enforcement
|
|
17
|
+
|
|
18
|
+
Maintainers may edit, hide, or remove comments and contributions that violate this code. Repeated or severe violations may result in a ban from project spaces.
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thank you for improving Minimal Vibe Coding Kit. Keep changes small, reviewable, and safe for repos that already have their own agent instructions.
|
|
4
|
+
|
|
5
|
+
## Development checks
|
|
6
|
+
|
|
7
|
+
Run the full local check before opening a pull request:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm test
|
|
11
|
+
npm run security:probe
|
|
12
|
+
npm run pack:dry-run
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Change guidelines
|
|
16
|
+
|
|
17
|
+
- Preserve existing project files during install; prefer managed blocks for shared instructions.
|
|
18
|
+
- Keep root instructions concise and move long procedures into `skills/` or `.vbkit-docs/`.
|
|
19
|
+
- Do not add package lifecycle scripts, hooks, MCP servers, migrations, or deploy steps that run during install.
|
|
20
|
+
- Update `.vbkit-docs/backbone.schema.json` and `.vbkit-scripts/validate-kit.mjs` together when `backbone.yml` changes.
|
|
21
|
+
- Add an install/idempotency test when changing `.vbkit-scripts/mvck.mjs`.
|
|
22
|
+
|
|
23
|
+
## Pull request checklist
|
|
24
|
+
|
|
25
|
+
- Validation passes on Node 18, 20, and 22.
|
|
26
|
+
- AgentShield probe passes or any warning is explained.
|
|
27
|
+
- `npm run pack:dry-run` contains only intended release files.
|
|
28
|
+
- Agent-surface changes are easy to audit.
|
package/FIRST_PROMPT.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# First prompts
|
|
2
|
+
|
|
3
|
+
Use one of these after installing the kit into a project.
|
|
4
|
+
|
|
5
|
+
## Universal first prompt
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
Read FIRST_TIME_INIT.md and initialize this repo with Minimal Vibe Coding Kit.
|
|
9
|
+
First print the requirements you will check. Then run detection, propose one diff for backbone.yml and managed instruction blocks, and wait for my yes before writing.
|
|
10
|
+
Include inferred project conventions for naming, architecture, resources, localization, generated definitions, and per-app/package differences.
|
|
11
|
+
After approval, write the files, run validation, and summarize what changed.
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Claude
|
|
15
|
+
|
|
16
|
+
```text
|
|
17
|
+
Use /init-vibe. Keep CLAUDE.md short. Import shared AGENTS.md. Do not overwrite existing CLAUDE.md; append the managed block only.
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Cursor
|
|
21
|
+
|
|
22
|
+
```text
|
|
23
|
+
Read FIRST_TIME_INIT.md and .cursor/rules. Initialize backbone.yml. Do not replace existing Cursor rules; add missing Minimal Vibe Coding Kit rules only.
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Codex
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
Read AGENTS.md and FIRST_TIME_INIT.md. Use the vibekit-init skill if available. Initialize backbone.yml, include inferred project conventions, keep AGENTS.md concise, and wait for approval before writing.
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Autoresearch improvement loop for this kit
|
|
33
|
+
|
|
34
|
+
```text
|
|
35
|
+
Use the autoresearch-coding skill.
|
|
36
|
+
Goal: improve this Minimal Vibe Coding Kit for existing projects in any language.
|
|
37
|
+
Metric command: node .vbkit-scripts/validate-kit.mjs .
|
|
38
|
+
Direction: higher.
|
|
39
|
+
Editable paths: README.md .vbkit-docs .vbkit-scripts skills .vbkit-commands .claude .cursor .agents .codex-plugin .github backbone.yml AGENTS.md CLAUDE-template.md FIRST_TIME_INIT.md package.json install.sh install.ps1.
|
|
40
|
+
Protected paths: .git .env* node_modules vendor secrets lockfiles.
|
|
41
|
+
Budget: 3.
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## AgentShield
|
|
45
|
+
|
|
46
|
+
```text
|
|
47
|
+
Use the agentshield-security-review skill. Run the read-only probe first. Then, if npm is available, run AgentShield scan. Report scanner-backed findings separately from manual judgment. Do not run hooks, MCP servers, or installer scripts just to inspect them.
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Daily improvement prompt
|
|
51
|
+
|
|
52
|
+
```text
|
|
53
|
+
Use the daily-workflow-curator skill. Run node .vbkit-scripts/daily-enhance.mjs . --write-report and node .vbkit-scripts/validate-kit.mjs . Then propose updates to skills, rules, workflows, and backbone.yml. Do not write any change until I approve a diff.
|
|
54
|
+
```
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# FIRST_TIME_INIT.md - bootstrap runbook
|
|
2
|
+
|
|
3
|
+
Audience: Claude, Cursor, Codex, or any AI coding agent in a repo that just received Minimal Vibe Coding Kit.
|
|
4
|
+
|
|
5
|
+
Keep this flow short. Detailed schema notes live in `.vbkit-docs/BACKBONE_REFERENCE.md`.
|
|
6
|
+
|
|
7
|
+
## Requirements to print before starting
|
|
8
|
+
|
|
9
|
+
Before writing anything, print this checklist and mark each item as found, missing, or inferred:
|
|
10
|
+
|
|
11
|
+
1. `backbone.yml` exists.
|
|
12
|
+
2. `AGENTS.md` exists or will be created/merged.
|
|
13
|
+
3. `CLAUDE.md` exists or will be created from `CLAUDE-template.md` when Claude support is installed.
|
|
14
|
+
4. At least one harness folder exists: `.claude/`, `.cursor/`, `.agents/`, or `.codex-plugin/`.
|
|
15
|
+
5. Git status is known. If user changes exist, do not overwrite them.
|
|
16
|
+
6. A validation command is inferred or set to `node .vbkit-scripts/validate-kit.mjs .` for the kit itself.
|
|
17
|
+
7. Protected paths include `.env*`, secrets, lockfiles, generated files, build output, migrations, and infra unless the user says otherwise.
|
|
18
|
+
8. Existing naming, architecture, resource, and localization conventions are scanned or marked missing.
|
|
19
|
+
|
|
20
|
+
## Canonical prompt
|
|
21
|
+
|
|
22
|
+
```text
|
|
23
|
+
Read FIRST_TIME_INIT.md and initialize this repo with Minimal Vibe Coding Kit.
|
|
24
|
+
First print the requirements you will check. Then run detection, propose one diff for backbone.yml and managed instruction blocks, and wait for my yes before writing.
|
|
25
|
+
Include inferred project conventions for naming, architecture, resources, localization, generated definitions, and per-app/package differences.
|
|
26
|
+
After approval, write the files, run validation, and summarize what changed.
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Done check
|
|
30
|
+
|
|
31
|
+
Open `backbone.yml`.
|
|
32
|
+
|
|
33
|
+
- If `meta.template_status` is `initialized`, skip init. If `.vibekit/INIT_DONE` is missing, recreate it as a local cache and continue.
|
|
34
|
+
- If `meta.template_status` is `uninitialized`, continue.
|
|
35
|
+
- If `backbone.yml` is missing, stop and tell the user to install/copy the kit first.
|
|
36
|
+
|
|
37
|
+
The sentinel file is not required in source control. `backbone.yml` is the durable source of truth.
|
|
38
|
+
|
|
39
|
+
## Detect
|
|
40
|
+
|
|
41
|
+
Prefer filesystem evidence over README claims.
|
|
42
|
+
|
|
43
|
+
- Project name: `package.json:name`, `pyproject.toml` project name, `go.mod` module basename, else folder name.
|
|
44
|
+
- Type: monorepo marker (`pnpm-workspace.yaml`, `turbo.json`, `nx.json`, `lerna.json`, `go.work`) means monorepo; otherwise single-repo unless multiple app roots are obvious.
|
|
45
|
+
- Primary language: strongest marker or source file counts.
|
|
46
|
+
- Package manager: lockfile wins.
|
|
47
|
+
- Commands: infer test, lint, typecheck, build from package scripts, Makefile, Go, Python, Rust, Java, dotnet, PHP, Ruby, or existing CI.
|
|
48
|
+
- Paths: infer source, tests, docs, config, generated output.
|
|
49
|
+
- Conventions: infer naming style, folder architecture, shared resource access, localization/message access, generated-code boundaries, and per-app or per-package differences.
|
|
50
|
+
- Project mode: `greenfield` when no source code exists yet, otherwise `brownfield`. Stored as `project.mode`.
|
|
51
|
+
- PRD/docs: detect an existing PRD, requirements, or spec document. Stored as `project.prd` (path or `none`).
|
|
52
|
+
|
|
53
|
+
## Project understanding (PRD)
|
|
54
|
+
|
|
55
|
+
Always offer a short interview during init so the kit understands what the project is and where to focus, then propose a PRD. Do this whether the repo is empty, has code, or already has docs.
|
|
56
|
+
|
|
57
|
+
Ask (keep it short):
|
|
58
|
+
|
|
59
|
+
1. What is this project and who is it for?
|
|
60
|
+
2. What core problem does it solve, and what is the primary goal/focus right now?
|
|
61
|
+
3. What does success look like (key outcomes or metrics)?
|
|
62
|
+
4. What are the key constraints or non-goals?
|
|
63
|
+
5. Brownfield only: which existing area should we improve first?
|
|
64
|
+
|
|
65
|
+
Then:
|
|
66
|
+
|
|
67
|
+
- If `project.prd` is `none`, propose creating `.vbkit-docs/PRD.md` from `.vbkit-docs/templates/PRD_TEMPLATE.md` using the answers, and set `project.prd` to that path in the same diff.
|
|
68
|
+
- If a PRD already exists, read it, link it in `project.prd`, and offer to refresh it without overwriting unapproved content.
|
|
69
|
+
- Record domain terms and acronyms in `.vbkit-docs/CONTEXT.md` (scaffold from `.vbkit-docs/templates/CONTEXT_TEMPLATE.md`) and link it in `project.context`, so future agents stay concise.
|
|
70
|
+
- Keep the PRD short: it captures intent and focus, not a full specification.
|
|
71
|
+
|
|
72
|
+
## FIRST_TIME_INIT_RULES
|
|
73
|
+
|
|
74
|
+
Create project rules from evidence in the existing repo, not from a fixed language or framework template.
|
|
75
|
+
|
|
76
|
+
- Scope rules to the smallest accurate boundary: repo, app, package, service, module, or folder. In monorepos and multi-repo workspaces, do not force one package's style onto another when evidence differs.
|
|
77
|
+
- Naming: detect dominant file, directory, symbol, test, component, handler, model, and module naming patterns from nearby code. If no pattern is clear, propose a neutral default and ask before writing it into `backbone.yml`.
|
|
78
|
+
- Architecture: detect existing structures such as MVC, MVVM, feature modules, services/repositories, domain/application/infrastructure layers, route/page/screen folders, package boundaries, or framework-specific layouts. New code should enter the nearest matching structure before introducing a new top-level pattern.
|
|
79
|
+
- Resources: detect whether assets, images, icons, routes, API paths, themes, configs, or other shared resources are accessed through constants, registries, generated APIs, or helper modules. If such a pattern exists, rules must prefer that accessor over hardcoded literals. For example, prefer a detected `AppImages.logo` or equivalent project accessor over a raw path such as `assets/images/logo.png`.
|
|
80
|
+
- Localization and copy: detect catalogs and accessors such as `.arb`, locale folders, message files, generated localization APIs, or translation helpers. If present, rules must prefer those accessors over hardcoded user-facing text.
|
|
81
|
+
- Generated and shared definitions: detect generated files, enums, schemas, OpenAPI/GraphQL clients, design tokens, route maps, or other single-source definitions. Rules should reuse or update the source definition instead of duplicating literals.
|
|
82
|
+
- Missing conventions: if the repo lacks a shared abstraction and adding one would affect many files, propose it as a pending rule and ask the user to reply `yes`, `edit`, or `abort` before implementation.
|
|
83
|
+
- Store confirmed rules in `backbone.yml` under `conventions`. Future agents must follow those confirmed rules and ask before changing them.
|
|
84
|
+
|
|
85
|
+
Optional helper:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
node .vbkit-scripts/init-backbone.mjs . --propose
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Propose before writing
|
|
92
|
+
|
|
93
|
+
Show one unified diff for:
|
|
94
|
+
|
|
95
|
+
- `backbone.yml`
|
|
96
|
+
- the `backbone.yml` `conventions` rules inferred from existing code, including evidence and unresolved questions
|
|
97
|
+
- `CLAUDE.md` managed block or new file when Claude is active
|
|
98
|
+
- `AGENTS.md` managed block or new file when Codex/general agent support is active
|
|
99
|
+
- missing `.cursor/rules` or `.agents/skills` shims only if the installer did not add them
|
|
100
|
+
|
|
101
|
+
Ask exactly:
|
|
102
|
+
|
|
103
|
+
```text
|
|
104
|
+
Apply this proposed backbone and convention rules? Reply yes, edit, or abort.
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## Apply after user says yes
|
|
108
|
+
|
|
109
|
+
1. Write approved changes only.
|
|
110
|
+
2. Set `meta.template_status: initialized`.
|
|
111
|
+
3. Set `meta.initialized_at` to current UTC ISO timestamp.
|
|
112
|
+
4. Create `.vibekit/INIT_DONE` with the same timestamp.
|
|
113
|
+
5. Run the validation command from `backbone.yml`.
|
|
114
|
+
6. Print a short completion summary.
|
|
115
|
+
7. Offer graduation: once the user confirms setup is done, run the cleanup in the Graduation section below to remove one-time bootstrap files.
|
|
116
|
+
|
|
117
|
+
CLI helper after approval:
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
node .vbkit-scripts/init-backbone.mjs . --write --yes
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Merge rules
|
|
124
|
+
|
|
125
|
+
### CLAUDE.md
|
|
126
|
+
|
|
127
|
+
- If no `CLAUDE.md` exists, copy `CLAUDE-template.md` to `CLAUDE.md`.
|
|
128
|
+
- If `CLAUDE.md` exists, append or replace only this managed block:
|
|
129
|
+
|
|
130
|
+
```markdown
|
|
131
|
+
<!-- BEGIN: minimal-vibe-coding-kit -->
|
|
132
|
+
@AGENTS.md
|
|
133
|
+
|
|
134
|
+
## Minimal Vibe Coding Kit
|
|
135
|
+
|
|
136
|
+
- Read `backbone.yml` before changing code.
|
|
137
|
+
- If `meta.template_status` is `uninitialized`, follow `FIRST_TIME_INIT.md` and wait for approval before writing.
|
|
138
|
+
- After init, follow `backbone.yml` `conventions` before adding new project patterns.
|
|
139
|
+
- Prefer project skills for multi-step workflows: `/autoresearch-coding`, `/security-scan`, `/daily-enhance`.
|
|
140
|
+
<!-- END: minimal-vibe-coding-kit -->
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### AGENTS.md
|
|
144
|
+
|
|
145
|
+
- If no `AGENTS.md` exists, create it from this kit.
|
|
146
|
+
- If it exists, append or replace only the Minimal Vibe managed block.
|
|
147
|
+
- Keep project-specific content outside the managed block.
|
|
148
|
+
|
|
149
|
+
## Graduation (cleanup after setup)
|
|
150
|
+
|
|
151
|
+
Once init is `initialized` and the first prompt is complete, the bootstrap files are no longer needed in the project. Offer to graduate them so the repo stays clean.
|
|
152
|
+
|
|
153
|
+
- Preview: `node .vbkit-scripts/vibekit-finalize.mjs . --propose`
|
|
154
|
+
- Apply after the user agrees: `node .vbkit-scripts/vibekit-finalize.mjs . --write --yes`
|
|
155
|
+
|
|
156
|
+
This moves one-time files (`FIRST_TIME_INIT.md`, `FIRST_PROMPT.md`, `PUSH_TO_GITHUB.md`, `CLAUDE-template.md` once `CLAUDE.md` exists) into the folder named by `automation.finalize.cleanup_dir` (default `_vibekit-cleanup/`), writes a `RESTORE.md`, and sets `automation.finalize.marker`. It is idempotent, reversible with `--restore --write`, and refuses to run on the kit source repo. The durable project map is `backbone.yml`; none of the graduated files are needed to keep working. Delete the cleanup folder when satisfied.
|
|
157
|
+
|
|
158
|
+
## Guardrails
|
|
159
|
+
|
|
160
|
+
- No silent writes to root instructions, rules, skills, workflows, or `backbone.yml`.
|
|
161
|
+
- Do not run package scripts, hooks, MCP servers, deploys, migrations, or destructive commands during init.
|
|
162
|
+
- Do not modify protected paths unless the user explicitly approves.
|
|
163
|
+
- Keep `CLAUDE.md`, `AGENTS.md`, and Cursor rules concise. Move procedures into skills.
|
|
164
|
+
- Do not hardcode paths, resources, user-facing text, config keys, routes, or generated values when the repo already has a shared accessor or definition.
|
|
165
|
+
- If unsure, produce a proposal and ask for `yes`, `edit`, or `abort`.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Minimal Vibe Coding Kit contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|