complete-example

Community

AI 驱动的 LaTeX 内容生成与格式保护

Authorhuangwb8
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The Complete Example Skill unifies AI-assisted content generation for LaTeX documents with rigorous formatting safeguards. It analyzes chapter themes, evaluates resource relevance, and produces coherent narrative sections that are automatically wrapped into LaTeX code while preserving critical structure and protecting template integrity.

Core Features & Use Cases

  • AI-driven semantic analysis of LaTeX chapters to extract themes and key concepts.
  • Resource-aware content generation: AI selects relevant figures, code snippets, and references, then formats them as LaTeX-ready blocks to plug into templates.
  • Hard-coded formatting protection: enforces LaTeX structure, protected commands, and integrity checks to prevent template corruption.
  • End-to-end workflow for NSFC-style proposals and academic writing templates, with run-time isolation and audit trails.

Use Case: A researcher requests automatic generation of NSFC_Young LaTeX sections, guided by narrative hints, while the system ensures the template remains intact and compilable.

Quick Start

  1. Install Python dependencies (anthropic, openai, pillow, pyyaml, jinja2) and ensure a LaTeX toolchain (xelatex) is installed.
  2. Place your LaTeX project in a directory containing main.tex and extraTex/ content; configure config.yaml as needed.
  3. Run the CompleteExampleSkill against a target project (e.g., NSFC_Young) and review the hidden .complete_example run outputs under the project directory.

Dependency Matrix

Required Modules

anthropicopenaipillowpyyamljinja2

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: complete-example
Download link: https://github.com/huangwb8/ChineseResearchLaTeX/archive/main.zip#complete-example

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.