本文へ移動
cccskills
無料GitHub で公開

implement

Make tests pass. Invoke after /write-tests produces failing tests.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

/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:

## 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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Review code changes for bugs and alignment with OpenEnv principles and RFCs. Use when reviewing PRs, checking code before commit, or when asked to review changes. Implements two-tier review model.

日本語の概要は準備中です。原文の説明を表示しています。

huggingface/OpenEnv2,6872026年10月11日 更新

deploy-hf

無料

Deploy an OpenEnv environment to Hugging Face Spaces. Use when asked to deploy, push to Hugging Face, or update a space.

日本語の概要は準備中です。原文の説明を表示しています。

huggingface/OpenEnv2,6872026年10月11日 更新

Generate OpenEnv environments from a concrete use case (for example, "generate an env for the library textarena"). Use when asked to design or implement a new environment under envs/ by researching a target library/API, selecting matching OpenEnv examples, asking key implementation questions, and building models/client/server/openenv.yaml. Do not use for model training or evaluation tasks.

日本語の概要は準備中です。原文の説明を表示しています。

huggingface/OpenEnv2,6872026年10月11日 更新

hf-cli

無料

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing repositories, models, datasets, and Spaces on the Hugging Face Hub. Replaces now deprecated `huggingface-cli` command.

日本語の概要は準備中です。原文の説明を表示しています。

huggingface/OpenEnv2,6872026年10月11日 更新

Diagnose and recover failing or stuck Hugging Face Space deployments for OpenEnv environments. Use when deploying envs from `envs/` to the Hub (`openenv` namespace with version suffixes), when Spaces are in `BUILDING`/`APP_STARTING`/`RUNTIME_ERROR`, or when release collections need to be reconciled after targeted redeploys.

日本語の概要は準備中です。原文の説明を表示しています。

huggingface/OpenEnv2,6872026年10月11日 更新

OpenEnv CLI (`openenv`) for scaffolding, validating, building, and pushing OpenEnv environments.

日本語の概要は準備中です。原文の説明を表示しています。

huggingface/OpenEnv2,6872026年10月11日 更新

huggingface のスキルをすべて見る

このスキルの問題を報告する