skills/perf-audit/SKILL.md
Run local performance audits on a project without network calls. This skill should be used when the user says 'audit performance', 'check bundle size', 'find large images', 'check for heavy dependencies', 'run a perf audit', 'how big is my bundle', 'optimize images', 'find oversized assets', or before any performance optimization work. Also use when an agent needs baseline metrics before making changes. All scripts output structured JSON to stdout.
npx skillsauth add b-open-io/prompts perf-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.
Run local, deterministic performance audits. All scripts output JSON to stdout, use only standard unix tools, and make zero network calls.
Runs all audits in parallel and produces a unified report with a health score (0-100).
bash <skill-path>/scripts/full-audit.sh /path/to/project
Returns:
{
"health_score": 85,
"image_audit": { ... },
"bundle_audit": { ... },
"dep_audit": { ... }
}
Scan for oversized images, missing next-gen formats, and dimension info.
bash <skill-path>/scripts/image-audit.sh /path/to/project
Flags images over 500KB as oversized. Uses sips on macOS for dimensions. Reports images without a WebP/AVIF equivalent.
Analyze JS and CSS bundle sizes in build output directories (.next, dist, build, out).
bash <skill-path>/scripts/bundle-audit.sh /path/to/project
Reports raw and gzipped sizes for every bundle file. Flags source maps in production. Requires a build to exist -- run the project's build command first if no build output is found.
Check package.json for known-heavy dependencies and suggest lighter alternatives.
bash <skill-path>/scripts/dep-audit.sh /path/to/project
Checks against a curated list of heavy packages (moment, lodash, jquery, full icon libraries, etc.) and suggests tree-shakable or lighter replacements.
full-audit.sh to get the baseline health scorefull-audit.sh to measure improvementdevelopment
This skill should be used when the user asks to "design a business card", "make a printable PDF", "render HTML to PDF", "generate a postcard", "build print collateral", "set up an HTML print pipeline", or needs help with bleed, safe areas, font embedding, or QR generation for print. Provides a Playwright-based pipeline with multiple bundled templates and theme variants for business cards (minimal, watercolor light, watercolor dark) and instructions for adding new templates.
tools
Get recent tweets from an X/Twitter user. Use when user asks "what has @username posted", "recent tweets from", "user's X posts", "show timeline for", "what is @user saying". Requires X_BEARER_TOKEN.
data-ai
Get X/Twitter user profile by username. Use when user asks "who is @username", "get X profile", "lookup Twitter user", "find X account", "user details", "follower count for". Requires X_BEARER_TOKEN.
data-ai
Search recent X/Twitter posts by query. Returns RAW TWEETS (last 7 days). Use when user asks "search X for", "find tweets about", "what are people saying about", "Twitter search", "raw tweets about". For AI summaries/sentiment, use x-research instead. Requires X_BEARER_TOKEN.