协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
init【开发与工程】Initialize team config for a project. Creates .agenteam/config.yaml (or legacy agenteam.yaml) and generates .codex/agents/*.toml.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Set up AgenTeam for the current project.
Resolve the runtime path first, then use the runtime entrypoint itself as the readiness check. Do not spend time on separate environment probes if the runtime can tell you what is missing.
Fast path:
python3 <plugin-dir>/runtime/agenteam_rt.py --help
If Python or dependencies are missing, the runtime prints a JSON error. Only then offer the minimal install fix:
pip install pyyaml toml
Check for config in this order:
.agenteam/config.yaml (personal).agenteam.team/config.yaml (team shared)agenteam.yaml.agenteam.team/config.yaml exists (team project): Use it as the
team config. Do not create .agenteam/config.yaml — personal overrides
are opt-in. Skip to step 4 (validate)..agenteam/config.yaml or agenteam.yaml exists: Ask the user if
they want to reconfigure or keep existing config. If keeping, skip to step 4.Copy the template:
mkdir -p .agenteam
cp <plugin-dir>/templates/agenteam.yaml.template .agenteam/config.yaml
Default to a fast setup unless the user explicitly asks to customize:
$ateam:add-memberOnly ask follow-up questions when a decision is genuinely ambiguous or the user asked for a tailored team. Do not turn basic setup into a multi-question interview.
python3 <plugin-dir>/runtime/agenteam_rt.py validate
If validation fails, show the error and help the user fix it.
python3 <plugin-dir>/runtime/agenteam_rt.py generate
This creates .codex/agents/*.toml for each role. Show the user what was generated.
If the new roles do not appear in the @ picker immediately, tell the user to:
.codex/agents/ in the current projectOnly do this if it changes the recommendation you will give the user. Skip it for simple setup if the team is already ready to use.
python3 <plugin-dir>/runtime/agenteam_rt.py hotl check
If HOTL is available and pipeline is not already set to hotl:
pipeline: hotl in
.agenteam/config.yaml (or legacy agenteam.yaml) to integrate with HOTL workflows."Show:
Detection: Glob for common source files (*.py, *.js, *.ts,
*.go, *.java, *.rs, *.rb, *.swift, *.kt). If any exist,
use "existing project" examples. Otherwise use "new project" examples.
For existing projects (source files detected):
Try these to get started:
@Reviewer review this codebase for security concerns
@Researcher what are the best practices for error handling in this stack?
@ATeam add comprehensive test coverage
@ATeam add a security auditor that focuses on OWASP top 10
For new/empty projects (no source files):
Try these to get started:
@Architect design a REST API for a task management app
@Researcher what's the best tech stack for a CLI tool in Python?
@ATeam build a simple todo app with tests
@ATeam add a docs writer to maintain README and API docs
Team config suggestion (when no .agenteam.team/config.yaml was detected):
After the starter examples, if the config was created locally (no team config exists), append:
Your AgenTeam config is local. To share team settings with
collaborators, run @ATeam share-config.
Do not show this if .agenteam.team/config.yaml already exists.
After the roster/examples, add this note when setup created or refreshed local agents:
If the new roles do not show up in the `@` picker right away, first confirm this
project now has `.codex/agents/*.toml` files, then open a new thread or restart
Codex to reload workspace agents from `.codex/agents/`.
Resolve the AgenTeam runtime:
./runtime/agenteam_rt.py<plugin-install-path>/local/runtime/agenteam_rt.pyResolve a versioned cache entry by locating its actual
runtime/agenteam_rt.py file and validating the sibling templates/ directory;
never stop at the unversioned .../ateam parent.