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/README.vi.md
ADDED
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
**Đọc bằng:** [English](README.md) · **Tiếng Việt**
|
|
4
|
+
|
|
5
|
+
# Minimal Vibe Coding Kit
|
|
6
|
+
|
|
7
|
+
[](LICENSE)
|
|
8
|
+
[](CHANGELOG.md)
|
|
9
|
+

|
|
10
|
+

|
|
11
|
+

|
|
12
|
+

|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
**Một bộ kit AI-coding gọn nhẹ cho Claude Code, Cursor và Codex — chạy được trên mọi repo, mọi ngôn ngữ.**
|
|
16
|
+
|
|
17
|
+
Cài đặt, để agent tự dò stack, duyệt diff đề xuất, rồi bắt đầu code.
|
|
18
|
+
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## Mục lục
|
|
24
|
+
|
|
25
|
+
- [Có gì mới ở 0.2.0](#có-gì-mới-ở-020)
|
|
26
|
+
- [Bộ kit này là gì](#bộ-kit-này-là-gì)
|
|
27
|
+
- [Bắt đầu nhanh](#bắt-đầu-nhanh)
|
|
28
|
+
- [Prompt đầu tiên](#prompt-đầu-tiên)
|
|
29
|
+
- [Profile cài đặt](#profile-cài-đặt)
|
|
30
|
+
- [Cập nhật project đã cài kit](#cập-nhật-project-đã-cài-kit)
|
|
31
|
+
- [Cấu trúc repo](#cấu-trúc-repo)
|
|
32
|
+
- [Workflow theo từng tool](#workflow-theo-từng-tool)
|
|
33
|
+
- [Tham chiếu Commands & Skills](#tham-chiếu-commands--skills)
|
|
34
|
+
- [Vòng lặp Autoresearch](#vòng-lặp-autoresearch)
|
|
35
|
+
- [AgentShield - rà soát bảo mật](#agentshield---rà-soát-bảo-mật)
|
|
36
|
+
- [Cải tiến hằng ngày](#cải-tiến-hằng-ngày)
|
|
37
|
+
- [Validate trước khi release](#validate-trước-khi-release)
|
|
38
|
+
- [Mục tiêu thiết kế](#mục-tiêu-thiết-kế)
|
|
39
|
+
- [Khắc phục sự cố](#khắc-phục-sự-cố)
|
|
40
|
+
- [Đóng góp](#đóng-góp)
|
|
41
|
+
- [Giấy phép](#giấy-phép)
|
|
42
|
+
|
|
43
|
+
> 🇺🇸 Want to read in English? See [README.md](README.md).
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Có gì mới ở 0.2.0
|
|
48
|
+
|
|
49
|
+
| Mảng | Thay đổi |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| Trình cài đặt | CLI một lệnh: `mvck install <project>` (kèm `install.sh` / `install.ps1`). |
|
|
52
|
+
| Hỗ trợ Codex | Thêm các bề mặt `.agents/`, `.codex/`, và `.codex-plugin/plugin.json`. |
|
|
53
|
+
| Hướng dẫn chung | File `AGENTS.md` mới được `CLAUDE.md` import để tránh trùng lặp. |
|
|
54
|
+
| Backbone | `backbone.yml` template gọn + helper tự dò cấu hình. |
|
|
55
|
+
| Skills | Thêm `vibekit-init`, `agentshield-security-review`, `daily-workflow-curator`. |
|
|
56
|
+
| Bảo mật | Probe AgentShield chỉ đọc + tích hợp scanner. |
|
|
57
|
+
| Vòng lặp daily | `daily-enhance` chỉ đề xuất - không tự viết đè rules. |
|
|
58
|
+
| Validation | `validate-kit.mjs` + GitHub Actions workflow. |
|
|
59
|
+
|
|
60
|
+
Chi tiết đầy đủ trong [CHANGELOG.md](CHANGELOG.md).
|
|
61
|
+
|
|
62
|
+
## Bộ kit này là gì
|
|
63
|
+
|
|
64
|
+
Một bộ kit gọn nhẹ, không phụ thuộc dự án, gồm **rules**, **skills**, **commands** dùng chung, cộng với một **backbone manifest** giúp các AI coding assistant hiểu mọi project theo cùng một cách.
|
|
65
|
+
|
|
66
|
+
Triết lý là tối giản:
|
|
67
|
+
|
|
68
|
+
- Không framework nặng, không ép cấu trúc.
|
|
69
|
+
- `CLAUDE.md` / `AGENTS.md` hiện có **không bao giờ bị ghi đè** - kit chỉ thêm managed block.
|
|
70
|
+
- Ba file template làm phần lớn việc:
|
|
71
|
+
- [backbone.yml](backbone.yml) - nguồn sự thật duy nhất về cấu trúc, đường dẫn, quy ước.
|
|
72
|
+
- [CLAUDE-template.md](CLAUDE-template.md) - khung `CLAUDE.md` ngắn, import `AGENTS.md`.
|
|
73
|
+
- [FIRST_TIME_INIT.md](FIRST_TIME_INIT.md) - runbook khởi tạo với guardrails.
|
|
74
|
+
|
|
75
|
+
Luồng hoạt động:
|
|
76
|
+
|
|
77
|
+
1. Cài kit vào project. `backbone.yml` mặc định có `meta.template_status: uninitialized` và các giá trị `<<PLACEHOLDER>>`.
|
|
78
|
+
2. Dán [prompt đầu tiên](#prompt-đầu-tiên) vào Claude Code, Cursor, hoặc Codex.
|
|
79
|
+
3. Agent quét fingerprint stack và các quy ước hiện có, rồi **đề xuất một diff thống nhất**.
|
|
80
|
+
4. Bạn review backbone và project rules được suy ra (`yes` / `edit` / `abort`). Agent chỉ ghi sau khi được duyệt và đổi status sang `initialized`.
|
|
81
|
+
5. Mọi phiên sau đó đọc `backbone.yml` đã điền và bỏ qua bước init.
|
|
82
|
+
|
|
83
|
+
Phù hợp với single-repo, monorepo và multi-repo. Không ghi đè ngầm. Không có code đặc thù dự án trong kit gốc.
|
|
84
|
+
|
|
85
|
+
Trong lần init đầu tiên, proposal cũng ghi lại rules riêng của repo trong `backbone.yml` dưới mục `conventions`: naming style, kiến trúc thư mục, cách truy cập asset/resource dùng chung, localization/message accessor, generated definitions, và khác biệt theo app/package khi evidence không giống nhau.
|
|
86
|
+
|
|
87
|
+
## Bắt đầu nhanh
|
|
88
|
+
|
|
89
|
+
### 1. Cài kit vào project bất kỳ
|
|
90
|
+
|
|
91
|
+
Từ thư mục kit này:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
./install.sh /path/to/your-project
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
PowerShell trên Windows:
|
|
98
|
+
|
|
99
|
+
```powershell
|
|
100
|
+
./install.ps1 -Target C:\path\to\your-project
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Hoặc dùng trực tiếp Node CLI:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
node .vbkit-scripts/mvck.mjs install /path/to/your-project --profile all
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Sau khi repo này được publish lên GitHub, người dùng cuối cài từ bất cứ đâu bằng:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
npx github:giang6283623/minimal-vibe-coding-kit install /path/to/your-project
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### 2. Khởi tạo backbone
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
cd /path/to/your-project
|
|
119
|
+
node .vbkit-scripts/init-backbone.mjs . --propose # xem trước đề xuất
|
|
120
|
+
node .vbkit-scripts/init-backbone.mjs . --write --yes # ghi sau khi bạn đã review backbone + rules
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### 3. Validate
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
npm test
|
|
127
|
+
npm run security:probe
|
|
128
|
+
node .vbkit-scripts/mvck.mjs doctor .
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### 4. Mở project và dán [prompt đầu tiên](#prompt-đầu-tiên).
|
|
132
|
+
|
|
133
|
+
## Prompt đầu tiên
|
|
134
|
+
|
|
135
|
+
Dán đoạn này vào Claude Code, Cursor, hoặc Codex sau khi cài kit:
|
|
136
|
+
|
|
137
|
+
```text
|
|
138
|
+
Read FIRST_TIME_INIT.md and initialize this repo with Minimal Vibe Coding Kit.
|
|
139
|
+
First print the requirements you will check. Then run detection, propose one diff
|
|
140
|
+
for backbone.yml and managed instruction blocks, and wait for my yes before writing.
|
|
141
|
+
Include inferred project conventions for naming, architecture, resources,
|
|
142
|
+
localization, generated definitions, and per-app/package differences.
|
|
143
|
+
After approval, write the files, run validation, and summarize what changed.
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Các biến thể prompt riêng cho từng tool có trong [FIRST_PROMPT.md](FIRST_PROMPT.md).
|
|
147
|
+
|
|
148
|
+
## Profile cài đặt
|
|
149
|
+
|
|
150
|
+
Cài tất cả (mặc định):
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
node .vbkit-scripts/mvck.mjs install . --profile all
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Chỉ cài phần bạn dùng:
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
node .vbkit-scripts/mvck.mjs install . --profile claude # chỉ Claude Code
|
|
160
|
+
node .vbkit-scripts/mvck.mjs install . --profile claude,cursor # Claude + Cursor
|
|
161
|
+
node .vbkit-scripts/mvck.mjs install . --profile codex # Codex (và bất kỳ agent dùng AGENTS.md)
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Cờ hữu ích: `--force` (ghi đè file đã tồn tại), `--dry-run` (xem trước, không ghi).
|
|
165
|
+
|
|
166
|
+
## Cập nhật project đã cài kit
|
|
167
|
+
|
|
168
|
+
Khi kit có skill, rule, hoặc script mới, chạy một lệnh trong project để cập nhật an toàn:
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
npx --yes minimal-vibe-coding-kit@latest update .
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Hoặc từ bản clone kit mới hơn:
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
node /path/to/minimal-vibe-coding-kit/.vbkit-scripts/mvck.mjs update /path/to/your-project
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
`update` an toàn theo mặc định:
|
|
181
|
+
|
|
182
|
+
- **Chỉ làm mới file thuộc kit**: `skills/`, `.vbkit-commands/`, `.vbkit-scripts/`, `.vbkit-docs/`, và các mirror skill/command/rule/agent của Claude, Cursor, Codex. Skill mới của kit được thêm tự động.
|
|
183
|
+
- **Không bao giờ ghi đè file của bạn**: `backbone.yml`, `CLAUDE.md`, nội dung `AGENTS.md` ngoài managed block, `.claude/settings.json`, `.cursor/settings.json` chỉ được tạo khi chưa tồn tại.
|
|
184
|
+
- **Chỉ cập nhật trong managed block** (`BEGIN/END: minimal-vibe-coding-kit`) của `AGENTS.md`, `CLAUDE.md`, `.gitignore`.
|
|
185
|
+
- **Backup trước khi thay**: file kit bị thay đổi sẽ được sao lưu vào `.vibekit/update-backup/<timestamp>/` (tắt bằng `--no-backup`).
|
|
186
|
+
- **Không xóa** file bạn tự thêm, và không tạo lại các file one-time trên project đã finalize.
|
|
187
|
+
- **Có version**: phiên bản kit được ghi vào `.vibekit/KIT_VERSION`; `mvck doctor` sẽ hiển thị.
|
|
188
|
+
|
|
189
|
+
Xem trước khi ghi:
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
npx --yes minimal-vibe-coding-kit@latest update . --dry-run
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
Quy trình khuyến nghị: `update . --dry-run` → `update .` → chạy validate → review diff trong git trước khi commit.
|
|
196
|
+
|
|
197
|
+
## Cấu trúc repo
|
|
198
|
+
|
|
199
|
+
```text
|
|
200
|
+
.
|
|
201
|
+
├── backbone.yml ← bản đồ project + cấu hình workflow (template)
|
|
202
|
+
├── AGENTS.md ← hướng dẫn chung cho Claude, Cursor, Codex
|
|
203
|
+
├── CLAUDE-template.md ← starter Claude ngắn gọn (import AGENTS.md)
|
|
204
|
+
├── FIRST_PROMPT.md ← prompt copy/paste cho từng tool
|
|
205
|
+
├── FIRST_TIME_INIT.md ← runbook khởi tạo an toàn kèm guardrails
|
|
206
|
+
│
|
|
207
|
+
├── .claude/ ← bề mặt Claude Code
|
|
208
|
+
│ ├── agents/ (10 role agent: code-reviewer, debug-fixer, …)
|
|
209
|
+
│ ├── commands/ (/init-vibe, /security-scan, /daily-enhance, /autoresearch-coding, /council)
|
|
210
|
+
│ ├── rules/ (vibe-core, security, autoresearch, tooling)
|
|
211
|
+
│ ├── skills/ (bản sao của shared skills)
|
|
212
|
+
│ └── settings.json
|
|
213
|
+
│
|
|
214
|
+
├── .cursor/ ← bề mặt Cursor (rules/, commands/)
|
|
215
|
+
├── .agents/skills/ ← skills cho Codex / portable
|
|
216
|
+
├── .codex/ ← config mẫu cho Codex
|
|
217
|
+
├── .codex-plugin/plugin.json ← manifest plugin Codex
|
|
218
|
+
│
|
|
219
|
+
├── skills/ ← shared skills (canonical)
|
|
220
|
+
│ ├── vibekit-init/
|
|
221
|
+
│ ├── autoresearch-coding/
|
|
222
|
+
│ ├── agentshield-security-review/
|
|
223
|
+
│ ├── daily-workflow-curator/
|
|
224
|
+
│ ├── clearthought/
|
|
225
|
+
│ ├── sequential-thinking/
|
|
226
|
+
│ ├── reviewing-4p-priorities/
|
|
227
|
+
│ └── visual-design-loop/
|
|
228
|
+
├── .vbkit-commands/ ← prompt command dùng chung
|
|
229
|
+
│
|
|
230
|
+
├── .vbkit-scripts/ ← CLI mvck, init-backbone, daily-enhance, validate-kit
|
|
231
|
+
├── bin/ ← entrypoint npm bin (mvck, vibe-kit)
|
|
232
|
+
├── .vbkit-docs/ ← tài liệu sâu hơn (giữ ngoài root)
|
|
233
|
+
└── .github/workflows/ ← workflow validation cho repo
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
## Workflow theo từng tool
|
|
237
|
+
|
|
238
|
+
### Claude Code
|
|
239
|
+
|
|
240
|
+
Claude đọc `CLAUDE.md`, `AGENTS.md`, `.claude/rules`, `.claude/commands`, `.claude/agents`, và `.claude/skills`.
|
|
241
|
+
|
|
242
|
+
Các slash command hữu ích:
|
|
243
|
+
|
|
244
|
+
```text
|
|
245
|
+
/init-vibe khởi tạo hoặc sửa setup của kit
|
|
246
|
+
/security-scan AgentShield probe + scan
|
|
247
|
+
/daily-enhance sinh báo cáo cải tiến chỉ đề xuất
|
|
248
|
+
/autoresearch-coding chạy vòng lặp thử nghiệm có metric
|
|
249
|
+
/council phối hợp nhiều agent chuyên biệt
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
`CLAUDE.md` sinh ra cố tình giữ ngắn và import nội dung chung qua `@AGENTS.md`.
|
|
253
|
+
|
|
254
|
+
### Cursor
|
|
255
|
+
|
|
256
|
+
Cursor nhận project rules từ:
|
|
257
|
+
|
|
258
|
+
```text
|
|
259
|
+
.cursor/rules/*.mdc 001-vibe-core, 010-init, 020-security-agentshield, 030-autoresearch-loop
|
|
260
|
+
.cursor/commands/*.md cùng 5 command như Claude
|
|
261
|
+
AGENTS.md
|
|
262
|
+
backbone.yml
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
Rules được tách theo chủ đề để context luôn nhỏ.
|
|
266
|
+
|
|
267
|
+
### Codex
|
|
268
|
+
|
|
269
|
+
Codex nhận hướng dẫn từ:
|
|
270
|
+
|
|
271
|
+
```text
|
|
272
|
+
AGENTS.md
|
|
273
|
+
.agents/skills/*/SKILL.md
|
|
274
|
+
.codex/config.example.toml
|
|
275
|
+
.codex-plugin/plugin.json
|
|
276
|
+
backbone.yml
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
Prompt khuyến nghị:
|
|
280
|
+
|
|
281
|
+
```text
|
|
282
|
+
Read AGENTS.md and FIRST_TIME_INIT.md. Use the vibekit-init skill if available.
|
|
283
|
+
Initialize backbone.yml, keep AGENTS.md concise, and wait for approval before writing.
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
## Tham chiếu Commands & Skills
|
|
287
|
+
|
|
288
|
+
### Commands
|
|
289
|
+
|
|
290
|
+
| Command | Skill phía sau | Dùng khi |
|
|
291
|
+
| --- | --- | --- |
|
|
292
|
+
| `/init-vibe` | `vibekit-init` | Init lần đầu hoặc sửa chữa. In requirements, đề xuất diff, chờ duyệt. |
|
|
293
|
+
| `/security-scan` | `agentshield-security-review` | Review bề mặt agent, hooks, MCP, skills, commands, installer. |
|
|
294
|
+
| `/daily-enhance` | `daily-workflow-curator` | Đề xuất cải tiến rules, skills, workflows, `backbone.yml`. Chỉ propose. |
|
|
295
|
+
| `/autoresearch-coding` | `autoresearch-coding` | Cải tiến repo qua các thử nghiệm có thể đo, kèm baseline + budget. |
|
|
296
|
+
| `/council` | (đa agent) | Phối hợp research-coordinator, security-reviewer, code-reviewer, results-analyst. |
|
|
297
|
+
|
|
298
|
+
### Skills (`skills/` là canonical; thư mục skill theo từng tool mirror lại khi phù hợp)
|
|
299
|
+
|
|
300
|
+
| Skill | Mục đích |
|
|
301
|
+
| --- | --- |
|
|
302
|
+
| [`vibekit-init`](skills/vibekit-init/SKILL.md) | Init lần đầu: dò stack, đề xuất diff, chờ `yes`, rồi mới ghi. |
|
|
303
|
+
| [`autoresearch-coding`](skills/autoresearch-coding/SKILL.md) | Vòng lặp nghiên cứu theo metric, có baseline, experiment và log kết quả. |
|
|
304
|
+
| [`agentshield-security-review`](skills/agentshield-security-review/SKILL.md) | Probe chỉ đọc + scanner tùy chọn cho bảo mật bề mặt agent. |
|
|
305
|
+
| [`daily-workflow-curator`](skills/daily-workflow-curator/SKILL.md) | Báo cáo daily + đề xuất diff. Không bao giờ ghi ngầm. |
|
|
306
|
+
| [`clearthought`](skills/clearthought/SKILL.md) | Lý luận có cấu trúc cho task mơ hồ, debug, thiết kế, và lập kế hoạch triển khai. |
|
|
307
|
+
| [`sequential-thinking`](skills/sequential-thinking/SKILL.md) | Chia nhỏ công việc phức tạp theo từng bước, có revision và branch. |
|
|
308
|
+
| [`reviewing-4p-priorities`](skills/reviewing-4p-priorities/SKILL.md) | Triage P0-P4 cho bug, review finding, rủi ro, và thứ tự fix. |
|
|
309
|
+
| [`visual-design-loop`](skills/visual-design-loop/SKILL.md) | Vòng lặp polish UI bằng screenshot: render, review, sửa mục tiêu, rồi so sánh. |
|
|
310
|
+
| [`memento`](skills/memento/SKILL.md) | Bộ nhớ xuyên session: ghi `MEMENTO.md` trước khi đóng task nhiều ngày, session sau đọc lại để resume. Gọi bằng `/memento`. |
|
|
311
|
+
| [`coding-level`](skills/coding-level/SKILL.md) | Chỉnh mức độ giải thích từ 0 (ELI5) đến 5 (chuyên gia); giữ nguyên đến khi gọi lại. Gọi bằng `/coding-level N`. |
|
|
312
|
+
|
|
313
|
+
Ba skill reasoning này có kèm examples/references trong thư mục skill và chỉ load khi cần thêm chi tiết.
|
|
314
|
+
|
|
315
|
+
### Agents (`.claude/agents/`)
|
|
316
|
+
|
|
317
|
+
Role prompt sẵn sàng dùng: `code-reviewer`, `debug-fixer`, `hypothesis-planner`, `implementation-hacker`, `research-coordinator`, `results-analyst`, `test-runner`, `security-reviewer`, `context-architect`, `workflow-curator`.
|
|
318
|
+
|
|
319
|
+
## Vòng lặp Autoresearch
|
|
320
|
+
|
|
321
|
+
Dùng khi bạn muốn agent cải tiến repo qua các thử nghiệm đo được:
|
|
322
|
+
|
|
323
|
+
```text
|
|
324
|
+
Use the autoresearch-coding skill.
|
|
325
|
+
Goal: improve this repo for maintainability and coding-agent usefulness.
|
|
326
|
+
Metric command: node .vbkit-scripts/validate-kit.mjs .
|
|
327
|
+
Direction: higher.
|
|
328
|
+
Editable paths: README.md .vbkit-docs .vbkit-scripts skills .vbkit-commands .claude .cursor .agents
|
|
329
|
+
.codex-plugin backbone.yml AGENTS.md CLAUDE-template.md
|
|
330
|
+
FIRST_TIME_INIT.md package.json install.sh install.ps1.
|
|
331
|
+
Protected paths: .git .env* node_modules vendor secrets lockfiles.
|
|
332
|
+
Budget: 3.
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
Hợp đồng vòng lặp:
|
|
336
|
+
|
|
337
|
+
1. Chạy metric baseline.
|
|
338
|
+
2. Thực hiện một thử nghiệm nhỏ.
|
|
339
|
+
3. Chạy lại metric.
|
|
340
|
+
4. Chỉ giữ lại cải tiến hoặc đơn giản hóa an toàn.
|
|
341
|
+
5. Ghi log kết quả.
|
|
342
|
+
6. Lặp cho đến hết budget.
|
|
343
|
+
|
|
344
|
+
## AgentShield - rà soát bảo mật
|
|
345
|
+
|
|
346
|
+
Probe chỉ đọc, nhanh (chỉ cần Python):
|
|
347
|
+
|
|
348
|
+
```bash
|
|
349
|
+
node .vbkit-scripts/agentshield-probe.mjs .
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
Scanner đầy đủ (tùy chọn, khi có npm):
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
npx ecc-agentshield scan --path . --format text --min-severity medium
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
Nguyên tắc bảo mật:
|
|
359
|
+
|
|
360
|
+
- Không chạy hooks, MCP server, package lifecycle scripts, deploy scripts, migrations, hoặc lệnh phá hủy nào chỉ để kiểm tra một repo lạ.
|
|
361
|
+
- Không bao giờ in secrets đầy đủ.
|
|
362
|
+
- Mọi thay đổi tới `CLAUDE.md`, `AGENTS.md`, `.claude/**`, `.cursor/**`, `.agents/**`, `.codex-plugin/**`, `skills/**`, `.vbkit-commands/**`, `.vbkit-scripts/**`, hooks, hoặc MCP config đều phải kích hoạt review kiểu AgentShield.
|
|
363
|
+
|
|
364
|
+
## Cải tiến hằng ngày
|
|
365
|
+
|
|
366
|
+
Sinh báo cáo local:
|
|
367
|
+
|
|
368
|
+
```bash
|
|
369
|
+
node .vbkit-scripts/daily-enhance.mjs . --write-report
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
Prompt cho agent:
|
|
373
|
+
|
|
374
|
+
```text
|
|
375
|
+
Use the daily-workflow-curator skill. Run the daily report, AgentShield probe,
|
|
376
|
+
and kit validation. Propose improvements to rules, skills, workflows, and
|
|
377
|
+
backbone.yml. Do not write until I approve the diff.
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
Cải tiến hằng ngày mặc định **chỉ đề xuất**. Không tự commit hay viết đè rules.
|
|
381
|
+
|
|
382
|
+
## Validate trước khi release
|
|
383
|
+
|
|
384
|
+
```bash
|
|
385
|
+
npm run validate # validate cấu trúc
|
|
386
|
+
npm run validate:all # validate + AgentShield probe + package dry-run
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
Kết quả mong đợi: validation pass, AgentShield probe không báo lỗi cấu trúc nghiêm trọng, và `npm run pack:dry-run` liệt kê đúng các file trong package.
|
|
390
|
+
|
|
391
|
+
Checklist publish nằm trong [PUSH_TO_GITHUB.md](PUSH_TO_GITHUB.md).
|
|
392
|
+
|
|
393
|
+
## Mục tiêu thiết kế
|
|
394
|
+
|
|
395
|
+
- Dùng được với mọi ngôn ngữ và framework.
|
|
396
|
+
- Hỗ trợ project đang có sẵn mà không ghi đè hướng dẫn riêng của bạn.
|
|
397
|
+
- Giữ file root ngắn - thủ tục dài đẩy vào skills và `.vbkit-docs/`.
|
|
398
|
+
- Cải tiến AI workflow phải đo được qua autoresearch.
|
|
399
|
+
- Đưa security review bề mặt agent thành một phần của workflow bình thường.
|
|
400
|
+
|
|
401
|
+
## Khắc phục sự cố
|
|
402
|
+
|
|
403
|
+
| Triệu chứng | Nguyên nhân thường gặp | Cách xử lý |
|
|
404
|
+
| --- | --- | --- |
|
|
405
|
+
| Agent bỏ qua luồng init | Thiếu `CLAUDE.md` hoặc managed block bị xóa. | Chạy lại installer, hoặc copy [CLAUDE-template.md](CLAUDE-template.md) thành `CLAUDE.md`. |
|
|
406
|
+
| Agent hỏi init lại mỗi phiên | `meta.template_status` vẫn `uninitialized`. | Chạy init, duyệt diff, đảm bảo `template_status` thành `initialized` và `initialized_at` đã được set. |
|
|
407
|
+
| Dò sai stack | Lockfile của ngôn ngữ cũ còn sót, hoặc pattern dò chưa cập nhật. | Xóa file cũ, hoặc mở rộng phần detection trong [backbone.yml](backbone.yml). |
|
|
408
|
+
| Agent chạm vào path không nên | Path chưa có trong `policy.protected_paths`. | Thêm vào (hỗ trợ glob). |
|
|
409
|
+
| `CLAUDE.md` cũ bị ghi đè | Guardrail merge bị bypass. | Khôi phục từ git. Chạy lại installer - kit chỉ append managed block. |
|
|
410
|
+
| Validation cảnh báo AgentShield probe | Thiếu Python hoặc script probe. | Cài Python 3, hoặc bỏ qua - đây là warning, không phải failure. |
|
|
411
|
+
| Sau khi install không thấy `node .vbkit-scripts/...` | Installer bỏ qua file đã có. | Chạy lại với `--force`, hoặc copy thủ công thư mục `.vbkit-scripts/`. |
|
|
412
|
+
|
|
413
|
+
## Đóng góp
|
|
414
|
+
|
|
415
|
+
Issue và PR luôn welcome tại [`giang6283623/minimal-vibe-coding-kit`](https://github.com/giang6283623/minimal-vibe-coding-kit).
|
|
416
|
+
|
|
417
|
+
Khi sửa kit:
|
|
418
|
+
|
|
419
|
+
- Mirror thay đổi giữa `.claude/`, `.cursor/`, và `.agents/` để cả ba tool đồng bộ.
|
|
420
|
+
- Giữ template trung lập - không tên công ty, không port hardcode.
|
|
421
|
+
- Mỗi command/skill mới phải có một dòng mô tả mục đích và một ví dụ.
|
|
422
|
+
- Chạy `npm run validate:all` trước khi mở PR.
|
|
423
|
+
|
|
424
|
+
**Tác giả:** [GiangBV](https://www.linkedin.com/in/buivangiang1992), [AuPMH](https://www.linkedin.com/in/pham-au-2a1bb1162)
|
|
425
|
+
**Powered by:** Caffeine, Determination, AI Collaboration, và những đêm code cuối tuần.
|
|
426
|
+
|
|
427
|
+
## Giấy phép
|
|
428
|
+
|
|
429
|
+
MIT. Xem [LICENSE](LICENSE).
|
|
430
|
+
|
|
431
|
+
> 🇻🇳 *Nếu bạn yêu Việt Nam và con người Việt Nam, bạn hoàn toàn được dùng miễn phí mọi thứ trong đây.*
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported versions
|
|
4
|
+
|
|
5
|
+
Security fixes target the latest published release and the `main` branch.
|
|
6
|
+
|
|
7
|
+
## Reporting a vulnerability
|
|
8
|
+
|
|
9
|
+
Please report suspected vulnerabilities through GitHub private vulnerability reporting when available, or open a minimal issue that does not include exploit details or secrets.
|
|
10
|
+
|
|
11
|
+
Include:
|
|
12
|
+
|
|
13
|
+
- affected version or commit;
|
|
14
|
+
- impacted file or command;
|
|
15
|
+
- reproduction steps that do not expose credentials;
|
|
16
|
+
- expected security boundary.
|
|
17
|
+
|
|
18
|
+
## Agent-surface safety
|
|
19
|
+
|
|
20
|
+
This kit treats agent instructions, skills, hooks, MCP config, installer scripts, and CI as security-sensitive surfaces. Before release, run:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm test
|
|
24
|
+
npm run security:probe
|
|
25
|
+
npm run pack:dry-run
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Do not publish changes that introduce unrestricted shell permissions, hidden network execution, silent hook failures, secret printing, or prompt-injection bypass language.
|
package/backbone.yml
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Minimal Vibe Coding Kit backbone. See .vbkit-docs/BACKBONE_REFERENCE.md for details.
|
|
2
|
+
version: 2
|
|
3
|
+
meta:
|
|
4
|
+
template_status: initialized
|
|
5
|
+
initialized_at: 2026-05-27T01:36:21.898Z
|
|
6
|
+
template_source: minimal-vibe-coding-kit
|
|
7
|
+
schema_version: 3
|
|
8
|
+
init_runbook: FIRST_TIME_INIT.md
|
|
9
|
+
init_done_marker: .vibekit/INIT_DONE
|
|
10
|
+
|
|
11
|
+
project:
|
|
12
|
+
name: minimal-vibe-coding-kit
|
|
13
|
+
description: "Project-agnostic AI coding workflow kit for Claude Code, Cursor, and Codex with AgentShield security review."
|
|
14
|
+
type: single-repo
|
|
15
|
+
primary_language: js
|
|
16
|
+
package_manager: npm
|
|
17
|
+
mode: brownfield
|
|
18
|
+
prd: none
|
|
19
|
+
context: none
|
|
20
|
+
|
|
21
|
+
paths:
|
|
22
|
+
root: .
|
|
23
|
+
apps:
|
|
24
|
+
- .
|
|
25
|
+
source: []
|
|
26
|
+
tests: []
|
|
27
|
+
docs: [README.md, .vbkit-docs/]
|
|
28
|
+
generated: [node_modules/, dist/, build/, coverage/]
|
|
29
|
+
|
|
30
|
+
conventions:
|
|
31
|
+
review_required_before_write: true
|
|
32
|
+
scope: repo
|
|
33
|
+
naming:
|
|
34
|
+
files: lowercase
|
|
35
|
+
directories: lowercase
|
|
36
|
+
symbols: not-detected
|
|
37
|
+
evidence:
|
|
38
|
+
- files lowercase: 1
|
|
39
|
+
- files kebab-case: 1
|
|
40
|
+
- dirs lowercase: 9
|
|
41
|
+
architecture:
|
|
42
|
+
detected: []
|
|
43
|
+
rule: "No dominant architecture was detected; ask before adding new top-level layers or broad structural patterns."
|
|
44
|
+
resources:
|
|
45
|
+
detected_asset_roots: []
|
|
46
|
+
detected_registries: []
|
|
47
|
+
rule: "No asset/resource convention was detected; ask before adding a project-wide resource abstraction."
|
|
48
|
+
localization:
|
|
49
|
+
detected_catalogs: []
|
|
50
|
+
detected_accessors: []
|
|
51
|
+
rule: "No localization convention was detected; follow nearby copy patterns and ask before introducing a project-wide i18n layer."
|
|
52
|
+
custom_rules:
|
|
53
|
+
- Add team-specific rules here during init review; future agents must follow them.
|
|
54
|
+
|
|
55
|
+
commands:
|
|
56
|
+
install: npm install
|
|
57
|
+
test: npm test
|
|
58
|
+
lint: null
|
|
59
|
+
typecheck: null
|
|
60
|
+
build: null
|
|
61
|
+
validate: npm test
|
|
62
|
+
|
|
63
|
+
policy:
|
|
64
|
+
default_branch: main
|
|
65
|
+
branch_naming: "feat/<short-topic>"
|
|
66
|
+
commit_style: conventional
|
|
67
|
+
editable_paths: [.]
|
|
68
|
+
protected_paths:
|
|
69
|
+
- .git/
|
|
70
|
+
- .env*
|
|
71
|
+
- "**/*secret*"
|
|
72
|
+
- "**/*token*"
|
|
73
|
+
- "**/migrations/**"
|
|
74
|
+
- "**/node_modules/**"
|
|
75
|
+
- "**/dist/**"
|
|
76
|
+
- "**/build/**"
|
|
77
|
+
- "**/coverage/**"
|
|
78
|
+
- "**/*lock*"
|
|
79
|
+
|
|
80
|
+
agent_surfaces:
|
|
81
|
+
claude: .claude/
|
|
82
|
+
cursor: .cursor/
|
|
83
|
+
codex: .agents/
|
|
84
|
+
codex_plugin: .codex-plugin/plugin.json
|
|
85
|
+
shared_skills: skills/
|
|
86
|
+
shared_commands: .vbkit-commands/
|
|
87
|
+
|
|
88
|
+
automation:
|
|
89
|
+
autoresearch:
|
|
90
|
+
results_file: results.tsv
|
|
91
|
+
logs_dir: .autoresearch/logs
|
|
92
|
+
default_budget: 3
|
|
93
|
+
default_timeout_seconds: 600
|
|
94
|
+
daily_enhance:
|
|
95
|
+
report_dir: .vibekit/reports
|
|
96
|
+
write_mode: propose_only
|
|
97
|
+
finalize:
|
|
98
|
+
cleanup_dir: _vibekit-cleanup
|
|
99
|
+
marker: .vibekit/FINALIZE_DONE
|
|
100
|
+
one_time_files: [FIRST_TIME_INIT.md, FIRST_PROMPT.md, PUSH_TO_GITHUB.md, CLAUDE-template.md]
|
|
101
|
+
security:
|
|
102
|
+
probe: node .vbkit-scripts/agentshield-probe.mjs .
|
|
103
|
+
scan: npx ecc-agentshield scan --path . --format text --min-severity medium
|
package/bin/mvck.js
ADDED
package/bin/vibe-kit.js
ADDED
package/install.ps1
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
param(
|
|
2
|
+
[string]$Target = ".",
|
|
3
|
+
[string]$Profile = "all",
|
|
4
|
+
[switch]$Force,
|
|
5
|
+
[switch]$DryRun,
|
|
6
|
+
[switch]$Json
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
10
|
+
$ArgsList = @("install", $Target, "--profile", $Profile)
|
|
11
|
+
if ($Force) { $ArgsList += "--force" }
|
|
12
|
+
if ($DryRun) { $ArgsList += "--dry-run" }
|
|
13
|
+
if ($Json) { $ArgsList += "--json" }
|
|
14
|
+
node (Join-Path $ScriptDir ".vbkit-scripts/mvck.mjs") @ArgsList
|