skills/ecc-tools-cost-audit/SKILL.md
Evidence-first ECC Tools burn and billing audit workflow. Use when investigating runaway PR creation, quota bypass, premium-model leakage, duplicate jobs, or GitHub App cost spikes in the ECC Tools repo.
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.
Use this skill when the user suspects the ECC Tools GitHub App is burning cost, over-creating PRs, bypassing usage limits, or routing free users into premium analysis paths.
This is a focused operator workflow for the sibling ECC-Tools repo. It is not a generic billing skill and it is not a repo-wide code review pass.
Pull these ECC-native skills into the workflow when relevant:
autonomous-loops for bounded multi-step audits that cross webhooks, queues, billing, and retriesagentic-engineering for tracing the request path into discrete, provable unitscustomer-billing-ops when repo behavior and customer-impact math must be separated cleanlysearch-first before inventing helpers or re-implementing repo-local utilitiessecurity-review when auth, usage gates, entitlements, or secrets are touchedverification-loop for proving rerun safety and exact post-fix statetdd-workflow when the fix needs regression coverage in the worker, router, or billing pathsECC-Tools repo and depends on webhook handlers, queue workers, usage reservation, PR creation logic, or paid-gate enforcementECC-Tools repo, not in everything-claude-codeECC-Tools reposrc/index.* or the main entrypoint firstIf the user asked for code changes, prioritize fixes in this order:
Keep the pass bounded to one to three direct fixes unless the same root cause clearly spans multiple files.
If pushes, PR syncs, and manual audits all enqueue the same job and the worker always creates a PR, analysis equals PR spam.
If usage is checked at the front door but only incremented in the worker, concurrent requests can all pass the gate and exceed quota.
If free queued jobs can still route into Anthropic or another premium provider when keys exist, that is real spend leakage even if the user never sees the premium result.
If pull_request.synchronize, branch pushes, or comment-triggered runs fire on app-owned branches, the app can recursively analyze its own output.
If the system can spend tokens and then fail on PR creation, file update, or branch collision, it is burning cost without shipping value.
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.