Skip to content

brycewang-stanford/Auto-Empirical-Research-Skills / skills/35-bahayonghang-academic-writing-skills/skills/typst-paper

typst-paper

Verified

Typst 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.

FileKindSize
SKILL.mdskill md7.5 KB
agents/openai.yamlconfig330 B
evals/evals.jsonconfig7.3 KB
examples/bibliography-and-title.mdmarkdown509 B
examples/compile-and-format.mdmarkdown495 B
examples/expression-and-translation.mdmarkdown554 B
references/ABSTRACT_STRUCTURE.mdmarkdown4.9 KB
references/BEST_PRACTICES.mdmarkdown391 B
references/CITATION_STYLES.mdmarkdown4.2 KB
references/CITATION_VERIFICATION.mdmarkdown4.9 KB
references/COMMON_ERRORS.mdmarkdown5.3 KB
references/DEAI_GUIDE.mdmarkdown14.9 KB
references/JOURNAL_ABBREVIATIONS.mdmarkdown3.5 KB
references/JOURNAL_ADAPTATION_WORKFLOW.mdmarkdown3.6 KB
references/NUMBER_UNIT_GUIDE.mdmarkdown2.3 KB
references/REVIEWER_PERSPECTIVE.mdmarkdown4.9 KB
references/STYLE_GUIDE.mdmarkdown7.9 KB
references/TABLE_GUIDE.mdmarkdown2.6 KB
references/TEMPLATES.mdmarkdown2.5 KB
references/TERMINOLOGY.mdmarkdown9.9 KB
references/TRANSLATION_GUIDE.mdmarkdown11.4 KB
references/TYPST_SYNTAX.mdmarkdown9.8 KB
references/VENUES.mdmarkdown13.0 KB
references/WRITING_PHILOSOPHY.mdmarkdown6.7 KB
references/modules/ABSTRACT.mdmarkdown1.2 KB
references/modules/ADAPT.mdmarkdown1.3 KB
references/modules/BIBLIOGRAPHY.mdmarkdown1.3 KB
references/modules/CAPTION.mdmarkdown2.1 KB
references/modules/COMPILE.mdmarkdown1.2 KB
references/modules/DEAI.mdmarkdown2.8 KB
references/modules/EXPERIMENT.mdmarkdown3.8 KB
references/modules/EXPRESSION.mdmarkdown1.6 KB
references/modules/FORMAT.mdmarkdown1.1 KB
references/modules/GRAMMAR.mdmarkdown1.1 KB
references/modules/LOGIC.mdmarkdown5.4 KB
references/modules/PSEUDOCODE.mdmarkdown1.4 KB
references/modules/SENTENCES.mdmarkdown726 B
references/modules/TABLES.mdmarkdown1.3 KB
references/modules/TITLE.mdmarkdown7.3 KB
references/modules/TRANSLATION.mdmarkdown1.5 KB
references/modules/WORKFLOW.mdmarkdown706 B
scripts/analyze_abstract.pyscript17.3 KB
scripts/analyze_experiment.pyscript11.1 KB
scripts/analyze_grammar.pyscript3.6 KB
scripts/analyze_logic.pyscript18.8 KB
scripts/analyze_sentences.pyscript3.6 KB
scripts/check_format.pyscript11.3 KB
scripts/check_pseudocode.pyscript8.6 KB
scripts/check_references.pyscript14.1 KB
scripts/check_tables.pyscript9.8 KB
scripts/compile.pyscript8.1 KB
scripts/deai_batch.pyscript10.2 KB
scripts/deai_check.pyscript19.2 KB
scripts/generate_table.pyscript6.7 KB
scripts/improve_expression.pyscript3.2 KB
scripts/online_bib_verify.pyscript11.9 KB
scripts/optimize_title.pyscript16.9 KB
scripts/parsers.pyscript8.0 KB
scripts/translate_academic.pyscript4.2 KB
scripts/verify_bib.pyscript15.1 KB

