본문으로 건너뛰기
cccskills
무료GitHub에 공개

tables

Design and format publication-quality tables. Use for column order, row grouping, notes, statistical precision, accessibility, and reproducibility.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md6.8 KB
  • agents/openai.yaml234 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Table Designer

Applies to descriptive, regression, balance, and summary tables under any method. For tables whose interpretation depends on method-specific standards, also consult the relevant sibling skill (conjoint-design, conjoint-diagnostics, list-experiment, topic-modeling, text-classification, vlm-ocr). For end-stage QA on a finished table set, hand off to figure-table-audit.

Tables are for precise reading. A table is the right shape when the relevant comparison can be made without arithmetic and every number quoted in the text traces to a specific cell. If readers must subtract to recover the substantive quantity, reshape the table.

Instructions

1. Decide whether the result belongs in a table at all

Tables are for reading values; figures are for seeing patterns. Use a table when:

  • Readers need exact values (descriptive statistics for a sample, balance check, key effect sizes for citation).
  • The comparison spans many models or specifications and a coefficient plot would be too dense.
  • Regulatory or replication norms require it (CONSORT flow numbers, baseline balance).

Use a figure when the substantive claim is a pattern — a slope, a non-monotonicity, a difference of differences. Many regression tables in social science would be more readable as coefficient plots with a small accompanying summary table.

2. State the comparison and the estimand before laying out the table

Write down, in one sentence, what the table is supposed to let the reader compare. The first column or first panel should anchor that comparison. Examples:

  • "Effect of treatment on turnout, baseline → with covariates → with fixed effects → preferred specification."
  • "Sample means by treatment arm, with balance test."
  • "AMCEs by attribute, pooled and split by partisanship."

If the comparison is not clear, the table will read as a coefficient dump.

3. Choose column order to match the argument

Columns should mirror how the text walks the reader through the result:

  • Regression tables: baseline / minimal-controls → preferred specification → robustness checks. Place the preferred model in a clearly labeled column, not necessarily the rightmost; readers focus on the column that the text says is preferred.
  • Comparison tables: control / treatment 1 / treatment 2 / contrast(s), or pre / post / difference.
  • Descriptive tables: full sample → analytic sample → by treatment arm; or order subgroups by substantive logic, not alphabetically.
  • Pass models to stargazer/modelsummary in the order the manuscript discusses them rather than accepting the package's default order.

4. Group rows and structure panels

  • Group covariate blocks: treatment(s) at the top, then primary moderators, then controls, then fixed-effect indicators, then fit statistics.
  • Separate blocks with horizontal rules or panel breaks rather than letting regression output run as a flat list.
  • Suppress controls in the main table when there are many — show "Controls: yes" and put the full coefficient set in SI.
  • For multi-panel tables, use a clear panel header (e.g., "Panel A. Full sample / Panel B. Eligible voters only") and keep column structure identical across panels.
  • Order rows within a block by substantive interest, not alphabetically — readers expect the headline coefficient first.

5. Pick precision and uncertainty conventions and stick to them

  • Choose decimal precision based on the meaningful digit, not on what the software prints. Two decimals for proportions, three for small effects, integer counts for N.
  • Be consistent across tables in the manuscript: same precision for the same quantity.
  • Show uncertainty as standard errors (in parentheses) OR confidence intervals [in brackets] — pick one convention and use it everywhere. Note the convention in the table notes.
  • Significance stars (*, **, ***) are conventional but not required; if used, define thresholds in the notes consistently across tables.
  • Report N per column and a fit statistic appropriate to the model (R² for OLS, pseudo-R² or log-likelihood for non-linear, ICC for multilevel).

6. Write self-contained titles and notes

A reader should be able to understand the table from title + notes alone. Title should name the estimand or model family, not just "Results."

Notes should specify:

  • The dependent variable (and how it is coded).
  • Treatment / condition coding and the omitted category.
  • Controls included (or "Controls: yes; full list in SI").
  • Fixed effects and clustering structure for SEs.
  • Weights (and the weighting variable).
  • Sample restrictions and N source.
  • Significance markers (with thresholds).
  • Data source and any transformations.
  • For non-linear models: link function, units of coefficients (logit vs. AME).

