Agent skill · Code Review & Quality

jama-study-design

Use when locking the study design and internal-validity safeguards for a JAMA clinical manuscript (RCT, cohort, diagnostic, or systematic review). Strengthens design choices; it does NOT pick the reporting checklist or run the statistics.

brycew6m878★ · +32/wk · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add brycewang-stanford/Awesome-Journal-Skills --skill jama-study-design --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Path: JAMA-Skills/skills/jama-study-design/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 909 · +31 this week
Language: Stata
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Study Design & Internal Validity (jama-study-design) ## When to trigger - Choosing or defending the design: RCT vs cohort vs case-control vs diagnostic - A reviewer will ask whether the analysis is intention-to-treat or per-protocol - Bias, confounding, or missing data threaten the primary inference - The design and the reporting checklist need to be aligned before writing ## Design-specific safeguards JAMA reviewers expect ### Randomized clinical trials - A single, **pre-specified primary outcome**; secondary outcomes clearly labeled - Adequate randomization (sequence generation) and **allocation concealment** - Blinding of participants, clinicians, outcome assessors where feasible — state what was blinded - **Intention-to-treat** as the primary analysis; per-protocol only as secondary/sensitivity - A priori **sample-size / power** calculation tied to the primary outcome - Pre-defined stopping rules and handling of interim analyses ### Cohort / case-control (observational) - Explicit **confounding** control: prespecified covariates, adjustment strategy, DAG reasoning - Clear definitions of exposure, outcome, and follow-up windows; avoid immortal-time bias - Selection-bias and in

What's inside
Steps it walks through
  1. When to trigger
  2. Design-specific safeguards JAMA reviewers expect
  3. Randomized clinical trials
  4. Cohort / case-control (observational)
  5. Diagnostic-accuracy studies
  6. Systematic reviews / meta-analyses
  7. Decision table
  8. Checklist
  9. Anti-patterns
  10. Worked example: locking the design (illustrative)
  11. Reviewer pushback and the JAMA fix
  12. Operating pass for JAMA
  13. Output format
More from Awesome-Journal-Skills
All skills →
About this skill
What does the jama-study-design skill do?

Use when locking the study design and internal-validity safeguards for a JAMA clinical manuscript (RCT, cohort, diagnostic, or systematic review). Strengthens design choices; it does NOT pick the reporting checklist or run the statistics.

How do I install it?

Run `npx skills add brycewang-stanford/Awesome-Journal-Skills --skill jama-study-design --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From brycewang-stanford/Awesome-Journal-Skills, a repository with 909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going