From didmar
Run OpenCode to review uncommitted changes, then build an action plan from its findings.
How this skill is triggered — by the user, by Claude, or both
Slash command
/didmar:opencode-reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run OpenCode CLI to review all uncommitted changes in the current repo, then synthesize the findings into an actionable plan.
Run OpenCode CLI to review all uncommitted changes in the current repo, then synthesize the findings into an actionable plan.
This skill accepts an optional argument: custom review instructions. If provided, these instructions are appended to the review prompt to focus the review on specific concerns (e.g., /opencode-review focus on error handling and thread safety).
Run OpenCode review — use opencode run with a review prompt and auto-approved permissions. If the user provided custom instructions via the skill argument, append them to the prompt after "If there are no issues, say so.":
Without custom instructions:
opencode run --dangerously-skip-permissions \
"Run git diff HEAD to see all uncommitted changes. Review the diff for bugs, correctness issues, security problems, style violations, and improvements. For each finding list: file path, line number, severity (P0-P3), one-line summary, and what should change. If there are no issues, say so." \
2>&1
With custom instructions (where $INSTRUCTIONS is the user-provided argument):
opencode run --dangerously-skip-permissions \
"Run git diff HEAD to see all uncommitted changes. Review the diff for bugs, correctness issues, security problems, style violations, and improvements. For each finding list: file path, line number, severity (P0-P3), one-line summary, and what should change. If there are no issues, say so. Additionally, pay special attention to: $INSTRUCTIONS" \
2>&1
If the command fails (e.g. opencode not found), tell the user and stop.
Parse all findings — read through the OpenCode output. Identify all the recommendations it made.
Enter plan mode — call EnterPlanMode and build a plan that:
Present the plan — let the user review and approve before making any edits.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub didmar/skills --plugin didmar