finish by clearsmog/claude-skills
npx skills add https://github.com/clearsmog/claude-skills --skill finish主流程,用于编译、审阅、修复并最终定稿任何支持的文档类型。
根据扩展名确定文件类型:
.typ → Typst 文档(幻灯片、文档、指南、简历).qmd → Quarto RevealJS 幻灯片.py → Python 脚本注意: 对于
.tex(LaTeX/Beamer)文件,请在项目级别配置完成流程。
对于 .typ 文件,还需根据内容检测文档类型:
#import "@preview/polylux" 或 #import "@preview/touying" → Typst 幻灯片广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
#import "@local/qk" → 使用 qk 组件库$ARGUMENTS,解析文件路径步骤 1 — 编译:
/compile步骤 2 — 确定样本页面:
步骤 3 — 渲染 PNG:
typst compile FILE.typ /tmp/finish-preview-{0p}.png --pages [SAMPLE]
步骤 4 — 视觉检查:
typst/references/visual-verification.md 中的完整视觉检查清单:
步骤 5 — 记录问题,供阶段 1.5 或阶段 3 的修复列表使用。
如果视觉抽查发现了简单问题,立即修复它们,以便审阅代理从一个干净的基础开始。
范围: 仅修复符合以下条件的问题:
步骤:
figure(placement: auto) 或分页符typst compile FILE.typ/review每轮修复:
应用修复 — 优先级顺序:关键 → 主要 → 次要
重新编译: typst compile FILE.typ
重新渲染受影响的页面为 PNG:
typst compile FILE.typ /tmp/finish-fix-{0p}.png --pages [AFFECTED]
视觉验证:
如果出现新的视觉问题 → 添加到下一轮的修复列表中
特定格式说明:
对于 .qmd 文件:
对于 .typ 文件:
gemini-generate-image MCP 获取概念性插图/image-search 获取真实照片/徽标对于 .py 文件:
# 完成报告:[文件名]
## 流程摘要
| 阶段 | 状态 | 详情 |
|-------|--------|---------|
| 编译 | 通过/失败 | [输出文件,警告] |
| 视觉抽查 | 通过/[问题数量] | [发现的问题及自动修复情况] |
| 审阅 | [得分] | [代理数量,问题数量] |
| 修复 | [轮次] | [已修复/剩余问题] |
| 最终得分 | [得分] | [优秀/良好/需要改进/差] |
## 得分进展
- 初始:[得分]([N] 个关键,[M] 个主要)
- 自动修复后:[得分]([N] 个关键,[M] 个主要)
- 最终:[得分]([N] 个关键,[M] 个主要)
- 轮次:[N]
## 应用的修复
[列出所做的更改]
## 剩余问题(如有)
[列出无法自动修复的问题]
参见 typst/references/quality-gates.md 获取权威限制。
.typ 文件,视觉工具调用(gemini-generate-image MCP、/image-search)仅在审阅者明确标记缺少视觉元素时发生每周安装数
1
代码仓库
GitHub 星标数
2
首次出现
今天
安全审计
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
Master pipeline that compiles, reviews, fixes, and finalizes any supported document type.
Determine file type from extension:
.typ → Typst document (slides, docs, guides, CVs).qmd → Quarto RevealJS slides.py → Python scriptNote: For
.tex(LaTeX/Beamer), configure the finish pipeline at project level.
For .typ files, also detect document type from content:
#import "@preview/polylux" or #import "@preview/touying" → Typst slides#import "@local/qk" → Uses qk component library$ARGUMENTS, resolve file pathStep 1 — Compile:
/compile with the detected formatStep 2 — Determine sample pages:
Step 3 — Render PNGs:
typst compile FILE.typ /tmp/finish-preview-{0p}.png --pages [SAMPLE]
Step 4 — Visual inspection:
typst/references/visual-verification.md:
Step 5 — Record issues for Phase 1.5 or Phase 3 fix list.
If the visual spot-check caught simple issues, fix them now so review agents start from a clean baseline.
Scope: Only fix issues that are:
Steps:
figure(placement: auto) or page breakstypst compile FILE.typ/review with the fileFor each fix round:
Apply fixes — priority order: Critical → Major → Minor
Re-compile: typst compile FILE.typ
Re-render affected pages to PNG:
typst compile FILE.typ /tmp/finish-fix-{0p}.png --pages [AFFECTED]
Visually verify that:
If new visual issues → add to fix list for next round
Format-specific notes:
For.qmd files:
For.typ files:
gemini-generate-image MCP for conceptual illustrations/image-search for real photos/logosFor.py files:
# Finish Report: [Filename]
## Pipeline Summary
| Phase | Status | Details |
|-------|--------|---------|
| Compile | PASS/FAIL | [output file, warnings] |
| Visual Spot-Check | PASS/[N issues] | [issues found and auto-fixed] |
| Review | [score] | [agent count, issue count] |
| Fix | [rounds] | [issues fixed / remaining] |
| Final Score | [score] | [EXCELLENT/GOOD/NEEDS WORK/POOR] |
## Score Progression
- Initial: [score] ([N] critical, [M] major)
- After auto-fix: [score] ([N] critical, [M] major)
- Final: [score] ([N] critical, [M] major)
- Rounds: [N]
## Fixes Applied
[List of changes made]
## Remaining Issues (if any)
[List issues that could not be auto-fixed]
See typst/references/quality-gates.md for authoritative limits.
.typ files, visual tool invocation (gemini-generate-image MCP, /image-search) only happens when the reviewer explicitly flags missing visualsWeekly Installs
1
Repository
GitHub Stars
2
First Seen
Today
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
31,600 周安装