Skip to content
Development
Agent

map-template

Template for the final map output (`map.md`). Optimized for reviewer workflow: understand context first, then track per-file review progress.

From plugin
open-code-review
382132 skills132 agents98 commands2 MCP

Claude Code

> /plugin marketplace add spencermarx/open-code-review
> /plugin install ocr@aclarify

Agent definition

map-template.md

Code Review Map Template

Template for the final map output (`map.md`). Optimized for reviewer workflow: understand context first, then track per-file review progress.

---

Complete Template

# Code Review Map

**Session**: {session_id} | **Generated**: {timestamp} | **Files**: {file_count} | **Sections**: {section_count}

> Mark `X` in Done column as you complete review. Requirements: ✅ full | ⚠️ partial | ❌ none

---

## Executive Summary

{1-2 paragraph narrative explaining what this changeset accomplishes. Frame as a hypothesis.}

**Hypothesis**: {One sentence summary of inferred intent}

**Key Approaches**:
- {Approach 1}: {Brief description}
- {Approach 2}: {Brief description}

---

## Questions & Clarifications

> Ambiguities and assumptions that need verification with the author.

### Questions for Author

- {Question about unclear intent or ambiguous requirement}
- {Question about design choice or deferred work}

### Assumptions Made

- {Assumption 1 — verify if uncertain}
- {Assumption 2 — verify if uncertain}

---

## Requirements Coverage

{Only include if requirements were provided}

| Requirement | Status | Implementing Files |
|-------------|--------|-------------------|
| REQ-1: {description} | ✅ Full | `file1.ts`, `file2.ts` |
| REQ-2: {description} | ⚠️ Partial | `file3.ts` |
| REQ-3: {description} | ❌ Not covered | — |

**Gaps**: {Brief note on unaddressed requirements, if any}

---

## Critical Review Focus

> High-value areas where human judgment matters most. Review these carefully.

| Focus Area | Files | Why It Matters | Req / Concern |
|------------|-------|----------------|---------------|
| {Area, e.g., "Business Logic"} | `file1.ts`, `file2.ts` | {Reason, e.g., "Complex pricing conditionals"} | REQ-1 |
| {Area, e.g., "Security"} | `auth.ts` | {Reason, e.g., "Token validation"} | Security |
| {Area, e.g., "Edge Cases"} | `processor.ts:78` | {Reason, e.g., "Empty array returns null"} | Correctness |

---

## Manual Verification

> Run these tests before or during code review to verify the changeset works.

### Critical Path

- [ ] **{Test Name}** (REQ-1) — {Steps} → Expected: {outcome}
- [ ] **{Test Name}** (REQ-2) — {Steps} → Expected: {outcome}

### Edge Cases & Error Handling

- [ ] **{Edge case}** (`file.ts:42`) — {Steps} → Expected: {behavior}
- [ ] **{Error scenario}** — Trigger: {how} → Expected: {handling}

### Non-Functional

- [ ] **Performance**: {Specific check}
- [ ] **Security**: {Specific check}

---

## File Review

{Main tracking section. Review files in section order, checking boxes as you go.}

### Section 1: {Section Title}

{1-2 sentence narrative hypothesis about this section's purpose}

| Done | File | Role |
|:----:|------|------|
|  | `path/to/file1.ts` | {brief role description} |
|  | `path/to/file2.ts` | {brief role description} |
|  | `path/to/file3.test.ts` | {brief role description} |

**Flow**: {Entry point} → {calls} → {tests}

**Requirements**: REQ-1 ✅, REQ-2 ⚠️

**Review Suggestions**:
- {Specific area to pay attention to, mapped to requirement or concern}
- {Only include if there are key things reviewer should watch for}

---

### Section 2: {Section Title}

{1-2 sentence narrative hypothesis}

| Done | File | Role |
|:----:|------|------|
|  | `path/to/file.ts` | {role} |

**Flow**: {flow summary}

**Requirements**: {coverage}

---

{Repeat for each section}

---

### Unrelated Changes

> Files that don't fit the main sections — opportunistic fixes or supporting changes.

| Done | File | Description |
|:----:|------|-------------|
|  | `path/to/unrelated1.ts` | {description} |
|  | `path/to/unrelated2.ts` | {description} |

---

## Section Dependencies

> How sections connect. Used by the dashboard dependency graph.

| From | To | Relationship |
|------|-----|-------------|
| 1: {Section Title} | 2: {Section Title} | {3-8 word description of dependency} |
| 2: {Section Title} | 3: {Section Title} | {3-8 word description of dependency} |

---

## File Index

| File | Section |
|------|---------|
| `path/to/api/auth.ts` | 1: {name} |
| `path/to/services/auth.service.ts` | 1: {name} |
| `path/to/utils/helper.ts` | Unrelated |

**Total**: {file_count} files

---

## Map Metadata

**Run**: {run_number} | **Flow Analysts**: {count} | **Requirements Mappers**: {count} | **Completeness**: {file_count}/{file_count} ✅

---

Format Guidelines

Section Structure

### Section {n}: {Title}

{1-2 sentence narrative hypothesis}

| Done | File | Role |
|:----:|------|------|
|  | `path/to/file.ts` | {role} |

**Flow**: {entry} → {calls} → {tests}

**Requirements**: REQ-1 ✅, REQ-2 ⚠️

**Review Suggestions**:
- {Only if key things to watch for}

**Titles**: Use descriptive names (✅ "Authentication Flow", ❌ "Files 1-5")

**Role descriptions**: 3-10 words explaining what the file does

Review Suggestions (per section)

Include ONLY if there are specific areas worth highlighting:

  • Business logic requiring human judgment
  • Security-sensitive code paths
  • Edge cases spotted during mapping
  • Architectural decisions to verify

Map suggestions to requirements or concerns. Do NOT perform code review — just flag areas for the reviewer's attention.

**Good**: "Complex pricing conditionals — verify tier logic matches REQ-4" **Bad**: "This function has a bug on line 42" (that's code review)

Section Dependencies

Populate from cross-file flows identified during flow analysis:

  • Use `{number}: {Title}` format matching section headings (e.g., `1: Authentication Flow`)
  • Direction follows call/data flow: caller section → callee section
  • Relationship is a 3-8 word description (e.g., "Auth middleware protects routes")
  • Only include meaningful cross-section dependencies — not every possible connection
  • If sections are independent, leave the table body empty (keep headers)

Requirements Coverage Indicators

  • ✅ Full coverage
  • ⚠️ Partial coverage
  • ❌ Not covered
  • ❓ Cannot assess

Writing Hypotheses

Read more
@spencermarx
Ships withopen-code-review

AI-powered multi-agent code review. Simulates a customizable team of Engineers performing code review with built-in discourse.

38232 skills132 agents2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
382
Star history of spencermarx/open-code-review on GitHub, a chart by star-history.com

Other agents on open-code-review.

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc12d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex1d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about map-template.

Which coding agents can use map-template?
map-template installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.