Skip to content

fix(qa): Replace undefined subagent types with valid Claude Code types #170

Closed

Description

@admarble

Summary

The QA and Spec skills reference subagent types that don't exist in Claude Code, causing sub-agent spawning to fail silently.

Problem

Skills document spawning these subagent types:

  • quality-checker (QA skill)
  • pattern-scout (Spec skill)
  • schema-inspector (Spec skill)

But valid Claude Code subagent types are only:

  • Bash
  • general-purpose
  • Explore
  • Plan

Evidence

From verbose run review, QA phase shows inline bash commands for quality checks instead of parallel sub-agents, despite skill documentation stating:

You MUST spawn sub-agents for quality checks. Do NOT run these checks inline with bash commands.

Acceptance Criteria

  • AC-1: Replace quality-checker with valid subagent type in templates/skills/qa/SKILL.md
  • AC-2: Replace pattern-scout with valid subagent type in templates/skills/spec/SKILL.md
  • AC-3: Replace schema-inspector with valid subagent type in templates/skills/spec/SKILL.md
  • AC-4: Verify sub-agents actually spawn during /qa execution
  • AC-5: Update .claude/skills/ copies to match templates

Recommended Approach

Current Type Replacement Reasoning
quality-checker general-purpose Quality checks need bash + file reading
pattern-scout Explore Pattern finding is exploration
schema-inspector Explore Schema inspection is codebase exploration

References

  • QA skill: templates/skills/qa/SKILL.md:123-127
  • Spec skill: templates/skills/spec/SKILL.md:54-58

Activity

  1. added
    bug
    on Jan 23, 2026
  2. admarble commented on Jan 23, 2026

    @admarble
    ContributorAuthor

    📋 Plan for Issue #170

    Acceptance Criteria

    AC Description Verification
    AC-1 Replace quality-checker with general-purpose in templates/skills/qa/SKILL.md Manual review
    AC-2 Replace pattern-scout with Explore in templates/skills/spec/SKILL.md Manual review
    AC-3 Replace schema-inspector with Explore in templates/skills/spec/SKILL.md Manual review
    AC-4 Verify sub-agents actually spawn during /qa execution Manual test
    AC-5 Update .claude/skills/ copies to match templates Diff comparison

    Implementation Plan

    Phase 1: Update Templates

    1. templates/skills/qa/SKILL.md - Replace 6× quality-checker → general-purpose
    2. templates/skills/spec/SKILL.md - Replace 2× pattern-scout → Explore, 2× schema-inspector → Explore

    Phase 2: Sync .claude/skills/
    3. .claude/skills/qa/SKILL.md - Mirror template changes
    4. .claude/skills/spec/SKILL.md - Mirror template changes

    Replacement Mapping

    Current Type Replacement Reasoning
    quality-checker general-purpose Quality checks need bash + file reading
    pattern-scout Explore Pattern finding is codebase exploration
    schema-inspector Explore Schema inspection is codebase exploration

    Recommended Workflow

    Phases: exec → qa
    Quality Loop: disabled
    Reasoning: Simple text replacement bug fix, 4 files, clear AC


    Generated by /spec

  3. added
    planned
    on Jan 23, 2026
  4. added a commit that references this issue on Jan 23, 2026
  5. admarble commented on Jan 23, 2026

    @admarble
    ContributorAuthor

    /fullsolve Complete

    Issue: #170
    Status: READY_FOR_MERGE

    Summary

    • AC: 5/5 met
    • Tests: 566 passed
    • Build: ✅ Succeeded

    Changes Made

    File Changes
    templates/skills/qa/SKILL.md 3× quality-checker → general-purpose
    templates/skills/spec/SKILL.md 2× pattern-scout + 2× schema-inspector → Explore
    .claude/skills/qa/SKILL.md 6× quality-checker → general-purpose
    .claude/skills/spec/SKILL.md 4× pattern-scout/schema-inspector → Explore

    Iterations

    • Spec: 1
    • Exec: 1
    • QA: 1

    PR: #180


    Ready for merge.

  6. added a commit that references this issue on Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugplanned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions