AGENT SKILL

latex

Focused LaTeX utility for compile-error log triage, bibliography validation, and venue template setup. Identifies precise error source files and lines from engine logs.

License 许可
MIT
最近更新
2026-10-29
Stars
★ 0
Forks
0

01 前言 Front Matter

name
latex
license
MIT
version
0.2.0
description
Focused LaTeX utility for compile-error log triage, bibliography validation, and venue template setup. Identifies precise error source files and lines from engine logs.
allowed-tools
[ "Read", "Write", "Edit", "Bash", "Grep", "Glob" ]
disable-model-invocation
true

02 资源文件 3

03 SKILL.md 正文

LaTeX

Targeted assistance for LaTeX compilation triage, BibTeX hygiene, and venue formatting.

Scope

This skill covers three specific tasks:

  1. Parsing messy compiler logs down to the exact offending source file and line.
  2. Checking .bib files for duplicate keys and missing required citation fields.
  3. Setting up paper skeletons matching conference and journal submission standards.

Do not use this skill for general conversational LaTeX tutorials or mathematical proof checking (use math).

When to use

  • A LaTeX build fails and produces an error log (.log).
  • Auditing citations and .bib records prior to submission.
  • Bootstrapping a manuscript template for target venues.

Process

1. Compile log triage

Run the log parser against your build log:

python3 scripts/parse_log.py path/to/compile.log

The script tracks open TeX source files through nested parentheses and matches ! error lines to source locations (<file>:<line>: <message>). Inspect the reported file and line directly before modifying code.

2. Bibliography validation

Audit reference files before compilation:

python3 scripts/bib_lint.py references.bib

Flags duplicated citation keys and reports entries missing fields mandated by standard BibTeX entry types (such as missing author, title, journal, or year in @article).

3. Venue templates

Use templates/generic-article/main.tex as a clean starting point, or adapt specific venue templates under templates/<venue>-<year>/. Keep macro definitions minimal and separate from main content.

Scripts

  • scripts/parse_log.py <compile.log>: Standard library Python script for pinpointing LaTeX errors.
  • scripts/bib_lint.py <file.bib>: Standard library Python script for checking BibTeX entry integrity.

04 同仓库更多 Skills

dkritarth
dkritarth/skills-personal

writing

Track manuscript draft revisions across sessions. Maintains an append-only journal (.writing-journal.md) backed by git history to compare planned edits against actual changes, surface trajectory drift, and keep research drafts aligned.

★ 0
dkritarth
dkritarth/skills-personal

math

Enforces structured mathematical proof formatting (Claim, Assumptions, Proof, Where Used) and runs symbolic and numeric verification on extracted sub-claims using SymPy.

★ 0
dkritarth
dkritarth/skills-personal

markitdown-converter

Convert documents (PDF, Word, Excel, PowerPoint, HTML, etc.) to markdown using Microsoft's markitdown library, then read the markdown output instead of binary files

★ 0
dkritarth
dkritarth/skills-personal

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

★ 0
dkritarth
dkritarth/skills-personal

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

★ 0
dkritarth
dkritarth/skills-personal

theme-factory

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

★ 0