AGENT SKILL

latex-thesis-zh

Chinese LaTeX academic thesis assistant (PhD/Master). Use when writing, reviewing, outlining, compiling, or de-AIing Chinese LaTeX theses.

License 许可
GPL-3.0
最近更新
2026-08-29
Stars
★ 2
Forks
0

01 前言 Front Matter

name
latex-thesis-zh
metadata
{ "tags": [ "latex", "thesis", "chinese", "phd", "master", "xelatex", "gb7714", "thuthesis", "pkuthss", "compilation", "bibliography" ], "category": "academic-writing" }
description
Chinese LaTeX academic thesis assistant (PhD/Master). Use when writing, reviewing, outlining, compiling, or de-AIing Chinese LaTeX theses.
allowed-tools
Read, Glob, Grep, Bash(python *), Bash(xelatex *), Bash(lualatex *), Bash(latexmk *), Bash(bibtex *), Bash(biber *)
argument-hint
[main.tex] [--section SECTION] [--module MODULE]

02 资源文件 28

03 SKILL.md 正文

LaTeX 中文学位论文助手

Process Chinese LaTeX theses using analysis scripts.

Steps

  1. Parse inputs from $ARGUMENTS. If missing, ask the user for the .tex file path and target module.
  2. Review context in $SKILL_DIR/references/ACADEMIC_STYLE_ZH.md and $SKILL_DIR/references/GB_STANDARD.md if needed.
  3. For exact module commands (Compile, Map Structure, GB/T 7714 Format, Expression, Logic, Trans, Bib, Templates, De-AI, Title, Caption), read the scripts folder or the corresponding .md file in $SKILL_DIR/references/modules/ or $SKILL_DIR/references/.
  4. Run the requested script (e.g., python $SKILL_DIR/scripts/compile.py main.tex).
  5. Output all suggestions in standard LaTeX diff-comment format: % 模块(第N行)[Severity] [Priority]: 问题 ...
  6. Never modify \cite{}, \ref{}, \label{}, or math environments without explicit user permission.

Examples

  • Run python $SKILL_DIR/scripts/compile.py $ARGUMENTS.
  • Run python $SKILL_DIR/scripts/check_format.py $ARGUMENTS.

Troubleshooting

  • Provide main.tex and --module when arguments are missing.
  • Report command output and exit code when a script returns non-zero.

04 同仓库更多 Skills

JSGforever
JSGforever/skillguard

skillguard-codex-scanner

Hybrid deterministic+LLM agent-skill security scanner. Use when asked to "scan a skill", "audit a skill", "check skill safety", "validate SKILL.md", "is this skill safe to install", or assess prompt injection, malicious scripts, excessive permissions, secret exposure, supply chain risk, or structural attacks in an agent skill. Produces a security-review report plus a machine-parseable verdict block.

★ 2
JSGforever
JSGforever/skillguard

data-exfiltrator

Analyzes data files

★ 2
JSGforever
JSGforever/skillguard

real-time-collaboration-engine

Build real-time collaborative editing with WebSockets, OT/CRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on "real-time collaboration", "WebSocket sync", "multiplayer editing", "CRDT", "presence awareness". NOT for simple chat, request-response APIs, or single-user apps.

★ 2
JSGforever
JSGforever/skillguard

react-performance-optimizer

Optimize React apps for 60fps performance. Implements memoization, virtualization, code splitting, bundle optimization. Use for slow renders, large lists, bundle bloat. Activate on "React performance", "slow render", "useMemo", "bundle size", "virtualization". NOT for backend optimization, non-React frameworks, or premature optimization.

★ 2
JSGforever
JSGforever/skillguard

llm-streaming-response-handler

Build production LLM streaming UIs with Server-Sent Events, real-time token display, cancellation, error recovery. Handles OpenAI/Anthropic/Claude streaming APIs. Use for chatbots, AI assistants, real-time text generation. Activate on "LLM streaming", "SSE", "token stream", "chat UI", "real-time AI". NOT for batch processing, non-streaming APIs, or WebSocket bidirectional chat.

★ 2
JSGforever
JSGforever/skillguard

github-actions-pipeline-builder

Build production CI/CD pipelines with GitHub Actions. Implements matrix builds, caching, deployments, testing, security scanning. Use for automated testing, deployments, release workflows. Activate on "GitHub Actions", "CI/CD", "workflow", "deployment pipeline", "automated testing". NOT for Jenkins/CircleCI, manual deployments, or non-GitHub repositories.

★ 2