/insight-blueprint:analysis-review [design_id]from insight-blueprint
Produces a structured review of an analysis design and records it as a review batch. Claude critiques the design (question or hypothesis, methodology, metrics, confounders, charts) and, after the analysis, the result (notebook, verdict, figures), the user confirms the comments, and they are written via design_io review-batch with a post-review status — feeding /analysis-revision. The producer side of the review loop (there is no web UI). Triggers: "レビューして", "design をレビュー", "批評して", "review this design", "review design", "レビュー依頼".
Ships in insight-blueprint. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generates a peer-style review of an analysis design and records it as a review batch,
so /analysis-revision can work through the comments. This is the producer side of the
review loop; /analysis-revision is the consumer. With no web UI, reviews are created
here (via design_io review-batch) rather than submitted through a dashboard.
Primarily a design/plan review: the outcome is revision_requested (needs work) or
analyzing (approved — go analyze). Terminal decisions (explored for an exploration,
supported / rejected / inconclusive for a confirmation) are possible through the same
mechanism, but concluding a design is the job of /analysis-reflection. For a confirmation
whose analysis has not started, supported and rejected need the criterion written in the
design, as analyzing does; inconclusive does not (Step 5).
A review of the result after the analysis is optional and goes the same way: the analyzing
design moves back to in_review (Step 2), and approving it returns it to analyzing. The
analyst then concludes it with /analysis-reflection, not by analyzing again.
A review of the result reads what the check of the computation does not (ADR-0071): the
value against its judgment, the figures, the guardrails, and the interpretation with its
confounders (Step 3b). Whether the notebook computed what the design says is the check's to
read, and /analysis-reflection Step 2 runs it before the analyst reads.
$ARGUMENTS if given, else
design_io list --status in_review and let the user pick.design_io get --id {design_id} — load content + status.A review batch can only be recorded when the design is reviewable (in_review or
revision_requested).
in_review / revision_requested → proceed.analyzing → ask "in_review に戻してレビューする?"; if yes,
design_io transition --id {design_id} --target in_review.explored / supported / rejected / inconclusive) → cannot review; inform and exit.Review across dimensions and draft one comment per issue. Each comment targets a section
(target_section) drawn from the allowed set:
exploration_question, exploration_background, hypothesis_statement,
hypothesis_background, metrics, explanatory, chart, next_action,
referenced_knowledge, methodology, analysis_intent, decision_context,
notebook, verdict, figures. The last three are the result: use them only in a review
after the analysis (Step 3b).
When .insight/notebooks/{design_id}_verdict.json exists, the analysis has run: this is a
review of the result. Read the design with the lenses below, then go through Step 3b before
Step 4.
Suggested lenses:
Read analysis_intent first: the lenses differ by intent. An exploration (exploratory with
exploration_question) measures and answers and gives no verdict; a confirmation
(confirmatory) fixes a hypothesis and its criterion before the analysis. A legacy exploration
(exploratory with hypothesis_statement) is read with the confirmation lenses; when it is in
fact a confirmation, a comment on analysis_intent may suggest setting it to confirmatory.
comparison? An exploration carries neither.comparison of the primary metric, so the verdict is
fixed before the result is seen?decision
needs? For a confirmation: would supported and rejected lead the decision_maker to
different choices on the decision, and does next_action agree with it? The field is
optional: a design without one is not an issue to raise.Comment shape (for the payload in Step 5). Two valid forms:
// section-targeted: target_section AND target_content are BOTH required
{"target_section": "methodology", "target_content": "OLS", "comment": "OLS assumes homoscedasticity; residuals look funnel-shaped — consider robust SE."}
// general comment: omit target_section (and target_content)
{"comment": "The overall framing mixes exploratory and confirmatory goals."}
Contract (BatchComment, enforced by design_io): comment is required and non-empty;
if you set target_section you MUST also set target_content (a snippet of what the
comment refers to); for a comment not tied to a section, omit target_section entirely.
Before the critique, tell the analyst what you read, in one short list:
.insight/notebooks/{design_id}.py.insight/notebooks/{design_id}_verdict.json.insight/notebooks/{design_id}_fig*.png (the ones the verdict's figures lists)comparison of each metric in the designThen read the result with these lenses, one comment per issue:
judgment it sits
next to? A line keeps only its number and points the way the comparison says, so read
the value against the lines that way: a value past the support_line with
judgment: rejected, one past the reject_line with judgment: supported, an interval
that crosses a line with a firm judgment. Point out the contradiction; never compute a new
judgment.pass its threshold? A failed guardrail
next to supported must be said.Whether the line a notebook copied matches the comparison and whether the order of its cells
is the 7-cell contract of /analysis-notebook are what the check of the computation reads,
before the analyst reads, in /analysis-reflection Step 2 (ADR-0071 6). Leave both to it: a
comment on them here would say again what the check says. Read
design_io checked --id {design_id} first: while it does not say checked: true (the check
has not run, or could not be recorded), read the line the notebook copied against the
comparison as well, and tell the analyst the check of the computation is not done, since
nothing else reads the line until it is.
An exploration has no criterion: it carries no line, no judgment, no threshold and no pass (ADR-0050). Read its verdict with the figures and the interpretation lenses only.
A design with a verdict but no analysis_started_at was saved before the analysis mark
existed and reads as not started (ADR-0053). Tell the analyst so: the batch is recorded as
before the analysis, and the design does not keep its hypothesis, criterion or intent.
A comment on the result targets notebook (a cell), verdict (a metric of the verdict) or
figures (a figure), with the snippet it points at as target_content. A comment on the
hypothesis, the criterion or the intent of a started confirmation is still recorded, but the
design keeps them (ADR-0053): /analysis-revision answers it without changing them.
Present the draft comments as a table (section / comment) and let the user drop, edit, or add. Do not record unconfirmed comments. Then agree on the decision:
Pipe the confirmed comments and record the decision. This writes the batch to
{design_id}_reviews.yaml and transitions the design in one step:
echo '{
"comments": [
{"target_section": "hypothesis_statement", "target_content": "A improves B", "comment": "..."},
{"target_section": "methodology", "target_content": "OLS", "comment": "..."},
{"comment": "General note not tied to a section."}
],
"reviewer": "analyst"
}' | design_io review-batch --id {design_id} --status revision_requested
Use --status analyzing to approve instead. Show the returned batch to the user.
An approval that would let a confirmation, a legacy exploration or a mixed design into
analyzing without a primary metric whose comparison states the criterion is refused
(ADR-0053), and no batch is recorded. Tell the analyst the criterion is missing and send them
to /analysis-design {design_id} to write the comparison; then record the review again.
The same holds for a verdict of the hypothesis: --status supported or --status rejected on
such a design whose analysis has not started is refused, and no batch is recorded. A hypothesis
is not supported or rejected without a criterion on record. Offer the analyst the two ways
out: write the criterion with /analysis-design {design_id} and record the review again, or
close the design without a verdict of the hypothesis with --status inconclusive, which
needs no criterion.
Run tree_io render --design {design_id} so that the design note shows the batch you
recorded, and tell the analyst where the note is: read the JSON it prints as the
#### 読むもの of /analysis-reflection says, and show its 分析ノート: line. This step is
not a gate: ask nothing. If the render exits non-zero, show its stderr; the batch of Step 5
stays recorded.
revision_requested → "指摘に対応するなら /analysis-revision {design_id}"analyzing → "分析を始めるなら /analysis-journal {design_id}"(結果のレビューなら "結論を出すなら /analysis-reflection {design_id}")design_io <command> (available on PATH via the plugin):
| Command | Used for |
|---|---|
list --status in_review | Find designs awaiting review |
get --id ID | Load design content + status |
transition --id ID --target in_review | Make an analyzing design reviewable |
review-batch --id ID --status S (stdin JSON) | Record comments + transition to S |
list-reviews --id ID | Inspect existing review batches |
Validation (reviewable status, allowed target_section, non-empty comments, valid
status_after) runs inside design_io before writing; invalid input exits non-zero.
| From | To | When |
|---|---|---|
| /analysis-design | -> /analysis-review | Design drafted: "作った design をレビューするなら /analysis-review {id}" |
| /analysis-review | -> /analysis-revision | revision_requested: "指摘に対応するなら /analysis-revision {id}" |
| /analysis-review | -> /analysis-notebook | analyzing (approved): "分析を実行するなら /analysis-notebook {id}" |
| /analysis-review | -> /analysis-journal | analyzing (approved): "分析を始めるなら /analysis-journal {id}" |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
15 skills in this plugin
/analysis-autoGuided autopilot and the analyst's single entry. Takes a theme, builds its question tree
(or resumes at the node the latest tree decision names) and walks the tree one decision per round:
design → review → premortem → notebook → journal → reflection → theme reflection →
tree decision. A decision that names several nodes hands their designs over together, after
one check of all of them. Progresses automatically through low-friction steps and
pauses only at genuine decision points (root question and aim, the node to investigate,
intent and the question to explore or the hypothesis, the designs to hand over together,
what a handed-over analysis cannot go on without changing, source registration, cost/risk, code with external effects, conclusion, the results
the theme's answers rest on, the tree decision, sending anything outside this machine).
Triggers: "オートで進めて", "自動で分析を回して", "autopilot", "guided auto",
"最後まで進めて", "analysis auto", "論点を順に調べて".
/analysis-designGuides Claude through creating analysis design documents for hypothesis-driven EDA:
an exploration (a question to measure) or a confirmation (a hypothesis to judge).
Use when the user wants to create, manage, or review analysis designs.
Triggers: "create analysis design", "hypothesis document", "new hypothesis",
"分析設計を作りたい", "仮説を立てたい", "新しい仮説", "仮説ドキュメント".
/analysis-framingExplores existing data and analyses to help frame a question to explore or a hypothesis to confirm.
Triggers: "framing", "何を分析する", "分析テーマ", "仮説を考えたい",
"データを探して", "既存分析を確認", "analysis framing".
/analysis-journalRecords reasoning steps during hypothesis-driven analysis as an Insight Journal.
Supports observation logging, evidence tracking, method decisions, question management,
and hypothesis branching. Journal data is stored as YAML alongside design files.
Triggers: "journal", "記録して", "ジャーナル", "推論を残す", "分析ログ",
"分析の経緯", "なぜこの結論に至ったか記録", "evidence log".
/analysis-notebookGenerates a notebook (a plain Python script) from an analysis design's methodology, runs it,
and records the results to the Insight Journal. Turns a reviewed/approved design into an
executed, lineage-tracked analysis. Fills the design→analysis step (successor to the
removed batch-analysis, now interactive).
Triggers: "notebook を作って分析", "分析を実行", "ノートブック生成", "run analysis",
"generate notebook", "分析ノートブック".
/analysis-reflectionGuides structured reflection on an analysis design using its Insight Journal.
Helps say what the results tell, check the open questions, and decide how the design ends:
a verdict for a confirmation, `explored` for an exploration, or a derived design.
Given a theme, writes the current answer of each node of its question tree across the
designs of the theme, citing journal events, and checks it before the analyst sees it.
Triggers: "振り返り", "reflection", "まとめ", "結論を出す", "分析を振り返る",
"この仮説どうなった", "wrap up analysis", "テーマの振り返り", "現時点の答え".
npx claudepluginhub etoyama/insight-blueprint-skills --plugin insight-blueprint