docs/zh-CN/skills/ecc-tools-cost-audit/SKILL.md
证据优先的ECC工具燃烧和计费审计工作流。用于调查ECC工具仓库中的失控PR创建、配额绕过、高级模型泄漏、重复作业或GitHub App成本激增。
npx skillsauth add affaan-m/everything-claude-code ecc-tools-cost-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
当用户怀疑 ECC Tools GitHub App 正在消耗成本、过度创建 PR、绕过使用限制,或将免费用户引导至付费分析路径时,使用此技能。
这是一个针对兄弟仓库 ECC-Tools 的聚焦操作者工作流。它不是通用的计费技能,也不是仓库范围的代码审查。
在相关情况下,将这些 ECC 原生技能拉入工作流:
autonomous-loops 用于跨 webhook、队列、计费和重试的有界多步骤审计agentic-engineering 用于将请求路径追踪为离散的、可证明的单元customer-billing-ops 当需要清晰分离仓库行为和客户影响计算时search-first 在发明辅助函数或重新实现仓库本地工具之前security-review 当涉及认证、使用限制、授权或密钥时verification-loop 用于证明重试安全性和精确的修复后状态tdd-workflow 当修复需要在 worker、路由器或计费路径中添加回归测试覆盖时ECC-Tools 中,并依赖于 webhook 处理器、队列 worker、使用预留、PR 创建逻辑或付费网关强制执行ECC-Tools 中工作,而非 everything-claude-codeECC-Toolssrc/index.* 或主入口点如果用户要求代码更改,请按以下顺序优先修复:
除非同一根本原因明显跨越多个文件,否则将修复范围限制在一到三个直接修复。
如果推送、PR 同步和手动审计都入队相同的任务,并且 worker 总是创建 PR,那么分析就等于 PR 垃圾信息。
如果在入口处检查使用量,但仅在 worker 中增加,则并发请求可能全部通过关卡并超出配额。
如果存在密钥时,免费的排队任务仍能路由到 Anthropic 或其他付费提供商,即使客户从未看到付费结果,这也是真实的支出泄漏。
如果 pull_request.synchronize、分支推送或评论触发的运行在应用拥有的分支上触发,则应用可以递归分析自己的输出。
如果系统可能消耗令牌,然后在 PR 创建、文件更新或分支冲突时失败,则是在消耗成本而不产生价值。
data-ai
Design task-local harnesses, eval gates, and reusable skill extraction for Claude dynamic workflow mode and other adaptive agent harnesses.
development
React component testing with React Testing Library, Vitest/Jest, MSW for network mocking, accessibility assertions with axe, and the decision boundary between component tests and Playwright/Cypress end-to-end runs. Use when writing or fixing tests for React components, hooks, or pages.
tools
React and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https://github.com/vercel-labs/agent-skills). Organizes 70+ rules across 8 priority categories — waterfalls, bundle size, server-side, client fetching, re-render, rendering, JS micro-perf, advanced. Use when writing, reviewing, or refactoring React/Next.js code for performance.
tools
React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.