Fix Layout — Design skill for Claude Code
/fix-layout — 启动完整 VTO 排版优化.
How to install Fix Layout
Installs to ~/.claude/commands/openraiser-paperfit-fix-layout.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/OpenRaiser/PaperFit/HEAD/.claude/commands/fix-layout.md -o ~/.claude/commands/openraiser-paperfit-fix-layout.md Restart Claude Code, or start a new session, for it to be picked up.
What Fix Layout does
/fix-layout — 启动完整 VTO 排版优化
**作用**: 对当前 LaTeX 项目执行完整的视觉排版优化(VTO)闭环
**防呆约束**:
- 用户只需要表达目标,不需要手动执行内部命令
- 直接执行
paperfit runtime .../paperfit run .../paperfit render ... - 不要为了“启动闭环”先去调用任何内部任务管理工具
- 不要调用
TaskCreate、TodoWrite、Plan、Agent之类的任务编排工具来代替实际执行 - 不要在
/fix-layout过程中再自动触发其他斜杠命令 - 如果任务工具 schema 缺失或出现
InputValidationError,应立即回退到直接 shell 命令,不要重试任务工具
用户入口说明
/fix-layout是专家快捷入口,不是要求用户理解内部 CLI 的入口。- 与之对应的普通自然语言,例如“修复这篇论文的排版问题”“尽量不改语义地压到 9 页”,也应能触发同类任务。
- CLI、runt
Alternatives in Design
- Doc — Read, create, and edit .docx documents with formatting and layout fidelity 14.6k ★
- Scaffold Project — Scaffold a new design-product project that matches the recommended Claude Code layout (the reference structure 781 ★
- Module CSS — Compile module CSS assets or fix Tailwind prefix issues 407 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Layout Debug
Diagnose and fix Flutter layout, overflow, and responsive UI issues.
Clean Panes
Clean up tmux panes - kill idle shells, fix layout
Design Expert
Apply expert UX/UI design thinking to design, redesign, enhance, or fix any interface element with meticulous
UI Responsive
Check and fix responsive design issues across all breakpoints
UX Copy
Microcopy review and rewrite against the voice rubric. Produces a before/after table with severity per string
UX Evolve
Auto-iterate the lint→polish→re-lint loop on a generated artifact until score crosses 90 or plateaus. Triggers
Related Agents
Spgr Agent i18n
Owns string externalization, locale-aware formatting, RTL layout support, and translation workflow for product
Impeccable Agent
Autonomous executor for non-interactive impeccable commands. Runs audit, polish, harden, layout, typeset, and
Deep Research Writer
Writes the single report.md of a nav-deep-research run from the run's source notes, following the readable rep