static-code-analysis

Implement static code analysis with linters, formatters, and security scanners to catch bugs early. Use when enforcing code standards, detecting security vulnerabilities, or automating code review.

By aj-geddes · 603 installs

npx skills add aj-geddes/useful-ai-prompts --skill static-code-analysis

Source repository · Upstream listing

Static Code Analysis Table of Contents [Overview]( overview) [When to Use]( when to use) [Quick Start]( quick start) [Reference Guides]( reference guides) [Best Practices]( best practices) Overview Use automated tools to analyze code without executing it, catching bugs, security issues, and style violations early. When to Use Enforcing coding standards Security vulnerability detection Bug prevention Code review automation CI/CD pipelines Pre commit hooks Refactoring assistance Quick Start Minimal working example: Reference Guides Detailed implementations in the references/ directory: Guide Contents [ESLint Configuration](references/eslint configuration.md) ESLint Configuration [Python Linting (pylint + mypy)](references/python linting pylint mypy.md) Python Linting (pylint + mypy) [Pre commit Hooks](references/pre commit hooks.md) Pre commit Hooks [SonarQube Integration](references/sonarqube integration.md) SonarQube Integration [Custom AST Analysis](references/custom ast analysis.md) Custom AST Analysis [Security Scanning](references/security scanning.md) Security Scanning Best Practices ✅ DO Run linters in CI/CD Use pre commit hooks Configure IDE integration Fix issues incrementally Document custom rules Share configuration across team Automate security scanning ❌ DON'T Ignore all warnings Skip linter setup Commit lint violations Use overly strict rules initially Skip security scans Disable rules without reason