ubs-bug-scan

Scan changed or staged files for AST-level bugs with Ultimate Bug Scanner.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/lev-os/lev-content --skill ubs-bug-scan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ubs-bug-scan
Source: https://github.com/lev-os/lev-content/tree/main/sources/skills/ubs-bug-scan
Command: npx skills add https://github.com/lev-os/lev-content --skill ubs-bug-scan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates static code analysis to detect bugs and quality issues that linters might miss, ensuring higher code reliability before commits and during reviews.

Core Features & Use Cases

  • AST-level Bug Detection: Utilizes Ultimate Bug Scanner (UBS) to find complex bugs like resource leaks, null dereferences, and concurrency issues.
  • Scoped Scanning: Efficiently scans only changed or staged files to provide rapid feedback.
  • Inline Fix Suggestions: Identifies critical issues and can fix them directly within the code.
  • Use Case: Before committing code, run this Skill to automatically catch potential critical bugs, preventing them from reaching production.

Quick Start

Run ubs --staged --ci to scan your staged files for critical bugs.

Frequently Asked Questions about ubs-bug-scan

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

FAQPage Schema
How do I detect concurrency bugs and resource leaks before committing code?

Static code analysis using Ultimate Bug Scanner (UBS) detects multi-language AST-level bugs like concurrency issues and resource leaks. Run the scanner on staged files to catch critical errors and apply inline fixes before committing your code.

What is AST-level static analysis and how does it differ from standard linting?

AST-level static analysis parses code structure to find complex bugs like null dereferences and concurrency issues that standard linters miss. It provides deeper semantic analysis to ensure higher code reliability during PR reviews and before commits.

Can I scan only changed or staged files for bug detection during PR reviews?

Yes, Ultimate Bug Scanner performs scoped scanning on changed or staged files to provide rapid feedback. This targets bug detection only on modified code, making it applicable for fast pre-commit checks and PR review workflows.

Does static analysis offer inline fixes for critical bugs found in staged files?

Yes, UBS static analysis parses findings by severity and offers inline fixes for critical issues. It can automatically fix detected bugs like null dereferences and resource leaks directly within the code before they reach production.