# Implement Chain — Step 4: Review

> Final step: Self-review and summary

---

## Context

Implementation and tests complete. Self-review before submission.

## Input

```yaml
{{code}}
{{tests}}
```

## Task

### 1. Self-Review Checklist

- [ ] Code follows project conventions
- [ ] All acceptance criteria met
- [ ] Error handling complete
- [ ] Tests cover key paths
- [ ] No security issues
- [ ] Documentation added

### 2. Generate Summary

Create implementation summary for user/reviewer.

## Output Format

````markdown
## 💻 Implementation Complete

### Summary

**Feature:** [Feature name]
**Status:** ✅ Complete

---

### Files Changed

| File            | Action   | Lines  | Purpose    |
| --------------- | -------- | ------ | ---------- |
| `path/to/file`  | Created  | +45    | [Purpose]  |
| `path/to/file2` | Modified | +12/-5 | [Purpose]  |
| `path/to/test`  | Created  | +30    | Unit tests |

**Total:** +X lines, -Y lines, Z files

---

### Key Decisions

1. **[Decision 1]**
   - Chose: [What was chosen]
   - Reason: [Why this approach]

2. **[Decision 2]**
   - Chose: [What was chosen]
   - Reason: [Why this approach]

---

### Verification

| Check    | Status          |
| -------- | --------------- |
| Build    | ✅ Passes       |
| Lint     | ✅ Passes       |
| Tests    | ✅ 10/10 passed |
| Coverage | ✅ 92%          |

---

### Acceptance Criteria

- [x] [Criterion 1]
- [x] [Criterion 2]
- [x] [Criterion 3]

---

### Usage Example

```typescript
// How to use the new feature
import { newFunction } from "./path";

const result = await newFunction({
  option: "value",
});
```
````

---

### Next Steps

1. [ ] Code review
2. [ ] Merge to main
3. [ ] Deploy to staging
4. [ ] Monitor for issues

---

_Implemented by: AI Developer • {{DATE}}_

```

---

_Chain Step 4 of 4 • Input: code, tests • Output: Final Summary_
```
