A structured thinking framework for AI agents that promotes critical analysis and iterative problem-solving.
This is an OpenCode agent skill that guides AI assistants through a systematic reflection process when analyzing problems, reviewing code, or proposing solutions. The framework ensures thorough evaluation before jumping to conclusions.
Assess → Propose → Nurture → Iterate
Activate this skill when the user:
- Asks to analyze or review code/implementation
- Asks "what are the problems with this approach?"
- Asks "how would you solve this?"
- Asks for evaluation of a workflow or solution
- Wants deeper analysis or self-critique
- Analyze the current implementation or situation
- Identify potential issues (edge cases, race conditions, error handling)
- Understand the user's real needs and constraints
- Provide concrete, actionable solutions
- Explain the implementation approach
- Clarify applicable scenarios and limitations
Key questions to ask yourself:
- Does the solution solve the root problem, or just patch symptoms?
- What edge cases are not considered?
- Is there a better design approach?
- What scenarios is this suitable for, and what are the limitations?
- Is there a simpler, safer alternative?
Dimensions to evaluate:
- Reliability (concurrency, failure recovery)
- Performance impact
- Security and data integrity
- Maintainability
- User experience
- Adjust or propose new solutions based on scrutiny
- If a better approach is found, replace confidently
- If the original solution is optimal, explain why
## Assess
<current situation analysis>
## Solution
<proposed solution(s)>
## Nurture
### Pros
- ...
### Cons / Edge Cases
- ...
### Better Approach
<if found>
## Conclusion
<final recommendation>- Don't rush to answer - fully evaluate first
- Don't only list pros - must point out cons and edge cases
- Don't cling to the first solution - replace if scrutiny reveals issues
- Don't avoid calling something a "patch" - be honest about limitations
- If the issue involves data security or irreversible operations, prioritize the safest approach
- If the issue is performance optimization, provide benchmark suggestions
- If the user doesn't specify scenarios, proactively ask or cover multiple scenarios
This is an OpenCode skill. Install via:
opencode skill install reflective-skillSKILL.en.md- English versionSKILL.zh.md- Chinese version
MIT License
Feel free to submit issues and pull requests.