feat(agents): add Team Mode with built-in gstack skills and streamline builtin skills#407
Merged
bobleer merged 2 commits intoGCWing:mainfrom Apr 14, 2026
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gstack-office-hours,gstack-review,gstack-qa,gstack-ship,gstack-cso,gstack-autoplan, etc.), enabled only when Team mode is selected.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 definitionsrc/crates/core/src/agentic/agents/prompts/team_mode.md— Team Mode system promptsrc/crates/core/builtin_skills/gstack-*/SKILL.md— 15 gstack skill filesModified Files
agents/mod.rs,agents/registry.rs— Register Team modeskills/builtin.rs— Add "team" group key for gstack skills, fallbackNonefor unknown skillsskills/default_profiles.rs— Team skills only enabled in Team modeChatInput.tsx— Add Team to mode selectorflow-chat.json(en-US, zh-CN) — i18n for Team modewriting-skills/SKILL.mdand supporting files — Clean up references to deleted skillssuggestions.md— Remove references to deleted skillsDeleted (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-corepasses with no warningsskills::builtin,skills::default_profiles,agents::team_mode,agents::registry)review) to confirm skill loading