generate-conventions
Use when generating a project conventions file at .workbench/conventions.md by scanning the codebase. Invoked by `wb conventions init --generate`.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when generating a project conventions file at .workbench/conventions.md by scanning the codebase. Invoked by `wb conventions init --generate`.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when writing or editing a workbench plan (.workbench/<name>/plan.md) — plan structure, frontmatter, breaking directives into independent tasks tied to specific files, conventions handling, and testing directives
Use when running, resuming, or troubleshooting `wb` execution of a workbench plan — pipeline stages, failure recovery, wave control, branching strategy, profiles, and TDD mode. For writing or editing the plan file itself, use the plan-workbench skill.
Use when setting up workbench in a repo, configuring agent adapters (.workbench/agents.yaml), managing profiles (profile.yaml), or troubleshooting agent dispatch
Use when installing workbench (wbcli), checking prerequisites (Python, git, tmux), or setting up the wb CLI in a local or global environment
基于 SOC 职业分类
| name | generate-conventions |
| description | Use when generating a project conventions file at .workbench/conventions.md by scanning the codebase. Invoked by `wb conventions init --generate`. |
How to draft a .workbench/conventions.md for a repo by reading what the project already encodes.
wb conventions init --generate, OR.workbench/conventions.mdCLAUDE.md, AGENTS.md, GEMINI.md at the repo root if present — these often encode conventions explicitly.pyproject.toml (tool.ruff, tool.black, tool.mypy), .eslintrc*, .prettierrc, ruff.toml, tsconfig.json, language-appropriate equivalents.README.md and CONTRIBUTING.md for stated practices..workbench/conventions.md. Overwrite if the file is empty; otherwise refuse and tell the user to wb conventions delete first.Wrote .workbench/conventions.md (5 sections, 18 bullets).Before creating the convention file, the agent should use any existing plans, agents.md, code used in the project, and readme to gain understanding of the conventions used consistently. If there are different languages in the codebase they should be treated independently in the conventions for things like testing frameworks and tools.
# Project conventions
Conventions shared across all workbench plans in this repo. Plans may override by
adding their own `## Conventions` section — that section wins.
## Code style
- <bullets>
## Testing
- <bullets>
## Git
- <bullets>
## Naming
- <bullets>
## Other
- <bullets, optional — omit the section if you have nothing to add>
- (none observed))..env* files..workbench/conventions.md.