implement

Generate minimal code changes to fix failing tests from /write-tests runs.

2.5k|421|Updated Oct 1, 2025
One-click install
npx skills add https://github.com/meta-pytorch/OpenEnv --skill implement-meta-pytorch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: implement
Source: https://github.com/meta-pytorch/OpenEnv/tree/main/.claude/skills/implement
Command: npx skills add https://github.com/meta-pytorch/OpenEnv --skill implement-meta-pytorch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides developers to repair failing tests by implementing the minimal code required to make the test suite pass after a /write-tests run.

Core Features & Use Cases

  • Minimal implementation: Add only the code needed to satisfy failing tests.
  • Iterative validation: Re-run tests after each change to ensure stability.
  • Use Case: When a test run reports failures, use implement to quickly supply the smallest changes that restore green tests.

Quick Start

Run the /implement command to automatically generate and apply the minimal code changes that fix the failing tests.

Frequently Asked Questions about implement

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

FAQPage Schema
How do I make failing tests pass with minimal code changes?

Making failing tests pass with minimal code involves identifying what each test expects, then adding only the smallest amount of code needed to satisfy those requirements. The implement Skill automatically detects failing tests from your test suite and generates minimal code fixes, re-running tests after each change to verify stability.

Can I use pytest with automated test fixing?

Yes. The implement Skill works with pytest-based test suites, identifying failing test cases and generating code changes to fix them. It integrates into workflows where you run tests, review failures, and need quick minimal implementations to restore passing tests.

What's the workflow for fixing tests after running write-tests?

After running write-tests and seeing failures, execute implement to automatically generate and apply minimal code changes. The Skill re-runs tests iteratively after each fix to confirm all tests pass, eliminating manual trial-and-error.

How does the implement Skill decide what code to add?

The implement Skill analyzes failing test output to understand what code is missing or broken, then generates the smallest changes required to satisfy those test requirements. It applies changes incrementally and validates by re-running tests.

Do I need to set up anything before using implement?

You need a test suite that can be executed and has reported failures. The implement Skill reads from the most recent test run output, so ensure your testing framework (pytest or equivalent) is configured and tests have been run to identify failures.