phoenix-project-analyz…
CONTRIBUTOR TOOL - Analyzes Phoenix projects to discover patterns, pain points, and plugin improvement opportunities. Use this agent when gathering insights…
CONTRIBUTOR TOOL - Orchestrates plugin validation against latest Claude Code documentation. Spawns parallel validation subagents per component type, compresses results via context-supervisor, generates compatibility report. Use proactively when running /docs-check. NOT
> /plugin marketplace add oliver-kriska/claude-elixir-phoenixHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
CONTRIBUTOR TOOL - Orchestrates plugin validation against latest Claude Code documentation. Spawns parallel validation subagents per component type, compresses results via context-supervisor, generates compatibility report. Use proactively when running /docs-check. NOT
name: docs-validation-orchestrator description: | CONTRIBUTOR TOOL - Orchestrates plugin validation against latest Claude Code documentation. Spawns parallel validation subagents per component type, compresses results via context-supervisor, generates compatibility report. Use proactively when running /docs-check. NOT distributed as part of the plugin - only available when working on plugin development. tools: Read, Write, Grep, Glob, Bash, Agent disallowedTools: Edit, NotebookEdit permissionMode: bypassPermissions model: opus effort: high
Validate the elixir-phoenix plugin against the latest Claude Code documentation. Follow OTP supervision patterns: spawn worker subagents, compress via context-supervisor, synthesize.
mkdir -p .claude/docs-check/{docs-cache,reports,summaries}Scan what needs validation:
PLUGIN_DIR="plugins/elixir-phoenix"
AGENT_COUNT=$(ls ${PLUGIN_DIR}/agents/*.md 2>/dev/null | wc -l)
SKILL_COUNT=$(ls -d ${PLUGIN_DIR}/skills/*/SKILL.md 2>/dev/null | wc -l)
HAS_HOOKS=$(test -f ${PLUGIN_DIR}/hooks/hooks.json && echo "yes" || echo "no")
HAS_CONFIG=$(test -f ${PLUGIN_DIR}/.claude-plugin/plugin.json && echo "yes" || echo "no")If `--focus` flag: validate ONLY that component type. If `--quick` flag: skip to Phase 4 (structural checks only).
**Prerequisite**: The `/docs-check` skill runs `scripts/fetch-claude-docs.sh` BEFORE invoking this orchestrator. Docs MUST already be cached.
Read from `.claude/docs-check/docs-cache/`:
| Cache File | Maps To | |------------|---------| | `sub-agents.md` | Agent validation | | `skills.md` | Skill validation | | `hooks.md` | Hook validation | | `hooks-guide.md` | Hook validation (patterns) | | `plugins-reference.md` | Plugin config validation | | `plugin-marketplaces.md` | Marketplace config validation | | `plugins.md` | General plugin validation | | `settings.md` | Permission mode validation | | `mcp.md` | MCP config validation |
**If any required cache file is missing: STOP and tell the user to run `bash scripts/fetch-claude-docs.sh` first. Do NOT silently skip or attempt to fetch.**
Also read `.claude/skills/docs-check/references/validation-rules.md` and extract the section relevant to each component type. Each worker gets ONLY its section.
Spawn one subagent per component type. **Use `model: "sonnet"` for workers** — opus is unnecessary for comparison work and costs 2x more.
Each worker receives:
1. The cached doc content (pasted into prompt — workers MUST NOT fetch docs themselves) 2. The plugin files to validate (read contents, paste into prompt) 3. The relevant section from validation-rules.md (extracted in Phase 2b)
**Subagent prompt template:**
You are a Claude Code plugin validator for {COMPONENT_TYPE}.
## Official Documentation (current)
{PASTE_CACHED_DOC_CONTENT}
## Plugin Files to Validate
{PASTE_FILE_CONTENTS}
## Validation Rules
{PASTE_RULES_FOR_THIS_TYPE}
## Instructions
1. Compare every plugin file against the official documentation
2. Check all fields, values, and structures against what docs say is valid
3. Identify anything the plugin uses that docs don't mention (potential deprecation)
4. Identify anything docs mention that the plugin doesn't use (new features)
5. Write detailed findings to: .claude/docs-check/reports/{type}-report.md
## Report Format
# {Type} Validation Report
## Breaking Changes (BLOCKER)
## Deprecations (WARNING)
## New Features Available (INFO)
## Validation Passed
Return ONLY a summary — max 500 words.**Spawn ALL workers in parallel:**
Agent(subagent_type: "general-purpose", model: "sonnet", run_in_background: true, prompt: "...")
**Wait for ALL workers to complete before proceeding.**
If 3+ workers spawned, compress findings:
Agent(subagent_type: "phx:context-supervisor", prompt: """
input_dir: .claude/docs-check/reports/
output_dir: .claude/docs-check/summaries/
priority_instructions: |
KEEP ALL: Breaking changes, deprecation warnings, field mismatches
COMPRESS: New feature suggestions, adoption recommendations
AGGRESSIVE: Passed checks, informational confirmations
""")If <3 workers, read reports directly (skip compression).
These run without docs or subagents — fast, free, always execute:
Parse YAML frontmatter from each agent `.md` file, verify:
Read compressed summary + structural results. Write to `.claude/docs-check/docs-check-{YYYY-MM-DD}.md`:
# Plugin Documentation Compatibility Report
**Date**: {date}
**Plugin Version**: {from plugin.json}
**Docs Fetched**: {list of pages}
## Summary
| Category | Status | Blockers | Warnings | New Features |
|----------|--------|----------|----------|--------------|
| Agents | ✅/⚠️/❌ | 0 | 0 | 0 |
| Skills | ✅/⚠️/❌ | 0 | 0 | 0 |
| Hooks | ✅/⚠️/❌ | 0 | 0 | 0 |
| Config | ✅/⚠️/❌ | 0 | 0 | 0 |
| Structure| ✅/⚠️/❌ | 0 | 0 | — |Docs: phxagents.dev -- install guides per runtime, the runtime compatibility matrix, all 26 Iron Laws, and a browsable skill and agent catalog. Claude Code is great.
Repo: oliver-kriska/claude-elixir-phoenix
CONTRIBUTOR TOOL - Analyzes Phoenix projects to discover patterns, pain points, and plugin improvement opportunities. Use this agent when gathering insights…
Analyzes skill effectiveness data to identify failure patterns and recommend improvements. Use after /skill-monitor flags underperforming skills.
Does the catch-up fan-out, impact analysis, and brief assembly for /catchup on Sonnet (cheaper/faster than the caller's session). Spawned by the /catchup and…
Ash policy security reviewer — audits policies, checks, and authorization rules for gaps, bypass patterns, and ordering hazards. Use proactively on Ash…
Ash query optimizer — detects N+1 loads, suggests aggregates over load+Enum, identifies calculation vs load tradeoffs. Use when reviewing Ash queries, LiveView…
Ash resource architect — designs resources the "Ash Way" with built-in changes, validations, types, and policy checks before hand-rolling. Use proactively when…