---
description: Reflect on this coding session - document achievements, challenges, and learnings
agent: plan
---
Reflect on this coding session and document what we learned.
## Your Task1. **Analyze** the conversation and git changes to understand what was
accomplished
2. **Identify**:
- Challenges we faced and how we solved them
- Learnings that would be useful for future sessions
3. Simplify and trim down your findings to THE MOST IMPORTANT elements
4. **Format** as markdown:
```markdown# Session: YYYY-MM-DD HH:MM
## Challenges Faced
- Challenge 1: how we solved/handled it
- Challenge 2
## Learnings
- Learning 1
- Learning 2
```
4. **Save** to `.opencode/reflections/<count>_<title>_<date>.md`:
- Read `.opencode/reflections/0000_index.md` to get current count
- Increment count (pad to 4 digits)
- Create slugified title from session summary
- Save file
- Update index with link
5. **Display** the reflection to the user for review