Skip to content

feat(agents): propagate project skills from architect to subagents#778

Open
Copilot wants to merge 6 commits intomainfrom
copilot/fix-skills-passing-to-subagents
Open

feat(agents): propagate project skills from architect to subagents#778
Copilot wants to merge 6 commits intomainfrom
copilot/fix-skills-passing-to-subagents

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 6, 2026

  • Re-review current skill propagation prompts and subagent tool availability from an adversarial perspective
  • Check baseline validation status before changes (initially blocked because Bun was not installed; installed Bun and found two pre-existing config test failures unrelated to this task)
  • Update architect delegation guidance to prefer skill file paths by default, with inline fallback only when needed
  • Update subagent prompts to load skills from referenced files before acting and fail loudly when a required skill cannot be loaded
  • Add the minimal tool-permission changes needed to make the file-path contract workable (search for SME, docs, and designer)
  • Update prompt regression tests to cover the new file-path contract, fallback semantics, delegation-schema expectations, and required tool availability
  • Run targeted validation, push changes directly to the PR branch, and summarize any remaining risk

Copilot AI and others added 2 commits May 6, 2026 16:14
- Add ## SKILLS PROPAGATION section to architect prompt with:
  - Instructions to discover skills via glob in .opencode/skills/ and .claude/skills/
  - Skill-to-agent routing table (writing-tests → test_engineer/coder, engineering-conventions → coder/reviewer/test_engineer, etc.)
  - Instructions to include full skill body inline in delegations
  - Anti-rationalization rules to prevent skipping skill passing
  - Explanation that subagents run in isolated contexts without inherited skills
- Add SKILLS: field to delegation format template and all delegation examples
- Add SKILLS field + SKILLS HANDLING section to coder, reviewer, test_engineer, and sme INPUT FORMATs
- Add skills-propagation.test.ts with regression coverage for all new behavior

Agent-Logs-Url: https://github.com/zaxbysauce/opencode-swarm/sessions/dad06dcf-e7d8-4781-a06e-588ed417207f

Co-authored-by: zaxbysauce <10211642+zaxbysauce@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix skills not passed to subagents automatically feat(agents): propagate project skills from architect to subagents May 6, 2026
Copilot AI requested a review from zaxbysauce May 6, 2026 16:30
Copilot AI and others added 3 commits May 6, 2026 18:48
@zaxbysauce zaxbysauce marked this pull request as ready for review May 6, 2026 19:04
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.

[Bug] Skills and agents.md not passed automatically to the subagents

2 participants