Self-refinement framework for iterative quality improvement. Triggers on "reflect", "review my work", "check quality", "self-review".
From cc-setupnpx claudepluginhub krzemienski/cc-setup --plugin cc-setupThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Details PluginEval's skill quality evaluation: 3 layers (static, LLM judge), 10 dimensions, rubrics, formulas, anti-patterns, badges. Use to interpret scores, improve triggering, calibrate thresholds.
Reflect on the most recent response or output and assess its quality using structured criteria.
Categorize the task before proceeding:
Single-file edits, documentation updates, simple queries, straightforward bug fixes. → Skip to Final Verification checklist only.
Multiple file changes, new feature implementation, architecture decisions, complex problem solving. → Full assessment + confidence score required (>4.0/5.0 to pass).
Core system changes, security-related code, performance-critical sections, API design. → Full assessment + higher confidence threshold (>4.5/5.0 to pass).
Hard rule: Flag any unverified dependency before approving the work.
Hard rule: Do not declare work complete until claims match verified reality.
Refinement needed? [YES / NO]
If YES → identify issues, propose solutions, prioritize (critical first, style last), then implement. If NO → proceed to Final Verification.
When output involves code, also evaluate:
For documentation, explanations, analysis:
## Reflection Report
### Completeness — X/5
Analysis: [evidence-based]
Issues: [if any]
### Quality — X/5
Analysis: [evidence-based]
Issues: [if any]
### Correctness — X/5
Analysis: [evidence-based]
Issues: [if any]
### Dependencies & Impact — X/5
Analysis: [evidence-based]
Issues: [if any]
### Claims & Facts — X/5
Analysis: [evidence-based]
Issues: [if any]
## Score Summary
| Criterion | Score | Weight | Weighted |
|-----------------|-------|--------|----------|
| Completeness | X/5 | 0.25 | X.XX |
| Quality | X/5 | 0.25 | X.XX |
| Correctness | X/5 | 0.25 | X.XX |
| Dependencies | X/5 | 0.15 | X.XX |
| Claims & Facts | X/5 | 0.10 | X.XX |
| **Total** | | | **X.XX/5.0** |
## Confidence
- Evidence strength: Strong / Moderate / Weak
- Criterion clarity: Clear / Ambiguous
- Confidence level: X.XX → High (>4.5) / Medium (4.0–4.5) / Low (<4.0)
## Refinement Actions
[List specific improvements to implement, or "None required"]
| Score | Meaning |
|---|---|
| 5 | Exceeds requirements, genuinely exemplary |
| 4 | Meets all requirements, very few minor gaps |
| 3 | Meets basic requirements, minor issues |
| 2 | Partially meets requirements, notable gaps |
| 1 | Fails to meet requirements |
If confidence is below the threshold for the complexity path: