/ajps-skills:ajps-data-analysisfrom ajps-skills
Guides reproducible data analysis and reporting for AJPS manuscripts, covering uncertainty reporting, robustness checks, heterogeneity analysis, inference, and reproducibility practices for third-party verification.
Ships in ajps-skills. 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.
None: SKILL.md is the whole skill.
AJPS reviewers are methodologically sophisticated, and after acceptance an independent third-party
verifier re-runs your code against the numbers in the main text before the article is published (see
ajps-replication-and-verification). Analyze as if both facts are true — because they are. This skill
covers execution and reporting; design choices live in ajps-research-design.
renv.lock / requirements.txt / logged ssc/net installs).| Question the referee asks | Pass condition | Fix if it fails |
|---|---|---|
| Does the estimator recover the stated estimand? | Estimand named; estimator matches | Name the target quantity before the table |
| Is inference at the right level? | Clustered at assignment/sampling level | Re-cluster; wild-cluster bootstrap if few clusters |
| Will the verifier's re-run match the printed numbers? | Master script regenerates every exhibit | Script everything; set seeds; pin versions |
A survey experiment tests whether a co-partisan endorsement raises policy support. The pre-analysis plan names the estimand (ITT on a 0-100 scale), the primary contrast, and one moderator (political knowledge). Result: +7.4 points (95% CI 3.1-11.7), randomization-inference p = 0.004 (illustrative). A knowledge interaction that was not pre-specified as confirmatory goes to an exploratory subsection, flagged, with a multiple-comparison note. Every number is emitted by one seeded master script, so the AJPS verifier's re-run reproduces the main-text figures exactly.
Calibration anchor: AJPS's independent verifier re-runs deposited code against the main-text numbers before publication, so "it works on my machine" is not enough — confirm the live verification wording against the journal's current guidelines.
Run the battery, don't just enumerate it. Full map:
execution-with-mcp. AJPS prizes credible identification across American / comparative / IR subfields; DiD/IV/RDD for observational claims, randomization inference for experiments.
romano_wolf (step-down FWER) or
benjamini_hochberg — report the adjusted threshold.oster_delta / sensemakr.wild_cluster_bootstrap (few clusters), twoway_cluster / conley;
multilevel data → cluster at the right level.audit_result(result_id) lists the missing checks and the
exact suggest_function for each.etable / did_summary_to_latex from the handle — no retyped numbers.Keep the decisive checks in the body and the exhaustive battery in the supplement. See the executed chain in the JF execution walkthrough.
【Main estimate】magnitude + interval + substantive meaning
【Identification check】(per research-design) result
【Robustness】specs that could break it -> what held
【Heterogeneity】pre-specified? MHT-adjusted?
【Registered vs exploratory】clearly separated?
【Reproducible】master script + seeds + pinned versions, numbers match? [Y/N]
【Next】ajps-tables-figures
../../resources/external_tools.md — estimation, inference, and text-as-data packages../../resources/official-source-map.md — third-party verification of numerical resultsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub brycewang-stanford/awesome-journal-skills --plugin ajps-skills12 skills in this plugin
/ajps-literature-positioningUse when positioning an American Journal of Political Science (AJPS) manuscript against the literature. AJPS is double-blind, so positioning must engage the relevant debates while keeping the manuscript fully anonymized (third-person self-citation, no first-person "we showed"). Stakes the contribution; it does not write the lit review./ajps-rebuttalUse when writing the response to an American Journal of Political Science (AJPS) revise-and-resubmit. The revised manuscript stays double-blind, the response memorandum is submitted anonymized, and any new analyses must keep the replication package re-runnable for the third-party verifier at acceptance. Structures the response; it does not fabricate new results./ajps-replication-and-verificationOther plugins' skills for the same job