implement
meta-pytorch/OpenEnv/.claude/skills/implement/SKILL.md
Make tests pass. Invoke after /write-tests produces failing tests.
What's in it
- /implement
- Usage
- When to Use
- When NOT to Use
- What It Does
- Output
- Rules
- Anti-patterns (NEVER do these)
- Completion Criteria
- Philosophy
--- name: implement description: Make tests pass. Invoke after /write-tests produces failing tests. context: fork agent: implementer --- # /implement Make failing tests pass with minimal code. ## Usage ``` /implement ``` The implementer will automatically find failing tests from the most recent `/write-tests` run. ## When to Use - After `/write-tests` has created failing tests - When you have specific tests that need implementation - Never before tests exist ## When NOT to Use - No failing tests exist (run `/write-tests` first) - You want to add features not covered by tests - You want to refactor (use `/simplify` instead) ## What It Does 1. Finds the failing tests from `/write-tests` 2. Reads tests to understand requirements 3. Writes the **minimum code** to make tests pass 4. Runs tests after each change 5. Stops when ALL tests pass ## Output The implementer agent will produce: ```markdown ## Implementation Complete ### Tests Passed - `test_client_reset_returns_observation` ✓ - `test_client_step_advances_state` ✓ - `test_client_handles_invalid_action` ✓ ### Changes Made | File | Change | |------|--------| | `src/openenv/core/client.py` | Added `reset()` method | | `src/openenv/core/client.py` | Added `step()` method | | `src/openenv/core/client.py` | Added input validation | ### Verification ``` PYTHONPATH=src:envs uv run pytest tests/test_client.py -v All 3 tests passed ``` ### Next Steps - Mark todo as complete - Consider `/simplify` if change was large - Move to next pending todo ``` ## Rules 1. **Read the failing tests first** to understand exactly what's needed 2. **Write the MINIMUM code** needed to pass tests 3. **Run tests after each change** to verify progress 4. **Do NOT add extra features** not covered by tests 5. **Do NOT refactor** existing code (that's `/simplify`'s job) 6. **Stop when all tests pass** ## Anti-patterns (NEVER do these) - Adding features not covered by tests - Refactoring existing code - Writing additional tests (that's `/write-tests`'s job) - Over-engineering solutions - Adding comments or documentation beyond what's necessary - "Improving" code that already works ## Completion Criteria Before returning, verify: 1. ALL tests pass 2. No new test failures introduced 3. Implementation is minimal and focused ## Philosophy The implementer is a "code machine" - it takes test specifications and produces the minimal code to satisfy them. This keeps implementations focused and prevents scope creep. Think of it as TDD's second phase: Red → **Green** → Refactor. You are "Green" - make tests pass, nothing more.
More agent context in meta-pytorch/OpenEnv
17 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- hf-cli.agents/skills/hf-cli/SKILL.md
- openenv-cli.agents/skills/openenv-cli/SKILL.md
- alignment-review.claude/skills/alignment-review/SKILL.md
- deploy-hf.claude/skills/deploy-hf/SKILL.md
- generate-openenv-env.claude/skills/generate-openenv-env/SKILL.md
- hf-space-recovery.claude/skills/hf-space-recovery/SKILL.md
- pre-submit-pr.claude/skills/pre-submit-pr/SKILL.md
- release.claude/skills/release/SKILL.md
- rfc-check.claude/skills/rfc-check/SKILL.md
- simplify.claude/skills/simplify/SKILL.md
- sprint.claude/skills/sprint/SKILL.md
- update-docs.claude/skills/update-docs/SKILL.md
- watch-pr.claude/skills/watch-pr/SKILL.md
- work-on-issue.claude/skills/work-on-issue/SKILL.md
- write-tests.claude/skills/write-tests/SKILL.md
Also found in one other repository
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Evidence it works
Elsewhere, people who say they tested it. Read them for what they measured.
- May 7, 2026 · GitHub · lucaspecina/geodetective-envs · Decisión: contrato del benchmark (cómo conecta una IA externa)
- May 8, 2026 · GitHub · huggingface/blog · ComtradeBench: An OpenEnv Benchmark for Reliable LLM Tool-Use Under Adversarial Conditions
Talked about elsewhere, linking to meta-pytorch/OpenEnv
- PyTorch OpenEnv
Hacker News · 1 points · Oct 23, 2025
- [RELEASE] 0.2.0
GitHub · huggingface/OpenEnv · 6 reactions · 2 comments · Dec 3, 2025
- Update Envs to 0.2.0
GitHub · huggingface/OpenEnv · 3 reactions · 3 comments · Dec 23, 2025
- Fix BrowserGym Playwright threading issues and increase WebSocket message limit
GitHub · huggingface/OpenEnv · 2 reactions · 1 comments · Feb 3, 2026
- [CI] Comment on new env PRs
GitHub · huggingface/OpenEnv · 2 reactions · Nov 11, 2025
- fix(reasoning_gym_env): support concurrent WebSocket sessions
GitHub · huggingface/OpenEnv · 1 reactions · 1 comments · Apr 28, 2026
- docs(tutorials): add end-to-end walkthrough
GitHub · huggingface/OpenEnv · 1 reactions · 1 comments · Apr 28, 2026
- fix(envs): migrate remaining envs to uv and fix Docker health checks
GitHub · huggingface/OpenEnv · 1 reactions · 1 comments · Mar 26, 2026
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

