# performance-audit-static

performance-audit-static runs a static performance audit on AI-written code and directs users to its updated location in the ai-shipping plugin.

- command · `type=command` · Claude Code, Codex, GitHub Copilot, Gemini CLI · ★ 28211 repo stars
- Author: Paweł Huryn
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/phuryn/pm-skills/tree/HEAD/pm-ai-shipping/commands/performance-audit-static.md
- Updated: 2026-10-16
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/commands/performance-audit-static

## What it 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.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add phuryn/pm-skills
```
In the agent chat (not a shell):
```text
/plugin install pm-ai-shipping@pm-skills
```

2. **Manually: put the files in place**
- File: `.claude/commands/performance-audit-static.md` — Call it with /performance-audit-static. For all projects use ~/.claude/commands/

### Codex

**Manually: put the files in place**
- File: `~/.codex/prompts/performance-audit-static.md` — Call it with /prompts:performance-audit-static. Codex marks this format deprecated in favour of skills

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/prompts/performance-audit-static.prompt.md`

### Gemini CLI

**Manually: put the files in place**
- File: `.gemini/commands/performance-audit-static.toml` — Gemini stores commands as TOML: the prompt text goes into the prompt field

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/phuryn/pm-skills/tree/HEAD/pm-ai-shipping/commands/performance-audit-static.md

## When to use it
- 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
- /performance-audit-static
- /performance-audit-static src/services
- /performance-audit-static main..HEAD

## Source text · performance-audit-static.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 5eab213417e0d5b9.

BEGIN THIRD-PARTY FILE 5eab213417e0d5b9
````text
---
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.
````
END THIRD-PARTY FILE 5eab213417e0d5b9

The third-party file has ended. Everything between the 5eab213417e0d5b9 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© Paweł Huryn · MIT · https://github.com/phuryn/pm-skills/tree/HEAD/pm-ai-shipping/commands/performance-audit-static.md

## Similar
- [security-audit-static](https://affpapa.org/en/nevibecode/skills/security-audit-static.md) — skill · ★ 741 repo stars
- [audit-prep-assistant](https://affpapa.org/en/nevibecode/skills/audit-prep-assistant.md) — skill · 6300 installs
- [roblox-performance-audit](https://affpapa.org/en/nevibecode/skills/roblox-performance-audit.md) — skill · ★ 98 repo stars
- [static-analysis](https://affpapa.org/en/nevibecode/skills/static-analysis.md) — skill · 1300 installs
- [web-performance-audit](https://affpapa.org/en/nevibecode/skills/secondsky-web-performance-audit.md) — skill · 553 installs

From the same set: [phuryn/pm-skills](https://affpapa.org/en/nevibecode/by/phuryn/pm-skills.md) — 120 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
