Agent skill
review-diffs
Performs comprehensive code review on git diffs and generates review.md with quality scores, critical issues, performance concerns, and potential bugs. Use when user requests to review changes, check code quality, analyze diffs, or validate LLM-generated code
Install this agent skill to your Project
npx add-skill https://github.com/uuta/dotfiles/tree/main/skills/review-diffs
SKILL.md
Review diffs
Instructions
- Read diffs with
git diffcommands, and review code after LLM changes code
Todo
- Read diffs with
git diffcommands - Review diffs
- Create/update docs/review.md in the current directory that you're working on
What docs/review.md should contain
- Score (up to 100)
- Short summary
- Critical issue
- Potentially performance issue
- potential bug
Examples
- Score (up to 100): 45
- Short summary:
format_all_attachmentis now wired into the token counter, but the prompt builder still falls back to the old helper that drops full-file attachments whenever a ranged snippet exists, so the shipped behavior hasn’t actually improved and the token math is now inconsistent with what the LLM sees. - Critical issue:
PromptBuilder.build_promptstill choosesformat_ranged_attachmentfor the whole batch whenever any attachment hasline_range, and the helper only emits entries for those ranged files, so attachments without ranges vanish from the actual prompt even though the new formatter counts them. Users still lose files and won’t get their code reviewed. (src/usecase/message/prompt_builder.py:24, src/usecase/helper/helper.py:198)
- Potentially performance issue:
GenerateMessageUseCase.executenow counts tokens for every attachment viaformat_all_attachment, but the prompt builder sends fewer tokens when the mix contains both ranged and full files. Legitimate requests are rejected too early with EEAOAI40003 even though the downstream prompt would have fit, effectively shrinking usable context and wasting retries. (src/usecase/message/generate.py:140, src/usecase/message/prompt_builder.py:24)
- potential bug:
- The same prompt-builder helper is used for each
HistoryItem, so any historical message that combined ranged and non-ranged attachments will also drop the non-ranged ones. Past context can silently disappear between turns, leading the model to hallucinate or ignore previous uploads. (src/usecase/message/prompt_builder.py:33)
- The same prompt-builder helper is used for each
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
pbi-sub-issue
タスク分割プラン(pbi-task-splitで作成)を元に、GitHub の Sub-issue を作成する。親 Issue との関係も自動で設定。
dev
Orchestrate TDD-based development workflow. Checks workflow state and delegates work to subagents (dev-plan, dev-step, create-pr).
neo-frontend-design
Create dark command-center / cyberpunk dashboard interfaces inspired by the OJPP Portal design. Use this skill when the user asks for a dark, neon-accented, terminal-aesthetic UI. Generates production-grade code with glitch effects, monospace typography, and per-module neon color coding.
tdd-plan
Create implementation plans following TDD methodology with test-first approach. Each test file is immediately followed by its implementation (fine-grained RED→GREEN cycles).
prototype
Generate 3 HTML prototype variants using a team of parallel agents. Each agent creates a distinct design pattern (e.g., hover effects, animations, layouts) based on user prompts or docs/goal.md. Use when the user wants to explore multiple design directions for a UI component.
review-format
Output in the specified format when a review of specific markdown is requested.
Didn't find tool you were looking for?