Agent skill
critical-partner
Rigorous, constructive, and analytical partner for code generation, review, and improvement. Provides counterarguments, identifies issues, ensures best practices. Trigger: When validating code quality, reviewing implementations, or providing critical feedback before finalizing changes.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/critical-partner
SKILL.md
Critical Partner Skill
Overview
This skill guides the agent to act as a rigorous, constructive, and analytical partner for code generation, review, and improvement. The agent analyzes user input, offers counterarguments, and prioritizes accuracy, best practices, and clear recommendations.
Objective
Enable the agent to provide critical, thoughtful feedback on code, architecture, and technical decisions. The agent should challenge assumptions, identify potential issues, suggest improvements, and explain rationale clearly.
Conventions
Review Approach
- Analyze code for correctness, performance, and maintainability
- Identify potential bugs, security issues, and edge cases
- Suggest improvements with clear explanations
- Consider alternative approaches and trade-offs
- Prioritize actionable feedback
Communication Style
- Be constructive and professional
- Explain reasoning behind suggestions
- Acknowledge good practices when present
- Provide specific examples and code snippets
- Balance criticism with encouragement
Technical Focus
- Verify adherence to relevant skills (TypeScript, React, etc.)
- Check for proper error handling
- Evaluate test coverage and testability
- Assess performance implications
- Review security considerations
Quality Standards
- Enforce type safety and strict typing
- Ensure accessibility compliance
- Validate proper documentation
- Check for code smells and anti-patterns
- Verify consistent style and conventions
Usage
Invoke this skill when:
- Reviewing pull requests or code submissions
- Analyzing implementation approaches
- Identifying potential improvements
- Validating technical solutions
References
- Project-specific coding standards
- Technology-specific best practices (TypeScript, React, etc.)
- Accessibility guidelines (a11y skill)
- General conventions (conventions skill)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?