Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

docs-latex乳胶文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

1,576

周安装

67

GitHub Stars

28

下载量

552
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:docs-latex(乳胶文档)
来源仓库:https://github.com/laurigates/claude-plugins
仓库路径:skills/docs-latex
安装命令:
npx skills add https://github.com/laurigates/claude-plugins --skill docs-latex
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/laurigates/claude-plugins --skill docs-latex

简介

用于将 Markdown 文档转换为专业 LaTeX 格式的工具。

  • 支持高级排版、TikZ/PGFPlots 可视化及 PDF 编译。
  • 适用于需要打印级质量的战略报告或技术文档场景。
  • 包含 shell 命令执行警告,需人工审核后使用。
  • 可生成带图表和视觉化的格式化文档输出。docs-latex 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Markdown to LaTeX Conversion

Convert Markdown documents to professional LaTeX with advanced typesetting, TikZ/PGFPlots visualizations, and PDF compilation.

When to Use This Skill

Use this skill when...Use another skill when...
Converting Markdown to presentation-quality PDFWriting Markdown documentation (/docs:generate)
Creating reports with diagrams and visualizationsSimple text formatting
Generating print-ready strategic documentsCreating HTML documentation
Building lifecycle reports with charts and timelinesSyncing existing docs (/docs:sync)

Context

  • LaTeX installed:!which pdflatex
  • Current directory:!pwd
  • Available.md files:!find. -maxdepth 2 -name '*.md' -not -name 'CHANGELOG.md' -not -name 'README.md'

Parameters

  • <file>: Path to the Markdown source file (required)
  • --no-compile: Generate .tex file only, skip PDF compilation
  • --visualizations: Include TikZ/PGFPlots diagrams (timelines, charts, risk matrices)
  • --report-type: Document structure preset

- roadmap: Phase-based roadmap with timeline visualization - lifecycle: Project lifecycle with release charts and velocity graphs - general: Standard professional document (default)

Execution

Execute this Markdown-to-LaTeX conversion workflow:

Step 1: Analyze the Markdown source

Read the source Markdown file and extract:

  • Document title and metadata
  • Section hierarchy (map # levels to LaTeX chapters/sections)
  • Tables, lists, code blocks, callout blocks, and blockquotes
  • Priorities or status indicators for color-coded markers
  • Numerical data suitable for visualization

Step 2: Generate the LaTeX document

Create a .tex file adjacent to the source. Use the document preamble, color definitions, custom environments, and conversion rules from REFERENCE.md.

Apply the Markdown-to-LaTeX conversion rules:

MarkdownLaTeX
# Title\chapter{Title}
## Section\section{Section}
### Subsection\subsection{Subsection}
**bold**\textbf{bold}
*italic*\textit{italic}
` code `\texttt{code}
- item\begin{itemize}\item...\end{itemize}
1. item\begin{enumerate}\item...\end{enumerate}
> quote\begin{tcolorbox}...\end{tcolorbox}
[text](url)\href{url}{text}
Tablesbooktabs tables with \toprule, \midrule, \bottomrule
Code blocks\begin{lstlisting}...\end{lstlisting}
- [] / - [x]$\square$ / $\boxtimes$ (requires amssymb)

Step 3: Add visualizations (when --visualizations or data suggests it)

Choose appropriate TikZ/PGFPlots visualizations based on document content. Use the visualization templates from REFERENCE.md:

  • Timeline for roadmaps with phases
  • Bar/pie charts for release or metric data
  • Risk matrix for documents with risk/impact data
  • Test pyramid for QA/testing documents

Step 4: Compile to PDF

  1. Install LaTeX toolchain if not available: apt-get update && apt-get install -y texlive-latex-extra texlive-fonts-recommended \ texlive-fonts-extra texlive-science latexmk
  2. Compile with two passes for cross-references: pdflatex -interaction=nonstopmode DOCUMENT.tex pdflatex -interaction=nonstopmode DOCUMENT.tex
  3. If compilation fails, check REFERENCE.md for common compilation fixes.

Step 5: Clean up repository artifacts

Add LaTeX build artifacts to .gitignore if not already present: *.aux, *.log, *.out, *.toc, *.lof, *.lot, *.fls, *.fdb_latexmk, *.synctex.gz, *.bbl, *.blg, *.nav, *.snm, *.vrb.

Post-actions

  1. Report the output PDF path, page count, and file size
  2. Summarize what visualizations were generated
  3. List any compilation warnings that may need attention
  4. Suggest the .gitignore additions if not already present

Agentic Optimizations

ContextCommand
Check LaTeX installedwhich pdflatex 2>/dev/null
Quick compilepdflatex -interaction=nonstopmode -halt-on-error FILE.tex
Full compile (with TOC)pdflatex -interaction=nonstopmode FILE.tex && pdflatex -interaction=nonstopmode FILE.tex
Check PDF page countpdfinfo FILE.pdf 2>/dev/null
Check PDF file sizestat -f %z FILE.pdf 2>/dev/null
Install toolchainapt-get install -y texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra texlive-science
Errors onlypdflatex -interaction=nonstopmode FILE.tex 2>&1

For detailed LaTeX patterns, TikZ templates, and package reference, see REFERENCE.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.36%
按下载量换算190

Claude

32.2%
按下载量换算178

Cursor

21.57%
按下载量换算119

Gemini CLI

9.29%
按下载量换算51

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/laurigates/claude-plugins --skill docs-latex 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills