minimal-vibe-coding-kit 0.4.1 → 0.5.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/scripts/agentshield_repo_probe.py +28 -3
- package/.agents/skills/claim/SKILL.md +82 -0
- package/.agents/skills/prompt-sharpener/SKILL.md +54 -0
- package/.agents/skills/tutien/SKILL.md +74 -0
- package/.agents/skills/tutien/references/classification.md +64 -0
- package/.agents/skills/tutien/references/lore-sources.md +15 -0
- package/.agents/skills/tutien/references/privacy.md +33 -0
- package/.agents/skills/tutien/references/schema.md +75 -0
- package/.agents/skills/tutien/references/scoring-and-realms.md +37 -0
- package/.agents/skills/tutien/references/voice-and-mode.md +44 -0
- package/.agents/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
- package/.agents/skills/tutien/scripts/adapters/git.mjs +48 -0
- package/.agents/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
- package/.agents/skills/tutien/scripts/analyze-history.mjs +84 -0
- package/.agents/skills/tutien/scripts/catalog.mjs +130 -0
- package/.agents/skills/tutien/scripts/classify.mjs +311 -0
- package/.agents/skills/tutien/scripts/command.mjs +107 -0
- package/.agents/skills/tutien/scripts/compare.mjs +41 -0
- package/.agents/skills/tutien/scripts/metrics.mjs +306 -0
- package/.agents/skills/tutien/scripts/normalize-events.mjs +68 -0
- package/.agents/skills/tutien/scripts/redact.mjs +30 -0
- package/.agents/skills/tutien/scripts/render-report.mjs +423 -0
- package/.agents/skills/tutien/scripts/run-tutien.mjs +272 -0
- package/.agents/skills/tutien/scripts/score.mjs +97 -0
- package/.agents/skills/tutien/scripts/snapshot.mjs +76 -0
- package/.agents/skills/tutien/scripts/villains.mjs +196 -0
- package/.agents/skills/vibekit-init/SKILL.md +2 -2
- package/.claude/settings.json +10 -3
- package/.claude/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +28 -3
- package/.claude/skills/claim/SKILL.md +82 -0
- package/.claude/skills/prompt-sharpener/SKILL.md +54 -0
- package/.claude/skills/tutien/SKILL.md +74 -0
- package/.claude/skills/tutien/references/classification.md +64 -0
- package/.claude/skills/tutien/references/lore-sources.md +15 -0
- package/.claude/skills/tutien/references/privacy.md +33 -0
- package/.claude/skills/tutien/references/schema.md +75 -0
- package/.claude/skills/tutien/references/scoring-and-realms.md +37 -0
- package/.claude/skills/tutien/references/voice-and-mode.md +44 -0
- package/.claude/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
- package/.claude/skills/tutien/scripts/adapters/git.mjs +48 -0
- package/.claude/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
- package/.claude/skills/tutien/scripts/analyze-history.mjs +84 -0
- package/.claude/skills/tutien/scripts/catalog.mjs +130 -0
- package/.claude/skills/tutien/scripts/classify.mjs +311 -0
- package/.claude/skills/tutien/scripts/command.mjs +107 -0
- package/.claude/skills/tutien/scripts/compare.mjs +41 -0
- package/.claude/skills/tutien/scripts/metrics.mjs +306 -0
- package/.claude/skills/tutien/scripts/normalize-events.mjs +68 -0
- package/.claude/skills/tutien/scripts/redact.mjs +30 -0
- package/.claude/skills/tutien/scripts/render-report.mjs +423 -0
- package/.claude/skills/tutien/scripts/run-tutien.mjs +272 -0
- package/.claude/skills/tutien/scripts/score.mjs +97 -0
- package/.claude/skills/tutien/scripts/snapshot.mjs +76 -0
- package/.claude/skills/tutien/scripts/villains.mjs +196 -0
- package/.claude/skills/vibekit-init/SKILL.md +2 -2
- package/.codex/rules/vibekit.rules +77 -0
- package/.codex-plugin/plugin.json +1 -1
- package/.cursor/cli.json +18 -0
- package/.cursor/settings.json +15 -8
- package/.cursor/skills/claim/SKILL.md +82 -0
- package/.cursor/skills/prompt-sharpener/SKILL.md +54 -0
- package/.cursor/skills/tutien/SKILL.md +74 -0
- package/.cursor/skills/tutien/references/classification.md +64 -0
- package/.cursor/skills/tutien/references/lore-sources.md +15 -0
- package/.cursor/skills/tutien/references/privacy.md +33 -0
- package/.cursor/skills/tutien/references/schema.md +75 -0
- package/.cursor/skills/tutien/references/scoring-and-realms.md +37 -0
- package/.cursor/skills/tutien/references/voice-and-mode.md +44 -0
- package/.cursor/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
- package/.cursor/skills/tutien/scripts/adapters/git.mjs +48 -0
- package/.cursor/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
- package/.cursor/skills/tutien/scripts/analyze-history.mjs +84 -0
- package/.cursor/skills/tutien/scripts/catalog.mjs +130 -0
- package/.cursor/skills/tutien/scripts/classify.mjs +311 -0
- package/.cursor/skills/tutien/scripts/command.mjs +107 -0
- package/.cursor/skills/tutien/scripts/compare.mjs +41 -0
- package/.cursor/skills/tutien/scripts/metrics.mjs +306 -0
- package/.cursor/skills/tutien/scripts/normalize-events.mjs +68 -0
- package/.cursor/skills/tutien/scripts/redact.mjs +30 -0
- package/.cursor/skills/tutien/scripts/render-report.mjs +423 -0
- package/.cursor/skills/tutien/scripts/run-tutien.mjs +272 -0
- package/.cursor/skills/tutien/scripts/score.mjs +97 -0
- package/.cursor/skills/tutien/scripts/snapshot.mjs +76 -0
- package/.cursor/skills/tutien/scripts/villains.mjs +196 -0
- package/.grok/README.md +13 -0
- package/.grok/config.example.toml +13 -0
- package/.grok/config.toml +29 -0
- package/.grok/rules/safe-delete.md +11 -0
- package/.grok/rules/security.md +5 -0
- package/.grok/rules/vibe-core.md +8 -0
- package/.grok/skills/agentshield-security-review/SKILL.md +75 -0
- package/.grok/skills/agentshield-security-review/agents/openai.yaml +5 -0
- package/.grok/skills/agentshield-security-review/references/native-install.md +97 -0
- package/.grok/skills/agentshield-security-review/references/report-template.md +54 -0
- package/.grok/skills/agentshield-security-review/references/review-checklist.md +45 -0
- package/.grok/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +135 -0
- package/.grok/skills/autoresearch-coding/README.md +15 -0
- package/.grok/skills/autoresearch-coding/SKILL.md +101 -0
- package/.grok/skills/autoresearch-coding/references/experiment-contract.md +13 -0
- package/.grok/skills/autoresearch-coding/references/metric-extraction.md +8 -0
- package/.grok/skills/autoresearch-coding/references/result-ledger.md +15 -0
- package/.grok/skills/autoresearch-coding/scripts/log_result.py +24 -0
- package/.grok/skills/autoresearch-coding/scripts/run_logged.py +30 -0
- package/.grok/skills/claim/SKILL.md +82 -0
- package/.grok/skills/clearthought/SKILL.md +100 -0
- package/.grok/skills/clearthought/examples/decision-framework.md +441 -0
- package/.grok/skills/clearthought/examples/metagame-examples.md +536 -0
- package/.grok/skills/clearthought/examples/sequential-thinking.md +380 -0
- package/.grok/skills/clearthought/references/output-schemas.md +494 -0
- package/.grok/skills/clearthought/references/parameter-reference.md +482 -0
- package/.grok/skills/coding-level/SKILL.md +34 -0
- package/.grok/skills/coding-level/references/level-0.md +131 -0
- package/.grok/skills/coding-level/references/level-1.md +118 -0
- package/.grok/skills/coding-level/references/level-2.md +140 -0
- package/.grok/skills/coding-level/references/level-3.md +142 -0
- package/.grok/skills/coding-level/references/level-4.md +152 -0
- package/.grok/skills/coding-level/references/level-5.md +84 -0
- package/.grok/skills/daily-workflow-curator/SKILL.md +52 -0
- package/.grok/skills/memento/SKILL.md +36 -0
- package/.grok/skills/parallel-analysis/SKILL.md +160 -0
- package/.grok/skills/path-sensitive-shell-safety/SKILL.md +69 -0
- package/.grok/skills/path-sensitive-shell-safety/references/workflow.md +127 -0
- package/.grok/skills/prompt-sharpener/SKILL.md +54 -0
- package/.grok/skills/reviewing-4p-priorities/SKILL.md +72 -0
- package/.grok/skills/reviewing-4p-priorities/examples.md +298 -0
- package/.grok/skills/sequential-thinking/SKILL.md +106 -0
- package/.grok/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
- package/.grok/skills/sequential-thinking/examples/branching-exploration.md +474 -0
- package/.grok/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
- package/.grok/skills/sequential-thinking/examples/revision-pattern.md +304 -0
- package/.grok/skills/sequential-thinking/references/output-schema.md +483 -0
- package/.grok/skills/sequential-thinking/references/parameters.md +463 -0
- package/.grok/skills/sequential-thinking/references/patterns.md +666 -0
- package/.grok/skills/tutien/SKILL.md +74 -0
- package/.grok/skills/tutien/references/classification.md +64 -0
- package/.grok/skills/tutien/references/lore-sources.md +15 -0
- package/.grok/skills/tutien/references/privacy.md +33 -0
- package/.grok/skills/tutien/references/schema.md +75 -0
- package/.grok/skills/tutien/references/scoring-and-realms.md +37 -0
- package/.grok/skills/tutien/references/voice-and-mode.md +44 -0
- package/.grok/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
- package/.grok/skills/tutien/scripts/adapters/git.mjs +48 -0
- package/.grok/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
- package/.grok/skills/tutien/scripts/analyze-history.mjs +84 -0
- package/.grok/skills/tutien/scripts/catalog.mjs +130 -0
- package/.grok/skills/tutien/scripts/classify.mjs +311 -0
- package/.grok/skills/tutien/scripts/command.mjs +107 -0
- package/.grok/skills/tutien/scripts/compare.mjs +41 -0
- package/.grok/skills/tutien/scripts/metrics.mjs +306 -0
- package/.grok/skills/tutien/scripts/normalize-events.mjs +68 -0
- package/.grok/skills/tutien/scripts/redact.mjs +30 -0
- package/.grok/skills/tutien/scripts/render-report.mjs +423 -0
- package/.grok/skills/tutien/scripts/run-tutien.mjs +272 -0
- package/.grok/skills/tutien/scripts/score.mjs +97 -0
- package/.grok/skills/tutien/scripts/snapshot.mjs +76 -0
- package/.grok/skills/tutien/scripts/villains.mjs +196 -0
- package/.grok/skills/vibekit-init/SKILL.md +52 -0
- package/.grok/skills/visual-design-loop/SKILL.md +103 -0
- package/.grok/skills/visual-design-loop/agents/openai.yaml +4 -0
- package/.vibekit/docs/BACKBONE_REFERENCE.md +3 -1
- package/.vibekit/docs/INSTALL.md +11 -7
- package/.vibekit/docs/SECURITY_MODEL.md +1 -1
- package/.vibekit/docs/TOOLING_GUIDE.md +5 -0
- package/.vibekit/docs/templates/CONTEXT_TEMPLATE.md +1 -1
- package/.vibekit/init/CLAUDE-template.md +3 -0
- package/.vibekit/init/FIRST_PROMPT.md +1 -1
- package/.vibekit/init/FIRST_TIME_INIT.md +2 -2
- package/.vibekit/scripts/doctor.mjs +11 -4
- package/.vibekit/scripts/mvck.mjs +27 -12
- package/.vibekit/scripts/pack-dry-run.mjs +38 -3
- package/.vibekit/scripts/test-install.mjs +8 -0
- package/.vibekit/scripts/validate-kit.mjs +116 -41
- package/.vibekit/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +28 -3
- package/.vibekit/skills/claim/SKILL.md +82 -0
- package/.vibekit/skills/prompt-sharpener/SKILL.md +54 -0
- package/.vibekit/skills/skills-manifest.json +27 -0
- package/.vibekit/skills/tutien/SKILL.md +74 -0
- package/.vibekit/skills/tutien/references/classification.md +64 -0
- package/.vibekit/skills/tutien/references/lore-sources.md +15 -0
- package/.vibekit/skills/tutien/references/privacy.md +33 -0
- package/.vibekit/skills/tutien/references/schema.md +75 -0
- package/.vibekit/skills/tutien/references/scoring-and-realms.md +37 -0
- package/.vibekit/skills/tutien/references/voice-and-mode.md +44 -0
- package/.vibekit/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
- package/.vibekit/skills/tutien/scripts/adapters/git.mjs +48 -0
- package/.vibekit/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
- package/.vibekit/skills/tutien/scripts/analyze-history.mjs +84 -0
- package/.vibekit/skills/tutien/scripts/catalog.mjs +130 -0
- package/.vibekit/skills/tutien/scripts/classify.mjs +311 -0
- package/.vibekit/skills/tutien/scripts/command.mjs +107 -0
- package/.vibekit/skills/tutien/scripts/compare.mjs +41 -0
- package/.vibekit/skills/tutien/scripts/metrics.mjs +306 -0
- package/.vibekit/skills/tutien/scripts/normalize-events.mjs +68 -0
- package/.vibekit/skills/tutien/scripts/redact.mjs +30 -0
- package/.vibekit/skills/tutien/scripts/render-report.mjs +423 -0
- package/.vibekit/skills/tutien/scripts/run-tutien.mjs +272 -0
- package/.vibekit/skills/tutien/scripts/score.mjs +97 -0
- package/.vibekit/skills/tutien/scripts/snapshot.mjs +76 -0
- package/.vibekit/skills/tutien/scripts/villains.mjs +196 -0
- package/.vibekit/skills/vibekit-init/SKILL.md +2 -2
- package/AGENTS.md +2 -2
- package/CHANGELOG.md +40 -0
- package/README.md +60 -51
- package/backbone.yml +2 -1
- package/docs/README.vi.md +61 -52
- package/docs/README.zh-CN.md +277 -0
- package/package.json +15 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 0.5.0 — 2026-07-20
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Added `/claim <request>` across Claude Code, Cursor, Codex, and Grok. It validates official sources, rejects unsafe or misleading URLs, checks new ideas against `backbone.yml` and existing repository conventions, stops for decisions when approval is required, and integrates only the smallest reviewed change with an evidence ledger.
|
|
10
|
+
- Added `/tutien`, a private, user-invoked xianxia coding-classification game built from Git history and explicitly supplied conversation exports. It provides deterministic vi/en reports, ten cultivation realms, evidence-bound workflow coaching, optional aggregate snapshots, progress comparisons, and opt-in antagonists that challenge workflow patterns rather than the person.
|
|
11
|
+
- Added `/tutien classify` with independent Dao faction, affiliation, and technical-path axes; a cultivation-knowledge taxonomy linked to real kit skills; and seven deterministic, token-independent progression metrics.
|
|
12
|
+
- Added complete Simplified Chinese documentation (`docs/README.zh-CN.md`) alongside English and Vietnamese, with synchronized language navigation and npm package inclusion.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Refined `/tutien` with the cross-model namespace `tutien-coding-cultivation-v1`, calm `serene`/`spirited` narration, plain evidence beneath the lore, and reliable English/Vietnamese stop requests that restore the kit's normal writing style. Legacy `gentle`/`spicy` tone values remain compatible.
|
|
17
|
+
- Centralized skill distribution in `.vibekit/skills/skills-manifest.json`, keeping canonical skills, tool mirrors, installer registries, validator registries, package contents, documentation, and per-profile tests synchronized.
|
|
18
|
+
- Strengthened `/claim` with canonical redirect validation, HTTPS-only remote evidence, private-host and confusable-domain rejection, untrusted-content handling, explicit approval states, separate approval for integration-time execution, and a complete distribution checklist.
|
|
19
|
+
- Strengthened `/tutien` with one fail-closed policy state shared by rendering and persistence, idempotent event progression, boundary-aware path matching, metadata-only classification scope, and explicit authorization handling for legitimate dual-use security work.
|
|
20
|
+
|
|
21
|
+
### Security and privacy
|
|
22
|
+
|
|
23
|
+
- `/tutien` remains offline and read-only during analysis. Raw prompts, secrets, author names, email addresses, and commit subjects do not enter reports or snapshots; stored history uses salted digests and aggregate evidence.
|
|
24
|
+
- Ambiguous, unauthorized, or declared-stop classifications suppress scores, realms, villains, recommendations, and positive progression. The game evaluates workflow evidence—not a person's identity, worth, health, or wellbeing—and stays isolated from unrelated support or companion modes.
|
|
25
|
+
- `/claim` treats fetched pages as untrusted data and never runs remote installers, lifecycle scripts, or source-provided commands during research.
|
|
26
|
+
|
|
27
|
+
### Validation
|
|
28
|
+
|
|
29
|
+
- Expanded `/tutien` coverage to **133 deterministic, offline checks**, including adversarial privacy, token-integrity, policy-state, replay-idempotency, namespace-isolation, natural stop-request, and end-to-end approval-boundary cases.
|
|
30
|
+
- `pack-dry-run.mjs` now parses `npm pack --dry-run --json` and fails with the exact missing path when an on-disk skill file is absent from the package.
|
|
31
|
+
- Synchronized the release version to `0.5.0` in `package.json`, `.codex-plugin/plugin.json`, and both README badges.
|
|
32
|
+
|
|
33
|
+
## 0.4.2 — 2026-07-18
|
|
34
|
+
|
|
35
|
+
- Added a Grok Build (Grok CLI) surface across the kit: `.grok/rules/` (always-on, every `*.md` loaded), `.grok/skills/` (all 13 kit skills, user-invocable as `/<skill-name>`), `.grok/README.md`, and project-scoped `[permission]` deny rules in `.grok/config.toml` mirroring the kit's dangerous-command deny list; `config.example.toml` documents the user-level `~/.grok/config.toml` settings. Added a `grok` install/update profile to `mvck.mjs` (included in `all`) and registered Grok everywhere Claude/Cursor/Codex already were: `validate-kit.mjs`, npm package files, `backbone.yml` `agent_surfaces`, `AGENTS.md`, the AgentShield probe, both READMEs, `INSTALL.md`, `BACKBONE_REFERENCE.md`, `CONTEXT_TEMPLATE.md`, `FIRST_TIME_INIT.md`, and `vibekit-init`.
|
|
36
|
+
- Added `prompt-sharpener` skill (shared + Claude/Cursor/Codex/Grok mirrors), an English rewrite of a collected `sharpen` skill: `/prompt-sharpener <rough prompt>` diagnoses a raw prompt against a defect checklist (vague verbs, mixed tasks, missing success criteria, unbounded scope, missing output format), rebuilds it as a sharper prompt (`Objective` → `Context` → `Work Style` → `Tool Rules` → `Output Contract` → `Verification` → `Done Criteria`), prints it in one code block, then executes it in the same turn.
|
|
37
|
+
- Corrected the dangerous-command guardrails after a cross-tool documentation review. Removed the pipe-spanning `curl *|*sh` / `wget *|*sh` deny rules from `.claude/settings.json` and `.cursor/settings.json` — Claude Code evaluates each piped subcommand independently, so they never matched — in favor of denying bare shell interpreters (`sh`, `bash`, `zsh`, and their `-` stdin forms, which is what `curl ... | sh` actually executes), and fixed the `npx` rules to also cover the common leading `--yes`/`-y` forms.
|
|
38
|
+
- Added each tool's actual documented project-level permission mechanism, since only Claude Code and Cursor's Claude-schema file had one before: `.cursor/cli.json` with `Shell(...)` rules for Cursor CLI (the real mechanism Cursor reads; the Claude-schema `settings.json` is kept only as reference), experimental `.codex/rules/vibekit.rules` execution-policy rules for Codex (`forbidden` decisions with `match`/`not_match` fixtures, active once the project `.codex/` layer is trusted), and the `.grok/config.toml` rules above.
|
|
39
|
+
- `validate-kit` now lints deny lists for pipe-spanning patterns and missing leading `npx --yes`/`-y` coverage, and is profile-aware: per-surface files are required only when that surface is installed (the kit source repo still validates everything), so a `claude`-only or `grok`-only install passes its own validation; `test-install` runs an install+validate cycle for each single profile.
|
|
40
|
+
- `mvck update` treats `.cursor/cli.json` and `.grok/config.toml` as user-owned (seeded once, never overwritten). The AgentShield probe's suspicious-marker scan now skips lines inside permission `deny` arrays, so the kit's own deny rules no longer flag themselves as suspicious; allow/ask blocks are still scanned.
|
|
41
|
+
- Synced version to 0.4.2 in `package.json`, both README badges, and `.codex-plugin/plugin.json`.
|
|
42
|
+
|
|
3
43
|
## 0.4.1 — 2026-07-17
|
|
4
44
|
|
|
5
45
|
- Added a safe-delete guardrail across all three surfaces: new `.claude/rules/safe-delete.md` and `.cursor/rules/040-safe-delete.mdc` (always-on), a `### Safety` bullet in the `AGENTS.md` managed block for Codex, and a trash-first outcome in the `path-sensitive-shell-safety` skill (all mirrors). Agents prefer the recoverable `trash` command over `rm`, check `command -v trash` first, and recommend an install when missing (macOS 14+ built-in; older macOS `brew install trash`; Linux `sudo apt install trash-cli`; any OS with Node `npm i -g trash-cli`). `rm` was already deny-listed for Claude Code and Cursor in the kit settings.
|
package/README.md
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
**Read in:** **English** · [Tiếng Việt](docs/README.vi.md)
|
|
3
|
+
**Read in:** **English** · [Tiếng Việt](docs/README.vi.md) · [简体中文](docs/README.zh-CN.md)
|
|
4
4
|
|
|
5
5
|
# Minimal Vibe Coding Kit
|
|
6
6
|
|
|
7
7
|
[](LICENSE)
|
|
8
8
|
[](https://www.npmjs.com/package/minimal-vibe-coding-kit)
|
|
9
|
-
[](CHANGELOG.md)
|
|
10
10
|

|
|
11
11
|

|
|
12
12
|

|
|
13
|
+

|
|
13
14
|

|
|
14
15
|

|
|
15
16
|
|
|
16
|
-
**One installable AI-coding workflow kit for Claude Code, Cursor, and
|
|
17
|
+
**One installable AI-coding workflow kit for Claude Code, Cursor, Codex, and Grok — any repo, any language.**
|
|
17
18
|
|
|
18
19
|
Install → paste one prompt → approve the proposal → code with guardrails.
|
|
19
20
|
|
|
@@ -23,12 +24,12 @@ Install → paste one prompt → approve the proposal → code with guardrails.
|
|
|
23
24
|
|
|
24
25
|
## What is this?
|
|
25
26
|
|
|
26
|
-
A small kit of shared **rules**, **skills**, and **commands**, plus one **`backbone.yml`** manifest, so Claude Code, Cursor, and
|
|
27
|
+
A small kit of shared **rules**, **skills**, and **commands**, plus one **`backbone.yml`** manifest, so Claude Code, Cursor, Codex, and Grok all understand your project the same way.
|
|
27
28
|
|
|
28
29
|
- Never overwrites your existing `CLAUDE.md` / `AGENTS.md` — it only adds managed blocks.
|
|
29
30
|
- Every setup write waits for your explicit approval.
|
|
30
31
|
- Security review of agent surfaces (AgentShield) is part of the normal workflow.
|
|
31
|
-
- Safe deletes by default:
|
|
32
|
+
- Safe deletes by default: all agents prefer the recoverable `trash` command (init checks it and recommends an install if missing), backed by each tool's documented guardrail config — Claude Code deny rules (`.claude/settings.json`), Cursor CLI permissions (`.cursor/cli.json`), Codex execution-policy rules (`.codex/rules/`, experimental, active once the project is trusted), and Grok project permission rules (`.grok/config.toml`).
|
|
32
33
|
- First-time init asks two setup preferences — use `trash` instead of `rm`, and your default explanation level (0–5, changeable anytime with `/coding-level N`) — and records both in `backbone.yml`.
|
|
33
34
|
|
|
34
35
|
## Quick Start
|
|
@@ -43,7 +44,7 @@ npx --yes minimal-vibe-coding-kit@latest install /path/to/your-project
|
|
|
43
44
|
|
|
44
45
|
Already ran `npm i minimal-vibe-coding-kit`, or prefer GitHub or a local clone? See [Install from npm](#install-from-npm).
|
|
45
46
|
|
|
46
|
-
**2. Open the project in Claude Code, Cursor, or
|
|
47
|
+
**2. Open the project in Claude Code, Cursor, Codex, or Grok and paste:**
|
|
47
48
|
|
|
48
49
|
```text
|
|
49
50
|
Read .vibekit/init/FIRST_TIME_INIT.md and initialize this repo with Minimal Vibe Coding Kit.
|
|
@@ -83,12 +84,12 @@ npx mvck install . # required — copies the kit out of node_modules into
|
|
|
83
84
|
|
|
84
85
|
Either way, the short `mvck` command (alias: `vibe-kit`) is then available via `npx`:
|
|
85
86
|
|
|
86
|
-
| Short command
|
|
87
|
-
|
|
|
88
|
-
| `npx mvck install .`
|
|
89
|
-
| `npx mvck update .`
|
|
90
|
-
| `npx mvck doctor .`
|
|
91
|
-
| `npx mvck validate .` | Structure validation
|
|
87
|
+
| Short command | What it does |
|
|
88
|
+
| --------------------- | ---------------------------------------------------------------- |
|
|
89
|
+
| `npx mvck install .` | Copy the kit into the repo (`--profile`, `--dry-run`, `--force`) |
|
|
90
|
+
| `npx mvck update .` | Refresh kit-owned files after a new kit release |
|
|
91
|
+
| `npx mvck doctor .` | Read-only health check |
|
|
92
|
+
| `npx mvck validate .` | Structure validation |
|
|
92
93
|
|
|
93
94
|
Then continue with **step 2** of the Quick Start (paste the init prompt).
|
|
94
95
|
|
|
@@ -108,6 +109,7 @@ your-project/
|
|
|
108
109
|
├── .cursor/ ← Cursor: rules, commands, skills
|
|
109
110
|
├── .agents/ ← Codex / portable skills
|
|
110
111
|
├── .codex/ .codex-plugin/ ← Codex config example + plugin manifest
|
|
112
|
+
├── .grok/ ← Grok Build: rules, skills, config example
|
|
111
113
|
└── .vibekit/ ← everything kit-owned, in ONE folder
|
|
112
114
|
├── skills/ ← canonical shared skills (mirrored to the harness dirs)
|
|
113
115
|
├── commands/ ← shared command prompts
|
|
@@ -121,7 +123,7 @@ Existing files are never replaced — the kit merges managed blocks (`BEGIN/END:
|
|
|
121
123
|
## How the pieces connect
|
|
122
124
|
|
|
123
125
|
```text
|
|
124
|
-
You (prompt) ──▶ Claude Code / Cursor / Codex
|
|
126
|
+
You (prompt) ──▶ Claude Code / Cursor / Codex / Grok
|
|
125
127
|
│ reads first
|
|
126
128
|
▼
|
|
127
129
|
backbone.yml + AGENTS.md / CLAUDE.md + rules
|
|
@@ -142,41 +144,47 @@ You (prompt) ──▶ Claude Code / Cursor / Codex
|
|
|
142
144
|
|
|
143
145
|
1. **Just code.** Ask for features and fixes normally; the agent follows `backbone.yml` conventions and keeps diffs small.
|
|
144
146
|
2. **Big or vague task?** Start with the `clearthought` or `sequential-thinking` skill to get a plan first.
|
|
145
|
-
3. **
|
|
146
|
-
4. **
|
|
147
|
-
5. **Want
|
|
148
|
-
6. **
|
|
149
|
-
7. **
|
|
147
|
+
3. **Complex task but only a rough prompt?** `/prompt-sharpener <rough prompt>` sharpens it into a precise prompt and executes it in the same turn.
|
|
148
|
+
4. **Found a skill, rule, or tool you want to bring in?** `/claim <request + links>` validates the sources against official docs, checks fit with your repo, asks when unclear, then integrates and documents it.
|
|
149
|
+
5. **Want a quiet reset while reviewing progress?** `/tutien` is a private, wholesome xianxia classification game over Git history + supplied AI-chat exports. It uses a refined mystical voice to reflect on realms, token use, and workflow habits without changing the evidence; `/tutien off` restores the kit's normal writing style.
|
|
150
|
+
6. **Repo-wide question or big review?** Use `parallel-analysis` — it fans out read-only analysis lanes and verifies the merged result.
|
|
151
|
+
7. **Changed `.claude/`, skills, hooks, or installer scripts?** Run `/security-scan` before merging.
|
|
152
|
+
8. **Want measurable improvements?** Run `/autoresearch-coding` with a metric and budget.
|
|
153
|
+
9. **Keep the setup sharp:** `/daily-enhance` proposes improvements — it never applies them silently.
|
|
154
|
+
10. **Onboarding finished for good?** `/vibe-finalize` moves one-time bootstrap files out.
|
|
150
155
|
|
|
151
156
|
## Commands
|
|
152
157
|
|
|
153
|
-
| Command
|
|
154
|
-
|
|
|
155
|
-
| `/init-vibe`
|
|
156
|
-
| `/security-scan`
|
|
157
|
-
| `/daily-enhance`
|
|
158
|
-
| `/autoresearch-coding` | Metric-driven experiment loop with baseline and budget.
|
|
159
|
-
| `/council`
|
|
160
|
-
| `/vibe-finalize`
|
|
158
|
+
| Command | What it does | Example |
|
|
159
|
+
| ---------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------ |
|
|
160
|
+
| `/init-vibe` | First-time init or repair: propose one diff, wait for approval. | `/init-vibe` — then review the diff and answer `yes`. |
|
|
161
|
+
| `/security-scan` | Read-only AgentShield probe + optional scanner over agent surfaces. | `/security-scan` before merging changes to `.claude/**` or skills. |
|
|
162
|
+
| `/daily-enhance` | Propose-only report to improve rules, skills, and workflows. | `/daily-enhance` — review the proposed diff, then approve. |
|
|
163
|
+
| `/autoresearch-coding` | Metric-driven experiment loop with baseline and budget. | `/autoresearch-coding` Goal: fewer lint errors. Budget: 3. |
|
|
164
|
+
| `/council` | Coordinates reviewer/researcher/analyst agents into one merged plan. | `/council` on this branch diff. |
|
|
165
|
+
| `/vibe-finalize` | Graduate the project: move one-time bootstrap files to `_vibekit-cleanup/`. | `/vibe-finalize` — preview first, apply after approval. |
|
|
161
166
|
|
|
162
167
|
## Skills
|
|
163
168
|
|
|
164
|
-
All
|
|
165
|
-
|
|
166
|
-
| Skill
|
|
167
|
-
|
|
|
168
|
-
| `vibekit-init`
|
|
169
|
-
| `parallel-analysis`
|
|
170
|
-
| `agentshield-security-review` | Auditing agent config, skills, hooks, MCP, commands before merge.
|
|
171
|
-
| `autoresearch-coding`
|
|
172
|
-
| `daily-workflow-curator`
|
|
173
|
-
| `path-sensitive-shell-safety` | Before editing shell/installer/deploy logic with path variables or `rm`/`mv`/`rsync`.
|
|
174
|
-
| `visual-design-loop`
|
|
175
|
-
| `clearthought`
|
|
176
|
-
| `sequential-thinking`
|
|
177
|
-
| `reviewing-4p-priorities`
|
|
178
|
-
| `memento`
|
|
179
|
-
| `coding-level`
|
|
169
|
+
All 15 skills live canonically in `.vibekit/skills/`. Claude, Codex, and Grok mirror all 15; Cursor mirrors the 10 interactive ones. Invoke them by name ("Use the X skill…") or via the commands above.
|
|
170
|
+
|
|
171
|
+
| Skill | Use it when | Example prompt |
|
|
172
|
+
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
|
173
|
+
| `vibekit-init` | First-time setup, or `backbone.yml` / managed blocks need repair. | "Use the vibekit-init skill. Propose one diff and wait for my yes." |
|
|
174
|
+
| `parallel-analysis` | Repo-wide questions, large diff reviews, consistency audits. | "Use parallel-analysis: where is auth handled and what depends on it?" |
|
|
175
|
+
| `agentshield-security-review` | Auditing agent config, skills, hooks, MCP, commands before merge. | "Use agentshield-security-review on .claude/** and .vibekit/skills/**." |
|
|
176
|
+
| `autoresearch-coding` | Improving the repo through measured experiments. | "Use autoresearch-coding. Metric: `npm test`. Direction: higher. Budget: 3." |
|
|
177
|
+
| `daily-workflow-curator` | Periodic tune-up of rules, skills, and workflows (propose-only). | "Use daily-workflow-curator and propose today's improvements." |
|
|
178
|
+
| `path-sensitive-shell-safety` | Before editing shell/installer/deploy logic with path variables or `rm`/`mv`/`rsync`. | "Use path-sensitive-shell-safety before changing this cleanup script." |
|
|
179
|
+
| `visual-design-loop` | UI polish: render → screenshot → review → fix, in a loop. | "Use visual-design-loop on /dashboard. Budget 3 loops." |
|
|
180
|
+
| `clearthought` | Ambiguous requirements, design tradeoffs, risky decisions. | "Use clearthought. Operation: implementation_plan. Split this feature into safe tasks." |
|
|
181
|
+
| `sequential-thinking` | Step-by-step decomposition of complex work. | "Use sequential-thinking. Break this refactor into ordered steps with tests." |
|
|
182
|
+
| `reviewing-4p-priorities` | Triaging bugs/findings into P0–P4 fix order. | "Use reviewing-4p-priorities. Classify these findings and give a fix sequence." |
|
|
183
|
+
| `memento` | Multi-day tasks: save context before stopping, resume next session. | "/memento — write MEMENTO.md with Goal, Done, Stuck, Next." |
|
|
184
|
+
| `coding-level` | Setting how detailed explanations should be (0 = ELI5 … 5 = expert). | "/coding-level 2" |
|
|
185
|
+
| `prompt-sharpener` | A complex task but only a rough prompt: sharpen it, then execute it in the same turn. | "/prompt-sharpener make the settings page load faster" |
|
|
186
|
+
| `claim` | Bringing something new into the repo (skill, rule, convention, tool): vet sources against official docs, fit-check, confirm, integrate, document. | "/claim add the conventional-commits rule from https://www.npmjs.com/package/minimal-vibe-coding-kit" |
|
|
187
|
+
| `tutien` | A private, stress-relieving xianxia classification game for coding progress: refined mystical prose around exact Git/chat evidence, isolated from unrelated conversational modes. User-invoked; `/tutien off` restores normal kit prose. | "/tutien preview sources=git,/path/to/export.jsonl" |
|
|
180
188
|
|
|
181
189
|
## Advanced
|
|
182
190
|
|
|
@@ -188,6 +196,7 @@ Install only the surfaces you use (default is `all`):
|
|
|
188
196
|
npx --yes minimal-vibe-coding-kit@latest install . --profile claude # Claude Code only
|
|
189
197
|
npx --yes minimal-vibe-coding-kit@latest install . --profile claude,cursor # Claude + Cursor
|
|
190
198
|
npx --yes minimal-vibe-coding-kit@latest install . --profile codex # Codex / AGENTS.md agents
|
|
199
|
+
npx --yes minimal-vibe-coding-kit@latest install . --profile grok # Grok Build CLI
|
|
191
200
|
```
|
|
192
201
|
|
|
193
202
|
Flags: `--force` (overwrite existing kit files), `--dry-run` (preview), `--json` (machine-readable plan).
|
|
@@ -243,14 +252,14 @@ Publishing checklist: [.vibekit/init/PUSH_TO_GITHUB.md](.vibekit/init/PUSH_TO_GI
|
|
|
243
252
|
<details>
|
|
244
253
|
<summary><strong>Troubleshooting</strong></summary>
|
|
245
254
|
|
|
246
|
-
| Symptom
|
|
247
|
-
|
|
|
248
|
-
| Agent ignores the init flow
|
|
249
|
-
| Agent re-asks to init every session | Run init and approve; confirm `meta.template_status: initialized` in `backbone.yml`.
|
|
250
|
-
| Wrong stack detected
|
|
251
|
-
| Agent touches a path it shouldn't
|
|
252
|
-
| AgentShield probe warning
|
|
253
|
-
| Scripts missing after install
|
|
255
|
+
| Symptom | Fix |
|
|
256
|
+
| ----------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
|
|
257
|
+
| Agent ignores the init flow | Re-run the installer, or copy [.vibekit/init/CLAUDE-template.md](.vibekit/init/CLAUDE-template.md) to `CLAUDE.md`. |
|
|
258
|
+
| Agent re-asks to init every session | Run init and approve; confirm `meta.template_status: initialized` in `backbone.yml`. |
|
|
259
|
+
| Wrong stack detected | Remove stale lockfiles, or edit `backbone.yml` directly. |
|
|
260
|
+
| Agent touches a path it shouldn't | Add the path to `policy.protected_paths` in `backbone.yml` (globs supported). |
|
|
261
|
+
| AgentShield probe warning | Install Python 3, or ignore — it is a warning, not a failure. |
|
|
262
|
+
| Scripts missing after install | Re-run install with `--force`, or copy `.vibekit/scripts/` manually. |
|
|
254
263
|
|
|
255
264
|
</details>
|
|
256
265
|
|
|
@@ -265,4 +274,4 @@ Issues and PRs welcome at [`giang6283623/minimal-vibe-coding-kit`](https://githu
|
|
|
265
274
|
|
|
266
275
|
MIT. See [LICENSE](LICENSE).
|
|
267
276
|
|
|
268
|
-
> 🇻🇳
|
|
277
|
+
> 🇻🇳 _If you love Vietnam and its people, you are fully free to use everything in here at no cost._
|
package/backbone.yml
CHANGED
|
@@ -10,7 +10,7 @@ meta:
|
|
|
10
10
|
|
|
11
11
|
project:
|
|
12
12
|
name: minimal-vibe-coding-kit
|
|
13
|
-
description: "Project-agnostic AI coding workflow kit for Claude Code, Cursor, and
|
|
13
|
+
description: "Project-agnostic AI coding workflow kit for Claude Code, Cursor, Codex, and Grok with AgentShield security review."
|
|
14
14
|
type: single-repo
|
|
15
15
|
primary_language: js
|
|
16
16
|
package_manager: npm
|
|
@@ -83,6 +83,7 @@ agent_surfaces:
|
|
|
83
83
|
cursor: .cursor/
|
|
84
84
|
codex: .agents/
|
|
85
85
|
codex_plugin: .codex-plugin/plugin.json
|
|
86
|
+
grok: .grok/
|
|
86
87
|
shared_skills: .vibekit/skills/
|
|
87
88
|
shared_commands: .vibekit/commands/
|
|
88
89
|
|
package/docs/README.vi.md
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
|
-
**Đọc bằng:** [English](../README.md) · **Tiếng Việt**
|
|
3
|
+
**Đọc bằng:** [English](../README.md) · **Tiếng Việt** · [简体中文](README.zh-CN.md)
|
|
4
4
|
|
|
5
5
|
# Minimal Vibe Coding Kit
|
|
6
6
|
|
|
7
7
|
[](../LICENSE)
|
|
8
8
|
[](https://www.npmjs.com/package/minimal-vibe-coding-kit)
|
|
9
|
-
[](../CHANGELOG.md)
|
|
10
10
|

|
|
11
11
|

|
|
12
12
|

|
|
13
|
+

|
|
13
14
|

|
|
14
15
|

|
|
15
16
|
|
|
16
|
-
**Một bộ kit AI-coding cài một lần cho Claude Code, Cursor và
|
|
17
|
+
**Một bộ kit AI-coding cài một lần cho Claude Code, Cursor, Codex và Grok — mọi repo, mọi ngôn ngữ.**
|
|
17
18
|
|
|
18
19
|
Cài đặt → dán một prompt → duyệt đề xuất → code với guardrails.
|
|
19
20
|
|
|
@@ -23,12 +24,12 @@ Cài đặt → dán một prompt → duyệt đề xuất → code với guardr
|
|
|
23
24
|
|
|
24
25
|
## Bộ kit này là gì?
|
|
25
26
|
|
|
26
|
-
Một bộ kit nhỏ gồm **rules**, **skills**, **commands** dùng chung, cộng một manifest **`backbone.yml`**, giúp Claude Code, Cursor và
|
|
27
|
+
Một bộ kit nhỏ gồm **rules**, **skills**, **commands** dùng chung, cộng một manifest **`backbone.yml`**, giúp Claude Code, Cursor, Codex và Grok hiểu project của bạn theo cùng một cách.
|
|
27
28
|
|
|
28
29
|
- Không bao giờ ghi đè `CLAUDE.md` / `AGENTS.md` sẵn có — chỉ thêm managed block.
|
|
29
30
|
- Mọi thao tác ghi khi setup đều chờ bạn duyệt.
|
|
30
31
|
- Rà soát bảo mật bề mặt agent (AgentShield) là một phần của workflow bình thường.
|
|
31
|
-
- Xóa an toàn mặc định:
|
|
32
|
+
- Xóa an toàn mặc định: mọi agent ưu tiên lệnh `trash` (khôi phục được; init sẽ kiểm tra và gợi ý cách cài nếu thiếu), kèm guardrail config đúng chuẩn từng tool — deny rules cho Claude Code (`.claude/settings.json`), CLI permissions cho Cursor (`.cursor/cli.json`), execution-policy rules cho Codex (`.codex/rules/`, experimental, chỉ chạy khi project được trust), và permission rules cấp project cho Grok (`.grok/config.toml`).
|
|
32
33
|
- Init lần đầu hỏi hai tùy chọn — dùng `trash` thay `rm`, và mức giải thích mặc định (0–5, đổi bất cứ lúc nào với `/coding-level N`) — rồi lưu cả hai vào `backbone.yml`.
|
|
33
34
|
|
|
34
35
|
## Bắt đầu nhanh
|
|
@@ -43,7 +44,7 @@ npx --yes minimal-vibe-coding-kit@latest install /path/to/your-project
|
|
|
43
44
|
|
|
44
45
|
Đã chạy `npm i minimal-vibe-coding-kit`, hoặc muốn cài từ GitHub / bản clone? Xem [Cài từ npm](#cài-từ-npm).
|
|
45
46
|
|
|
46
|
-
**2. Mở project trong Claude Code, Cursor hoặc
|
|
47
|
+
**2. Mở project trong Claude Code, Cursor, Codex hoặc Grok và dán:**
|
|
47
48
|
|
|
48
49
|
```text
|
|
49
50
|
Read .vibekit/init/FIRST_TIME_INIT.md and initialize this repo with Minimal Vibe Coding Kit.
|
|
@@ -83,12 +84,12 @@ npx mvck install . # bắt buộc — copy kit từ node_modules ra repo
|
|
|
83
84
|
|
|
84
85
|
Sau đó, lệnh ngắn `mvck` (alias: `vibe-kit`) dùng được qua `npx`:
|
|
85
86
|
|
|
86
|
-
| Lệnh ngắn
|
|
87
|
-
|
|
|
88
|
-
| `npx mvck install .`
|
|
89
|
-
| `npx mvck update .`
|
|
90
|
-
| `npx mvck doctor .`
|
|
91
|
-
| `npx mvck validate .` | Validate cấu trúc
|
|
87
|
+
| Lệnh ngắn | Chức năng |
|
|
88
|
+
| --------------------- | ------------------------------------------------------- |
|
|
89
|
+
| `npx mvck install .` | Copy kit vào repo (`--profile`, `--dry-run`, `--force`) |
|
|
90
|
+
| `npx mvck update .` | Làm mới file thuộc kit khi có bản phát hành mới |
|
|
91
|
+
| `npx mvck doctor .` | Health check chỉ-đọc |
|
|
92
|
+
| `npx mvck validate .` | Validate cấu trúc |
|
|
92
93
|
|
|
93
94
|
Rồi tiếp tục **bước 2** của Bắt đầu nhanh (dán prompt init).
|
|
94
95
|
|
|
@@ -108,6 +109,7 @@ your-project/
|
|
|
108
109
|
├── .cursor/ ← Cursor: rules, commands, skills
|
|
109
110
|
├── .agents/ ← skills cho Codex / portable
|
|
110
111
|
├── .codex/ .codex-plugin/ ← config mẫu Codex + plugin manifest
|
|
112
|
+
├── .grok/ ← Grok Build: rules, skills, config mẫu
|
|
111
113
|
└── .vibekit/ ← mọi thứ thuộc kit, trong MỘT thư mục
|
|
112
114
|
├── skills/ ← shared skills canonical (mirror sang các harness)
|
|
113
115
|
├── commands/ ← prompt command dùng chung
|
|
@@ -121,7 +123,7 @@ File sẵn có không bao giờ bị thay thế — kit chỉ merge managed bloc
|
|
|
121
123
|
## Các mảnh ghép kết nối thế nào
|
|
122
124
|
|
|
123
125
|
```text
|
|
124
|
-
Bạn (prompt) ──▶ Claude Code / Cursor / Codex
|
|
126
|
+
Bạn (prompt) ──▶ Claude Code / Cursor / Codex / Grok
|
|
125
127
|
│ đọc đầu tiên
|
|
126
128
|
▼
|
|
127
129
|
backbone.yml + AGENTS.md / CLAUDE.md + rules
|
|
@@ -142,41 +144,47 @@ Bạn (prompt) ──▶ Claude Code / Cursor / Codex
|
|
|
142
144
|
|
|
143
145
|
1. **Cứ code bình thường.** Yêu cầu feature/fix như thường lệ; agent theo quy ước trong `backbone.yml` và giữ diff nhỏ.
|
|
144
146
|
2. **Task lớn hoặc mơ hồ?** Bắt đầu với skill `clearthought` hoặc `sequential-thinking` để có kế hoạch trước.
|
|
145
|
-
3. **
|
|
146
|
-
4.
|
|
147
|
-
5. **Muốn
|
|
148
|
-
6. **
|
|
149
|
-
7.
|
|
147
|
+
3. **Task phức tạp nhưng prompt mù mờ?** `/prompt-sharpener <prompt mù mờ>` cải thiện prompt thành bản rõ ràng rồi thực thi ngay trong cùng lượt.
|
|
148
|
+
4. **Muốn đưa skill, rule, hoặc tool mới vào repo?** `/claim <yêu cầu + link>` kiểm chứng nguồn với tài liệu chính thức, kiểm tra độ khớp với repo, hỏi lại khi chưa rõ, rồi tích hợp và ghi tài liệu.
|
|
149
|
+
5. **Muốn thả lỏng một chút khi nhìn lại tiến độ?** `/tutien` là trò chơi phân loại tu tiên lành mạnh, riêng tư dựa trên lịch sử Git + file export chat AI. Giọng văn huyền nhã bao quanh số liệu thật về cảnh giới, token và thói quen làm việc; `/tutien off` khôi phục văn phong bình thường của kit.
|
|
150
|
+
6. **Câu hỏi toàn repo hoặc review lớn?** Dùng `parallel-analysis` — chia các lane phân tích chỉ-đọc chạy song song rồi xác minh kết quả gộp.
|
|
151
|
+
7. **Đã sửa `.claude/`, skills, hooks, hoặc script installer?** Chạy `/security-scan` trước khi merge.
|
|
152
|
+
8. **Muốn cải tiến đo được?** Chạy `/autoresearch-coding` với metric và budget.
|
|
153
|
+
9. **Giữ setup luôn sắc bén:** `/daily-enhance` đề xuất cải tiến — không bao giờ tự áp dụng.
|
|
154
|
+
10. **Onboarding xong hẳn?** `/vibe-finalize` dọn các file bootstrap một lần.
|
|
150
155
|
|
|
151
156
|
## Commands
|
|
152
157
|
|
|
153
|
-
| Command
|
|
154
|
-
|
|
|
155
|
-
| `/init-vibe`
|
|
156
|
-
| `/security-scan`
|
|
157
|
-
| `/daily-enhance`
|
|
158
|
-
| `/autoresearch-coding` | Vòng lặp thử nghiệm theo metric với baseline và budget.
|
|
159
|
-
| `/council`
|
|
160
|
-
| `/vibe-finalize`
|
|
158
|
+
| Command | Chức năng | Ví dụ |
|
|
159
|
+
| ---------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------- |
|
|
160
|
+
| `/init-vibe` | Init lần đầu hoặc sửa chữa: đề xuất một diff, chờ duyệt. | `/init-vibe` — review diff rồi trả lời `yes`. |
|
|
161
|
+
| `/security-scan` | AgentShield probe chỉ-đọc + scanner tùy chọn cho bề mặt agent. | `/security-scan` trước khi merge thay đổi `.claude/**` hoặc skills. |
|
|
162
|
+
| `/daily-enhance` | Báo cáo chỉ-đề-xuất để cải tiến rules, skills, workflows. | `/daily-enhance` — review diff đề xuất rồi duyệt. |
|
|
163
|
+
| `/autoresearch-coding` | Vòng lặp thử nghiệm theo metric với baseline và budget. | `/autoresearch-coding` Goal: giảm lỗi lint. Budget: 3. |
|
|
164
|
+
| `/council` | Phối hợp các agent reviewer/researcher/analyst thành một kế hoạch gộp. | `/council` trên diff của branch này. |
|
|
165
|
+
| `/vibe-finalize` | Tốt nghiệp project: chuyển file bootstrap một lần vào `_vibekit-cleanup/`. | `/vibe-finalize` — xem trước, áp dụng sau khi duyệt. |
|
|
161
166
|
|
|
162
167
|
## Skills
|
|
163
168
|
|
|
164
|
-
Cả
|
|
165
|
-
|
|
166
|
-
| Skill
|
|
167
|
-
|
|
|
168
|
-
| `vibekit-init`
|
|
169
|
-
| `parallel-analysis`
|
|
170
|
-
| `agentshield-security-review` | Audit config agent, skills, hooks, MCP, commands trước khi merge.
|
|
171
|
-
| `autoresearch-coding`
|
|
172
|
-
| `daily-workflow-curator`
|
|
173
|
-
| `path-sensitive-shell-safety` | Trước khi sửa logic shell/installer/deploy có biến path hoặc `rm`/`mv`/`rsync`.
|
|
174
|
-
| `visual-design-loop`
|
|
175
|
-
| `clearthought`
|
|
176
|
-
| `sequential-thinking`
|
|
177
|
-
| `reviewing-4p-priorities`
|
|
178
|
-
| `memento`
|
|
179
|
-
| `coding-level`
|
|
169
|
+
Cả 15 skill nằm canonical trong `.vibekit/skills/`. Claude, Codex và Grok mirror đủ 15; Cursor mirror 10 skill tương tác. Gọi bằng tên ("Use the X skill…") hoặc qua các command ở trên.
|
|
170
|
+
|
|
171
|
+
| Skill | Dùng khi | Prompt ví dụ |
|
|
172
|
+
| ----------------------------- | ------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
|
|
173
|
+
| `vibekit-init` | Setup lần đầu, hoặc `backbone.yml` / managed blocks cần sửa. | "Use the vibekit-init skill. Propose one diff and wait for my yes." |
|
|
174
|
+
| `parallel-analysis` | Câu hỏi toàn repo, review diff lớn, audit tính nhất quán. | "Use parallel-analysis: where is auth handled and what depends on it?" |
|
|
175
|
+
| `agentshield-security-review` | Audit config agent, skills, hooks, MCP, commands trước khi merge. | "Use agentshield-security-review on .claude/** and .vibekit/skills/**." |
|
|
176
|
+
| `autoresearch-coding` | Cải tiến repo qua các thử nghiệm đo được. | "Use autoresearch-coding. Metric: `npm test`. Direction: higher. Budget: 3." |
|
|
177
|
+
| `daily-workflow-curator` | Tune-up định kỳ cho rules, skills, workflows (chỉ đề xuất). | "Use daily-workflow-curator and propose today's improvements." |
|
|
178
|
+
| `path-sensitive-shell-safety` | Trước khi sửa logic shell/installer/deploy có biến path hoặc `rm`/`mv`/`rsync`. | "Use path-sensitive-shell-safety before changing this cleanup script." |
|
|
179
|
+
| `visual-design-loop` | Polish UI: render → screenshot → review → fix, theo vòng lặp. | "Use visual-design-loop on /dashboard. Budget 3 loops." |
|
|
180
|
+
| `clearthought` | Yêu cầu mơ hồ, tradeoff thiết kế, quyết định rủi ro. | "Use clearthought. Operation: implementation_plan. Split this feature into safe tasks." |
|
|
181
|
+
| `sequential-thinking` | Chia nhỏ công việc phức tạp theo từng bước. | "Use sequential-thinking. Break this refactor into ordered steps with tests." |
|
|
182
|
+
| `reviewing-4p-priorities` | Triage bug/finding theo thứ tự fix P0–P4. | "Use reviewing-4p-priorities. Classify these findings and give a fix sequence." |
|
|
183
|
+
| `memento` | Task nhiều ngày: lưu ngữ cảnh trước khi dừng, resume phiên sau. | "/memento — write MEMENTO.md with Goal, Done, Stuck, Next." |
|
|
184
|
+
| `coding-level` | Chỉnh độ chi tiết khi giải thích (0 = ELI5 … 5 = chuyên gia). | "/coding-level 2" |
|
|
185
|
+
| `prompt-sharpener` | Task phức tạp nhưng prompt mù mờ: cải thiện prompt rồi thực thi ngay trong cùng lượt. | "/prompt-sharpener make the settings page load faster" |
|
|
186
|
+
| `claim` | Đưa thứ mới vào repo (skill, rule, quy ước, tool): kiểm chứng nguồn chính thức, kiểm tra độ khớp, xác nhận, tích hợp, ghi tài liệu. | "/claim add the conventional-commits rule from https://www.conventionalcommits.org" |
|
|
187
|
+
| `tutien` | Trò chơi phân loại tu tiên riêng tư, giúp thư giãn khi nhìn lại tiến độ code; văn phong huyền nhã bao quanh bằng chứng Git/chat chính xác và tách biệt với các chế độ hội thoại khác. User-invoked; `/tutien off` khôi phục văn phong bình thường. | "/tutien preview sources=git,/path/to/export.jsonl" |
|
|
180
188
|
|
|
181
189
|
## Nâng cao
|
|
182
190
|
|
|
@@ -188,6 +196,7 @@ Chỉ cài các bề mặt bạn dùng (mặc định là `all`):
|
|
|
188
196
|
npx --yes minimal-vibe-coding-kit@latest install . --profile claude # chỉ Claude Code
|
|
189
197
|
npx --yes minimal-vibe-coding-kit@latest install . --profile claude,cursor # Claude + Cursor
|
|
190
198
|
npx --yes minimal-vibe-coding-kit@latest install . --profile codex # Codex / agent dùng AGENTS.md
|
|
199
|
+
npx --yes minimal-vibe-coding-kit@latest install . --profile grok # Grok Build CLI
|
|
191
200
|
```
|
|
192
201
|
|
|
193
202
|
Cờ: `--force` (ghi đè file kit sẵn có), `--dry-run` (xem trước), `--json` (kế hoạch dạng máy đọc).
|
|
@@ -221,7 +230,7 @@ node .vibekit/scripts/agentshield-probe.mjs . # probe c
|
|
|
221
230
|
npx ecc-agentshield scan --path . --format text --min-severity medium # scan đầy đủ, tùy chọn
|
|
222
231
|
```
|
|
223
232
|
|
|
224
|
-
Mọi thay đổi tới `CLAUDE.md`, `AGENTS.md`, `.claude/**`, `.cursor/**`, `.agents/**`, `.codex-plugin/**`, hoặc `.vibekit/skills|commands|scripts/**` đều nên kích hoạt review. Mô hình: [.vibekit/docs/SECURITY_MODEL.md](../.vibekit/docs/SECURITY_MODEL.md).
|
|
233
|
+
Mọi thay đổi tới `CLAUDE.md`, `AGENTS.md`, `.claude/**`, `.cursor/**`, `.agents/**`, `.grok/**`, `.codex-plugin/**`, hoặc `.vibekit/skills|commands|scripts/**` đều nên kích hoạt review. Mô hình: [.vibekit/docs/SECURITY_MODEL.md](../.vibekit/docs/SECURITY_MODEL.md).
|
|
225
234
|
|
|
226
235
|
### Doctor và báo cáo
|
|
227
236
|
|
|
@@ -243,14 +252,14 @@ Checklist publish: [.vibekit/init/PUSH_TO_GITHUB.md](../.vibekit/init/PUSH_TO_GI
|
|
|
243
252
|
<details>
|
|
244
253
|
<summary><strong>Khắc phục sự cố</strong></summary>
|
|
245
254
|
|
|
246
|
-
| Triệu chứng
|
|
247
|
-
|
|
|
248
|
-
| Agent bỏ qua luồng init
|
|
249
|
-
| Agent hỏi init lại mỗi phiên | Chạy init và duyệt; xác nhận `meta.template_status: initialized` trong `backbone.yml`.
|
|
250
|
-
| Dò sai stack
|
|
251
|
-
| Agent chạm path không nên
|
|
252
|
-
| AgentShield probe cảnh báo
|
|
253
|
-
| Thiếu script sau khi cài
|
|
255
|
+
| Triệu chứng | Cách xử lý |
|
|
256
|
+
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
|
257
|
+
| Agent bỏ qua luồng init | Chạy lại installer, hoặc copy [.vibekit/init/CLAUDE-template.md](../.vibekit/init/CLAUDE-template.md) thành `CLAUDE.md`. |
|
|
258
|
+
| Agent hỏi init lại mỗi phiên | Chạy init và duyệt; xác nhận `meta.template_status: initialized` trong `backbone.yml`. |
|
|
259
|
+
| Dò sai stack | Xóa lockfile cũ, hoặc sửa `backbone.yml` trực tiếp. |
|
|
260
|
+
| Agent chạm path không nên | Thêm path vào `policy.protected_paths` trong `backbone.yml` (hỗ trợ glob). |
|
|
261
|
+
| AgentShield probe cảnh báo | Cài Python 3, hoặc bỏ qua — là warning, không phải failure. |
|
|
262
|
+
| Thiếu script sau khi cài | Chạy lại install với `--force`, hoặc copy thủ công `.vibekit/scripts/`. |
|
|
254
263
|
|
|
255
264
|
</details>
|
|
256
265
|
|
|
@@ -265,4 +274,4 @@ Issue và PR luôn welcome tại [`giang6283623/minimal-vibe-coding-kit`](https:
|
|
|
265
274
|
|
|
266
275
|
MIT. Xem [LICENSE](../LICENSE).
|
|
267
276
|
|
|
268
|
-
> 🇻🇳
|
|
277
|
+
> 🇻🇳 _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._
|