references/modules/TITLE.md

View on GitHub
# 模块:标题优化
**触发词**: title, 标题, title optimization, create title, improve title

**目标**:根据 IEEE/ACM/Springer/NeurIPS 最佳实践,生成和优化学术论文标题。

**脚本用法**:
```bash
# 根据内容生成标题
uv run python ../scripts/optimize_title.py main.typ --generate

# 优化现有标题
uv run python ../scripts/optimize_title.py main.typ --optimize

# 检查标题质量
uv run python ../scripts/optimize_title.py main.typ --check

# 交互式模式(推荐)
uv run python ../scripts/optimize_title.py main.typ --interactive

# 标题对比测试
uv run python ../scripts/optimize_title.py main.typ --compare "Title A" "Title B" "Title C"
```

**标题质量标准**(基于 IEEE Author Center 及顶级会议/期刊):

| 标准 | 权重 | 说明 |
|------|------|------|
| **简洁性** | 25% | 删除 "A Study of", "Research on", "Novel", "New" |
| **可搜索性** | 30% | 核心术语(方法+问题)在前 65 字符内 |
| **长度** | 15% | 最佳:10-15 词(英文)/ 15-25 字(中文)|
| **具体性** | 20% | 具体方法/问题名称,避免泛泛而谈 |
| **规范性** | 10% | 避免生僻缩写(除 AI, LSTM, DNA 等通识缩写)|

## 标题生成工作流

**步骤 1:内容分析**
从摘要/引言中提取:
- **研究问题**:解决什么挑战?
- **研究方法**:提出什么方法?
- **应用领域**:什么应用场景?
- **核心贡献**:主要成果是什么?(可选)

**步骤 2:关键词提取**
识别 3-5 个核心关键词:
- 方法关键词:"Transformer", "Graph Neural Network", "Reinforcement Learning"
- 问题关键词:"Time Series Forecasting", "Fault Detection", "Image Segmentation"
- 领域关键词:"Industrial Control", "Medical Imaging", "Autonomous Driving"

**步骤 3:标题模板选择**
顶级会议/期刊常用模式:

| 模式 | 示例(英文) | 示例(中文) | 适用场景 |
|------|-------------|-------------|----------|
| Method for Problem | "Transformer for Time Series Forecasting" | "时间序列预测的Transformer方法" | 通用研究 |
| Method: Problem in Domain | "Graph Neural Networks: Fault Detection in Industrial Systems" | "图神经网络:工业系统故障检测" | 领域专项 |
| Problem via Method | "Time Series Forecasting via Attention Mechanisms" | "基于注意力机制的时间序列预测" | 方法聚焦 |
| Method + Key Feature | "Lightweight Transformer for Real-Time Detection" | "轻量级Transformer实时检测方法" | 性能聚焦 |

**步骤 4:生成标题候选**
生成 3-5 个不同侧重的候选标题:
1. 方法侧重型
2. 问题侧重型
3. 应用侧重型
4. 平衡型(推荐)
5. 简洁变体

**步骤 5:质量评分**
每个候选标题获得总体评分(0-100)、各标准细分评分、具体改进建议。

## 标题优化规则

**删除无效词汇**:

**英文**:
| 避免使用 | 原因 |
|----------|------|
| A Study of | Redundant (all papers are studies) |
| Research on | Redundant (all papers are research) |
| Novel / New | Implied by publication |
| Improved / Enhanced | Vague without specifics |
| Based on | Often unnecessary |
| Using / Utilizing | Can be replaced with prepositions |

**中文**:
| 避免使用 | 原因 |
|----------|------|
| 关于...的研究 | 冗余(所有论文都是研究) |
| ...的探索 | 冗余且不具体 |
| 新型 / 新颖的 | 发表即意味着新颖 |
| 改进的 / 优化的 | 不具体,需说明如何改进 |
| 基于...的 | 可简化为直接表述 |

