Skip to content
Back to skills

Reflection

ASecurity

Self-correction via critique loop - 18.5 percentage point improvement

  • 229 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 6, 2026
testinggosecurityperformance

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add Miosa-osa/canopy --skill reflection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reflection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reflection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/miosa-osa-reflection/badge)](https://www.skillsdirectory.com/skills/miosa-osa-reflection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: reflection-loop
description: "Self-correction via critique loop - 18.5 percentage point improvement"
trigger: "always"
priority: 2
dynamic: false
created: "2026-01-26"
---

# Reflection Loop Pattern

Self-correction mechanism that achieves 18.5 percentage point improvement (78.6% → 97.1%).

## Activation

This skill auto-activates on:
- Complex task completion
- Error detection
- Quality concerns
- User correction patterns

## Process

### 1. Initial Response
Generate first-pass response to the task.

### 2. Self-Critique
Ask yourself:
- Is the logic correct?
- Are there edge cases missed?
- Does this fully address the requirements?
- What could go wrong?
- Is the code/solution secure?

### 3. Identify Issues
List specific issues found:
- [ ] Logic errors
- [ ] Missing edge cases
- [ ] Security vulnerabilities
- [ ] Performance issues
- [ ] Incomplete requirements

### 4. Revise
For each issue:
1. Explain the problem
2. Propose fix
3. Apply fix
4. Verify improvement

### 5. Final Verification
- Re-check all criteria
- Confirm no regressions
- Validate requirements met

## Integration

The reflection loop integrates with:
- Code review workflow
- Test-driven development
- Verification before completion
- Learning engine (captures patterns)

## Metrics

Track reflection effectiveness:
- Issues caught in critique
- Revisions made
- Final quality score
- User corrections avoided

---

*Based on research showing 18.5pp improvement with reflection patterns*

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…