Agent skill
review-static-speed
Review static analysis checks for runtime optimization opportunities
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/review-static-speed
SKILL.md
Enter planning mode. Investigate static analysis runtime and find optimization opportunities.
- Run
.\tests\test.ps1 --timingto get the timing report. Identify the most time-consuming checks. - For each check, investigate the implementation for potential optimizations. Optimizations must be internal only — no change to output, function, or contract of the checker.
- Consider these optimization vectors:
- Should any standalone checks be batched together to reduce PowerShell overhead?
- Can existing batches share a single file cache across sub-checks?
- Should any checks move between batches for better cache locality?
- Should any batch sub-check be broken out to standalone (if it's an outlier)?
- Any other internal speedups (regex precompilation, pipeline vs loop, etc.)?
- For each recommendation, include an analysis statement explaining why it's internal-only and doesn't change the checker's job or contract.
Research the production code and static analysis deeply. Write a plan for all optimizations found. Ignore any existing plans — create a fresh one.
Include in the plan a verification step - Run timing comparison (before vs after) each change. Theoretical changes have provably been hidden regressions. Validate.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?