/research-workspace:research-design-helperfrom research-workspace
Guides researchers through 5 Socratic segments (research question sharpening, expected mechanism, identifiability check, validation plan, risk register) to produce a .research/design_brief.md. Use when framing a research question, designing a study, or sharpening a hypothesis before coding.
Ships in research-workspace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Stage 3a (sharp problem framing) and front-of-Stage 4 (model design) helper. Part of the research-hub skill pack — works alongside Zotero, Obsidian, and NotebookLM workflows but does not require any of them. Domain-agnostic Socratic guide that walks a researcher through 5 short segments and saves the result as .research/design_brief.md.
The skill does not invent your research question or model design. Like research-context-compressor, it leaves blanks rather than guess. Its value is structured prompting: forcing you to articulate what you'd otherwise leave implicit, before you spend weeks coding.
Trigger phrases:
Not for:
codex-delegate for boilerplate).research-context-compressor).literature-triage-matrix).academic-writing-skills).In priority order:
.research/project_manifest.yml if it exists — for project context (research_question may already be partially filled)..research/topic_dossier.gaps.yml if it exists — Stage 2 handoff from gap-to-topic (plugin v0.3.12+). Inspect candidate IDs/names/verdicts to identify eligible options; after the user's actual selection, read only that gaps[] entry plus top-level open_questions[], NOT the whole corpus. go and conditional-go are eligibility assessments, not proof of selection. Use a clear prior user choice without asking again; if absent or ambiguous, ask even when only one candidate is eligible. The workflow §0 then pre-fills segment 1 (RQ) from gaps[].statement and segment 5 (risks) from open_questions[] + gaps[].feasibility. If supplied, also read that selected candidate's optional .research/topic_dossier.direction-review.json record and applicable resource records as described below; its absence does not block the legacy dialogue..research/design_brief.md if it exists — for refresh, not first-run..research/literature_matrix.md if it exists — for prior-art context when discussing identifiability.Do NOT scan code, data, or PDFs. This is a conversational skill.
Before starting the Socratic dialog, check whether .research/topic_dossier.gaps.yml exists.
gaps[] to entries with verdict in {conditional-go, go} as assessed eligible options. A no-go is an assessment, not a user's decision to reject it. Preserve actual user choice; do not infer it from a verdict, a single option or packet validity. Then:
gaps[].statement verbatim into the Sharpened RQ field, replacing the template's _TODO_ placeholder. Do not add any _PRE-FILL_-style annotation inside the file content — the chat message below is where you signal "this is pre-fill, sharpen me". Keeping the file content clean means segment 1 dialog can simply overwrite the statement with the sharpened RQ; no later cleanup step is needed. The Falsification condition and Smallest answerable version sub-fields stay _TODO_ — those only get filled during segment 1 dialog.open_questions[] entry (match candidate_ids when present; copy global entries without candidate_ids), plus a row for the specific concern indicated by gaps[].feasibility (e.g. feasible-with-effort → a "binding constraint" risk row). Check optional record_status / interpretation_context before treating historical files as active decisions.gaps[<id>].statement and segment 5 (risks) from relevant open_questions[] + the feasibility: <value> hint. Segment 1's Sharpened RQ is a starting point — segment 1 dialog will sharpen it into an answerable form appropriate to your field. Review and revise as we walk through."no-go option → preserve that actual choice and surface the blocking assessment; discuss revision/reassessment before treating it as design-ready. Never silently substitute another candidate..gaps.yml doesn't carry that material; pre-filling those segments with non-content corrupts the Socratic dialog. Leave them blank → _TODO_ until the segment runs..research/design_brief.md, fill the frontmatter source: field with topic_dossier.gaps.yml#<gap-id> (e.g. topic_dossier.gaps.yml#G2) and the gap_verdict: field with a frozen snapshot of the complete verdict + full verdict_reason (never truncate at an arbitrary character count). This makes the brief self-contained — a future reader sees which dossier candidate this design was framed for without losing conditional feasibility qualifications.candidate_version, reviewed candidate-content hash, review path, and unresolved material/resource limitations in the brief's Notes. Missing versions stay unknown; do not assume version 1. A missing review leaves the standalone/legacy dialogue available. A stale candidate version/content binding or changed source bytes requires rechecking the affected assessment before relying on it; keep the old record and do not silently carry supported forward. Carry unknown/contradicted items, their reasons and bounded next checks into the risk discussion; a justified not-applicable is valid for work that does not need that prerequisite. If binding has not been checked, say so rather than treating a matching ID as verification. The checker only checks supplied records, source-byte bindings and resource estimates: it does not establish semantic support, select the candidate, authorize execution or prove scientific feasibility. within-estimate is not verified runtime spending. See docs/direction-review-contract.md in the research-hub repository for the optional checker contract.Run the 5 Socratic segments in order, one at a time. For each, ask the listed questions, capture the user's answer, then save verbatim to the corresponding section of .research/design_brief.md. If the user can't answer a segment yet, write _TODO: <reason>_ and move on; do not fabricate.
Adapt the prompts to the research type. Do not require an empirical study, hypothesis, causal mechanism, predictive model or LLM; a justified not-applicable is preferable to inventing one. Preserve the five section headings, using field-appropriate questions about evidence or argument where needed. An unresolved answer is _TODO_, not not-applicable. Explicitly record the intended claim and time boundary, a matched-information comparison where applicable, the researcher's minimum worthwhile gain, and the smallest answerable version with its nonclaims. Narrowing countries, periods, populations or objectives requires the user's choice. Only describe a reduced design as expected executable when its necessary materials, essential comparisons and resource needs fit confirmed available resources; otherwise record the constraint and next check. A fixed duration or successful prototype is not a universal feasibility threshold.
Segments + their prompts: references/socratic-segments.md.
| # | Segment | What it produces |
|---|---|---|
| 1 | Research question sharpening | answerable RQ + claim/time boundary + smallest answerable version and nonclaims |
| 2 | Expected mechanism | mechanism or argument + uncertainty annotations, as applicable |
| 3 | Identifiability check | discriminating evidence + alternative explanations + missing-material plan |
| 4 | Validation plan | assessment criterion + matched-information comparator + minimum worthwhile gain + control, as applicable |
| 5 | Risk register | 3–5 risks each with early-warning + mitigation |
.research/design_brief.mdUse the template at references/design_brief_template.md (sibling file in this skill). Fill the 5 sections with the user's answers verbatim. Frontmatter is required:
project: <from project_manifest.yml or asked at start>
last_updated: <ISO date>
stage: design
status: draft # draft | reviewed | confirmed | locked (whole-brief approval)
Whole-brief approval uses a single lightweight frontmatter signal (reviewed,
confirmed, or locked) with placeholder_segments: [] and a non-_TODO_
Sharpened RQ in §1 (or **Central Theorem** / **Central Thesis** for formal
and qualitative briefs). Unresolved _TODO_ or not-applicable: <reason> notes
in §§2–5 may remain documented while bounded Stage 4 scaffolding proceeds, rather
than requiring brittle field-by-field re-locking on every edit. Before Stage 5
confirmatory execution (target_stage="confirmatory"), resolve §§3–4 _TODO_
items and **Falsification condition** (or mark each genuinely inapplicable item
with not-applicable: <reason>).
If the file already exists, update don't replace: keep human-edited sections intact, only fill blanks unless the user explicitly says "regenerate from scratch".
Provenance protection (v0.3.12+). If the existing design_brief.md has frontmatter source: topic_dossier.gaps.yml#<old-id> and a different gaps[] entry is now being chosen (different id, OR .gaps.yml generated: date differs), ASK the user before refreshing — do not silently overwrite provenance. Phrasing: "This brief was originally framed for <old-id> (<old-verdict>). You have now chosen <new-id> (assessed <new-verdict>) from the current .gaps.yml. Refresh and replace the provenance, or keep the old brief and start a new one?"
Apply the same protection when a recorded candidate version or candidate-content hash changes. Preserve human-edited answers and the previous review limitations; ask before replacing provenance, and leave affected design claims unresolved until the revised materials have been checked. Do not silently change the research question to fit a budget or an available outcome.
Placeholder marker (v0.3.15+). When any segment is filled with test-fit / dogfood placeholder content (e.g. an AI-generated stub written to exercise the Stage 3a → 3b wire without a real Socratic dialog), record those segment numbers in the frontmatter placeholder_segments: list. Example: placeholder_segments: [2, 3, 4] means segments 2–4 are placeholders, not from the researcher's actual answers. Downstream tools should refuse to gate real research on a brief with non-empty placeholder_segments. When all 5 segments are filled by genuine Socratic dialog, leave the list empty ([]). This pattern was added after the v0.3.12 dogfood, where segments 2–4 were written as test-fit content to validate the wire — a future reader needs a machine-checkable signal that those segments aren't advisor-ready.
After saving, print a short report:
[research-design-helper]
Wrote: .research/design_brief.md
Sections completed: 4 / 5 (Risk register marked _TODO_ — circle back)
Strongest spot: Identifiability check — clear discrimination via negative control.
Weakest spot: Validation plan — baseline not yet specified.
Suggested next: refine the validation baseline, then re-run with "regenerate from scratch" to lock the brief.
After writing .research/design_brief.md, an optional Word version
can be generated via the sister script at
scripts/brief_to_docx.js. The .docx is a convenience for sharing the
brief with advisors / committee members who prefer Word — it is NOT
part of the contracted Stage 3a output and is not consumed by
downstream skills (Stage 3b reads design_brief.md frontmatter + §1
directly).
# From the directory that contains design_brief.md:
node /path/to/skills/research-design-helper/scripts/brief_to_docx.js design_brief --no-toc
# zh-TW variant (auto-selects Microsoft JhengHei):
node /path/to/skills/research-design-helper/scripts/brief_to_docx.js design_brief.zh-TW --no-toc
Prerequisite: npm install -g docx (one-time). The --no-toc flag is
recommended for design briefs — they're typically short enough that
Word's auto-generated empty TOC field is more distracting than useful.
The script is a near-byte copy of the gap-to-topic
scripts/dossier_to_docx.js generator (same Markdown → Word logic,
same font auto-selection, same separator-row skip). The dossier's
verdict-colour regex is inherited verbatim but does not fire on design
brief content — see scripts/README.md for the rationale.
_TODO_ and move on. The point is not to complete every section in one session — it's to surface the gaps.codex-delegate for boilerplate. This skill stops at the spec..paper/ — that's paper-memory-builder..research/project_manifest.yml — that's research-context-compressor. The two are complementary; the manifest captures STATE, the brief captures DESIGN INTENT._TODO_ so future sessions (or the orienter) can flag it.references/socratic-segments.md — full prompts for each of the 5 segmentsreferences/design_brief_template.md — Markdown template for the output fileWhat SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/gap-to-topicTurn a research area into a go/no-go decision dossier for candidate thesis/proposal topics (zero or multiple justified options) — a 3-gate verdict (is the gap open? is it a contribution? is it feasible?) with the evidence laid out so the researcher can verify it. Use when the user asks "is this gap worth pursuing", "help me pick a thesis topic", "is this idea already taken", "find me a defensible research gap", "vet this research idea before I commit", or "should I do this". NOT a literature review (use `literature-triage-matrix` for a comparison matrix) and NOT a study design (use `research-design-helper` once a topic is chosen). Produces a `.research/topic_dossier.md`, a `.research/topic_dossier.docx` (Word, colour-coded), a `.bib`, and a `.gaps.yml`./literature-triage-matrixTurn a list of papers (Zotero collection, Obsidian cluster, manual list) into a compact comparison matrix written to .research/literature_matrix.md, instead of generic per-paper summaries. Use when the user asks to "make a literature matrix", "compare these papers by method/data/limitations", or "decide which papers are central to my review". If the user says "extract the claims from these papers": cross-paper comparison matrix → this skill; claims from their own manuscript draft → `paper-memory-builder`; per-cited-paper Key Findings → `paper-summarize`. This skill compares a KNOWN paper set; to turn a research area into a go/no-go decision on a candidate thesis/proposal topic, use `gap-to-topic`.research-workspace@ai-research-skills is listed by wenyuchiou/ai-research-skills — review the source before installing
npx claudepluginhub wenyuchiou/ai-research-skills --plugin research-workspaceOther plugins' skills for the same job