$npx -y skills add scdenney/open-science-skills --skill pre-registration-writingWrite pre-analysis plans and preregistrations. Use for PAP structure, registry requirements, estimands, analysis strategy, exclusions, and deviation planning.
| 1 | # Pre-Analysis Plan Writer |
| 2 | |
| 3 | **Standards anchor.** This skill operationalizes the pre-data-collection component of DA-RT (Data Access and Research Transparency; see Druckman-Green 2021 ch. 18 §18.1.3 for the canonical political-science framing and the APSA Guide to Professional Ethics). DA-RT obligates researchers to facilitate evaluation of evidence-based claims through data access, production transparency, and analytic transparency; a PAP is how analytic transparency is established *before* the data arrive. Reporting downstream of the PAP is the domain of the **methods-reporting** skill (APSA Experimental Section guidelines via Gerber et al. 2014; JARS). |
| 4 | |
| 5 | ## Instructions |
| 6 | |
| 7 | ### 1. Registry Selection |
| 8 | - **OSF Registries (Open Science Framework):** Use for maximum flexibility. Supports free-form documents, file attachments (analysis code, stimuli), version control, and optional embargo periods. Registration is timestamped and immutable once confirmed. Best for complex designs that require supplementary materials. Also the default destination for political-science PAPs since the EGAP registry closed: OSF offers an "EGAP Registration" form template that mirrors the old EGAP fields. |
| 9 | - **EGAP (Evidence in Governance and Politics) -- CLOSED:** EGAP stopped accepting new registrations on October 15, 2023. Existing EGAP registrations remain searchable through OSF. Researchers should now submit new registrations to **OSF Registries** (using the EGAP form template) or, for randomized experiments, to the **AEA RCT Registry**. Do not direct a user to "register at EGAP" -- the registry is closed. |
| 10 | - **AEA RCT Registry (American Economic Association):** Use for randomized controlled trials, particularly in economics, development, and governance. The form is tightly structured around RCT fields (intervention, outcomes, randomization unit, power) and is the EGAP-successor destination endorsed alongside OSF for field experiments. |
| 11 | - **AsPredicted:** Use for simple designs requiring fast registration. The structured 9-question format enforces brevity and is completable in under an hour. Registrations are private until the authors choose to make them public. Best for straightforward experiments with few analytical degrees of freedom. Requires an academic email for access. |
| 12 | - **Registered Reports:** A distinct format where the journal peer-reviews the introduction and methods before data collection. In-principle acceptance is contingent on design quality, not results; final acceptance is contingent on the authors following through on the registered methods. Pursue registered reports when the research question is important but the expected results are uncertain or likely null -- this eliminates publication bias by design. Registered reports require substantially more lead time than standard pre-registration. |
| 13 | |
| 14 | ### 2. PAP Document Structure |
| 15 | - **Recommended Section Order:** Organize the PAP into: (1) study information (title, authors, timeline, registry), (2) theoretical motivation and hypotheses, (3) research design (experimental conditions, randomization, sample), (4) sampling and recruitment, (5) variable definitions and measurement, (6) analysis plan (models, tests, decision rules), and (7) contingency plans. This order mirrors the research process and makes the document navigable for reviewers. |
| 16 | - **Cross-Reference, Don't Repeat:** For hypothesis specification, reference the three-level specification framework (conceptual, operationalized, statistical) from the **hypothesis-building** skill. For reporting elements, reference the JARS six elements from the **methods-reporting** skill. For experiment-type-specific design fields, reference the **conjoint-design** or **survey-design** skills (e.g., attribute architecture, wording protocols, attention checks). The PAP should implement these frameworks, not redefine them. |
| 17 | - **Write for a Reader:** The PAP is a communication document, not a private notebook. Every analytical decision must be (a) decidable from the PAP alone, (b) expressed in formal notation or code where possible, and (c) unambiguous to a reader without prior knowledge of the authors' local practices. Avoid shorthand, undefined acronyms, and references to "the usual approach." |
| 18 | - **Version Control:** Use the registry's built-in versioning. If amendments are needed after initial registration, create a new version rather than editing the original. Each version is timestamped, preserving the audit trail. |
| 19 | |
| 20 | ### 3. Specifying the Analytical Strategy |
| 21 | - **Three-Tier Classification:** Classify every planned analysis as locked (primary hypothesis tests -- cannot be changed), conditional (executed only if a pre-specified condition is met, e.g., "if the manipulation check passes, estimate the interaction model"), or explorato |