fix: replace invalid example agent-type names in bundled skills (#607) - #3182
fix: replace invalid example agent-type names in bundled skills (#607)#3182ruvnet wants to merge 2 commits into
Conversation
Several bundled .claude/skills/*.md files contain example Task(name,
description, type) calls using generic placeholder type strings
("coordinator", "architect", "analyst", "specialist") that do not match
any agent actually registered under .claude/agents/**/*.md. Claude
Code's Task tool validates subagent_type against that live registry at
runtime, so copying these examples verbatim fails with "Agent type 'X'
not found."
Replace the 13 affected occurrences across 3 files with real registered
agent names that match each example's context:
- github-multi-repo/SKILL.md: coordinator -> multi-repo-swarm/
sync-coordinator, analyst -> code-analyzer, architect -> repo-architect
- hive-mind-advanced/SKILL.md: coordinator -> queen-coordinator
- github-release-management/SKILL.md: coordinator -> release-manager
Adds a narrow regression test asserting the three files no longer
contain the invalid placeholder pattern.
Fixes #607
Co-Authored-By: RuFlo <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_013ck5ngNyhwAFzmN9PdaV4p
|
CI status (2026-09-05, head CI is red, but not because of this PR's diff. Every failing job I checked ( That pin already exists in I don't have a fix to port: this needs either publishing Once that pin is fixed repo-wide, this PR's own diff is trivial and should pass cleanly (it's docs + a narrow, verified regression test). Generated by Claude Code |
|
CI status update (2026-09-05, head The repo-wide blocker is resolved: This PR is a small, verified docs + regression-test fix (see original summary) and is ready for maintainer review/merge — I have not merged it myself per the nightly-triage invariants. Generated by Claude Code |
Summary
Fixes #607 ("analyst agent is never 'found'").
Several bundled
.claude/skills/*.mdfiles contain exampleTask(name, description, type)calls using generic placeholder type strings ("coordinator","architect","analyst","specialist") that do not match any agent actually registered under.claude/agents/**/*.md. Claude Code's Task tool validatessubagent_typeagainst that live registry at runtime, so copying these examples verbatim fails withAgent type 'X' not found.This replaces the 13 affected occurrences across 3 files with real registered agent names that match each example's context:
github-multi-repo/SKILL.md:coordinator→multi-repo-swarm/sync-coordinator,analyst→code-analyzer,architect→repo-architecthive-mind-advanced/SKILL.md:coordinator→queen-coordinatorgithub-release-management/SKILL.md:coordinator→release-managerTest coverage
Added
v3/@claude-flow/cli/__tests__/skill-agent-types-607.test.ts— a narrow regression guard asserting the three affected files no longer contain the invalid placeholderTask(..., "coordinator"|"architect"|"analyst"|"specialist")pattern, and that they use the correct replacement agent names. Verified locally:git stash).@claude-flow/clitest suite run before/after shows no new failures (pre-existing unrelated failures are native-module/environment issues, e.g.@ruvector/ruvllm-wasm, not touched by this change).Scope
Only the 3 SKILL.md files and one new test file are touched. No CI/workflow, release/publish tooling, or agent registry files were changed.
Opened by the nightly triage routine — human review required before merge.
🤖 Generated with RuFlo
https://claude.ai/code/session_013ck5ngNyhwAFzmN9PdaV4p
Generated by Claude Code