typst-paper
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, or experiment-section review. Trigger even when the user only mentions one Typst file, one bibliography issue, one pseudocode block, or one section rewrite. 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.
- License 许可
- MIT
- 最近更新
- 2026-09-17
- Stars
- ★ 5
- Forks
- 0
01 前言 Front Matter
- name
- typst-paper
- metadata
- { "tags": [ "typst", "paper", "chinese", "english", "ieee", "acm", "springer", "neurips", "compilation", "grammar", "bibliography", "hayagriva", "pseudocode", "algorithmic", "lovelace" ], "category": "academic-writing" }
- description
- 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, or experiment-section review. Trigger even when the user only mentions one Typst file, one bibliography issue, one pseudocode block, or one section rewrite. 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.
- allowed-tools
- Read, Glob, Grep, Bash(uv *), Bash(typst *)
- argument-hint
- [main.typ] [--section SECTION] [--module MODULE]
02 资源文件 47
- 参考文档agents/openai.yaml330 B
- 参考文档evals/evals.json7.3 KB
- 参考文档examples/bibliography-and-title.md509 B
- 参考文档examples/compile-and-format.md495 B
- 参考文档examples/expression-and-translation.md554 B
- 参考文档references/BEST_PRACTICES.md391 B
- 参考文档references/CITATION_VERIFICATION.md4.9 KB
- 参考文档references/COMMON_ERRORS.md5.3 KB
- 参考文档references/DEAI_GUIDE.md14.9 KB
- 参考文档references/modules/BIBLIOGRAPHY.md683 B
- 参考文档references/modules/CAPTION.md2.1 KB
- 参考文档references/modules/COMPILE.md1.2 KB
- 参考文档references/modules/DEAI.md2.8 KB
- 参考文档references/modules/EXPERIMENT.md3.8 KB
- 参考文档references/modules/EXPRESSION.md1.6 KB
- 参考文档references/modules/FORMAT.md1.1 KB
- 参考文档references/modules/GRAMMAR.md1.1 KB
- 参考文档references/modules/LOGIC.md5.4 KB
- 参考文档references/modules/PSEUDOCODE.md1.4 KB
- 参考文档references/modules/SENTENCES.md726 B
- 参考文档references/modules/TITLE.md7.3 KB
- 参考文档references/modules/TRANSLATION.md1.5 KB
- 参考文档references/modules/WORKFLOW.md706 B
- 参考文档references/REVIEWER_PERSPECTIVE.md4.9 KB
- 参考文档references/STYLE_GUIDE.md7.9 KB
- 参考文档references/TEMPLATES.md2.5 KB
- 参考文档references/TERMINOLOGY.md9.9 KB
- 参考文档references/TRANSLATION_GUIDE.md11.4 KB
- 参考文档references/TYPST_SYNTAX.md9.8 KB
- 参考文档references/VENUES.md13.0 KB
- 参考文档references/WRITING_PHILOSOPHY.md6.7 KB
- 脚本scripts/analyze_experiment.py11.1 KB
- 脚本scripts/analyze_grammar.py3.6 KB
- 脚本scripts/analyze_logic.py18.8 KB
- 脚本scripts/analyze_sentences.py3.6 KB
- 脚本scripts/check_format.py11.3 KB
- 脚本scripts/check_pseudocode.py8.6 KB
- 脚本scripts/check_references.py14.1 KB
- 脚本scripts/compile.py8.1 KB
- 脚本scripts/deai_batch.py10.2 KB
- 脚本scripts/deai_check.py19.2 KB
- 脚本scripts/improve_expression.py3.2 KB
- 脚本scripts/online_bib_verify.py11.9 KB
- 脚本scripts/optimize_title.py16.9 KB
- 脚本scripts/parsers.py8.0 KB
- 脚本scripts/translate_academic.py4.2 KB
- 脚本scripts/verify_bib.py14.4 KB
03 SKILL.md 正文
Typst Academic Paper Assistant
Use this skill for targeted work on an existing Typst paper project. Route requests to the smallest useful module and keep outputs compatible with Typst source review.
Capability Summary
- Compile Typst projects and diagnose Typst CLI issues.
- Audit format, bibliography, grammar, sentence length, argument logic, expression quality, and AI traces.
- Review IEEE-like pseudocode blocks for
algorithmic,algorithm-figure,lovelace, caption handling, and comment length. - Support both BibTeX and Hayagriva bibliography files.
- Improve titles, translation, and experiment-section clarity for Typst papers.
Triggering
Use this skill when the user has an existing .typ paper project and wants help with:
- Typst compilation or export issues
- format or venue compliance
- bibliography validation for BibTeX or Hayagriva
- grammar, sentence, logic, or expression review
- translation or bilingual polishing
- title optimization
- pseudocode and algorithm-block review
- de-AI editing
- experiment-section review
Do Not Use
Do not use this skill for:
- LaTeX-first conference or thesis projects
- DOCX/PDF-only editing without Typst source
- thesis template detection or GB/T 7714 thesis workflows
- from-scratch paper planning or literature research
- multi-perspective review, scoring, or submission gate decisions (use
paper-audit) - standalone pseudocode drafting without a paper context
Module Router
| Module | Use when | Primary command | Read next |
|---|---|---|---|
compile |
Typst build, export, font, or watch issues | uv run python $SKILL_DIR/scripts/compile.py main.typ |
references/modules/COMPILE.md |
format |
Venue/layout review for a Typst paper | uv run python $SKILL_DIR/scripts/check_format.py main.typ |
references/modules/FORMAT.md |
bibliography |
BibTeX or Hayagriva validation | uv run python $SKILL_DIR/scripts/verify_bib.py references.bib --typ main.typ |
references/modules/BIBLIOGRAPHY.md |
grammar |
Grammar cleanup on Typst prose | uv run python $SKILL_DIR/scripts/analyze_grammar.py main.typ --section introduction |
references/modules/GRAMMAR.md |
sentences |
Long or dense sentence diagnostics | uv run python $SKILL_DIR/scripts/analyze_sentences.py main.typ --section introduction |
references/modules/SENTENCES.md |
logic |
Argument flow, introduction funnel, cross-section closure, and abstract/conclusion alignment review | uv run python $SKILL_DIR/scripts/analyze_logic.py main.typ --section methods |
references/modules/LOGIC.md |
expression |
Tone and expression polishing | uv run python $SKILL_DIR/scripts/improve_expression.py main.typ --section methods |
references/modules/EXPRESSION.md |
translation |
Chinese/English academic translation in Typst context | uv run python $SKILL_DIR/scripts/translate_academic.py input_zh.txt --domain deep-learning |
references/modules/TRANSLATION.md |
title |
Generate, compare, or optimize Typst paper titles | uv run python $SKILL_DIR/scripts/optimize_title.py main.typ --check |
references/modules/TITLE.md |
pseudocode |
Review algorithmic / algorithm-figure / lovelace output for IEEE-like safety, captions, and comment length |
uv run python $SKILL_DIR/scripts/check_pseudocode.py main.typ --venue ieee |
references/modules/PSEUDOCODE.md |
deai |
Reduce English or Chinese AI-writing traces while preserving Typst syntax | uv run python $SKILL_DIR/scripts/deai_check.py main.typ --section introduction |
references/modules/DEAI.md |
experiment |
Inspect experiment-section clarity, discussion layering, and reporting quality | uv run python $SKILL_DIR/scripts/analyze_experiment.py main.typ --section experiment |
references/modules/EXPERIMENT.md |
Required Inputs
main.typor the Typst entry file.- Optional
--section SECTIONfor targeted analysis. - Optional bibliography path when the request targets references.
- Optional venue context when the user cares about IEEE, ACM, Springer, or similar expectations.
If arguments are missing, ask only for the Typst entry file and the target module.
Output Contract
- Return findings in Typst diff-comment style whenever possible:
// MODULE (Line N) [Severity] [Priority]: Issue ... - Report the exact command used and the exit code when a script fails.
- Preserve
@cite,<label>, math blocks, and Typst macros unless the user explicitly asks for source edits.
Workflow
- Parse
$ARGUMENTSand select the active module. - Read only the reference file needed for that module.
- Run the module script with
uv run python .... - Return Typst-ready comments and next actions.
- For bibliography requests, decide BibTeX vs Hayagriva first, then run
bibliography.
Safety Boundaries
- Never invent citations, labels, or experimental claims.
- Never rewrite Typst references, labels, or math content by default.
- Keep compile diagnostics separate from prose rewrites so the user can validate each step.
Reference Map
references/TYPST_SYNTAX.md: Typst syntax reminders and pitfalls.references/STYLE_GUIDE.md: paper-writing style baseline.references/CITATION_VERIFICATION.md: citation verification workflow.references/modules/: module-specific Typst commands and choices.references/modules/PSEUDOCODE.md: IEEE-like defaults for Typst pseudocode.
Read only the file that matches the active module.
Example Requests
- “Compile this Typst paper and tell me why the export works locally but fails in CI.”
- “Check bibliography, title, and abstract wording in my
main.typsubmission.” - “Review this
algorithm-figureblock for IEEE-like caption, line-number, and comment issues.” - “Review the methods section for sentence length and logic, but keep Typst labels intact.”
See examples/ for full request-to-command walkthroughs.
04 同仓库更多 Skills
git-operations
暂无简介
python-best-practices
暂无简介
typst-paper
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, or experiment-section review. Trigger even when the user only mentions one Typst file, one bibliography issue, one pseudocode block, or one section rewrite. 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.
typeset
Improves typography by fixing font choices, hierarchy, sizing, weight, and readability so text feels intentional. Use when the user mentions fonts, type, readability, text hierarchy, sizing looks off, or wants more polished, intentional typography.
teach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
research-paper-writing
Improve academic paper writing quality for ML/CV/NLP-style papers with clear section structure, paragraph flow, and reviewer-facing presentation. Use when drafting or revising Abstract, Introduction, Related Work, Method, Experiments, or Conclusion; polishing figures/tables; checking claim-support alignment; or performing self-review before submission.