/insight-blueprint:analysis-design [theme_id]from insight-blueprint
Guides 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", "分析設計を作りたい", "仮説を立てたい", "新しい仮説", "仮説ドキュメント".
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.
Guides Claude through creating a lightweight analysis design document by writing
.insight/designs/*_hypothesis.yaml directly via the design_io helper (no MCP
server). Follows the hypothesis-driven EDA workflow.
design_io CLI (provided on PATH by the plugin; reads JSON payloads on stdin,
prints JSON results; writes to your project's .insight/; validation runs before every write):
echo '<json>' | design_io create
echo '<changes-json>' | design_io update --id FP-H01
design_io transition --id FP-H01 --target analyzing
design_io get --id FP-H01
design_io list [--status in_review]
/data-explorer skill)Before proceeding, confirm with the user:
Run design_io list to understand existing designs:
parent_id should be referencedCheck the conversation context for a ## Framing Brief from analysis-framing.
Detection rules (all must be satisfied):
## Framing Brief heading exists in conversation### テーマ subsection exists under Framing Brief### 推奨方向 subsection exists under Framing Brieftheme_id: field exists within the 推奨方向 sectionIf valid Framing Brief found:
Map Brief sections to analysis-design fields as draft values:
| Framing Brief セクション | analysis-design フィールド | マッピング |
|---|---|---|
| テーマ | title | テーマの1行要約を title の候補として提示 |
| 利用可能データ | source_ids, explanatory, metrics | データソースの id を source_ids の候補にし、カラムから explanatory/metrics の候補を生成 |
| 既存分析 | parent_id | 関連デザイン ID を parent_id の候補として提示 |
| ギャップ | exploration_background / hypothesis_background | ギャップ情報を、選んだ意図の背景の下書きに活用 |
| 推奨方向.探索の問いの案 | exploration_question | 探索のときの下書き。Step 2 で意図を聞いてから確かめる |
| 推奨方向.検証仮説の案 | hypothesis_statement | 検証のときの下書き。Step 2 で意図を聞いてから確かめる |
| 推奨方向.theme_id | theme_id | デフォルト値として設定 |
| 推奨方向.node_id | (分析設計の項目ではない) | 作った分析設計を結ぶ論点。Step 3 の tree_io link に渡す |
| 推奨方向.論点 | title, exploration_background / hypothesis_background | この分析設計が答える問い。title 候補と背景の下書きに活用(探索の問いや検証仮説の文にそのまま写さない) |
| 推奨方向.parent_id | parent_id | デフォルト値として設定 |
| 推奨方向.analysis_intent | analysis_intent | 意図の下書き。Step 2 で必ず聞き直す |
| 推奨方向.推奨手法 | methodology | {method: "推奨手法の値", reason: "Framing Brief の推奨"} としてデフォルト設定 |
Present draft values to user: "Framing Brief の内容でよいか、修正したい点があるか"
Step 2 ではゼロからインタビューせず、draft 値を提示して確認しながら進める。
If Framing Brief missing or incomplete: Framing Brief がない、または検出条件を満たさない場合は何もしない。Step 2 の通常インタビューフローに進む(後方互換)。不完全な場合はユーザーに通知: "Framing Brief が不完全なため通常フローで進めます"
Ask the intent first, then interview the user for the fields of that form.
Before any other field of the design, ask one question: "この分析設計では、測って答えを探しますか(探索)、それとも先に仮の答えと判定の基準を決めて確かめますか(検証)?"
exploratory, 検証 is confirmatory. Never offer mixed: design_io create refuses it.analysis_intent and the default (confirmatory) are only drafts: show the
draft as the suggestion and still ask. Never fill the intent without the analyst's answer.exploration_question and exploration_background. The question is
narrower than the question node it answers and says what is measured. It carries no guess of
the answer and no criterion; a guess the analyst wants to keep goes to the journal as a
hypothesize event (/analysis-journal). Leave hypothesis_statement,
hypothesis_background and next_action out of the payload: design_io create refuses them.hypothesis_statement and hypothesis_background. Leave the two
exploration fields out of the payload.| Field | Required | Description | Example |
|---|---|---|---|
title | Yes | Short descriptive title | "Foreign population vs crime rate" |
analysis_intent | Yes (asked first) | "exploratory" or "confirmatory" — see "Intent" above | "exploratory" |
exploration_question | Yes for an exploration | The question this design measures to answer. No guess of the answer, no criterion | "分館と本館で、貸出の返却日数はどれだけ違うか" |
exploration_background | Yes for an exploration | Why this question, and what is known so far (free-form, multi-line) | Background reasoning |
hypothesis_statement | Yes for a confirmation | Tentative answer to confirm, stated so it can be refuted | "No positive correlation exists between..." |
hypothesis_background | Yes for a confirmation | Context and motivation (free-form, multi-line) | Background reasoning |
decision_context | No | Who decides what on the strength of this analysis: decision_maker + decision, both or neither | {decision_maker: "マーケティング部長", decision: "来期もクーポン施策を続けるか"} |
theme_id | No | Uppercase identifier — defaults to "DEFAULT" | "FP", "TX", "ECON" |
parent_id | No | Parent design ID if this is derived | "FP-H01" |
source_ids | No (always asked) | Ids of the registered catalog data sources the analysis uses — see "Data sources" below | ["crime_stats", "population"] |
data_scope | No; yes for a design handed over with others | What the analysis counts, as three sentences: population (what is in), grain (what one row is) and denominator (what a rate divides by; when no rate is measured, say that there is none). All three or none | {population: "2025年度に取り置いた予約", grain: "予約1件", denominator: "取り置いた予約の全件"} |
metrics | No | List of verification metric dicts (tier: "primary" / "secondary" / "guardrail") | [{target: "crime_rate_per_100k", tier: "primary", data_source: {column: "crime_count"}, grouping: [...], filter: "...", aggregation: "mean", comparison: "..."}] |
explanatory | No | List of explanatory variable dicts (role: "treatment" / "confounder" / "covariate" / "instrumental" / "mediator") | [{name: "foreign_ratio", description: "外国人比率", role: "treatment", data_source: "population の foreign_count 列", time_points: "2012-2022"}] |
chart | No | List of visualization definition dicts (intent: "distribution" / "correlation" / "trend" / "comparison") | [{intent: "correlation", type: "scatter", description: "FP ratio vs crime rate", x: "foreign_ratio", y: "crime_rate"}] |
methodology | Yes | Analysis method and package (must include method key) | {method: "OLS", package: "statsmodels", reason: "線形回帰で相関を検証"} |
next_action | No, and a confirmation only | Branch definition after the verdict. An exploration has none | {if_supported: "...", if_rejected: {reason: "...", pivot: "..."}} |
If the user passed $ARGUMENTS, use it as theme_id (validate format first).
Right after the question or the hypothesis is settled (exploration_question and
exploration_background, or hypothesis_statement and hypothesis_background), ask one question:
"この分析は、誰が何を決めるためのものですか?(無ければスキップできます)"
decision_maker — who decides. Write a role or a team ("マーケティング部長", "プロダクトチーム"),
not a personal name: the report is handed to readers, and a role stays true after people move.decision — what they decide, phrased as the choice the result feeds
("来期もクーポン施策を続けるか").The two come as a pair. The analyst may skip the question; then omit decision_context from the
payload. Never write only one side, an empty string, or a placeholder such as "未定": validation
rejects a half-filled context, and a placeholder would later read as a real decision in the report.
If the answer covers only one side, ask once for the other; if it still is not given, omit the field.
It can be added later with design_io update (Step 3b).
Before the metrics and the explanatory variables, ask: "この分析で使うデータソースは?"
source_ids is the only place a design declares its data sources; every other skill reads them
from there (ADR-0020).
catalog_io search --query {name} and confirm it with them.catalog_io describe --ids={id},{id}. Put on the command line
only ids that fully match ^[a-zA-Z0-9_-]+$; any other value is not an id, so ask again.sources, in that order, to source_ids. For each id in missing, suggest
/catalog-register and leave it out. Never write an unregistered id: downstream skills look
each id up in the catalog and would find nothing.source_ids: [] and declare them later
(Step 3b).data_source on a metric or an explanatory variable is a free-form note on where in the declared
sources the value comes from (a column, a table, a filter). It is not read as a source id by any
skill. Put the ids in source_ids, not in data_source. If a value comes from a source the
analyst could not declare (unregistered), say so in the note and tell the analyst.
An analyst shown metrics they have never seen cannot judge them, and approves a method they do not understand (#210). Explain the metrics before asking about them. First tell the analyst, in one line: "どの指標にも、詳しい解説を求められます。"
target.design_io list and read the metrics[].target of the designs with the same theme_id.
A design under DEFAULT treats every such metric as new: unrelated designs gather there.
A metric of one quantity (a mean, a share, a quantile) gets the sentence only, unless the
analyst asks for more.design_io update (Step 3b) is explained the same way.Sample, for a metric new to a theme on reserved library books:
どの指標にも、詳しい解説を求められます。
wait_excess_days(予約の待ち超過日数)
- 何を表す数か: 予約した本が届くまでに、所蔵冊数と貸出期間から見込める日数より何日多く待ったか。
- 作り方: 予約ごとに、見込みの日数を「予約したときの順位 ÷ 所蔵冊数 × 貸出期間 14 日」で出す。
実際に待った日数から見込みの日数を引き、館ごとに平均する。
- 実データの例(概算。LIB-H01 の journal にある児童書の順位・所蔵冊数・待った日数から、作り方どおりに計算した。
これから比べる一般書ではない):
| 予約 | 順位 | 所蔵冊数 | 見込み | 実際 | 超過 |
| A | 6 | 2 | 42 日 | 50 日 | +8 日 |
| B | 3 | 3 | 14 日 | 9 日 | −5 日 |
- 迷いやすい点: 見込みより早く届いた予約は、超過が負になる。負のまま平均すると、早い予約が遅い予約を
打ち消す。負を 0 に切ると平均は大きくなり、館の差も変わる。
- 言えないこと: 超過は「館の対応が遅れた日数」ではない。前の人の返却の遅れや、取り置きを受け取りに
来なかった日数も入る。
A confirmation fixes its criterion before the analysis. Write the criterion of the verdict, as a
sentence, in the comparison of the primary metric, and confirm it with the analyst together
with the metrics. Example: "分館と本館の差が 2.0 日以上なら支持。1.0 日未満なら棄却。その間は結論しない".
The notebook copies its threshold from this sentence and never makes one up
(ADR-0050).
With the criterion, tell the analyst what the criterion means in the words of the metric, and how the verdict changes if a handling of 迷いやすい点 changes (扱いを変えると判定がどう変わるか). A metric of one quantity has no 迷いやすい点: name the handling that moves its verdict most instead (which rows are left out, how a value on the threshold is read). Example: "2.0 日以上とは、分館の予約が本館より平均で2日以上、見込みより多く待つこと。負の超過を 0 に 切ると両館の平均が上がり、差が縮めば支持から結論しないに変わりうる". The analyst then fixes the handling together with the criterion.
An exploration's comparison says what is compared and how, with no threshold and no rule for
passing: an exploration measures and answers, and gives no verdict.
Before creating the design, verify that methodology is NOT null.
If the interview did not cover methodology, ask now:
methodology = {method: "<answer>", reason: "<why this method>"} at minimum.Downstream notebook generation (Claude Code) works from methodology content. Concrete code patterns dramatically improve generation fidelity.
For each id in source_ids, auto-generate a code pattern from the catalog schema (catalog_io get-schema --id {source_id}) and include it in methodology.steps:
methodology = {
"method": "OLS",
"package": "statsmodels",
"reason": "線形回帰で相関を検証",
"steps": [
{
"description": "SELECT store_id, month, sales\nFROM {source:sales_monthly}\nWHERE month >= '2024-01'"
},
{
"description": "raw_df = pd.read_csv({source:stores}, usecols=['store_id', 'region'])"
}
]
}
Rules:
{source:ID}, where ID is an id in source_ids. /analysis-notebook
replaces it with the location in the source's connection. Never write a path, host, project id or
table name: the design is read by every later skill and by the report, and connection
reaches only the notebook (ADR-0022).FROM {source:ID} for the table{source:ID}Under
/analysis-auto: this auto-generated query is not committed silently. The driver surfaces it as the data-extraction confirmation beat (/analysis-autogate policy, design beat ③) — the actual query text (or, for a non-SQL source, the data source id + columns/filter) is presented to the user beforedesign_io createand before premortem. Standalone/analysis-designinvocation is unchanged.
Under
/analysis-auto, in a round of several nodes (its Step 3H): draft every field from the Framing Brief and write thedata_scope, then create the design (Step 3) without asking. The analyst reads the design on the page, beside the others, before anything runs, and a design without adata_scopeis not put to that check until it states one (ADR-0066). Take the intent the Brief suggests; the analyst changes it by a comment at the check.
Build a JSON payload for the intent the analyst chose and pipe it to design_io create.
methodology is REQUIRED. The helper generates the id ({theme_id}-H{nn}), sets
timestamps, validates the schema and the form of the intent, and writes
.insight/designs/{id}_hypothesis.yaml.
An exploration carries the question and its background, and no hypothesis or next_action:
echo '{
"title": "<title>",
"analysis_intent": "exploratory",
"exploration_question": "<question>",
"exploration_background": "<background>",
"methodology": {"method": "group comparison", "package": "pandas", "reason": "..."},
"decision_context": {"decision_maker": "<who decides>", "decision": "<what they decide>"},
"theme_id": "FP",
"parent_id": null,
"source_ids": ["<source_id>"],
"metrics": [],
"explanatory": [],
"chart": []
}' | design_io create
A confirmation carries the hypothesis and its background, and the criterion in the comparison
of its primary metric:
echo '{
"title": "<title>",
"analysis_intent": "confirmatory",
"hypothesis_statement": "<statement>",
"hypothesis_background": "<background>",
"methodology": {"method": "OLS", "package": "statsmodels", "reason": "..."},
"decision_context": {"decision_maker": "<who decides>", "decision": "<what they decide>"},
"theme_id": "FP",
"parent_id": null,
"source_ids": ["<source_id>"],
"metrics": [{"target": "<metric>", "tier": "primary", "comparison": "<criterion of the verdict>"}],
"explanatory": [],
"chart": [],
"next_action": null
}' | design_io create
Expected stdout (the written design as JSON):
{"id": "FP-H01", "title": "...", "status": "in_review", ...}
Leave decision_context out of the payload when the analyst skipped it (Step 2).
If validation fails (e.g. empty methodology.method, a hypothesis in an exploration, or
mixed), the command exits non-zero with the error on stderr and nothing is written — fix
the payload and retry.
When the Framing Brief carries a node_id, link the design you just created to that node of
the theme's question tree, with the id that design_io create returned:
tree_io link --theme FP --node FP-Q02 --design FP-H01
--theme and --node come from the Brief's theme_id and node_id. The node belongs to
that theme, so a design the analyst moved to another theme is not linked: say so, and that
/analysis-framing can place it in the other theme's tree.node_id came in (no Framing Brief, or a Brief without one), run
tree_io get --theme {theme_id}. When it prints a tree, show its questions with their ids
and ask which question this design answers, or none. Link the design to the one the analyst
picks with the same tree_io link command, that question's id as --node.node_id and no question tree (tree_io get prints {}), or when the analyst picks
none, skip this step. The design is created unlinked, as before.tree_io link exits non-zero, show the error. The design stays as written; do not
create it again.tree_io add-node or write the tree file here. Nodes are made by /analysis-framing.The node may carry an answer the analyst heard from a person (/analysis-reflection keeps
it on the node). Run this every time tree_io link succeeded, with the same three ids:
tree_io copy-hearing --theme FP --node FP-Q02 --design FP-H01
hearing event, with who answered
and when, so that a later answer can cite it. "copied": true comes with the event:
tell the analyst its id."copied": false means the node has no answer, or the same answer is already in the
journal. Both are fine; go on.hearing event for
it by hand: tree_io copies the text as the analyst gave it.explored, supported, rejected, inconclusive) is refused: its journal is
the record it was concluded on. The answer stays on the node, and the next design linked
there gets it from its own copy-hearing. Never reopen the design or write the event
yourself to get around it.To add or modify fields, pipe a partial-changes JSON to design_io update. Only the
provided fields change; updated_at is refreshed and referenced_knowledge is merged.
echo '{"next_action": {"if_supported": "パネルFEへ進む", "if_rejected": {"reason": "相関なし", "pivot": "時系列分析"}}}' \
| design_io update --id FP-H01
echo '{"source_ids": ["sales_monthly", "stores"]}' | design_io update --id FP-H01
The intent and the form change only before the analysis starts, that is, while the design has
no analysis_started_at and is in_review or revision_requested (Status Flow). After that,
derive a new design for another intent. The change sends the fields of the other form as null
so they are dropped:
echo '{"analysis_intent": "exploratory", "exploration_question": "<question>", "exploration_background": "<background>", "hypothesis_statement": null, "hypothesis_background": null, "next_action": null, "metrics": [{"target": "<metric>", "tier": "primary", "comparison": "<what is compared, no threshold>"}]}' \
| design_io update --id FP-H01
design_io does not read the comparison of the metrics, so send metrics with it when the
intent changes: a new confirmation needs the criterion of its verdict in the primary metric's
comparison, and a new exploration drops it (Step 2 "Criterion"). Confirm the rewritten
comparison with the analyst. metrics is replaced as a whole.
A legacy exploration (exploratory with a hypothesis_statement) that is in fact a confirmation
can be set to confirmatory in any status:
echo '{"analysis_intent": "confirmatory"}' | design_io update --id FP-H01
(ADR-0049).
If it is refused because hypothesis_background is blank, a confirmation needs it written: ask
the analyst for it and send it in the same update. That works only before the analysis starts.
Once it has started, leave the design marked as a legacy exploration: a background written
after the result would read as one written before it.
Once the analysis of a confirmation has started, design_io update refuses a change of
hypothesis_statement, of the primary metrics (their target and comparison, adding or
removing one, changing a tier) and of analysis_intent (Status Flow). Do not retry the
update: tell the analyst what is held and offer to derive a new design with parent_id.
To change source_ids, ask and check the ids as "Data sources" (Step 2) says first. source_ids
is replaced as a whole, so send every id the design uses, not only the new ones.
id (e.g., "FP-H01") to the user.insight/designs/FP-H01_hypothesis.yamlchart / decision_context (and next_action for a confirmation) via design_io update/analysis-journal FP-H01/analysis-reflection FP-H01design_io <command> (provided on PATH by the plugin; targets your project's
.insight/). Payloads are JSON on stdin; results are JSON on stdout.
| Command | Purpose | Input |
|---|---|---|
list [--status S] | List existing designs | — |
get --id ID | Retrieve a design | — |
create | Create new design (auto id, validated) | stdin: {title, analysis_intent, methodology, exploration_question + exploration_background (exploration) or hypothesis_statement + hypothesis_background (confirmation), theme_id?, parent_id?, source_ids?, metrics?, explanatory?, chart?, next_action? (confirmation), decision_context?} |
update --id ID | Partial update (merge, refresh updated_at) | stdin: {<fields to change>} |
transition --id ID --target S | Change status (validated) | — |
Validation (schema + state transition) runs inside design_io before writing — the
same validate.py the pre-write hook uses. Invalid writes raise and write nothing.
| Field | Type | Valid Values | Default |
|---|---|---|---|
explanatory[].role | VariableRole | "treatment", "confounder", "covariate", "instrumental", "mediator" | "covariate" |
metrics[].tier | MetricTier | "primary", "secondary", "guardrail" | "primary" |
chart[].intent | ChartIntent | "distribution", "correlation", "trend", "comparison" | inferred from type |
analysis_intent | AnalysisIntent | "exploratory", "confirmatory" for a new design. A saved "mixed" is read as a confirmation; a new one is refused | "confirmatory" (a draft only: Step 2 asks) |
methodology.method | str | free text (required, non-empty) | — |
methodology.package | str | free text (optional) | "" |
methodology.reason | str | free text (optional) | "" |
decision_context.decision_maker | str | free text (required and non-empty when decision_context is present) | — |
decision_context.decision | str | free text (required and non-empty when decision_context is present) | — |
source_ids | list[str] | ids of catalog sources. Not checked by design_io: "Data sources" (Step 2) writes only ids catalog_io describe returns in sources | [] |
methodology.steps | list[dict] | Each dict has description (str). Include concrete code patterns for notebook-generation fidelity. | [] |
Backward compatibility: role, tier, intent fields are optional in input. If omitted, defaults are applied automatically.
[A-Z][A-Z0-9]* (uppercase letter first, then uppercase letters or digits)"FP", "TX", "ECON", "DEFAULT", "FP2""fp" (lowercase), "FP/X" (slash), "1FP" (starts with digit)design_io exits non-zero with the error on stderr — ask the user to correct it| Error (stderr) | Cause | Action |
|---|---|---|
Invalid theme_id 'fp': must match [A-Z][A-Z0-9]* | Invalid theme_id format | Ask user for a valid uppercase theme_id |
Design 'FP-H99' not found | Non-existent design_id | Confirm ID via design_io list |
pydantic ValidationError (e.g. empty methodology.method) | Schema violation | Fix the payload; nothing was written |
pydantic ValidationError on decision_context.decision_maker / decision_context.decision | Only one side of the decision context was given | Ask for the missing side, or drop decision_context; nothing was written |
pydantic ValidationError naming exploration_question, exploration_background, hypothesis_statement, hypothesis_background or next_action | The payload does not match its intent: an exploration with a hypothesis or next_action, a confirmation without its hypothesis, or neither | Send only the fields of the chosen intent; nothing was written |
ValueError naming mixed or a legacy exploration | A new design chose mixed, or an exploration with a hypothesis | Ask the intent again (探索 or 検証); nothing was written |
| From | To | When |
|---|---|---|
| /analysis-framing | → /analysis-design | Framing Brief 付きでフォワーディング |
| /analysis-auto | → /analysis-design | autopilot が仮説をまず用意する |
| /analysis-design | → /analysis-review | デザイン作成後にレビューを受ける: "作った design をレビューするなら /analysis-review {id}" |
| /analysis-design | → /analysis-notebook | デザイン確定後に分析実行: "分析を実行するなら /analysis-notebook {id}" |
| /analysis-design | → /analysis-journal | デザイン作成後: "推論過程を記録するなら /analysis-journal {id}" |
| /analysis-design | → /analysis-framing | データ不足で仮説の方向を再検討: "データを探し直すなら /analysis-framing" |
| /catalog-register | → /analysis-design | データ登録完了後にデザイン作成を続行 |
| /analysis-reflection | → /analysis-design | 派生の分析設計を作る場合(直した検証仮説、探索の後に確かめる検証仮説、次の探索の問い) |
| /analysis-revision | → /analysis-design | レビュー修正で大きな方針変更が必要な場合 |
| /analysis-journal | → /analysis-design | 分岐で派生の分析設計を作る場合(parent_id に分岐元) |
Designs use the DesignStatus model. A new design starts in_review. The form of the
design decides how it ends: an exploration ends explored, and a confirmation ends on a verdict.
Confirmation (confirmatory; also a saved mixed and a legacy exploration):
in_review ─┬→ revision_requested → (back to in_review / analyzing / a verdict)
├→ analyzing → in_review | supported | rejected | inconclusive
└→ supported | rejected | inconclusive (terminal — no exit)
Exploration (exploratory with exploration_question):
in_review ─┬→ revision_requested → (back to in_review / analyzing / explored)
├→ analyzing → in_review | explored
└→ explored (terminal — no exit)
/analysis-reflection concludes it directly;
going back to in_review is an optional review of the result.Status transitions MUST go through design_io transition (or append_review_batch),
which validates the move against VALID_TRANSITIONS in validate.py and the form of the
design. Illegal moves (e.g. analyzing → revision_requested, a verdict on an exploration,
explored for a confirmation, or any exit from a terminal state) are rejected.
The analysis mark. When a design first enters analyzing or a terminal status,
design_io writes analysis_started_at on it. The mark is written once: it stays when the
design goes back to in_review or revision_requested for a review of its result, and a
write that removes or changes it is refused. A design saved without the mark is read as
started while it is analyzing or terminal, and gets the mark on its next transition
(ADR-0053).
mixed and a legacy exploration) whose analysis has not
started enters analyzing, supported or rejected only when it has a primary metric and
every primary metric has a non-empty comparison. Write the criterion while the design is
in_review (Step 2 "Criterion"). inconclusive is open without a criterion, to close a
design whose analysis will not be run. The check does not read the words: whether they
state a criterion is for the review.hypothesis_statement, its primary
metrics (target and comparison; none is added, removed or given another tier) and
analysis_intent. An exploration keeps analysis_intent and its form. To change any of
them, derive a new design with parent_id and leave this one as it was analyzed.hypothesis_background,
the secondary and guardrail metrics, the other fields of a primary metric,
explanatory, chart, methodology, decision_context and next_action.The pre-write hook runs the same checks on a direct Write or Edit of the file.
theme_id linking it to a research theme.[A-Z][A-Z0-9]* (e.g., CHURN, PRICING)./analysis-design skill to create designs with proper theme association.parent_id to indicate it derives from another design.design_io does not check the parent: it does not look up
whether the id exists or what status it is in.design_io.insight/designs/*_hypothesis.yaml and *_reviews.yaml MUST be created/updated via
the design_io helper, not hand-written. design_io owns id generation, timestamps,
referenced_knowledge merge, and validation (validate.py). A *_hypothesis.yaml
written via the Write/Edit tool is additionally guarded by the pre-write hook
(hooks/validate-design.py), which calls the same validate.py — so schema
and state-transition rules hold on either path.
Direct read is always OK — use Read tool / glob / cat freely for analysis.
These contain skill- or user-managed data and are edited directly (Read/Write):
.insight/config.yaml — project configuration.insight/rules/*.yaml — review / analysis rules, knowledge seed data.insight/designs/*_journal.yaml — Insight Journal (analysis-journal; design_io has
load_journal/write_journal thin wrappers).insight/designs/*_revision.yaml — Revision Tracking (analysis-revision)Catalog (
catalog/**) is still MCP-backed until Epic 3.5.
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-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".
npx claudepluginhub etoyama/insight-blueprint-skills --plugin insight-blueprint