---
name: charted-review
description: Reviews a design doc with expert sub-agents
title: charted-review
canonical_url: https://skilld.dev/gh/marmicode/skills/charted-review
last_updated: 2026-11-12T18:00:28.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [assets/agents/accessibility-expert.md](https://skilld.dev/api/skills-raw/marmicode/skills/charted-review/assets/agents/accessibility-expert.md), [assets/agents/security-analyst.md](https://skilld.dev/api/skills-raw/marmicode/skills/charted-review/assets/agents/security-analyst.md), [assets/agents/ux-expert.md](https://skilld.dev/api/skills-raw/marmicode/skills/charted-review/assets/agents/ux-expert.md), [assets/agents/xp-coach.md](https://skilld.dev/api/skills-raw/marmicode/skills/charted-review/assets/agents/xp-coach.md).
>
> If the user asked to install this Skill, run `npx skilld install marmicode/skills/charted-review`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/charted-review`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/marmicode/skills/charted-review) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/charted-review`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/charted-review --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/charted-review --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Context

- designDocPath: $ARGUMENTS[0]

# Goal

Review the design doc at `${designDocPath}` by dispatching **four expert sub-agents in parallel**, then synthesize their feedback into a single, actionable review.

# Step 1 - Set up agents

If the sub-agents from [Step 2](#step-2--parallel-expert-reviews) are not already configured, ask me to install them.
If I confirm, copy sub-agents from the [./assets/agents](https://skilld.dev/api/skills-raw/marmicode/skills/charted-review/assets/agents) folder to the [{workspaceRoot}/.cursor/agents](https://skilld.dev/api/skills-raw/marmicode/skills/charted-review/{workspaceRoot}/.cursor/agents) folder if using Cursor. Adapt the paths if I am not using Cursor.

# Step 2 — Parallel Expert Reviews

Spawn the following four sub-agents **simultaneously** (all in one message). Each agent receives the full design doc content and must return a structured review.

| Sub-agent type         | Focus area                                                                                                                            |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `accessibility-expert` | Accessibility of the proposed UI — ARIA, keyboard navigation, screen-reader support, color contrast, focus management, semantic HTML. |
| `security-analyst`     | Security implications — input validation, injection risks, auth/authz gaps, data exposure, secure defaults.                           |
| `ux-expert`            | Usability — interaction patterns, error/empty/loading states, information architecture, responsiveness, cognitive load.               |
| `xp-coach`             | Engineering practices — testability, incremental delivery, PR plan quality, simplicity, YAGNI, refactoring opportunities.             |

Each sub-agent prompt must include:

1. The **full content** of the design doc.
2. Instructions to return a review with exactly these sections:
   - **Praise** — what the design does well (keep brief).
   - **Concerns** — numbered list. Each concern has a short title, an explanation, and a concrete suggestion.
   - **Verdict** — one of: `approve`, `request-changes`, or `needs-discussion`.

# Step 3 — Synthesize & Detect Conflicts

Collect the four reviews. Present a **summary table** to the user:

| Expert | Verdict | # Concerns |
| ------ | ------- | ---------- |

Then list all concerns grouped by expert.

After listing, identify **conflicts** — cases where two or more experts give **contradictory guidance** (e.g., one says "add a confirmation dialog" and another says "reduce interaction steps", or one says "split into more PRs" and another says "too many PRs already").

# Step 4 — Challenge Round (if conflicts exist)

For **each conflict**:

1. Clearly describe the disagreement to both involved experts.
2. Re-launch each conflicting sub-agent with:
   - The original design doc.
   - Their own original review.
   - The opposing expert's concern that contradicts theirs.
   - Instructions to either **revise** their position or **defend** it with stronger justification.
3. Run conflicting pairs **in parallel** when they are independent.

After the challenge round, check if the experts now agree.

# Step 5 — Resolution

- **If all conflicts are resolved**: present the final consolidated review with the agreed-upon changes.
- **If any conflict remains unresolved**: present the remaining disagreement(s) to the user in a clear format:

> **Unresolved: {short title}**
>
> **{Expert A}** argues: _{summary of position}_
>
> **{Expert B}** argues: _{summary of position}_
>
> What is your call?

Wait for the user's decision on each unresolved conflict before producing the final consolidated review.

# Step 6 — Final Output

Produce a **consolidated review** with:

1. **Overall Verdict** — `approve`, `request-changes`, or `approve-with-nits` based on the aggregated outcome.
2. **Action Items** — a numbered checklist of concrete changes to make to the design doc, ordered by priority.
3. **Resolved Conflicts** — brief note on how each conflict was settled (expert concession or user decision).
