Skip to content
cccskills
FreePublished on GitHub

typst-paper

Compile and improve existing English or Chinese academic papers written in Typst. Check references, formatting, prose, argument flow, abstracts, tables, and pseudocode, with source-level review comments and support for adapting papers to another publication venue.

OriginalShow the original 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, 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.

Run score Not tested

See how to install

Good for

  • Diagnosing Typst compilation and export errors
  • Validating BibTeX or Hayagriva references
  • Reviewing abstracts and the logic of paper sections
  • Adjusting tables, pseudocode, and submission formatting

Files included (60)

  • SKILL.md7.5 KB
  • 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/ABSTRACT_STRUCTURE.md4.9 KB
  • references/BEST_PRACTICES.md391 B
  • references/CITATION_STYLES.md4.2 KB
  • references/CITATION_VERIFICATION.md4.9 KB
  • references/COMMON_ERRORS.md5.3 KB
  • references/DEAI_GUIDE.md14.9 KB
  • references/JOURNAL_ABBREVIATIONS.md3.5 KB
  • references/JOURNAL_ADAPTATION_WORKFLOW.md3.6 KB
  • references/modules/ABSTRACT.md1.2 KB
  • references/modules/ADAPT.md1.3 KB
  • references/modules/BIBLIOGRAPHY.md1.3 KB
  • 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/TABLES.md1.3 KB
  • references/modules/TITLE.md7.3 KB
  • references/modules/TRANSLATION.md1.5 KB
  • references/modules/WORKFLOW.md706 B
  • references/NUMBER_UNIT_GUIDE.md2.3 KB
  • references/REVIEWER_PERSPECTIVE.md4.9 KB
  • references/STYLE_GUIDE.md7.9 KB
  • references/TABLE_GUIDE.md2.6 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_abstract.py17.3 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/check_tables.py9.8 KB
  • scripts/compile.py8.1 KB
  • scripts/deai_batch.py10.2 KB
  • scripts/deai_check.py19.2 KB
  • scripts/generate_table.py6.7 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.py15.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

ModuleUse whenPrimary commandRead next
compileTypst build, export, font, or watch issuesuv run python $SKILL_DIR/scripts/compile.py main.typreferences/modules/COMPILE.md
formatVenue/layout review for a Typst paperuv run python $SKILL_DIR/scripts/check_format.py main.typreferences/modules/FORMAT.md
bibliographyBibTeX or Hayagriva validationuv run python $SKILL_DIR/scripts/verify_bib.py references.bib --typ main.typreferences/modules/BIBLIOGRAPHY.md
grammarGrammar cleanup on Typst proseuv run python $SKILL_DIR/scripts/analyze_grammar.py main.typ --section introductionreferences/modules/GRAMMAR.md
sentencesLong or dense sentence diagnosticsuv run python $SKILL_DIR/scripts/analyze_sentences.py main.typ --section introductionreferences/modules/SENTENCES.md
logicArgument flow, introduction funnel, cross-section closure, and abstract/conclusion alignment reviewuv run python $SKILL_DIR/scripts/analyze_logic.py main.typ --section methodsreferences/modules/LOGIC.md
expressionTone and expression polishinguv run python $SKILL_DIR/scripts/improve_expression.py main.typ --section methodsreferences/modules/EXPRESSION.md
translationChinese/English academic translation in Typst contextuv run python $SKILL_DIR/scripts/translate_academic.py input_zh.txt --domain deep-learningreferences/modules/TRANSLATION.md
titleGenerate, compare, or optimize Typst paper titlesuv run python $SKILL_DIR/scripts/optimize_title.py main.typ --checkreferences/modules/TITLE.md
pseudocodeReview algorithmic / algorithm-figure / lovelace output for IEEE-like safety, captions, and comment lengthuv run python $SKILL_DIR/scripts/check_pseudocode.py main.typ --venue ieeereferences/modules/PSEUDOCODE.md
deaiReduce English or Chinese AI-writing traces while preserving Typst syntaxuv run python $SKILL_DIR/scripts/deai_check.py main.typ --section introductionreferences/modules/DEAI.md
experimentInspect experiment-section clarity, discussion layering, and reporting qualityuv run python $SKILL_DIR/scripts/analyze_experiment.py main.typ --section experimentreferences/modules/EXPERIMENT.md
tablesTable structure validation, three-line table generationuv run python $SKILL_DIR/scripts/check_tables.py main.typreferences/modules/TABLES.md
abstractAbstract five-element structure diagnosis and word count validationuv run python $SKILL_DIR/scripts/analyze_abstract.py main.typreferences/modules/ABSTRACT.md
adaptJournal adaptation: reformat paper for a different venue(LLM-driven workflow)references/modules/ADAPT.md

Required Inputs

  • main.typ or the Typst entry file.
  • Optional --section SECTION for 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

  1. Parse $ARGUMENTS and select the active module.
  2. Read only the reference file needed for that module.
  3. Run the module script with uv run python ....
  4. Return Typst-ready comments and next actions.
  5. 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.typ submission.”
  • “Review this algorithm-figure block 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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

a1

FreeSummary

Turn a broad research idea into clear, testable questions. Compare familiar and less conventional approaches, structure the selected question around its population and methods, and assess variables, feasibility, and potential theoretical contributions.

  • Turn a research topic into testable questions
  • Narrow an overly broad research question
  • Compare alternative research angles
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

a2

FreeSummary

Helps build a research framework by comparing theories, mapping relationships between variables, and deriving testable hypotheses. Explores less conventional options, examines weaknesses and competing explanations, and produces diagrams with anticipated reviewer objections.

  • Comparing theories for a research question
  • Deriving hypotheses from relationships between variables
  • Examining weaknesses and anticipated reviewer objections
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

a5

FreeSummary

Clarify the philosophical assumptions behind a research project and check whether they fit the proposed methods. Get a reasoned research stance, draft proposal wording, and guidance for explaining how the researcher's background and values shape the study.

  • Clarifying philosophical foundations for a research proposal
  • Explaining why the chosen research methods fit the study
  • Drafting a statement about the researcher's position
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

academic-paper

FreeSummary

Plan and draft academic papers through specialized agent roles covering literature, arguments, citations, and review. Get chapter guidance, revision roadmaps, Traditional Chinese and English abstracts, and documents formatted as LaTeX, DOCX, PDF, or Markdown.

  • Planning a paper chapter by chapter
  • Drafting a paper from research materials
  • Turning reviewer comments into a revision roadmap
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

Turn a detailed outline into a philosophy or interdisciplinary manuscript. Draft chapters with repeated quality reviews, check terminology and arguments across sections, and prepare the manuscript, evaluation reports, abstract, and metadata for submission.

  • Draft a full paper from a detailed outline
  • Review argument and citation quality chapter by chapter
  • Check terminology and argument flow across chapters
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

Simulate academic peer review through five reviewer roles tailored to the paper's field. Receive separate critiques, an editorial decision, and a prioritized revision roadmap, or check whether a revised manuscript addresses earlier comments.

  • Review a manuscript before journal submission
  • Examine research methods and statistical validity
  • Challenge core arguments and alternative explanations
brycewang-stanford/Auto-Empirical-Research-Skills4.7KUpdated Oct 20, 2026

See all skills by brycewang-stanford

Report a problem with this skill