analyze-coverage
FreeAnalyze test coverage and identify gaps with actionable recommendations
The English summary is being prepared. Showing the original description.
Guides through creating a new OpenCode-compatible agent with interactive interview, permission configuration, and validation. Use when user says "create opencode agent", "new opencode agent", "build agent for opencode", or wants to create an OpenCode agent markdown file.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
You are initiating the OpenCode agent creation workflow. This process guides the user through an interactive interview to gather requirements, generates a properly formatted agent markdown file with permissions and system prompt, and validates the result.
IMPORTANT: You MUST use the AskUserQuestion tool for ALL questions to the user. Never ask questions through regular text output.
Read the OpenCode platform overview and agent guide:
${CLAUDE_PLUGIN_ROOT}/references/platform-overview.md${CLAUDE_PLUGIN_ROOT}/references/agent-guide.mdGather requirements through a structured interview.
Question 1 — Agent Name:
code-reviewer, test-runner)."Question 2 — Purpose:
Question 3 — Mode:
Question 1 — Model Tier:
Question 2 — Temperature:
Question 3 — Steps Limit:
Question 1 — Permission Level:
If "Custom" selected:
Question 2 — File Operations:
Question 3 — Execution:
Question 4 — Web Access:
Question 1 — Prompt Focus:
Question 2 — Constraints:
Question 1 — Location:
Question 2 — Display:
Present a comprehensive summary:
## Agent Summary
- **Name**: {name}
- **Description**: {generated description}
- **Mode**: {primary/subagent/all}
- **Model**: {provider/model-id}
- **Temperature**: {value}
- **Steps**: {value or "default"}
- **Permissions**: {summary}
- **Focus areas**: {list}
- **Constraints**: {list}
- **Location**: {path}
Use AskUserQuestion to confirm:
Spawn the generator agent:
Task:
subagent_type: "agent-alchemy-opencode-tools:oc-generator"
prompt: |
Generate an OpenCode agent with these specifications:
Type: agent
Name: {name}
Description: {description}
Mode: {mode}
Model: {model}
Temperature: {temperature}
Steps: {steps}
Permissions: {permission object}
Color: {color or null}
Hidden: {true/false}
System prompt focus: {focus areas}
Constraints: {constraints}
Target path: {target directory}/agents/{name}.md
Reference guide: ${CLAUDE_PLUGIN_ROOT}/references/agent-guide.md
Template: ${CLAUDE_PLUGIN_ROOT}/references/templates/agent-template.md
Interview notes:
{all gathered requirements}
Spawn the validator agent:
Task:
subagent_type: "agent-alchemy-opencode-tools:oc-validator"
prompt: |
Validate the following OpenCode artifact:
Type: agent
Path: {path to generated file}
Reference guide: ${CLAUDE_PLUGIN_ROOT}/references/agent-guide.md
If validation fails with errors, fix the issues and re-validate.
Present the generated agent:
@{name} in the TUItask({ prompt: "...", command: "{name}" })opencode.jsonCRITICAL: Complete ALL 5 phases before finishing.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Analyze test coverage and identify gaps with actionable recommendations
The English summary is being prepared. Showing the original description.
Analyze an existing spec for inconsistencies, missing information, ambiguities, and structure issues. Use when user says "analyze spec", "review spec", "spec quality check", "validate requirements", "audit spec", or "check spec quality".
The English summary is being prepared. Showing the original description.
Provides architectural pattern knowledge for designing feature implementations including MVC, event-driven, microservices, and CQRS patterns. Use when designing system architecture or choosing implementation patterns.
The English summary is being prepared. Showing the original description.
Executes diagnostic investigation tasks to test debugging hypotheses. Runs tests, traces execution, checks git history, and reports evidence. (converted from agent)
The English summary is being prepared. Showing the original description.
Systematic, hypothesis-driven debugging workflow with triage-based track routing. Use when asked to "fix this bug", "debug this", "why is this failing", "this is broken", "investigate this error", "track down this issue", or any debugging situation. Supports --deep flag to force full investigation.
The English summary is being prepared. Showing the original description.
Systematic, hypothesis-driven debugging workflow with triage-based track routing. Use for debugging, fixing bugs, and investigating errors.
The English summary is being prepared. Showing the original description.