Skip to content

feat(agents): add Team Mode with built-in gstack skills and streamline builtin skills#407

Merged
bobleer merged 2 commits intoGCWing:mainfrom
bobleer:feat/team-mode-gstack-integration
Apr 14, 2026
Merged

feat(agents): add Team Mode with built-in gstack skills and streamline builtin skills#407
bobleer merged 2 commits intoGCWing:mainfrom
bobleer:feat/team-mode-gstack-integration

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented Apr 14, 2026

Summary

  • Add a new Team Mode super agent that orchestrates a virtual engineering team powered by gstack skills. The mode coordinates specialized roles (CEO, Eng Manager, Designer, Code Reviewer, QA Lead, Security Officer, Release Engineer, etc.) through a full sprint workflow: Think → Plan → Build → Review → Test → Ship → Reflect.
  • Embed 15 gstack skills as compile-time builtin skills (gstack-office-hours, gstack-review, gstack-qa, gstack-ship, gstack-cso, gstack-autoplan, etc.), enabled only when Team mode is selected.
  • Remove 13 redundant superpowers builtin skills that are now covered by native BitFun modes (Plan, Debug), the Task tool, or the new gstack integration. Retained: agent-browser, find-skills, writing-skills, and all Office document skills (docx/pdf/pptx/xlsx).

Changes

New Files

  • src/crates/core/src/agentic/agents/team_mode.rs — TeamMode agent definition
  • src/crates/core/src/agentic/agents/prompts/team_mode.md — Team Mode system prompt
  • src/crates/core/builtin_skills/gstack-*/SKILL.md — 15 gstack skill files

Modified Files

  • agents/mod.rs, agents/registry.rs — Register Team mode
  • skills/builtin.rs — Add "team" group key for gstack skills, fallback None for unknown skills
  • skills/default_profiles.rs — Team skills only enabled in Team mode
  • ChatInput.tsx — Add Team to mode selector
  • flow-chat.json (en-US, zh-CN) — i18n for Team mode
  • writing-skills/SKILL.md and supporting files — Clean up references to deleted skills
  • suggestions.md — Remove references to deleted skills

Deleted (13 skills, ~5500 lines)

brainstorming, dispatching-parallel-agents, executing-plans, finishing-a-development-branch, receiving-code-review, requesting-code-review, subagent-driven-development, systematic-debugging, test-driven-development, using-git-worktrees, using-superpowers, verification-before-completion, writing-plans

Test plan

  • cargo check -p bitfun-core passes with no warnings
  • All 14 related unit tests pass (skills::builtin, skills::default_profiles, agents::team_mode, agents::registry)
  • Verify Team mode appears in the mode selector UI
  • Select Team mode and invoke a gstack skill (e.g., review) to confirm skill loading
  • Verify gstack skills are NOT available in Agentic/Plan/Debug/Cowork modes
  • Verify remaining skills (agent-browser, find-skills, writing-skills, office) still work

bowen628 added 2 commits April 14, 2026 11:47
Integrate gstack (https://github.com/garrytan/gstack) as a new "Team"
super agent mode that orchestrates a virtual engineering team through
specialized roles: CEO, Eng Manager, Designer, Code Reviewer, QA Lead,
Security Officer, Release Engineer, and more.

- Add TeamMode agent with full tool access and team_mode.md system prompt
- Embed 15 gstack skills as builtin_skills (gstack-office-hours,
  gstack-review, gstack-qa, gstack-ship, gstack-cso, etc.)
- Skills are only enabled when Team mode is selected via mode filtering
  in default_profiles.rs with "team" group key in builtin.rs
- Register Team mode in AgentRegistry with UI integration (ChatInput,
  i18n for en-US and zh-CN)
Remove skills that are now covered by native BitFun modes, the Task
tool, or the new gstack Team Mode integration:

- brainstorming (replaced by gstack office-hours)
- dispatching-parallel-agents (native Task tool)
- executing-plans (Agentic Mode + TodoWrite)
- finishing-a-development-branch (gstack ship)
- receiving-code-review (pure convention)
- requesting-code-review (gstack review)
- subagent-driven-development (Task tool + gstack autoplan)
- systematic-debugging (Debug Mode + gstack investigate)
- test-driven-development (pure methodology)
- using-git-worktrees (Bash tool)
- using-superpowers (meta-entry, not applicable to BitFun)
- verification-before-completion (pure convention)
- writing-plans (Plan Mode + gstack autoplan)

Retain: agent-browser, find-skills, writing-skills, docx/pdf/pptx/xlsx.
Update cross-references in writing-skills, suggestions.md, and tests.
@bobleer bobleer merged commit 6341358 into GCWing:main Apr 14, 2026
1 check passed
@bobleer bobleer deleted the feat/team-mode-gstack-integration branch April 15, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant