brycewang-stanford/Auto-Empirical-Research-Skills / skills/35-bahayonghang-academic-writing-skills/skills/typst-paper
typst-paper
VerifiedTypst academic paper assistant for existing `.typ` paper projects in English or Chinese. Use this skill whenever the user wants to compile, audit, or improve a Typst paper, including format checks, bibliography validation for BibTeX or Hayagriva, grammar/sentence/logic review, expression polishing, translation, title optimization, pseudocode review, algorithm block cleanup, de-AI editing, experiment-section review, table structure validation, three-line table generation, abstract structure diagnosis, or journal adaptation. Trigger even when the user only mentions one Typst file, one bibliography issue, one pseudocode block, one section rewrite, "three-line table", "check abstract", or "reformat for another journal". Also trigger when the user mentions ".typ files", "typst compile error", "typst export", "typst bibliography", `algorithm-figure`, `lovelace`, or `algorithmic` even without saying the word "Typst" explicitly.
references/modules/CAPTION.md
View on GitHub# Figure and Table Caption Generation Guide (Typst)
When the user requests to generate or optimize a figure or table caption in a Typst document, follow these guidelines strictly to ensure compliance with top-tier publication standards (e.g., NeurIPS, ICLR, ICML).
## 1. Title/Sentence Case Rules
- If the output is a **noun phrase (名词性短语)**: Use **Title Case** (capitalize the first letter of all major words, no period at the end).
- If the output is a **complete sentence (完整句子)**: Use **Sentence case** (capitalize only the first letter of the first word and proper nouns, MUST end with a period).
## 2. Writing Style & Minimalism
- **Direct approach**: Eliminate redundant prefixes like "The figure shows" or "This diagram illustrates". Start directly describing the content (e.g., "Architecture of...", "Performance comparison of...", "Visualization of...").
- **Tables**: Use standard expressions like "Comparison with", "Ablation study on", or "Results on". Avoid flowery words like "showcase" or "depict"—instead use "show", "compare", or "present".
- **Remove "AI flavor"**: Keep the vocabulary precise and simple. Avoid overcomplicated or obscure words.
## 3. Formatting & Output Restrictions
- **Output pure text**: Do NOT prepend "Figure 1:" or "Table 1:". Output only the title text itself.
- **Typst compatibility**:
- Typst does NOT use backslashes `\` for common characters like `%` or `&` in the same way LaTeX does. Output standard plain text where appropriate.
- Preserve math formulas exactly as they are (keep the `$` symbols).
- Output the English text only. Do not output any extra dialog or explanations unless the user asks.
## 4. Execution Example
**User Input:**
"帮我写一段表达:本表展示了我们在ImageNet数据集上的消融实验结果,主要对比了不同深度下的精度。"
**Agent Response:**
```typst
// Caption [Severity: Minor] [Priority: P2]: Translated and optimized caption
// Original: 本表展示了我们在ImageNet数据集上的消融实验结果,主要对比了不同深度下的精度。
// Revised: Ablation study on the ImageNet dataset comparing accuracies at different depths.
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |