# Code Review Requesting

> Structured code review workflow ensuring context and clarity. Use when: implementation complete, tests verified, before merge request. Do not use: during active implementation, before verification checklist, or for design reviews.

- **Type:** Skill
- **Install:** `agentstack add skill-woliveiras-geremmyas-code-review-requesting`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [woliveiras](https://agentstack.voostack.com/s/woliveiras)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [woliveiras](https://github.com/woliveiras)
- **Source:** https://github.com/woliveiras/geremmyas/tree/main/project/.github/skills/code-review-requesting

## Install

```sh
agentstack add skill-woliveiras-geremmyas-code-review-requesting
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Code Review Requesting

## When to Use

- After implementation complete and verified
- Before submitting PR or sharing code
- To prepare context for effective review
- When you need sign-off before merge

## When NOT to Use

- During development (use inline feedback)
- Before spec approval (review spec first, not code)
- For trivial changes (self-review may be enough)
- When reviewer is not the decision maker

## Pre-Review Checklist

**Code Quality**
- [ ] No commented-out code
- [ ] No debug `console.log` / `println` calls
- [ ] No temporary variables or obvious hacks
- [ ] Tested and verification evidence collected
- [ ] No merge conflicts, rebased on main

**Documentation**
- [ ] Complex logic has comments explaining "why"
- [ ] Public APIs have docstrings
- [ ] Change impact documented if non-obvious
- [ ] Tests updated for changed behavior

**Testing**
- [ ] New tests added for new behavior
- [ ] Regression tests pass
- [ ] Edge cases covered per spec
- [ ] Can run full suite locally without failures

**Context Preparation**

Frame the review:

```
## What Changed?
- Implemented [feature from spec]
- Refactored [component] for [reason: perf/clarity/design]
- Fixed [bug: issue title]

## Why This Approach?
- Chose [X] because [design decision from spec]
- Rejected [Y] because [tradeoff]
- See spec NNNN-slug/spec.md for full context

## Testing
- [X] New tests: 5 tests covering acceptance criteria
- [X] Regression: full suite passes, 0 regressions
- [X] Manual: verified scenario A, B, C

## Files Changed
- core/handler.ts: Updated to [behavior]
- tests/handler.test.ts: Added 5 new tests
- docs/README.md: Updated usage examples

## Review Focus
- Does implementation match spec acceptance criteria?
- Edge case handling: payment declined, network timeout, empty payload
- Performance: N+1 queries, memory leaks
- Security: input validation, error surfaces

## Known Unknowns
- Database query performance under load (no prod data to test)
- Mobile Safari testing (iOS 15 only, not older versions)
```

## Review Request Template

**For PR/MR:**

```
## Title
feat(auth): add email verification flow

## Description
Implemented email verification per spec 0003-auth-flow.
User receives code, submits, backend validates.

## Spec Reference
See specs/0003-auth-flow/spec.md for full acceptance criteria.

## Changes
- Added AuthService.sendVerificationEmail()
- Added VerificationController with POST /verify endpoint
- Added verificationCode table migration
- 8 new tests, all passing

## Testing
✅ Unit tests: 8/8 pass
✅ Integration: email mock tested
✅ Manual: tested code expiry, invalid codes, happy path

## Verification
See verification checklist in #comments

## Reviewer Checklist
- [ ] Code matches spec acceptance criteria
- [ ] No security regressions (validation, SQL injection, etc.)
- [ ] Tests cover happy + sad paths
- [ ] Error handling appropriate
```

## Common Reviewer Questions (Answer Preemptively)

**Design**
- "Why this structure?" → Reference spec and decision (in code comments)
- "Why not [alternative]?" → Document tradeoff upfront

**Testing**
- "What about [edge case]?" → List covered cases in review request
- "Tested on [platform]?" → State explicitly: "Tested on Node 22, not 20"

**Performance**
- "Any performance impact?" → Include benchmarks if relevant
- "Database queries?" → Include query count or EXPLAIN output

**Security**
- "Input validation?" → Show validation code or link
- "Error messages leak data?" → Document what's sanitized

## Red Flags — Fix Before Requesting Review

| Issue | Fix |
|-------|-----|
| No test additions or changes | Reconsider if tests are needed per spec |
| "Code is self-documenting" | Add comments explaining non-obvious decisions |
| Spec reference missing | Include link to spec.md |
| "Tested locally, should be fine" | Show actual test output |
| Whitespace-heavy changes | Use `git diff --ignore-all-space` to focus |
| No description, "pls review" | Write the structured description above |
| Feedback loop unclear | Specify: "Approve if OK, else suggest fixes" |

## Review Cycle Management

**After Requesting Review**

1. **Respond to feedback**
   - Don't dismiss suggestions without reasoning
   - If disagree, explain why per spec/design
   - If agree, apply and re-verify

2. **Re-request after changes**
   - Don't ghost reviewers
   - Link to updated verification evidence
   - Summarize fixes applied

3. **Accept review decision**
   - Approval means code is good AND spec-compliant
   - Rejection means fix, don't rationalize
   - Only override on explicit escalation

---

**Key Principle**: Effective review saves rework. Pre-frame context, answer common questions upfront, show verification evidence. Make reviewer's job easy, decisions fast.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [woliveiras](https://github.com/woliveiras)
- **Source:** [woliveiras/geremmyas](https://github.com/woliveiras/geremmyas)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-woliveiras-geremmyas-code-review-requesting
- Seller: https://agentstack.voostack.com/s/woliveiras
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
