From hw
Runs an Audit+Quality guided optimization loop for sustained code-quality improvement without sacrificing correctness. Requires scope, correctness contract, backup, validation path, and budget before execution.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hw:optimizeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
📌 输出语言规则:
📌 输出语言规则: 读取 config.yaml → output.language
使用此技能编排 Auto Optimize Flow:Audit + Quality -> Optimize Implement/Test -> Audit + Quality。它不是后台自动重构器;开始任何实现前必须确认 correctness contract、backup、budget、validation path 和执行边界。
/hw:audit 与 /hw:quality 结果,生成优化前证据。/hw:patch。/hw:plan。test worker 先定义验证和伪测试拒绝标准。implement worker 做范围内质量优化,不能写测试或伪造验证。.pipeline/quality/optimize-state.yaml、优化报告和 lifecycle log。test、implement、audit 必须保持角色分离。references/optimize-spec.mdreferences/quality-spec.mdreferences/audit-spec.mdreferences/tdd-spec.mdreferences/subagent-spec.mdreferences/commands-spec.mdnpx claudepluginhub hypoxanthineovo/hypo-workflow --plugin hwIterates autonomously to optimize a measurable metric (bundle size, test coverage, query time) by repeatedly modifying code, verifying, and keeping improvements.
Runs an autonomous improvement loop: modify code, measure one metric, keep or discard changes, repeat. Use for overnight optimization against a quantified goal (coverage, bundle size, etc.).
Iteratively scans code for DRY, dead code, naming, and complexity issues, implements fixes, verifies with QA, and commits atomically until no improvements remain.