**推荐结构示例**:

**英文**:
```
Good: "Transformer for Time Series Forecasting in Industrial Control"
Bad:  "A Novel Study on Improved Time Series Forecasting Using Transformers"

Good: "Attention-Based LSTM for Multivariate Time Series Prediction"
Bad:  "An Improved LSTM Model Using Attention Mechanism for Prediction"
```

**中文**:
```
好:工业控制系统时间序列预测的Transformer方法
差:关于基于Transformer的工业控制系统时间序列预测的研究

好:注意力机制的多变量时间序列预测方法
差:基于注意力机制的改进型多变量时间序列预测模型研究
```

## 关键词布局策略

- **前 65 字符(英文)/ 前 20 字(中文)**:最重要的关键词(方法+问题)
- **避免开头**:Articles (A, An, The) / "关于"、"对于"
- **优先使用**:名词和技术术语,而非动词和形容词

## 缩写使用准则

| 可接受 | 标题中避免 |
|----------|--------------|
| AI, ML, DL | Obscure domain-specific acronyms |
| LSTM, GRU, CNN | Chemical formulas (unless very common) |
| IoT, 5G, GPS | Lab-specific abbreviations |
| DNA, RNA, MRI | Non-standard method names |

## 会议/期刊特殊要求

**IEEE Transactions**:
- 避免带下标的公式
- 使用 Title Case(主要词首字母大写)
- 典型长度:10-15 词

**ACM Conferences**:
- 可使用更有创意的标题和冒号副标题
- 典型长度:8-12 词

**Springer Journals**:
- 偏好描述性而非创意性,可稍长(最多 20 词)

**NeurIPS/ICML**:
- 简洁有力(8-12 词),方法名通常突出

## 输出格式

**英文论文**:
```typst
// ============================================================
// TITLE OPTIMIZATION REPORT
// ============================================================
// Current Title: "A Novel Study on Time Series Forecasting Using Deep Learning"
// Quality Score: 45/100
//
// Issues Detected:
// 1. [Critical] Contains "Novel Study" (remove ineffective words)
// 2. [Major] Vague method description ("Deep Learning" too broad)
//
// Recommended Titles (Ranked):
// 1. "Transformer-Based Time Series Forecasting for Industrial Control" [Score: 92/100]
// 2. "Attention Mechanisms for Multivariate Time Series Prediction" [Score: 88/100]
//
// Suggested Typst Update:
// #align(center)[
//   #text(size: 18pt, weight: "bold")[
//     Transformer-Based Time Series Forecasting for Industrial Control
//   ]
// ]
// ============================================================
```

**中文论文**:
```typst
// ============================================================
// 标题优化报告
// ============================================================
// 当前标题:"关于基于深度学习的时间序列预测的研究"
// 质量评分:48/100
//
// 推荐标题(按评分排序):
// 1. "工业控制系统时间序列预测的Transformer方法" [评分: 94/100]
// 2. "多变量时间序列预测的注意力机制研究" [评分: 89/100]
// ============================================================
```

**Typst 标题设置示例**:

**英文论文**:
```typst
#align(center)[
  #text(size: 18pt, weight: "bold")[
    Transformer-Based Time Series Forecasting for Industrial Control
  ]
]
```

**中文论文**:
```typst
#align(center)[
  #text(size: 18pt, weight: "bold", font: "Source Han Serif")[
    工业控制系统时间序列预测的Transformer方法
  ]

  #v(0.5em)

  #text(size: 14pt, font: "Times New Roman")[
    Transformer-Based Time Series Forecasting for Industrial Control Systems
  ]
]
```

参考资源:
- [IEEE Author Center](https://conferences.ieeeauthorcenter.ieee.org/)
- [Royal Society Blog on Title Optimization](https://royalsociety.org/blog/2025/01/title-abstract-and-keywords-a-practical-guide-to-maximizing-the-visibility-and-impact-of-your-papers/)

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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall