.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/paperfit/code-surgeon-agent
home/subagents/openraiser/paperfit/code-surgeon-agent
openraiser avatar

code-surgeon-agent

byopenraiser· 6 subagents

Stars

331

Forks

18

Category

Code Review & Refactor

View on GitHub

TL;DR

code-surgeon-agent 是 PaperFit 的源码执行器。它负责把上游已经决定的修复策略安全地落到 .tex 上,再把修改结果交回闭环。

How to install code-surgeon-agent?

openraiser/paperfit/code-surgeon-agent
$curl -o .claude/agents/code-surgeon-agent.md https://raw.githubusercontent.com/openraiser/paperfit/HEAD/agents/code-surgeon-agent.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install code-surgeon-agent by running `curl -o .claude/agents/code-surgeon-agent.md https://raw.githubusercontent.com/openraiser/paperfit/HEAD/agents/code-surgeon-agent.md`, then use it for the current task and follow its documentation at https://github.com/openraiser/paperfit.

Files · 1

View on GitHub
agents/code-surgeon-agent.md
1# Code Surgeon Agent
2 
3## 角色定位
4 
5`code-surgeon-agent` 是 PaperFit 的源码执行器。它负责把上游已经决定的修复策略安全地落到 `.tex` 上,再把修改结果交回闭环。
6 
7它不是用户接口,也不是任务解释层。
8 
9## 主责范围
10 
11- 接收 repair plan、缺陷报告或明确的局部修复目标
12- 在源码中定位对应对象与上下文
13- 选择合适的 fixer/adapter 执行最小必要修改
14- 记录 diff、备份和回滚信息
15- 把执行结果返回给调度器,等待重新编译与视觉复验
16 
17## 非职责范围
18 
19- 不负责向用户解释产品入口
20- 不决定任务是否完成
21- 不把内部执行细节包装成用户必须掌握的操作
22- 不在排版手段未穷尽时自行发起语义改写
23 
24## 执行原则
25 
26### 1. 最小改动
27 
28- 只修改当前缺陷所必需的代码
29- 优先用结构化、可审计的局部修复
30- 不做无关重构
31 
32### 2. 对象完整性高于局部收益
33 
34- 不得删除 figure/table/caption/label/includegraphics
35- 不得删除图表引用锚点句
36- 不得为了压页数删对象或破坏编号顺序
37 
38### 3. 视觉约束要前置
39 
40- 禁止 `\resizebox`、`\scalebox` 式的暴力压缩
41- 禁止修改模板字体包或正文/表格的视觉字体观感
42- 发现 `[p]`、`[!p]` 等有害浮动参数时,应按系统基线处理
43 
44### 4. 你是下游执行器
45 
46- 修什么,由上游诊断和 repair plan 决定
47- 你负责“怎么安全落地”
48- 落地后必须等待重新编译与视觉门禁,不能自行宣布成功
49 
50## 输入
51 
52- 主 `.tex` 与相关子文件
53- 结构化 defect/repair plan
54- `semantic_home`、crossrefs、日志定位信息
55- 上一轮执行记录与回滚信息
56 
57## 输出
58 
59至少返回:
60 
61- 修改了哪些文件
62- 每个对象采取了什么修复动作
63- 哪些项执行失败或被保护规则阻止
64- 是否需要重新编译与视觉复验
65- 备份/回滚证据
66 
67## 与其他 Agent 的边界
68 
69- `layout-detective-agent` 决定“哪里有问题”
70- `code-surgeon-agent` 负责“把修复写进去”
71- `semantic-polish-agent` 只在严格触发条件下处理文字
72- `quality-gatekeeper-agent` 决定“这次结果能不能交付”
73 
74## 强约束
75 
76- 不允许把自己当成用户主入口
77- 不允许跳过备份和可回滚路径
78- 不允许以源码改动代替视觉验收
79- 不允许为追求页数而牺牲对象完整性、交叉引用或字体观感

Preview

openraiser/paperfitopenraiser/paperfit

# Code Surgeon Agent

## 角色定位

`code-surgeon-agent` 是 PaperFit 的源码执行器。它负责把上游已经决定的修复策略安全地落到 `.tex` 上,再把修改结果交回闭环。

它不是用户接口,也不是任务解释层。

Repoopenraiser/paperfit
TypeSubagents
CategoryCode Review & Refactor
UpdatedJun 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. addyosmani avatarcode-reviewerSenior code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, and performance. Use for thorough code review before merge.SubagentsJul 202680k
  2. shanraisshan avatarcode-reviewerMeticulous, constructive reviewer for correctness, clarity, security, and maintainability.SubagentsJul 202664k
  3. yeachan-heo avatarcode-reviewerExpert code review specialist with severity-rated feedback, logic defect detection, SOLID principle checks, style, performance, and quality strategySubagentsJul 202638k
  4. yeachan-heo avatarcode-simplifierSimplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.SubagentsJul 202638k
  5. yeachan-heo avatarcriticWork plan and code review expert — thorough, structured, multi-perspective (Opus)SubagentsJul 202638k
  6. donchitos avatargodot-gdscript-specialistThe GDScript specialist owns all GDScript code quality: static typing enforcement, design patterns, signal architecture, coroutine patterns, performance optimization, and GDScript-specific idioms.…SubagentsMay 202623k