一键导入
onboard
Guided onboarding for new projects - scans tech stack, generates codingbuddy.config.json, sets up adapters, and installs .ai-rules with interactive Q&A.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guided onboarding for new projects - scans tech stack, generates codingbuddy.config.json, sets up adapters, and installs .ai-rules with interactive Q&A.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when orchestrating parallel Claude Code instances across tmux panes with git worktree isolation — managing multiple concurrent development tasks visually
Use when production incident occurs, alerts fire, service degradation detected, or on-call escalation needed - guides systematic organizational response before technical fixes
Use when conducting manual PR reviews - provides structured checklist covering security, performance, maintainability, and code quality dimensions with anti-sycophancy principles
Run local CI checks and ship changes — create branch, commit, push, and PR. Optionally link to a GitHub issue. Use when changes are ready to ship.
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Architecture guide using Next.js App Router's Parallel Routes for Widget-Slot pattern. Separates static layouts from dynamic widgets to achieve separation of concerns, fault isolation, and plug-and-play development.
| name | onboard |
| description | Guided onboarding for new projects - scans tech stack, generates codingbuddy.config.json, sets up adapters, and installs .ai-rules with interactive Q&A. |
Guide users through setting up codingbuddy in a new project via interactive, step-by-step onboarding. Detect the tech stack automatically, generate configuration, and create adapter files for their AI tools.
Scan the project root to detect:
Package managers & languages:
package.json → Node.js/TypeScript (check for typescript dep)requirements.txt / pyproject.toml / setup.py → Pythongo.mod → GoCargo.toml → Rustpom.xml / build.gradle → Java/KotlinGemfile → Rubycomposer.json → PHPFrameworks (from dependency files):
Test setup:
Monorepo indicators:
workspaces in package.json, lerna.json, pnpm-workspace.yaml, nx.json, turbo.jsonAI tools already present:
.cursor/ → Cursor.claude/ → Claude Code.antigravity/ → Antigravity (Gemini).codex/ → Codex.q/ → Amazon Q.kiro/ → Kiro.github/copilot/ → GitHub CopilotAfter scanning, present findings to the user:
Detected:
- Language: TypeScript
- Framework: Next.js 14, React 18
- Test: Vitest
- Monorepo: Yarn workspaces
- AI tools: .claude/ (existing)
Ask: "Does this look correct? Anything to add or change?" (use AskUserQuestion)
Based on detected info, generate a draft config:
{
"language": "en",
"techStack": {
"languages": ["typescript"],
"frameworks": ["nextjs", "react"],
"testing": ["vitest"],
"packageManager": "yarn"
},
"architecture": {
"pattern": "layered",
"monorepo": true
},
"agents": {
"primary": "software-engineer",
"specialists": ["frontend-developer", "test-engineer"]
}
}
Ask the user to confirm or adjust:
Write codingbuddy.config.json to project root after confirmation.
Based on detected AI tools (or ask which tools the user wants to set up):
| Tool | Config Path | What to Create |
|---|---|---|
| Cursor | .cursor/rules/codingbuddy.mdc | Rules include pointing to .ai-rules |
| Claude Code | .claude/settings.json + CLAUDE.md | MCP server config + instructions |
| Antigravity | .antigravity/rules/codingbuddy.md | Gemini rules file |
| Codex | .codex/AGENTS.md | Codex agent instructions |
| Amazon Q | .q/rules/codingbuddy.md | Q rules file |
| Kiro | .kiro/rules/codingbuddy.md | Kiro rules file |
For each selected tool:
.ai-rules/ rulesAsk: "Which AI tools do you want to configure?" (use AskUserQuestion with multiSelect)
Present two options:
Option A: Copy rules locally (recommended for customization)
packages/rules/.ai-rules/ into the project as .ai-rules/Option B: Install via npm package
npm install codingbuddy-rules / yarn add codingbuddy-rulesnode_modules/codingbuddy-rules/.ai-rules/Ask: "How would you like to set up the AI rules?" (use AskUserQuestion)
If Option A: copy the rules directory and confirm. If Option B: run the install command and update adapter configs to point to node_modules path.
Present a summary of everything that was created:
Onboarding complete!
Created files:
- codingbuddy.config.json (project configuration)
- .claude/settings.json (Claude Code MCP config)
- .ai-rules/ (shared AI coding rules)
Next steps:
1. Review codingbuddy.config.json and adjust settings
2. Start with: PLAN <your first task>
3. Use AUTO mode for autonomous development cycles
4. Run /help to see available commands