table-generation
9
总安装量
9
周安装量
#32468
全站排名
安装命令
npx skills add https://github.com/lingzhi227/claude-skills --skill table-generation
Agent 安装分布
codex
8
qoder
7
gemini-cli
7
qwen-code
7
claude-code
7
github-copilot
7
Skill 文档
Table Generation
Convert experimental results into publication-ready LaTeX tables.
Input
$0â Table type:comparison,ablation,descriptive,custom$1â Data source: JSON file, CSV file, or inline data
Scripts
Generate LaTeX table from JSON/CSV
python ~/.claude/skills/table-generation/scripts/results_to_table.py \
--input results.json --type comparison \
--bold-best max --caption "Performance comparison" \
--label tab:main_results
Supports: comparison, ablation, descriptive, multi-dataset table types.
Additional flags: --type multi-dataset for methods x datasets x metrics layout, --significance for p-value stars, --underline-second for second-best results.
References
- LaTeX table templates and examples:
~/.claude/skills/table-generation/references/table-templates.md
Table Types
comparison â Main results table
- Rows = methods (baselines + ours), Columns = metrics/datasets
- Bold the best result in each column
- Include mean +/- std when available
- Use
\multirowfor method categories (Supervised, Self-supervised, etc.)
ablation â Ablation study table
- Rows = variants (full model, minus component A, minus component B, …)
- Columns = metrics
- Bold the full model result
- Use checkmarks for component presence
descriptive â Dataset/statistics table
- Dataset characteristics, hyperparameters, or summary statistics
- Clean formatting with proper units
custom â Free-form table
- User specifies layout and content
Required Packages
\usepackage{booktabs} % \toprule, \midrule, \bottomrule
\usepackage{multirow} % \multirow
\usepackage{multicol} % multi-column layouts
\usepackage{threeparttable} % table notes
Output Format
Always generate tables with:
booktabsrules (\toprule,\midrule,\bottomrule)\caption{}and\label{tab:...}- Bold best results using
\textbf{} - Table notes via
threeparttablewhen needed - Proper alignment (
lfor text,corrfor numbers)
Rules
- Only include numbers from actual experimental logs â never hallucinate results
- All numbers must match the data source exactly
- Use
$\pm$for standard deviations - Use
\underline{}for second-best results when appropriate - Keep tables compact â avoid unnecessary columns
- Use
table*for wide tables spanning two columns - Add glossary/notes for abbreviated column headers
Related Skills
- Upstream: data-analysis, experiment-code
- Downstream: paper-writing-section, paper-compilation
- See also: figure-generation