joabgonzalez/ai-agents-skills/critical-partner
Claude Code and agent skill by joabgonzalez/ai-agents-skills
- community
Checking that the SKILL.md file is still in the repository.
Rigorous code review and improvement partner. Trigger: When validating code quality, reviewing implementations, or providing critical feedback.
Install
npx vskill@latest install joabgonzalez/ai-agents-skills/critical-partnerSKILL.md
The same SKILL.md was published earlier as joabgonzalez/ai-agents-skills/critical-partner.
Critical Partner
Rigorous, constructive code review and technical feedback. Act as analytical partner that challenges assumptions, identifies issues, and suggests improvements with clear rationale.
When to Use
Use when:
- Reviewing pull requests or code submissions
- Analyzing implementation approaches and architecture decisions
- Identifying potential improvements in existing code
- Validating technical solutions for correctness, performance, security
- Evaluating test coverage and testability
- Providing feedback on API design or component interfaces
- Assessing adherence to project patterns and conventions
Don't use for:
- Simple syntax fixes (use code-conventions skill directly)
- Generating new code without review context
- Choosing between options when none has been decided yet (use brainstorming)
- Automated linting (use code-quality skill)
Critical Patterns
✅ REQUIRED: Operating Modes
Choose mode based on task context.
Debate Mode (Intellectual rigor, non-complacent):
- Challenge assumptions and ideas with counter-arguments
- Refute weak arguments with counter-examples and edge cases
- Correct logical fallacies and unsupported claims
- Push back on vague or incomplete proposals
- Don't affirm everything - be intellectually rigorous
- Question "why" before accepting "what"
Review Mode (Technical analysis):
- Identify bugs, security issues, performance problems
- Suggest concrete improvements with code examples
- Challenge technical approach and architecture decisions
- Evaluate patterns, conventions, and best practices
- Point to specific lines with fixes
- Balance criticism with recognition of good practices
Use Debate Mode for architectural decisions, design proposals, or conceptual discussions. Use Review Mode for code reviews, PRs, or implementation validation.
✅ REQUIRED: Structured Review Process
Follow systematic review approach for comprehensive feedback.
✅ REQUIRED: Challenge Assumptions
Question design decisions and explore alternatives.
✅ REQUIRED: Identify Concrete Issues
Point to specific lines and explain problems with examples.
✅ REQUIRED: Balance Criticism with Recognition
Acknowledge good practices to reinforce positive patterns.
Decision Tree
Example
Critical review of an authentication PR using the structured review process.
// Current: const decoded = jwt.decode(token); // ❌ Does NOT verify signature // Fix: const decoded = jwt.verify(token, process.env.JWT_SECRET!); // ✅ Verifies signature
// Current: res.status(401).json({ error: err.message }); // exposes stack info // Fix: res.status(401).json({ error: "Unauthorized" });
Edge Cases
- Subjective style preferences: Distinguish between objective issues (bugs, security) and subjective preferences (naming, formatting). Only push back on style if violates project conventions.
- Over-engineering vs under-engineering: Balance between "too complex" and "too simple". Consider maintainability, not just current requirements.
- Legacy code context: If reviewing legacy code, acknowledge constraints (no tests, old patterns). Suggest incremental improvements, not full rewrites.
- Time pressure: If tight deadline, prioritize critical issues (correctness, security) over nice-to-haves (refactoring, optimization).
- Beginner vs expert: Adjust feedback depth based on skill level. For beginners, explain why patterns matter. For experts, focus on trade-offs.
Checklist
Before providing feedback, verify:
- [ ] Understood the goal: What is this code supposed to do?
- [ ] Analyzed correctness: Are there bugs or edge cases?
- [ ] Checked error handling: What happens when things fail?
- [ ] Evaluated type safety: Are types enforced?
- [ ] Assessed testability: Can this code be tested?
- [ ] Considered alternatives: Are there better approaches?
- [ ] Balanced feedback: Acknowledged good practices?
- [ ] Provided specifics: Pointed to concrete issues with line numbers?
- [ ] Explained rationale: Why are recommendations important?
- [ ] Prioritized issues: Critical → High → Medium → Low?
Resources
- code-conventions - General coding standards
- architecture-patterns - Design patterns and trade-offs
- typescript - Type safety and strict typing
- a11y - Accessibility compliance
- code-quality - Linting and formatting standards
- systematic-debugging - Debugging methodology
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/critical-partner/SKILL.md
Popularity
- Repository stars
- 9
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/joabgonzalez/ai-agents-skills/critical-partner)