code-fixing

Fix code scanner, security auditor, and linter issues with verified edits and reports.

7|3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/brainbrewlabs/brainbrew-devkit --skill code-fixing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-fixing
Source: https://github.com/brainbrewlabs/brainbrew-devkit/tree/main/plugin/config/templates/devops/skills/code-fixing
Command: npx skills add https://github.com/brainbrewlabs/brainbrew-devkit --skill code-fixing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill applies vetted fixes for issues reported by code scanners, security auditors, and linters so teams can quickly remediate vulnerabilities, formatting, and static-analysis errors without introducing regressions.

Core Features & Use Cases

  • Prioritize and triage: Focus remediation on CRITICAL and HIGH severity findings before lower-severity items.
  • Auto-fix tooling: Execute available auto-fixers and formatters to resolve lint and style issues and update vulnerable dependencies when safe to do so.
  • Manual remediation and verification: Perform targeted code edits for issues that cannot be auto-fixed, re-run linters and tests, and generate a structured report of changes and verification results.
  • Use Case: After a CI security scan flags a vulnerable dependency and several lint errors, run this Skill to apply auto-fixes, patch the dependency, run tests, and produce a fix report for review.

Quick Start

Use the code-fixing skill to apply fixes and run verification for scan-identified issues in the repository.

Frequently Asked Questions about code-fixing

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

FAQPage Schema
How do I auto-fix security vulnerabilities and lint errors flagged by a code scanner?

To auto-fix security vulnerabilities and lint errors, this Skill applies vetted fixes identified by code scanners, executes available auto-fixers for formatting, and runs tests to ensure remediation does not introduce regressions. It prioritizes CRITICAL and HIGH severity findings before addressing lower-severity items.

Can I use this to patch vulnerable dependencies discovered during CI scans?

Yes, you can patch vulnerable dependencies discovered during CI scans. The Skill updates vulnerable dependencies when safe to do so, runs verification, and generates a structured report of changed files and verification results for your review.

What is the best way to verify code changes after remediating static-analysis errors?

The best way to verify code changes after remediating static-analysis errors is to re-run linters and tests immediately after applying fixes. The Skill executes this verification process automatically and produces a structured report detailing the verification outcomes.

Does this tool fix lint and formatting corrections automatically?

Yes, the tool fixes lint and formatting corrections automatically by executing available auto-fixers and formatters. For issues that cannot be auto-fixed, it performs targeted manual code edits and re-runs linters to verify the corrections.

How do I prioritize vulnerability patches when remediating code scanning results?

To prioritize vulnerability patches when remediating code scanning results, the Skill focuses remediation on CRITICAL and HIGH severity findings before addressing lower-severity items. This triage approach ensures the most significant security vulnerabilities are resolved first.

What are the limitations of auto-fixing security vulnerabilities in a repository?

A limitation of auto-fixing security vulnerabilities is that not all issues can be resolved automatically. The Skill relies on available auto-fixers for safe patches and dependency updates, requiring manual remediation and targeted code edits for complex static-analysis errors.