feat: Add /delegate skill — hand off findings to other agents via Delega#355
Open
ryanmcmillan wants to merge 1 commit intogarrytan:mainfrom
Open
feat: Add /delegate skill — hand off findings to other agents via Delega#355ryanmcmillan wants to merge 1 commit intogarrytan:mainfrom
ryanmcmillan wants to merge 1 commit intogarrytan:mainfrom
Conversation
d67a15c to
ce1e04f
Compare
After /review, /qa, or /cso produces findings, /delegate creates tracked tasks for other AI agents via Delega (https://delega.dev). One agent reviews, another fixes. Supports MCP tools (preferred) and CLI fallback. - Four-phase workflow: gather findings → plan delegation → create tasks → summary - Parses .gstack/security-reports/ and .gstack/qa-reports/ JSON, or conversation context - Priority mapping from gstack severity to Delega priority (1-4) - Full context attachment: file, line, severity, confidence, recommended fix, branch - Confirmation before creating tasks (never auto-creates) - Dry run mode for previewing without side effects - Registered in all skill lists (README, docs/skills.md, install instructions)
ce1e04f to
517e14b
Compare
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.
What
Adds a
/delegateskill that bridges single-agent gstack workflows with multi-agent orchestration via Delega. After/review,/qa, or/csoproduces findings,/delegatecreates tracked, assigned tasks for other AI agents.Why
gstack skills are excellent at finding issues. But the agent that finds a bug isn't always the right agent to fix it.
/csofinds a SQL injection — that goes to your security agent./qafinds a broken checkout flow — that goes to your frontend agent./reviewfinds a missing test — that goes to whoever handles testing./delegatecloses the loop: one agent reviews, another agent gets a tracked task with full context (file, line, severity, confidence, recommended fix, branch).How it works
.gstack/security-reports/,.gstack/qa-reports/, or conversation contextSetup
Requires Delega MCP server or CLI:
Files
delegate/SKILL.md.tmpl— source template (follows gstack conventions)delegate/SKILL.md— generated skill fileREADME.md— added/delegateto all 4 skill listsdocs/skills.md— added skill table entry + full documentation section with exampleExample