chore(#771): convert agent color: hex/magenta values to documented named colors (#823)

* chore(#771): convert agent color: hex/magenta values to documented named colors

Claude Code's sub-agent `color:` field documents only 8 named colors
(red, blue, green, yellow, purple, orange, pink, cyan). Twelve agent
files used hex values and two used the undocumented `magenta`; convert
each to the nearest documented named color so the intended per-agent
TUI color differentiation is spec-compliant.

- agents/*.md: 14 color values hex/magenta -> nearest named color
- scripts/research-profiles.cjs: update the 3 generated research-agent
  profiles (source of truth) so gen-research-agents stays in sync
- docs/AGENTS.md: update documented colors; add missing Color rows for
  gsd-nyquist-auditor, gsd-project-researcher, gsd-phase-researcher
- tests/agent-frontmatter.test.cjs: add regression guard asserting every
  agent color: is in the documented named-color set

Closes #771

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore(#771): add changeset

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-06-07 18:50:50 -04:00
committed by GitHub
parent 1373f9bfb4
commit 3aed02822d
18 changed files with 61 additions and 30 deletions

View File

@@ -2,7 +2,7 @@
name: gsd-ai-researcher
description: Researches a chosen AI framework's official docs to produce implementation-ready guidance — best practices, syntax, core patterns, and pitfalls distilled for the specific use case. Writes the Framework Quick Reference and Implementation Guidance sections of AI-SPEC.md. Spawned by /gsd:ai-integration-phase orchestrator.
tools: Read, Write, Edit, Bash, Grep, Glob, WebFetch, WebSearch, mcp__context7__*
color: "#34D399"
color: green
# hooks:
# PostToolUse:
# - matcher: "Write|Edit"

View File

@@ -2,7 +2,7 @@
name: gsd-code-fixer
description: Applies fixes to code review findings from REVIEW.md. Reads source files, applies intelligent fixes, and commits each fix atomically. Spawned by /gsd:code-review --fix.
tools: Read, Edit, Write, Bash, Grep, Glob
color: "#10B981"
color: green
# hooks:
# - before_write
---

View File

@@ -2,7 +2,7 @@
name: gsd-code-reviewer
description: Reviews source files for bugs, security issues, and code quality problems. Produces structured REVIEW.md with severity-classified findings. Spawned by /gsd:code-review.
tools: Read, Write, Bash, Grep, Glob
color: "#F59E0B"
color: orange
# hooks:
# - before_write
---

View File

@@ -2,7 +2,7 @@
name: gsd-domain-researcher
description: Researches the business domain and real-world application context of the AI system being built. Surfaces domain expert evaluation criteria, industry-specific failure modes, regulatory context, and what "good" looks like for practitioners in this field — before the eval-planner turns it into measurable rubrics. Spawned by /gsd:ai-integration-phase orchestrator.
tools: Read, Write, Edit, Bash, Grep, Glob, WebSearch, WebFetch, mcp__context7__*
color: "#A78BFA"
color: purple
# hooks:
# PostToolUse:
# - matcher: "Write|Edit"

View File

@@ -2,7 +2,7 @@
name: gsd-eval-auditor
description: Retroactive audit of an implemented AI phase's evaluation coverage. Checks implementation against the AI-SPEC.md evaluation plan. Scores each eval dimension as COVERED/PARTIAL/MISSING. Produces a scored EVAL-REVIEW.md with findings, gaps, and remediation guidance. Spawned by /gsd:eval-review orchestrator.
tools: Read, Write, Bash, Grep, Glob
color: "#EF4444"
color: red
# hooks:
# PostToolUse:
# - matcher: "Write|Edit"

View File

@@ -2,7 +2,7 @@
name: gsd-eval-planner
description: Designs a structured evaluation strategy for an AI phase. Identifies critical failure modes, selects eval dimensions with rubrics, recommends tooling, and specifies the reference dataset. Writes the Evaluation Strategy, Guardrails, and Production Monitoring sections of AI-SPEC.md. Spawned by /gsd:ai-integration-phase orchestrator.
tools: Read, Write, Edit, Bash, Grep, Glob, AskUserQuestion
color: "#F59E0B"
color: orange
# hooks:
# PostToolUse:
# - matcher: "Write|Edit"

View File

@@ -2,7 +2,7 @@
name: gsd-framework-selector
description: Presents an interactive decision matrix to surface the right AI/LLM framework for the user's specific use case. Produces a scored recommendation with rationale. Spawned by /gsd:ai-integration-phase and /gsd-select-framework orchestrators.
tools: Read, Bash, Grep, Glob, WebSearch, AskUserQuestion
color: "#38BDF8"
color: cyan
---
<role>

View File

@@ -8,7 +8,7 @@ tools:
- Bash
- Glob
- Grep
color: "#8B5CF6"
color: purple
---
<role>

View File

@@ -2,7 +2,7 @@
name: gsd-pattern-mapper
description: Analyzes codebase for existing patterns and produces PATTERNS.md mapping new files to closest analogs. Read-only codebase analysis spawned by /gsd:plan-phase orchestrator before planning.
tools: Read, Bash, Glob, Grep, Write
color: magenta
color: purple
# hooks:
# PostToolUse:
# - matcher: "Write|Edit"

View File

@@ -8,7 +8,7 @@ tools:
- Bash
- Glob
- Grep
color: "#EF4444"
color: red
---
<role>

View File

@@ -2,7 +2,7 @@
name: gsd-ui-auditor
description: Retroactive 6-pillar visual audit of implemented frontend code. Produces scored UI-REVIEW.md. Spawned by /gsd:ui-review orchestrator.
tools: Read, Write, Bash, Grep, Glob
color: "#F472B6"
color: pink
# hooks:
# PostToolUse:
# - matcher: "Write|Edit"

View File

@@ -2,7 +2,7 @@
name: gsd-ui-checker
description: Validates UI-SPEC.md design contracts against 6 quality dimensions. Produces BLOCK/FLAG/PASS verdicts. Spawned by /gsd:ui-phase orchestrator.
tools: Read, Bash, Glob, Grep
color: "#22D3EE"
color: cyan
---
<role>

View File

@@ -2,7 +2,7 @@
name: gsd-ui-researcher
description: Produces UI-SPEC.md design contract for frontend phases. Reads upstream artifacts, detects design system state, asks only unanswered questions. Spawned by /gsd:ui-phase orchestrator.
tools: Read, Write, Edit, Bash, Grep, Glob, WebSearch, WebFetch, mcp__context7__*, mcp__firecrawl__*, mcp__exa__*, mcp__tavily__*, mcp__ref__*, mcp__jina__*
color: "#E879F9"
color: purple
# hooks:
# PostToolUse:
# - matcher: "Write|Edit"

View File

@@ -2,7 +2,7 @@
name: gsd-user-profiler
description: Analyzes extracted session messages across 8 behavioral dimensions to produce a scored developer profile with confidence levels and evidence. Spawned by profile orchestration workflows.
tools: Read
color: magenta
color: purple
---
<role>