bun-analyze

Analyze Bun-targeted codebases for compatibility, quality, and risk signals.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/aphrody-code/n2b --skill bun-analyze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-analyze
Source: https://github.com/aphrody-code/n2b/tree/main/skills/analyze
Command: npx skills add https://github.com/aphrody-code/n2b --skill bun-analyze

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you quickly understand whether your project is healthy, maintainable, secure, and aligned with Bun runtime expectations without manually running many separate commands.

Core Features & Use Cases

  • Git status & recent history: surfaces where the project stands now and what changed recently.
  • Dependency audit: checks for outdated packages to reduce upgrade risk and security exposure.
  • Type safety and code quality signals: runs a TypeScript check and highlights common quality issues like TODO/FIXME patterns and noisy logging.
  • Security quick scan: searches for secret-like patterns, validates .env hygiene (gitignored), and runs a vulnerability audit when possible.
  • Build and bundle sanity checks: confirms the build works and flags suspicious large files before they become problems.

Quick Start

Run the bun-analyze skill on your repository root to generate a categorized health report covering git status, dependencies, type safety, code quality, security, and build/bundle checks.

Frequently Asked Questions about bun-analyze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my Bun project for health issues and security vulnerabilities?

To check your Bun project for health issues, run an automated project health analysis that executes dependency audits, TypeScript type checks, and security scans to produce categorized OK, WARN, and ERROR results. This surfaces compatibility, quality, and risk signals without running separate commands manually.

What is included in a Bun codebase health check?

A Bun codebase health check includes reviewing git status, detecting outdated packages, running TypeScript type checks, scanning source code for TODO/FIXME patterns and console usage, validating .env hygiene, and verifying build outputs for large files.

Can I audit my Node.js project before migrating it to the Bun runtime?

Yes, you can audit a Node.js project before migrating to the Bun runtime by running an automated project health analysis. It applies to Node.js/Bun migration scenarios by checking dependency vulnerabilities, type safety, and build compatibility to surface potential migration risks.

How do I detect secret patterns and .env hygiene issues in my TypeScript codebase?

To detect secret patterns and .env hygiene issues in your TypeScript codebase, run a security quick scan that searches for secret-like patterns, validates that .env files are gitignored, and executes a vulnerability audit when possible.

What are the limitations of running an automated TypeScript security scan for Bun?

Limitations of running an automated TypeScript security scan for Bun include relying on the availability of package managers for vulnerability audits and requiring accessible git status and logs to accurately assess recent project history and current standing.