7. Generate tables from code, not by hand

  • Use modelsummary, stargazer, gt, huxtable, or kable (R); stargazer or pystout (Python); esttab (Stata) — whichever fits the workflow.
  • Write the table-generating code so that re-running it after a model update updates the manuscript automatically. Hand-typed tables are a rich source of post-revision errors.
  • Round in the formatting layer, not in the analysis — keep raw model output at full precision and round only when rendering.
  • Insert numbers into the manuscript text programmatically (\Sexpr{} in knitr/Sweave, inline R/Python in Quarto, or LaTeX \input{} of generated .tex fragments) rather than retyping them from tables.

8. Production sanity

  • Check that the compiled table fits the page (column count, font size). Wide tables should rotate (landscape) or move to SI.
  • Check column alignment: numbers right-aligned or decimal-aligned, text left-aligned, headers per convention.
  • Use booktabs (\toprule, \midrule, \bottomrule) or equivalent rules, with no vertical rules between columns.
  • Confirm that the same coefficient appears with the same row label across tables (no Treat here and Treatment_1 there).

Output

When asked to design or revise a table, produce:

# Table Plan

Comparison: <one sentence>
Estimand / model family: <what is being estimated>
Column order: <what each column shows, why this order>
Row grouping: <treatment block / covariate block / FE / fit stats>
Precision and uncertainty: <decimals, SE vs CI, star thresholds>
Title: <names the estimand or model family>
Notes draft: <DV, coding, controls, FE, clustering, weights, N source, stars>
Reproducibility: <package, script path, output format>
Open issues: <anything that needs author input>

When asked to produce code, default to a modelsummary or gt script (R) or stargazer/pystout (Python), with model objects passed in the order the manuscript discusses them.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

advisor

무료

Consults Fable as an independent, read-only reviewer at an effort the caller matches to the question. The calling session (usually Opus, or Haiku) holds the task and escalates one decision point. Use before committing to an interpretation or a substantial piece of writing or analysis, when stuck or not converging, when changing approach, or as a final check on a finished task. Fallback for when the native advisor tool is unavailable. Not for a session already running Fable.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

scdenney/open-science-skills692026년 10월 20일 업데이트

advisor

무료

Consult an independent, read-only GPT-6 Astra advisor before committing to a substantive interpretation, approach, or final result. Not for routine work, implementation, or file edits. Uses gpt-6-astra at an effort matched to the question.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

scdenney/open-science-skills692026년 10월 20일 업데이트

beamer

무료

House rules and craft for LaTeX Beamer decks (storyboarding, slide prose, frame budgets, layout, XeLaTeX and Korean fonts, color, figures, Overleaf hygiene, build QA). Use to write, edit, review, or build a Beamer deck.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

scdenney/open-science-skills692026년 10월 20일 업데이트

beamer

무료

House rules and craft for LaTeX Beamer slide decks (lectures, seminars, talks), drawn from the author's own Overleaf edits and published slide-design guidance. Covers storyboarding, frame titles, slide prose, word and frame budgets, layout without overfull boxes, XeLaTeX fonts and Korean (xeCJK), color, figures and screenshots, Overleaf source hygiene, speaker notes, and a build-and-QA loop with a contact sheet. Use when writing, editing, reviewing, or building a Beamer deck, theme, or storyboard. A course skill supplies course facts and the frame skeleton; this skill supplies the craft. Not for HTML or PowerPoint decks, posters, or papers.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

scdenney/open-science-skills692026년 10월 20일 업데이트

Audit a manuscript's citations for fabricated sources, DOIs that resolve to the wrong work, in-text and reference-list mismatches, style, and claim support, verified against Crossref and OpenAlex. Use to check citations, references, a .bib file, or DOIs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

scdenney/open-science-skills692026년 10월 20일 업데이트

Audits a manuscript's citations for fabricated or nonexistent sources, DOIs that resolve to a different work, mismatches between in-text citations and the reference list, APA 7 or journal style, and whether each source supports the claim it is attached to. Checks entries against Crossref, OpenAlex, and DataCite and labels anything it could not verify NOT CHECKED. Use to check citations, references, a .bib file, or DOIs, or when a source may be AI-invented. Figures and tables go to figure-table-audit.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

scdenney/open-science-skills692026년 10월 20일 업데이트

scdenney의 스킬 모두 보기

이 스킬의 문제 신고