blue-team

Apply patches to fix code failures from CI/CD test reports and create pull requests.

150|19|Updated Jun 15, 2026
One-click install
npx skills add https://github.com/gaasher/Agent-Loop-Skills --skill blue-team-gaasher
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: blue-team
Source: https://github.com/gaasher/Agent-Loop-Skills/tree/main/loops/blue-team
Command: npx skills add https://github.com/gaasher/Agent-Loop-Skills --skill blue-team-gaasher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, git, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of fixing code failures identified by a red-team or CI/CD test-failure report, allowing users to patch issues without breaking existing functionality.

Core Features & Use Cases

  • Automated Code Fixing: Applies patches to fix root-cause classes in code, based on feedback from a red-team or CI/CD test suite.
  • Regression Detection: Ensures that patches do not introduce new regressions by checking against a holdout set or previously passing tests.
  • Pull Request Creation: Automatically creates a pull request with the patch set once all failures are closed.
  • Use Case: Ideal for teams that need to quickly address failures in their codebase without causing further issues.

Quick Start

Use the blue-team skill to fix failures in your code by pointing it to your failures.jsonl file and the files you want to edit.

Frequently Asked Questions about blue-team

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

FAQPage Schema
How do I automate code fixing for CI/CD test failures?▼

You can automate code fixing for CI/CD test failures by pointing the blue-team skill to your failures.jsonl report. It applies patches to fix root-cause classes and automatically creates a pull request with the patch set.

What is a red-team test-failure report in the context of automated code patching?▼

A red-team test-failure report is an input file, such as failures.jsonl, that identifies code failures in a codebase. The blue-team skill uses this report to apply patches to fix root-cause classes without breaking existing functionality.

Do I need Python and git to automate pull request creation from test failures?▼

Yes, you need Python 3.9+ and git to automate pull request creation from test failures. The blue-team skill uses git to manage the patch set and create the pull request once all identified failures are closed.

How does automated regression detection work when patching codebase failures?▼

Automated regression detection works by checking your applied patches against a holdout set or previously passing tests. This ensures that the code fixing process does not introduce new regressions before creating a pull request.

Can I use this automated code fix loop without breaking existing functionality?▼

Yes, you can use the automated code fix loop without breaking existing functionality. The blue-team skill ensures patches do not introduce regressions by checking against a holdout set before creating the pull request with the patch set.