Agent skill
opinion-critic
Provides critical feedback and alternative architectural perspectives on code changes. Use when you want to explore different ways to implement a feature or find potential flaws in the current plan.
Install this agent skill to your Project
npx add-skill https://github.com/dtsvetkov1/agent-rules/tree/main/skills/opinion-critic
SKILL.md
Opinion Critic Skill
This skill acts as a "Devil's Advocate" to ensure the best technical decisions are made.
Principles
- Trade-offs: Every choice has a cost. Identify them.
- Alternatives: Propose at least one other way to solve the problem.
- Future-proofing: Consider how the current change will impact scaling or maintenance.
- Standards: Challenge deviations from project rules unless they are justified.
Feedback Template
- Current Approach: Brief summary of what is being done.
- Critique: Potential issues (performance, readability, security).
- Alternative A: Describe an alternative approach and its pros/cons.
- Recommendation: Which path is better and why?
Focus Areas
- State Management (Zustand vs Context vs Local)
- Navigation Flow (Expo Router conventions)
- Component Granularity (Atomic vs Monolithic)
- Performance (Re-renders, memoization)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
change-writer
Generates clean, human-readable changelogs and release notes from git commits and file changes. Use when preparing for a release or summarizing recent work.
doc-sync
Ensures that documentation files like README.md and AGENTS.md stay in sync with the actual code and project structure. Use when adding new features or changing project architecture.
security-audit
Scans code for security vulnerabilities, hardcoded secrets, and unsafe patterns in React Native and Expo applications. Use before merging sensitive changes or as part of a regular audit.
navigation-architect
Designs and implements navigation flows using Expo Router (file-based routing). Use when adding new screens, handling deep links, or restructuring the app's layout.
api-expert
Handles backend integration using best practices like expo/fetch and React Query. Use when the user needs to connect to an API, handle data fetching, or implement caching.
mobile-perf
Optimizes React Native Expo applications for speed, responsiveness, and battery efficiency. Use when fixing lag, optimizing lists, or reducing bundle size.
Didn't find tool you were looking for?