- Home
- Skills
- Meta Pytorch
- Openenv
- Implement
implement_skill
- Python
1.1k
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill meta-pytorch/openenv --skill implement- SKILL.md2.6 KB
Overview
This skill makes failing tests pass by writing the minimal code changes required after tests are generated. It runs the test suite iteratively, applies the smallest possible fixes, and stops once all tests pass. Use it as the “Green” step in a test-driven workflow to convert failing tests into a correct implementation.
How this skill works
The implementer inspects the most recent failing tests produced by /write-tests and derives the exact behavior required. It applies the minimal code changes to satisfy assertions, runs tests after each change, and repeats until every failing test is green. It never adds features beyond what tests require and avoids refactoring.
When to use it
- After running /write-tests that produced failing tests
- When you need focused, minimal implementation to satisfy tests
- When you want to convert test specifications into executable code quickly
- When refactoring is not desired and behavior must match tests exactly
Best practices
- Read failing tests first and identify exact expectations before coding
- Make the smallest change that makes a test pass; avoid broad edits
- Run the test suite frequently to confirm progress and avoid regressions
- Do not add new tests or refactor existing code during this step
- Keep changes focused on making assertions pass; leave cleanup for a later pass
Example use cases
- Implement missing methods referenced by newly generated tests (e.g., client.reset or client.step)
- Add minimal input validation required by tests that exercise edge cases
- Fix small integration mismatches between code and test expectations
- Complete TODOs that tests target without expanding API surface
FAQ
Do not run this skill. Generate tests first with /write-tests; implement expects failing tests to guide changes.
Will this add new features beyond tests?
No. By design it makes only the minimal changes necessary to satisfy tests and avoids adding untested features.
How do you verify results?
The skill runs the full test suite after each change and stops only when all targeted tests pass with no new failures.