vibekit
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseVibeKit — Ticket-Driven Development
VibeKit — 工单驱动开发
VibeKit is a CLI for managing development tickets and AI-assisted workflows. This skill teaches agents how to use vibekit properly — create tickets before coding, work through them systematically, and keep tickets as living documentation.
VibeKit是一款用于管理开发工单和AI辅助工作流的CLI工具。本技能将指导Agent如何正确使用vibekit——编码前先创建工单,系统性地推进工单任务,同时将工单作为活的文档进行维护。
🔴 MANDATORY RULE: Always Create a Ticket First
🔴 强制规则:始终优先创建工单
Before writing ANY code on a repo that has a directory, you MUST create a vibekit ticket. No exceptions for features, bug fixes, refactors, or multi-step tasks.
.vibe/This is not a suggestion — it's the core workflow. If the user asks you to "add X", "fix Y", or "build Z", your first action should be:
bash
vibe new "descriptive title" --assignee <your-username> --priority <level> -nThen read the ticket, plan the work, and before touching any code.
vibe start TKT-XXXOnly skip the ticket for truly trivial changes: typo fixes, single-line config tweaks, or answering a quick question.
在带有目录的代码仓库中编写任何代码之前,你必须先创建vibekit工单。 无论是功能开发、bug修复、重构还是多步骤任务,都没有例外。
.vibe/这不是建议——而是核心工作流。如果用户要求你“添加X功能”、“修复Y问题”或“搭建Z模块”,你的第一步操作应该是:
bash
vibe new "descriptive title" --assignee <your-username> --priority <level> -n随后阅读工单内容,规划工作,在改动任何代码之前执行启动任务。
vibe start TKT-XXX仅当改动确实非常琐碎时可以跳过创建工单:比如错别字修复、单行配置调整,或者回答简单问题。
Why This Matters
为什么这很重要
Tickets break work into scoped, focused chunks that reduce AI drift and create documentation as a side effect. They also give humans a clear trail of what was done and why — critical for collaboration between humans and agents.
bash
undefined工单将工作拆解为范围明确、聚焦的任务块,既可以减少AI偏移,还能顺带生成文档。同时工单也能让人类清晰追溯做了什么、为什么这么做——这对人类和Agent之间的协作至关重要。
bash
undefined1. Create a ticket
1. Create a ticket
vibe new "Add user authentication" --assignee <username> --priority high -n
vibe new "Add user authentication" --assignee <username> --priority high -n
2. Start working (creates git branch feature/TKT-XXX-slug)
2. Start working (creates git branch feature/TKT-XXX-slug)
vibe start TKT-001
vibe start TKT-001
3. Implement the work, commit with ticket reference
3. Implement the work, commit with ticket reference
git commit -m "TKT-001: add login endpoint"
git commit -m "TKT-001: add login endpoint"
4. Close when done
4. Close when done
vibe close TKT-001
undefinedvibe close TKT-001
undefinedInstallation
安装
bash
npm install -g @vibedx/vibekitThen in any project:
bash
vibe init # Creates .vibe/ directory with config, team, templatesbash
npm install -g @vibedx/vibekit随后在任意项目中执行:
bash
vibe init # Creates .vibe/ directory with config, team, templatesCore Commands
核心命令
| Command | Purpose |
|---|---|
| Initialize vibekit in a project |
| Create a ticket |
| List all tickets |
| Start work (creates git branch) |
| Mark ticket done |
| Validate ticket format |
| Auto-fix missing sections |
| AI-enhance ticket details |
| Manage team members |
| Command | 用途 |
|---|---|
| 在项目中初始化 vibekit |
| 创建工单 |
| 列出所有工单 |
| 开始处理工单(自动创建git分支) |
| 标记工单已完成 |
| 校验工单格式 |
| 自动补全缺失的工单部分 |
| 用AI增强工单详情 |
| 管理团队成员 |
Creating Tickets (for AI agents)
为AI Agent创建工单
Always use / when creating tickets programmatically. This skips the AI enhancement prompt which would otherwise block automation.
-n--no-interactivebash
vibe new "Fix login redirect loop" --assignee alice --priority high -n
vibe new "Add dark mode" --assignee bob --author alice -n以程序化方式创建工单时,请始终使用 / 参数。 这会跳过AI增强提示,避免阻塞自动化流程。
-n--no-interactivebash
vibe new "Fix login redirect loop" --assignee alice --priority high -n
vibe new "Add dark mode" --assignee bob --author alice -nUseful flags
常用参数
- (default: medium)
--priority low|medium|high|critical - (default: open)
--status open|in_progress|review|done - — who works on it
--assignee <username> - — who created it
--author <username> - /
-n— skip AI enhancement prompt--no-interactive
- (默认值:medium)
--priority low|medium|high|critical - (默认值:open)
--status open|in_progress|review|done - — 工单处理人
--assignee <username> - — 工单创建人
--author <username> - /
-n— 跳过AI增强提示--no-interactive
Ticket Structure
工单结构
Tickets live in as markdown files with YAML frontmatter:
.vibe/tickets/markdown
---
id: TKT-001
title: Add user authentication
slug: TKT-001-add-user-authentication
status: open
priority: high
assignee: "alice"
author: "bob"
created_at: 2026-04-11T10:00:00Z
updated_at: 2026-04-11T10:00:00Z
---工单以带有YAML frontmatter的markdown文件形式存放在目录下:
.vibe/tickets/markdown
---
id: TKT-001
title: Add user authentication
slug: TKT-001-add-user-authentication
status: open
priority: high
assignee: "alice"
author: "bob"
created_at: 2026-04-11T10:00:00Z
updated_at: 2026-04-11T10:00:00Z
---Description
Description
What needs to be done and why.
What needs to be done and why.
Acceptance Criteria
Acceptance Criteria
- Concrete checkbox 1
- Concrete checkbox 2
- Concrete checkbox 1
- Concrete checkbox 2
Implementation Notes
Implementation Notes
Technical details, file paths, API references.
Technical details, file paths, API references.
Testing & Test Cases
Testing & Test Cases
Brief test scenarios.
undefinedBrief test scenarios.
undefinedFiltering Tickets
筛选工单
bash
vibe list # All tickets
vibe list --status=open # Only open
vibe list --assignee=alice # Only alice's ticketsbash
vibe list # All tickets
vibe list --status=open # Only open
vibe list --assignee=alice # Only alice's ticketsTeam Management
团队管理
Teams are stored in . Assignee values in tickets should match team member IDs.
.vibe/team.ymlbash
vibe team add alice --name "Alice" --github alice --slack U0ABC123 --role Engineer
vibe team # List members
vibe team show alice # Show one member团队信息存储在中,工单中的处理人值需要和团队成员ID匹配。
.vibe/team.ymlbash
vibe team add alice --name "Alice" --github alice --slack U0ABC123 --role Engineer
vibe team # List members
vibe team show alice # Show one memberWhen to Use This Skill
何时使用本技能
Apply vibekit workflow when:
- User asks to "add a feature", "fix a bug", "implement X", "build Y"
- Task is non-trivial (more than a one-line fix)
- Work touches multiple files or requires planning
- User mentions , tickets, tracking, or task management
vibe - Working in a project that has a directory
.vibe/
Don't force tickets for trivial changes — typo fixes, config tweaks, or single-line edits can skip the ticket workflow.
出现以下情况时可应用vibekit工作流:
- 用户要求“添加功能”、“修复bug”、“实现X需求”、“搭建Y模块”
- 任务非琐碎(不止是单行修复)
- 工作涉及多个文件改动或需要提前规划
- 用户提到、工单、跟踪、任务管理相关内容
vibe - 在带有目录的项目中工作
.vibe/
不要对琐碎改动强制要求创建工单——错别字修复、配置调整、单行编辑可以跳过工单工作流。
Integration with Git
与Git集成
vibe start TKT-001- Creates branch (or configured prefix)
feature/TKT-001-<slug> - Updates ticket status to
in_progress - Switches to the new branch
vibe close TKT-001- Updates ticket status to
done - Leaves the branch for manual merge/PR
vibe start TKT-001- 创建分支(或配置的前缀)
feature/TKT-001-<slug> - 将工单状态更新为
in_progress - 切换到新分支
vibe close TKT-001- 将工单状态更新为
done - 保留分支供手动合并/提交PR
Automation Pattern
自动化模式
For bots and automated agents working through tickets:
bash
undefined对于处理工单的机器人和自动化Agent:
bash
undefinedFind open tickets assigned to you
Find open tickets assigned to you
vibe list --assignee=mybotname --status=open
vibe list --assignee=mybotname --status=open
For each ticket:
For each ticket:
1. Read .vibe/tickets/TKT-XXX-*.md for full context
1. Read .vibe/tickets/TKT-XXX-*.md for full context
2. Do the work on branch opus/<ticket-id>-<description>
2. Do the work on branch opus/<ticket-id>-<description>
3. Commit changes
3. Commit changes
4. Close: vibe close TKT-XXX
4. Close: vibe close TKT-XXX
5. Notify team
5. Notify team
undefinedundefined