skills/35-bahayonghang-academic-writing-skills/skills/typst-paper/SKILL.md
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.
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research typst-paperInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
algorithmic, algorithm-figure, lovelace, caption handling, and comment length.Use this skill when the user has an existing .typ paper project and wants help with:
Do not use this skill for:
paper-audit)| 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 |
| tables | Table structure validation, three-line table generation | uv run python $SKILL_DIR/scripts/check_tables.py main.typ | references/modules/TABLES.md |
| abstract | Abstract five-element structure diagnosis and word count validation | uv run python $SKILL_DIR/scripts/analyze_abstract.py main.typ | references/modules/ABSTRACT.md |
| adapt | Journal adaptation: reformat paper for a different venue | (LLM-driven workflow) | references/modules/ADAPT.md |
main.typ or the Typst entry file.--section SECTION for targeted analysis.If arguments are missing, ask only for the Typst entry file and the target module.
// MODULE (Line N) [Severity] [Priority]: Issue ...@cite, <label>, math blocks, and Typst macros unless the user explicitly asks for source edits.$ARGUMENTS and select the active module.uv run python ....bibliography.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.
main.typ submission.”algorithm-figure block for IEEE-like caption, line-number, and comment issues.”See examples/ for full request-to-command walkthroughs.
development
Conduct rigorous thematic analysis (TA) of qualitative data following Braun and Clarke's (2006) six-phase framework. Use whenever the user mentions 'thematic analysis', 'TA', 'Braun and Clarke', 'qualitative coding', 'identifying themes', or asks for help analysing interviews, focus groups, open-ended survey responses, or transcripts to identify patterns. Also trigger for questions about inductive vs theoretical coding, semantic vs latent themes, essentialist vs constructionist epistemology, building a thematic map, or writing up a qualitative findings section. Covers all six phases, the four upfront analytic decisions, the 15-point quality checklist, and the five common pitfalls. Produces a Word document write-up and an annotated thematic map. Does NOT cover IPA, grounded theory, discourse analysis, conversation analysis, or narrative analysis — use a different method for those.
development
Guide users through writing a systematic literature review (SLR) following the PRISMA 2020 framework. Use this skill whenever the user mentions 'systematic review', 'systematic literature review', 'SLR', 'PRISMA', 'PRISMA 2020', 'PRISMA flow diagram', 'PRISMA checklist', or asks for help writing, structuring, or auditing a literature review that follows reporting guidelines. Also trigger when the user asks about inclusion/exclusion criteria for a review, search strategies for databases like Scopus/WoS/PubMed, study selection processes, risk of bias assessment, or narrative synthesis for a review paper. This skill covers the full PRISMA 2020 checklist (27 items), produces a Word document manuscript in strict journal article format, generates an annotated PRISMA flow diagram, and enforces APA 7th Edition referencing throughout. It does NOT cover meta-analysis or statistical pooling. By Chuah Kee Man.
testing
Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance. Use when checking model robustness, verifying lack of pre-intervention effects, or estimating study power.
data-ai
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.