{"id":"c622783c-a4d0-4d5c-a44f-10ec0b4f1d8b","entityType":"agent","slug":"clawhub-zhaobod1-huo15-openclaw-simplify","name":"Huo15 Openclaw Simplify","canonicalUrl":"https://www.xpersona.co/agent/clawhub-zhaobod1-huo15-openclaw-simplify","canonicalPath":"/agent/clawhub-zhaobod1-huo15-openclaw-simplify","generatedAt":"2026-10-12T20:51:16.412Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-12T01:33:01.396Z","emptyReason":null},"description":"对最近修改的代码做\"复用/质量/效率\"三维审查，产出可执行的清理清单；然后实际修复命中的问题。用于刚写完功能、PR 提交前、重构前的自检。触发词：简化代码、清理冗余、重构建议、simplify、code cleanup、代码体检、能不能更简洁。 Skill: Huo15 Openclaw Simplify Owner: zhaobod1 Summary: 对最近修改的代码做\"复用/质量/效率\"三维审查，产出可执行的清理清单；然后实际修复命中的问题。用于刚写完功能、PR 提交前、重构前的自检。触发词：简化代码、清理冗余、重构建议、simplify、code cleanup、代码体检、能不能更简洁。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-24T14:34:36.898Z | user 首发 — 代码简化三维审查（复用/质量/效率）+ 分级修复清单 Archive index: Archive v1.0.0: 3 files, 4330 bytes Files: skill-card.md (1699b), SKILL.md (5236b), _meta.json (142b) File v1.0.0:SKI","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 961 downloads reported by the source. Last updated 10/12/2026.","installCommand":"clawhub skill install s17f6q72skfgyjycm2frgdc8dn83v5mk:huo15-openclaw-simplify","sourceUrl":"https://clawhub.ai/zhaobod1/huo15-openclaw-simplify","homepage":"https://clawhub.ai/zhaobod1/skills/huo15-openclaw-simplify","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/zhaobod1/huo15-openclaw-simplify","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/zhaobod1/skills/huo15-openclaw-simplify","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":60,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"对最近修改的代码做\"复用/质量/效率\"三维审查，产出可执行的清理清单；然后实际修复命中的问题。用于刚写完功能、PR 提交前、重构前的自检。触发词：简化代码、清理冗余、重构建议、simplify、code cleanup、代码体检、能不能更简洁。 Skill: Huo15 Openclaw Simplify Owner:"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-12T01:33:01.396Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-12T01:33:01.396Z","emptyReason":null},"stars":null,"forks":null,"downloads":961,"likes":null,"task":null,"library":null,"packageName":null,"latestVersion":"1.0.0","tractionLabel":"961 downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-12T01:33:01.384Z","emptyReason":null},"lastUpdatedAt":"2026-10-12T01:33:01.396Z","lastCrawledAt":"2026-10-12T01:33:01.384Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-13T01:33:01.384Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.0","createdAt":"2026-04-24T14:34:36.898Z","changelog":"首发 — 代码简化三维审查（复用/质量/效率）+ 分级修复清单","fileCount":3,"zipByteSize":4330}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17f6q72skfgyjycm2frgdc8dn83v5mk:huo15-openclaw-simplify","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhaobod1-huo15-openclaw-simplify/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhaobod1-huo15-openclaw-simplify/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhaobod1-huo15-openclaw-simplify/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-zhaobod1-huo15-openclaw-simplify/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-zhaobod1-huo15-openclaw-simplify/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-zhaobod1-huo15-openclaw-simplify/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-12T20:51:16.412Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhaobod1-huo15-openclaw-simplify/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhaobod1-huo15-openclaw-simplify/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhaobod1-huo15-openclaw-simplify/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zhaobod1-huo15-openclaw-simplify/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-12T01:33:01.396Z","emptyReason":null},"readme":"Skill: Huo15 Openclaw Simplify\n\nOwner: zhaobod1\n\nSummary: 对最近修改的代码做\"复用/质量/效率\"三维审查，产出可执行的清理清单；然后实际修复命中的问题。用于刚写完功能、PR 提交前、重构前的自检。触发词：简化代码、清理冗余、重构建议、simplify、code cleanup、代码体检、能不能更简洁。\n\nTags: latest:1.0.0\n\nVersion history:\n\nv1.0.0 | 2026-04-24T14:34:36.898Z | user\n\n首发 — 代码简化三维审查（复用/质量/效率）+ 分级修复清单\n\nArchive index:\n\nArchive v1.0.0: 3 files, 4330 bytes\n\nFiles: skill-card.md (1699b), SKILL.md (5236b), _meta.json (142b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: huo15-openclaw-simplify\ndisplayName: 火一五代码简化技能\ndescription: 对最近修改的代码做\"复用/质量/效率\"三维审查，产出可执行的清理清单；然后实际修复命中的问题。用于刚写完功能、PR 提交前、重构前的自检。触发词：简化代码、清理冗余、重构建议、simplify、code cleanup、代码体检、能不能更简洁。\nversion: 1.0.0\naliases:\n  - 火一五代码简化\n  - 简化代码\n  - 代码清理\n  - 重构建议\n  - simplify code\n  - code cleanup\n  - 代码体检\nlicense: MIT\n---\n\n# 火一五代码简化技能 v1.0\n\n> 对刚写完的代码做\"复用/质量/效率\"三维体检 — 青岛火一五信息科技有限公司\n\n---\n\n## 一、触发场景\n\n当用户刚完成一段实现，或准备提 PR，说：\n\n- \"简化一下\"\n- \"这段代码能不能更简洁\"\n- \"帮我清理下冗余\"\n- \"重构一下\"\n- \"code review 一下（偏重质量）\"\n\n**产出**：三维清单（复用 / 质量 / 效率）+ 每条命中标注严重程度 + 自动修复可安全改的（保守策略）。\n\n---\n\n## 二、三维审查清单\n\n### 维度 A：**复用（Reuse）**\n\n| 项 | 命中信号 | 默认行动 |\n|----|---------|---------|\n| 与仓库内已有函数重复 | grep 到名称/行为相似的函数 | 标记 → 建议替换，**不自动改**（需用户确认契合） |\n| 逻辑可抽函数（重复出现 ≥3 次的片段）| 肉眼识别 + grep 验证 | 抽函数，放到最近的共用模块 |\n| 重新发明了标准库 / 已有依赖 | 出现如自写 deep-merge / debounce | 改用依赖；**若依赖未装，不自动 `npm install`**，给命令让用户装 |\n| 可下沉到 util | 业务代码里混进了纯函数 | 提取到 `utils/` 或 `lib/` |\n\n### 维度 B：**质量（Quality）**\n\n| 项 | 命中信号 | 默认行动 |\n|----|---------|---------|\n| 裸 any / 裸 `unknown` 未收窄 | TS 语言明显 | 收窄类型，优先用 TypeBox / Zod 已有 schema |\n| 魔法数字 / 魔法字符串 | `42`, `\"pending\"` 散落 | 提常量，放到 `constants.ts` |\n| 嵌套 if-else > 3 层 | 阅读困难 | 提前返回 / early return / 卫语句 |\n| console.log 残留 | grep `console\\.(log|info|debug)` | 删 / 改 logger；**test 文件放过** |\n| 注释是\"做了什么\"而非\"为什么\" | 注释重复代码 | 改\"为什么\"或删 |\n| 命名不达意（`data` / `temp` / `obj`） | 一眼看不出含义 | 改成表达意图的名字 |\n\n### 维度 C：**效率（Efficiency）**\n\n| 项 | 命中信号 | 默认行动 |\n|----|---------|---------|\n| O(n²) 可降 O(n) | 嵌套 for + 查找 | Map / Set 替代 | \n| 同一对象重复 JSON.parse/stringify | 显眼的往返 | 缓存中间结果 |\n| 在循环里做 I/O（db 查询 / fetch）| await 在 for 里 | Promise.all 或批量查 |\n| 不必要的 re-render / 重新计算 | React useMemo 缺失；大对象每次新建 | 加记忆化 |\n| 整包导入（`import *`）| 引起 bundle 膨胀 | 按需导入 |\n\n---\n\n## 三、工作流（严格按序）\n\n1. **定位本次改动**\n   - 优先 `git diff HEAD~1` 或 `git diff --staged`\n   - 若 git 不干净，问用户\"审查当前整个工作区还是只看刚改的？\"\n2. **只读扫描**\n   - 对命中文件做 Read + Grep\n   - **不要**扫整个仓库（除非用户指定）\n3. **生成清单**\n   - 按 A/B/C 三维打表\n   - 每条打严重度：🔴 必改 / 🟡 建议改 / 🟢 可选\n   - 每条给出 `file:line`\n4. **与用户同步**\n   - 先出**清单**\n   - 问\"全改 / 只改🔴 / 只改某几条\"\n5. **执行修复**\n   - 按用户选择执行 Edit\n   - 每改一处解释一行\"因为 X 改为 Y\"\n6. **收尾**\n   - 列出**没动但建议改**的项\n   - 不跑测试不跑 build（除非用户要求）\n\n---\n\n## 四、产出模板\n\n```markdown\n## 简化报告 — <commit/path>\n\n### 🔴 必改（3 项）\n1. [reuse] `src/a.ts:45` — deep-merge 自写实现，应改用 lodash.merge（已装）\n2. [quality] `src/b.ts:12` — 裸 any，应收窄为 `User | null`\n3. [quality] `src/c.ts:88` — 3 层嵌套 if，建议 early return\n\n### 🟡 建议（2 项）\n4. [efficiency] `src/d.ts:33` — for 循环里 await fetch，改 Promise.all 减 3× 耗时\n5. [reuse] `src/e.ts:70` — 与 `utils/slugify.ts` 逻辑重复\n\n### 🟢 可选（1 项）\n6. [quality] `src/f.ts:5` — 变量名 `data` 可改为 `userProfiles`\n\n### 未动\n- [quality] test 文件中的 console.log（按惯例放过）\n```\n\n---\n\n## 五、硬红线（绝不触碰）\n\n1. **不自动重命名跨文件符号** — 除非用户明确说\"改所有引用\"\n2. **不动测试断言** — 可以补测试，不改已有断言\n3. **不引入新依赖** — 即使建议了，也只给 `npm install x` 命令，不 exec\n4. **不跑格式化器** — 除非用户明确说\"顺便跑 prettier\"\n5. **不碰 generated 代码** — 识别 `@generated` / `// DO NOT EDIT` / `dist/` / `build/`\n\n---\n\n## 六、与相邻技能的边界\n\n| 场景 | 用哪个 |\n|------|--------|\n| 只看代码质量 | **本技能** |\n| 看安全漏洞（密钥 / 注入 / XSS）| `huo15-openclaw-security-review` |\n| PR 全流程评审（含安全 + 质量 + 设计）| `huo15-openclaw-code-review` |\n| 设计稿 / UI 打分 | `huo15-openclaw-design-critique` |\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn7byevkn40d6z4p7ghdb097z983tj33\",\n  \"slug\": \"huo15-openclaw-simplify\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1777041276898\n}\n\nFile v1.0.0:skill-card.md\n\n## Description:\n\nReviews recent code changes across reuse, quality, and efficiency, produces an actionable cleanup checklist, and applies user-approved fixes.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[zhaobod1](https://clawhub.ai/user/zhaobod1)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and engineers use this skill after implementing code changes or before pull requests to identify cleanup opportunities in reuse, code quality, and efficiency, then apply selected fixes conservatively.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Generic cleanup or refactor requests may route to this skill and produce suggested code changes in large or dirty worktrees.\n\nMitigation: Review the generated checklist and explicitly choose which items to apply before accepting edits.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/zhaobod1/skills/huo15-openclaw-simplify)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, guidance]\n\n**Output Format:** [Markdown report with file-line findings, severity levels, and concise fix notes]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May produce code edits only after user confirmation; does not introduce dependencies, run formatters, or run tests unless requested.]\n\n## Skill Version(s):\n\n1.0.0 (source: frontmatter and server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.","readmeExcerpt":"Skill: Huo15 Openclaw Simplify Owner: zhaobod1 Summary: 对最近修改的代码做\"复用/质量/效率\"三维审查，产出可执行的清理清单；然后实际修复命中的问题。用于刚写完功能、PR 提交前、重构前的自检。触发词：简化代码、清理冗余、重构建议、simplify、code cleanup、代码体检、能不能更简洁。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-24T14:34:36.898Z | user 首发 — 代码简化三维审查（复用/质量/效率）+ 分级修复清单 Archive index: Archive v1.0.0: 3 files, 4330 bytes Files: skill-card.md (1699b), SKILL.md (5236b), _meta.json (142b) File v1.0.0:SKI","codeSnippets":[],"executableExamples":[{"language":"markdown","snippet":"## 简化报告 — <commit/path>\n\n### 🔴 必改（3 项）\n1. [reuse] `src/a.ts:45` — deep-merge 自写实现，应改用 lodash.merge（已装）\n2. [quality] `src/b.ts:12` — 裸 any，应收窄为 `User | null`\n3. [quality] `src/c.ts:88` — 3 层嵌套 if，建议 early return\n\n### 🟡 建议（2 项）\n4. [efficiency] `src/d.ts:33` — for 循环里 await fetch，改 Promise.all 减 3× 耗时\n5. [reuse] `src/e.ts:70` — 与 `utils/slugify.ts` 逻辑重复\n\n### 🟢 可选（1 项）\n6. [quality] `src/f.ts:5` — 变量名 `data` 可改为 `userProfiles`\n\n### 未动\n- [quality] test 文件中的 console.log（按惯例放过）"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: huo15-openclaw-simplify\ndisplayName: 火一五代码简化技能\ndescription: 对最近修改的代码做\"复用/质量/效率\"三维审查，产出可执行的清理清单；然后实际修复命中的问题。用于刚写完功能、PR 提交前、重构前的自检。触发词：简化代码、清理冗余、重构建议、simplify、code cleanup、代码体检、能不能更简洁。\nversion: 1.0.0\naliases:\n  - 火一五代码简化\n  - 简化代码\n  - 代码清理\n  - 重构建议\n  - simplify code\n  - code cleanup\n  - 代码体检\nlicense: MIT\n---\n\n# 火一五代码简化技能 v1.0\n\n> 对刚写完的代码做\"复用/质量/效率\"三维体检 — 青岛火一五信息科技有限公司\n\n---\n\n## 一、触发场景\n\n当用户刚完成一段实现，或准备提 PR，说：\n\n- \"简化一下\"\n- \"这段代码能不能更简洁\"\n- \"帮我清理下冗余\"\n- \"重构一下\"\n- \"code review 一下（偏重质量）\"\n\n**产出**：三维清单（复用 / 质量 / 效率）+ 每条命中标注严重程度 + 自动修复可安全改的（保守策略）。\n\n---\n\n## 二、三维审查清单\n\n### 维度 A：**复用（Reuse）**\n\n| 项 | 命中信号 | 默认行动 |\n|----|---------|---------|\n| 与仓库内已有函数重复 | grep 到名称/行为相似的函数 | 标记 → 建议替换，**不自动改**（需用户确认契合） |\n| 逻辑可抽函数（重复出现 ≥3 次的片段）| 肉眼识别 + grep 验证 | 抽函数，放到最近的共用模块 |\n| 重新发明了标准库 / 已有依赖 | 出现如自写 deep-merge / debounce | 改用依赖；**若依赖未装，不自动 `npm install`**，给命令让用户装 |\n| 可下沉到 util | 业务代码里混进了纯函数 | 提取到 `utils/` 或 `lib/` |\n\n### 维度 B：**质量（Quality）**\n\n| 项 | 命中信号 | 默认行动 |\n|----|---------|---------|\n| 裸 any / 裸 `unknown` 未收窄 | TS 语言明显 | 收窄类型，优先用 TypeBox / Zod 已有 schema |\n| 魔法数字 / 魔法字符串 | `42`, `\"pending\"` 散落 | 提常量，放到 `constants.ts` |\n| 嵌套 if-else > 3 层 | 阅读困难 | 提前返回 / early return / 卫语句 |\n| console.log 残留 | grep `console\\.(log|info|debug)` | 删 / 改 logger；**test 文件放过** |\n| 注释是\"做了什么\"而非\"为什么\" | 注释重复代码 | 改\"为什么\"或删 |\n| 命名不达意（`data` / `temp` / `obj`） | 一眼看不出含义 | 改成表达意图的名字 |\n\n### 维度 C：**效率（Efficiency）**\n\n| 项 | 命中信号 | 默认行动 |\n|----|---------|---------|\n| O(n²) 可降 O(n) | 嵌套 for + 查找 | Map / Set 替代 | \n| 同一对象重复 JSON.parse/stringify | 显眼的往返 | 缓存中间结果 |\n| 在循环里做 I/O（db 查询 / fetch）| await 在 for 里 | Promise.all 或批量查 |\n| 不必要的 re-render / 重新计算 | React useMemo 缺失；大对象每次新建 | 加记忆化 |\n| 整包导入（`import *`）| 引起 bundle 膨胀 | 按需导入 |\n\n---\n\n## 三、工作流（严格按序）\n\n1. **定位本次改动**\n   - 优先 `git diff HEAD~1` 或 `git diff --staged`\n   - 若 git 不干净，问用户\"审查当前整个工作区还是只看刚改的？\"\n2. **只读扫描**\n   - 对命中文件做 Read + Grep\n   - **不要**扫整个仓库（除非用户指定）\n3. **生成清单**\n   - 按 A/B/C 三维打表\n   - 每条打严重度：🔴 必改 / 🟡 建议改 / 🟢 可选\n   - 每条给出 `file:line`\n4. **与用户同步**\n   - 先出**清单**\n   - 问\"全改 / 只改🔴 / 只改某几条\"\n5. **执行修复**\n   - 按用户选择执行 Edit\n   - 每改一处解释一行\"因为 X 改为 Y\"\n6. **收尾**\n   - 列出**没动但建议改**的项\n   - 不跑测试不跑 build（除非用户要求）\n\n---\n\n## 四、产出模板\n\n```markdown\n## 简化报告 — <commit/path>\n\n### 🔴 必改（3 项）\n1. [reuse] `src/a.ts:45` — deep-merge 自写实现，应改用 lodash.merge（已装）\n2. [quality] `src/b.ts:12` — 裸 any，应收窄为 `User | null`\n3. [quality] `src/c.ts:88` — 3 层嵌套 if，建议 early return\n\n### 🟡 建议（2 项）\n4. [efficiency] `src/d.ts:33` — for 循环里 await fetch，改 Promise.all 减 3× 耗时\n5. [reuse] `src/e.ts:70` — 与 `utils/slugify.ts` 逻辑重复\n\n### 🟢 可选（1 项）\n6. [quality] `src/f.ts:5` — 变量名 `data` 可改为 `userProfiles`\n\n### 未动\n- [quality] test 文件中的 console.log（按惯例放过）\n```\n\n---\n\n## 五、硬红线（绝不触碰）\n\n1. **不自动重命名跨文件符号** — 除非用户明确说\"改所有引用\"\n2. **不动测试断言** — 可以补测试，不改已有断言\n3. **不引入新依赖** — 即使建议了，也只给 `npm install x` 命令，不 exec\n4. **不跑格式化器** — 除非用户明确说\"顺便跑 prettier\"\n5. **不碰 generated 代码** — 识别 `@generated` / `// DO NOT EDIT` / `dist/` / `build/`\n\n---\n\n## 六、与相邻技能的边界\n\n| 场景 | 用哪个 |\n|------|--------|\n| 只看代码质量 | **本技能** |\n| 看安全漏洞（密钥 / 注入 / XSS）| `huo15-openc"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7byevkn40d6z4p7ghdb097z983tj33\",\n  \"slug\": \"huo15-openclaw-simplify\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1777041276898\n}"},{"path":"skill-card.md","content":"## Description:\n\nReviews recent code changes across reuse, quality, and efficiency, produces an actionable cleanup checklist, and applies user-approved fixes.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[zhaobod1](https://clawhub.ai/user/zhaobod1)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and engineers use this skill after implementing code changes or before pull requests to identify cleanup opportunities in reuse, code quality, and efficiency, then apply selected fixes conservatively.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Generic cleanup or refactor requests may route to this skill and produce suggested code changes in large or dirty worktrees.\n\nMitigation: Review the generated checklist and explicitly choose which items to apply before accepting edits.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/zhaobod1/skills/huo15-openclaw-simplify)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, guidance]\n\n**Output Format:** [Markdown report with file-line findings, severity levels, and concise fix notes]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May produce code edits only after user confirmation; does not introduce dependencies, run formatters, or run tests unless requested.]\n\n## Skill Version(s):\n\n1.0.0 (source: frontmatter and server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"对最近修改的代码做\"复用/质量/效率\"三维审查，产出可执行的清理清单；然后实际修复命中的问题。用于刚写完功能、PR 提交前、重构前的自检。触发词：简化代码、清理冗余、重构建议、simplify、code cleanup、代码体检、能不能更简洁。 Skill: Huo15 Openclaw Simplify Owner: zhaobod1 Summary: 对最近修改的代码做\"复用/质量/效率\"三维审查，产出可执行的清理清单；然后实际修复命中的问题。用于刚写完功能、PR 提交前、重构前的自检。触发词：简化代码、清理冗余、重构建议、simplify、code cleanup、代码体检、能不能更简洁。 Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-24T14:34:36.898Z | user 首发 — 代码简化三维审查（复用/质量/效率）+ 分级修复清单 Archive index: Archive v1.0.0: 3 files, 4330 bytes Files: skill-card.md (1699b), SKILL.md (5236b), _meta.json (142b) File v1.0.0:SKI","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":687,"uniquenessScore":65,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-12T01:33:01.396Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-12T01:33:01.396Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-12T20:51:16.412Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}