performance-audit-static — Claude Code command: setup and use
performance-audit-static runs a static performance audit on AI-written code and directs users to its updated location in the ai-shipping plugin.
MIT ★ 28,211 updated 2026-10-16
/plugin marketplace add phuryn/pm-skills
/plugin install pm-ai-shipping@pm-skillsWhat performance-audit-static does
The command targets a specific folder, a commit diff like <base>..<head>, or recent changes. When passed without arguments, it defaults to evaluating the entire project for efficiency regressions introduced by automated code generation.
This entry in pm-skills acts as a relocation bridge. The implementation now lives in phuryn/product-engineering under the ai-shipping plugin. If ai-shipping:performance-audit-static is detected, the agent defers to it directly; otherwise, it explains the migration steps before continuing the task.
Leaving pm-ai-shipping active after moving to the new repository causes duplicate command loading.
What it helps with
- audit AI-generated source files for performance bottlenecks
- inspect performance impact across git revision ranges
- obtain setup commands for the current ai-shipping repository
Example prompts for the agent
- /performance-audit-static
- /performance-audit-static src/services
- /performance-audit-static main..HEAD
How to install performance-audit-static
1Plugin marketplace
/plugin marketplace add phuryn/pm-skills/plugin install pm-ai-shipping@pm-skills2Manually: put the files in place
.claude/commands/performance-audit-static.mdCall it with /performance-audit-static. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/performance-audit-static.mdCall it with /prompts:performance-audit-static. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/performance-audit-static.prompt.mdManually: put the files in place
.gemini/commands/performance-audit-static.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about performance-audit-static
How to install performance-audit-static in Claude Code?
Run /plugin marketplace add phuryn/pm-skills and then install it with /plugin install pm-ai-shipping@pm-skills.
What does performance-audit-static do?
It reviews code produced with AI assistants to identify performance flaws across single directories, diff ranges, or the complete workspace.
Why does this command refer to phuryn/product-engineering?
Maintenance shifted to the ai-shipping plugin inside phuryn/product-engineering, so this version informs the model where to fetch current updates.
Source text
performance-audit-static.md · MIT
--- description: Moved to phuryn/product-engineering, where it is maintained in the ai-shipping plugin; this copy says where it went and how to install it. Use when asked to audit AI-built code for performance problems. argument-hint: "<path or area> | <base>..<head> | changes; defaults to the whole repository" --- # /performance-audit-static has moved `performance-audit-static` is maintained in [phuryn/product-engineering](https://github.com/phuryn/product-engineering/tree/main/ai-shipping/skills/performance-audit-static), in its `ai-shipping` plugin, with the rest of the AI Shipping Kit. This command, now a skill there, stays in pm-skills only so an agent that loads it knows where it went. - **`ai-shipping:performance-audit-static` is installed:** use it, not this copy. - **It isn't:** tell the user that `performance-audit-static` moved and how to install it, then help with the task as you would without it: ```bash claude plugin marketplace add phuryn/product-engineering claude plugin install ai-shipping@product-engineering ``` Other agents: [the repository's README](https://github.com/phuryn/product-engineering#install). Once it's installed, turn off `pm-ai-shipping` here, so this copy no longer loads beside it.
© Paweł Huryn · MIT · phuryn/pm-skills