ai-agent-workflowGroup
CLAUDE.md17 starsChanged 6 months agoMITView on GitHub
aiGroup is a dual-harness AI team collaboration framework (Claude Code + Codex). The main session analyzes requirements, assembles an Agent Team, and delegates execution to specialist agents. The main session is the team lead/orchestrator; it does not directly write code, design UI, or run tests for non-trivial tasks. Claude Code 端默认采用 Agent Team 模式,而不是临时单个 subagent 调度。.claude/settings.json 已启用 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1;Agent Teams 需要 Claude Code v2.1.32+。若当前版本不支持,则按同一团队拓扑回退为普通 subagent 派遣。 完整派遣矩阵见 docs/rules/agents.md。
In this repository83 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- source-command-fix-buildSkill
- fine-tuning-expertSkill
- ml-pipelineSkill
- rag-architectSkill
- spark-engineerSkill
- api-designerSkill
- architecture-designerSkill
- code-documenterSkill
- debugging-wizardSkill
- feature-forgeSkill
- fullstack-guardianSkill
- graphql-architectSkill
- legacy-modernizerSkill
- microservices-architectSkill
- database-optimizerSkill
- postgres-proSkill
- sql-proSkill
- csharp-developerSkill
- dotnet-core-expertSkill
- angular-architectSkill
- flutter-expertSkill
- nextjs-developerSkill
- react-expertSkill
- react-native-expertSkill
- senior-frontendSkill
- ui-ux-pro-maxSkill
- vue-expert-jsSkill
- vue-expertSkill
- cpp-proSkill
- golang-proSkill
- rust-engineerSkill
- cli-developerSkill
- cloud-architectSkill
- devops-engineerSkill
- kubernetes-specialistSkill
- mcp-developerSkill
- monitoring-expertSkill
- sre-engineerSkill
- terraform-engineerSkill
- websocket-engineerSkill
- java-architectSkill
- kotlin-specialistSkill
- javascript-proSkill
- nestjs-expertSkill
- typescript-proSkill
- spring-boot-engineerSkill
- spring-boot-engineer_znSkill
- laravel-specialistSkill
- php-proSkill
- competitive-analysisSkill
- meeting-notesSkill
- prd-templateSkill
- stakeholder-updateSkill
- user-research-synthesisSkill
- django-expertSkill
- fastapi-expertSkill
- pandas-proSkill
- python-proSkill
- The first 60 shown.
The file
Files
CLAUDE.md
This file provides guidance to Claude Code when working in this repository.
Project Overview
aiGroup is a dual-harness AI team collaboration framework (Claude Code + Codex). The main session analyzes requirements, assembles an Agent Team, and delegates execution to specialist agents. The main session is the team lead/orchestrator; it does not directly write code, design UI, or run tests for non-trivial tasks.
| 目录 | 内容 |
agents/ | Agent 源池(开发态分发位置,由 aigroup init 选装到 .claude/agents/) |
skills/ | Skill 源池(按分类分组 skills/<category>/<name>/SKILL.md,分类含 workflow/product/frontend/backend/database/java/python/javascript/go-rust-cpp/dotnet/swift/php/ruby/infra/ai-ml/quality;aigroup init 安装时扁平化到目标项目 .claude/skills/<name>/ 以保留原 skill ID) |
docs/ | 知识库主源 |
manifests/ | 安装清单(agent / skill 分组定义) |
.orchestration/<session>/ | Agent 协作产物工作区(按 session/worker 三件套) |
scripts/orchestration/session.cjs | 协调 CLI |
scripts/hooks/dispatcher.cjs | hook dispatcher(手动调用入口) |
Claude Code Agent Team Protocol
Claude Code 端默认采用 Agent Team 模式,而不是临时单个 subagent 调度。.claude/settings.json 已启用 CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1;Agent Teams 需要 Claude Code v2.1.32+。若当前版本不支持,则按同一团队拓扑回退为普通 subagent 派遣。
- 先组队再执行:遇到复杂功能、bugfix、重构、审查、构建失败、跨模块任务时,主会话先声明团队组成、每个 agent 的目标、并行/串行关系。
- 主会话是 Team Lead:负责需求澄清、任务拆分、派遣、合并结论、写
.orchestration/产物、向用户汇报;不亲自替代 specialist 做实现/设计/测试/审查。 - 创建 team 而不是单次调用:让 Claude 创建 agent team,并 spawn teammates using
<agent-name>agent type,复用.claude/agents/<name>.md的 project-level agent 定义。 - 每个 teammate 都带完整任务包:目标、上下文、相关文件、约束、验收标准、期望输出格式必须写进 spawn prompt,因为 teammate 不继承主会话完整历史。
- 收口必须综合验收:Team Lead 等待 teammates 完成,汇总 handoff,处理冲突,确认验证证据,再给用户最终结论并清理 team。
常用团队形态:
| 场景 | Agent Team |
| 新功能 / bugfix | planner → tdd-guide → code-reviewer,敏感路径加 security-reviewer |
| 架构变更 / 重构 | architect + planner → 实施 agent → code-reviewer |
| 构建 / 类型失败 | build-error-resolver → code-reviewer |
| 高风险审查 | code-reviewer + security-reviewer + e2e-runner 并行 |
| 文档同步 | doc-updater,必要时并行 code-reviewer 校验事实 |
完整派遣矩阵见 docs/rules/agents.md。
知识库地图(按需查阅)
| 需要了解 | 查阅 |
| 项目架构、目录结构 | docs/ARCHITECTURE.md |
| 工作流 phase 心智模型 | docs/workflow-pipeline.md |
| 危险信号与阻止行动 | docs/red-flags.md |
| 项目实例上下文(/init-project 生成) | docs/PROJECT_CONTEXT.md |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

