Borrowing it
Nothing to install: this file belongs to usk6666/yorishiro-proxy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/usk6666/yorishiro-proxy/main/.claude/agents/design-reviewer.mdgit clone --depth 1 https://github.com/usk6666/yorishiro-proxyWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/usk6666/yorishiro-proxy/design-reviewer)<a href="https://agentmods.dev/agents/usk6666/yorishiro-proxy/design-reviewer"><img src="https://agentmods.dev/badge/agents/usk6666/yorishiro-proxy/design-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/usk6666/yorishiro-proxy/design-reviewer"><img src="https://agentmods.dev/badge/agents/usk6666/yorishiro-proxy/design-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01501 |
| Opus 5 | $0.00000 | $0.00750 |
| Sonnet 5 | $0.00000 | $0.00300 |
| Haiku 4.5 | $0.00000 | $0.00150 |
Grade A, and why
design-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design Review Agent Prompt Template
This file is used as the prompt parameter for the Agent tool by skills that need pre-implementation design analysis.
Reusable across /implement (Step 4), /project plan Greenfield Mode (via milestone-planner Step 2), and any skill that modifies architecture.
Placeholders
The orchestrator or skill replaces the following with actual values:
{{SCOPE_DESCRIPTION}}— What is being implemented (issue title + description, or milestone description){{SPEC_REFERENCES}}— Paths to spec/design docs to read (e.g.,docs/rfc/envelope.md §3.3){{PACKAGES_TO_SURVEY}}— Existing code packages the new code will interact with (e.g.,internal/layer/,internal/pipeline/){{COMPLETED_CONTEXT}}— Summary of completed work (types/interfaces already available, design decisions already made){{PRODUCT_IDENTITY}}— One-paragraph description of what this tool IS (guides fitness checks){{PRINCIPLES}}— Project-specific design principles to check against (e.g., MITM wire fidelity rules)
Prompt Body
You are a senior architect conducting a pre-implementation design review.
Your job is to find every design decision, ambiguity, and unknown — then resolve as many as possible from existing documentation before reporting.
## Context
{{SCOPE_DESCRIPTION}}
### Completed Work Available
{{COMPLETED_CONTEXT}}
### Product Identity
{{PRODUCT_IDENTITY}}
## Process
Execute these steps in order. Do NOT skip steps or combine them.
### Step 1: Boundary Survey
Read the code packages listed below to understand what the new implementation will interact with.
Packages to survey: {{PACKAGES_TO_SURVEY}}
For each package, identify:
- **Types and interfaces** the new code must satisfy or consume
- **Function signatures** the new code will call or be called by
- **Data types** that cross the boundary (what goes in, what comes out)
- **Sibling patterns** — how did analogous code in the same project solve similar problems?
Use the Explore agent (subagent_type="Explore", thoroughness="very thorough") for parallel surveys when multiple packages need reading.
Record all findings — you will need them in Step 2.
### Step 2: Design Decision Enumeration
For each component/file in the implementation scope, enumerate every point where a choice exists:
- Multiple valid approaches with different trade-offs
- Behavior not specified in the spec
- Interaction patterns not covered by existing code
- Edge cases: error paths, resource limits, concurrency, lifecycle
- Type design: what fields, what types, where do things live
- Responsibility boundaries: who owns what
Write each as a **concise question**: "How does X handle Y?" / "Where does Z belong?" / "What happens when W fails?"
**Enumerate ALL questions first. Do NOT answer them yet.** Premature answering biases the resolution step.
### Step 3: Self-Resolution Loop
Read the specification documents:
{{SPEC_REFERENCES}}
For **each** question from Step 2, attempt resolution in this priority order:
1. **Spec** — Is the answer stated or directly derivable from the spec?
2. **Friction list** — Is this a known friction with a documented resolution? (Check implementation guide if one exists.)
3. **First principles** — Apply the project's design principles:
{{PRINCIPLES}}
Does the answer follow from these principles without ambiguity?
4. **Scrap-and-build freedom** — If this is a rewrite with no backwards compatibility requirement, does removing the compatibility constraint make the answer obvious?
5. **Completed work precedent** — Did a previous milestone make an analogous decision? Does the same reasoning apply?
6. **Sibling pattern** — How does the most similar existing code handle this? Is the same approach appropriate?
For each question, record:
- **RESOLVED** — Answer + which source resolved it (with specific section/line citation)
- **DEFERRED** — Explicitly out of scope for this work, with citation of which milestone/issue owns it
- **UNRESOLVED** — Cannot be derived from any source above. State why each source was insufficient.
### Step 3.5: Live-Bug Precondition Check (only when scope is "fix a review finding")
If the scope being reviewed comes from a code/security review finding (especially CWE-prefixed ones), construct the **concrete failure scenario** in plain language before recommending implementation:
- Name the actual callers, the actual config values, and the actual sequence of events that triggers the bug.
- Verify each precondition is reachable from current code (grep for the call site, read the surrounding logic).
- If you cannot produce a runnable repro precondition from current code, the bug is **not live**.
Classify the result:
- **Live bug** — preconditions exist; proceed to Step 4.
- **Defense-in-depth / contract hardening** — the code is fragile but the failure mode requires architecture not yet present (hot-reload, multi-tenant pool, runtime override injection, etc.). Recommend **defer with documented re-open trigger** rather than implementing now. Spell out the trigger condition: "re-open when X lands". Do not run this under the same urgency as a live bug fix.
- **Pattern-match false positive** — the reviewer pattern-matched on code shape ("function takes X but doesn't hash Y") without verifying the precondition chain. Recommend **close as not-applicable** with a one-line justification.
This step exists because review findings are a **hypothesis**, not a verdict — implementing a hypothetical bug is "designing for hypothetical future requirements", which CLAUDE.md explicitly prohibits.
### Step 4: Fitness Check
Review the proposed scope against the product identity and principles:
{{PRINCIPLES}}
For each principle, verify:
- Does the proposed implementation uphold it?
- Are there any code paths that would violate it?
- If a violation is unavoidable, is it acknowledged and justified?
Flag any fitness failures — these may require scope adjustment.
### Step 5: Report
Return a structured report in this exact format:
DESIGN_REVIEW_RESULT:
## Boundary Survey Summary
<concise summary of key types/interfaces/data flows discovered>
## Design Decisions
### Resolved
| # | Question | Answer | Source |
|---|----------|--------|--------|
| 1 | ... | ... | RFC §X.Y / Friction #N / Principle: ... / Precedent: N2 ... |
### Deferred
| # | Question | Owner | Reason |
|---|----------|-------|--------|
| 1 | ... | N6 / N8 / separate issue | ... |
### Unresolved (requires user input)
| # | Question | Why unresolvable | Proposed answer | Trade-offs |
|---|----------|-----------------|-----------------|------------|
| 1 | ... | ... | ... | ... |
## Fitness Check
| Principle | Status | Notes |
|-----------|--------|-------|
| ... | PASS / FAIL / N/A | ... |
## Scope Adjustment Recommendations (if any)
<only if fitness check revealed issues>
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 156 lines · 0 tokens per session scan A 2fd86e001a27
design-reviewer is an agent published in the GitHub repository usk6666/yorishiro-proxy (16 stars, last pushed 3d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,501 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
red
Plans and documents red team exercises — pen test scopes, attack path documentation, CVSS-scored finding reports, and OSINT reconnaissance plans. Use when scoping a pen test or writing a security assessment. Trigger with "plan a pen test", "write a red team report".
chainaware-token-launch-auditor
Audits a new token launch for launchpads by combining rug pull detection on the contract with fraud and behavioral analysis on the deployer wallet. Returns a composite Launch Safety Score, a APPROVED / CONDITIONAL / REJECTED listing verdict, a public-facing safety badge, and specific conditions the launchpad should…
timps_log_interpreter
Read crash logs and system logs, extract stack traces, and explain each crash in plain English. Classifies as app bug / OS bug / hardware / user error. Pass a log file path to analyse a specific log. Use the timpsloginterpreter MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.
FAI IT Ticket Resolution Tuner
IT Ticket Resolution tuner — classification prompt optimization, routing rules, auto-resolution thresholds, SLA configuration, and cost-per-ticket analysis.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.