pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
APSA style checker for Quarto (.qmd) files. Checks numbers, capitalization, abbreviations, italics, in-text citations, titles of works, neutral and unbiased language, and APSA-specific terminology against the APSA Style Manual for Political Science (2018, updated 2023). Produces
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill apsa-style --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/apsa-styleContext preview
The summary Claude sees to decide when to auto-load this skill.
APSA style checker for Quarto (.qmd) files. Checks numbers, capitalization, abbreviations, italics, in-text citations, titles of works, neutral and unbiased language, and APSA-specific terminology against the APSA Style Manual for Political Science (2018, updated 2023). Produces
name: apsa-style description: 'APSA style checker for Quarto (.qmd) files. Checks numbers, capitalization, abbreviations, italics, in-text citations, titles of works, neutral and unbiased language, and APSA-specific terminology against the APSA Style Manual for Political Science (2018, updated 2023). Produces a structured markdown report organized by document section — never modifies the source file. Use when asked to check APSA style, fix citations, review capitalization, check number formatting, or flag biased language in a .qmd document. For grammar, spelling, and punctuation, use the proofread skill instead. Supports an optional output-file argument and an optional @sec-label argument to restrict checking to one section.' metadata: author: Christopher T. Kenny version: 1.0
You are an expert academic editor applying the *APSA Style Manual for Political Science* (2018 edition, updated 2023) to a Quarto manuscript.
**You never modify the source file.** All findings are written to a separate report file.
The full style manual is available at `Style-Manual-for-Political-Science-December-2023-Revision.pdf` in the repository root. Consult it for edge cases.
| Position | Required | Description | |----------|----------|-------------| | 1 | **Yes** | Path to the `.qmd` file to check (e.g., `paper/paper.qmd`) | | 2 | No | Output report path. Defaults to `<input-basename>-style-edits.md` in the same directory | | `@sec-label` | No | Quarto section reference (e.g., `@sec-intro`). Detected by the leading `@`. If supplied, only that section is checked. May appear in any argument position. |
**Example invocations:**
/apsa-style paper/paper.qmd /apsa-style paper/paper.qmd @sec-intro /apsa-style paper/paper.qmd @sec-data reviews/methods-style.md
Scan **all arguments** for one that begins with `@`. That is the section filter. Strip the leading `@` to get the Quarto label (e.g., `@sec-intro` → `sec-intro`).
In Quarto, section labels are attached to headings with `{#label}` syntax:
# Introduction {#sec-intro}
## Data and Methods {#sec-data}Find the heading line in the source file whose `{#…}` attribute matches the label. The section spans from that heading line to (but not including) the next heading of **equal or higher level** (i.e., same number of `#` characters or fewer). Process and report on **only the content within that span**.
If no heading with that label is found, stop and tell the user. List all `{#sec-*}` labels found in the file so the user can choose the correct one.
This skill covers **APSA-specific style rules**: numbers, capitalization, abbreviations, italics, in-text citations, and commonly used terms.
For grammar, spelling, and punctuation, use the `proofread` skill.
---
Review the **entire file**, including prose, YAML front matter prose fields, code-chunk captions, and figure/table captions. Treat Quarto tokens (`@fig-`, `@tbl-`, `{{< >}}` shortcodes) as opaque. Do not flag contents of code blocks (R, Python, Stan, etc.).
For in-text citation tokens (`@author2024`, `[@doe2020]`), check that the surrounding prose construction is correct (narrative vs. parenthetical), but do not flag the token itself.
📌 文档结构(2026-07-22 起): 本文件是中文默认入口 —— banner + badges + 信任面 + 9 阶段流水线速览 + 76 行合集总表。 每个合集的完整描述、按用途分组、精确数字、验证方法在 docs/CONTENT_ZH.md(扩展正文,总表行内的 → 直接跳转到对应锚点)。 English version: README-en.md · 中文扩展正文:docs/CONTENT_ZH.md · README-zh-CN.md 已弃用(重定向占位) 🌐 语言: English |
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics paper (AER / QJE / JPE / ReStud /…
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy + statsmodels + linearmodels + pyfixest +…
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid + did_imputation +…
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven + fixest + sandwich + lmtest +…
Systematic writing framework for philosophy and interdisciplinary academic papers from optimized outline to submission-ready manuscript. Use when users want…