write-tests
Skill2.6k starsChanged 8 months agoBSD-3-ClauseView on GitHub
Write failing tests from requirements. Invoke for each todo before /implement.
33 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- dzhng/skillstheir own version, first seen Oct 4, 2026
- dzhng/jevgreptheir own version, first seen Oct 2, 2026
- dzhng/duet-agenttheir own version, first seen Oct 2, 2026
- aprameyak/coding-skillstheir own version, first seen Oct 2, 2026
- getsentry/sentry-javascripttheir own version, first seen Sep 27, 2026
- NarekManukyan/flutter-mobx-kittheir own version, first seen Sep 17, 2026
Who's talking about huggingface/OpenEnv
- aaif/project-proposals“[Project Proposal] OpenEnv”GitHub · Sep 28, 2026 · 2 reactions
- ProSkillsMD/proskills“[Candidate] huggingface/openenv/.claude/skills/deploy-hf - deploy-hf”GitHub · Oct 5, 2026
- ProSkillsMD/proskills“[Candidate] huggingface/openenv/.claude/skills/alignment-review - alignment-review”GitHub · Oct 5, 2026
- ProSkillsMD/proskills“[Candidate] huggingface/openenv/.agents/skills/openenv-cli - openenv-cli”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-skills.github.huggingface.openenv: 0.5.0 → 0.7.0”GitHub · Oct 3, 2026
The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 22
Talked about on GitHub (22 times).
On GitHub · 22
- Sep 28, 2026[Project Proposal] OpenEnv — aaif/project-proposals2 reactions · 1 comment
- Oct 5, 2026[Candidate] huggingface/openenv/.claude/skills/deploy-hf - deploy-hf — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 5, 2026[Candidate] huggingface/openenv/.claude/skills/alignment-review - alignment-review — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 5, 2026[Candidate] huggingface/openenv/.agents/skills/openenv-cli - openenv-cli — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 3, 2026agent-skills.github.huggingface.openenv: 0.5.0 → 0.7.0 — sudosubin/agents.nix0 reactions
17 more on GitHub
- Oct 3, 2026[Add] OpenEnv (huggingface/OpenEnv) — PyTorchKR/landscape0 reactions
- Oct 2, 2026chore(deps): bump openenv from 0.5.0 to 0.6.0 — beer-sakthai/openenv-rl-training0 reactions · 2 comments
- Oct 2, 2026chore(deps): bump openenv from 0.5.0 to 0.6.0 in /openenv-custom-training — beer-sakthai/openenv-rl-training0 reactions · 3 comments
- Sep 29, 2026Add reset schema publication to /schema endpoint — scosman/OpenEnv0 reactions
- Sep 28, 2026agent-skills.github.huggingface.openenv: init at 0.5.0 — sudosubin/agents.nix0 reactions
- Sep 25, 2026chore(deps): bump openenv from 0.4.2 to 0.5.0 in /openenv-custom-training — beer-sakthai/openenv-rl-training0 reactions · 2 comments
- Sep 25, 2026chore(deps): bump openenv from 0.4.2 to 0.5.0 — beer-sakthai/openenv-rl-training0 reactions · 2 comments
- Sep 16, 2026chore(deps): bump openenv from 0.4.1 to 0.4.2 in /openenv-custom-training — beer-sakthai/openenv-rl-training0 reactions · 2 comments
- Sep 16, 2026chore(deps): bump openenv from 0.4.1 to 0.4.2 — beer-sakthai/openenv-rl-training0 reactions · 2 comments
- Sep 15, 2026build(deps): update openenv requirement from >=0.2.0 to >=0.4.2 — Manimaran-tech/swarm_analyst0 reactions
- Aug 27, 2026AsyncGRPO: train OpenEnv harnesses from validated token captures — huggingface/trl0 reactions · 5 comments
- Jul 24, 2026Point the opencode example at huggingface/OpenEnv — huggingface/trl0 reactions · 2 comments
- Jul 7, 2026build(deps): update openenv requirement from >=0.2.0 to >=0.4.1 — Manimaran-tech/swarm_analyst0 reactions · 1 comment
- Jun 23, 2026build(deps): update openenv requirement from >=0.2.0 to >=0.3.1 — Manimaran-tech/swarm_analyst0 reactions · 1 comment
- Jun 10, 2026[dprat0821] Add June watch for open agent training environments — Prompthon-IO/agent-systems-handbook0 reactions
- May 29, 2026mini_swe: stabilize async GRPO validation runs — rycerzes/OpenEnv0 reactions
- May 2, 2024Link Checker Dashboard 🔗 — ahgraber/AIMLbling-about0 reactions
Used with
Projects with it also use audit-choices, close-spec and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
dzhngSkillaudit-choices
Audit the choices an implementing agent made, not its diff — a pure decision audit that traces the session's history into a choices ledger, changes no code, and never blocks an unsupervised run. Working code still embeds architecture the user never chose; surface it because future work inherits it. Use when the user wants to review the decisions the AI made on their behalf, before merging or committing AI-implemented work, when integrating a delegated subagent's pass, or when a fix "works" but might be a point fix.
Also in 3 projects that use this
dzhngSkillclose-spec
When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).
Also in 3 projects that use this
LucasMatuszewskiSkillaudit-agents
Audit and maintain agent configuration files (.claude/agents, AGENTS.md, CLAUDE.md, agent-memory). Checks for duplicates, outdated info, naming conflicts, wrong technical facts, and files over 200 lines. Fixes all issues and commits.
Also in 3 projects that use this
Halcyon666Skillwrite-skills
Creates high-quality Agent Skills (SKILL.md files) that follow the open Agent Skills specification. Use when asked to create a skill, write a SKILL.md, package agent instructions, build a reusable capability, or turn a workflow into a shareable skill. Produces spec-compliant, concise, well-structured skills optimized for agent discovery and execution.
Also in 3 projects that use this
isLinXuSkilleval-skills
AI Agent Skill unit testing framework. A framework-agnostic toolkit for discovering, scaffolding, selecting, evaluating, and reporting on AI skills. Use this skill to assess skill quality before production, compare candidate skills on the same benchmark, enforce quality gates in CI/CD, and generate human-readable evaluation reports.
Also in 3 projects that use this
TrecekSkillaudit-tests
Audit the test suite for useless tests, consolidation opportunities, over-mocking, weak assertions, and other test quality issues. Use when user says "audit tests", "audit test suite", "review tests", or "test quality check". Generates an improvement plan in temp/ with explanations for each proposed change.
Also in 3 projects that use this
- +6 more from dzhng
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- getsentry/sentry-javascript★ 8.8ksame name
- dzhng/jevgrep★ 2.3ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- dzhng/skills★ 978same name
- microsoft/semantic-link-labs★ 584same name
- atherio-danp/cde-dotnetcc★ 109same name
- getsentry/abacus★ 77same name
- alamops/skills★ 52same name
- dzhng/duet-agent★ 46same name
- igmarin/rails-agent-skills★ 27same name
23 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- hf-cliSkill
- openenv-cliSkill
- alignment-reviewSkill
- deploy-hfSkill
- generate-openenv-envSkill
- hf-space-recoverySkill
- implementSkill
- pre-submit-prSkill
- releaseSkill
- rfc-checkSkill
- simplifySkill
- sprintSkill
- update-docsSkill
- watch-prSkill
- work-on-issueSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 31 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Write failing tests that encode acceptance criteria.
- Distinctive: line 21
After creating a todo that requires implementation
- Distinctive: line 23
When you have clear acceptance criteria
- Distinctive: line 66
Test behavior, not implementation: - write from user's perspective
- Distinctive: line 69
Run tests to verify they fail: before returning
- Distinctive: line 84
Test names clearly describe what they verify
“Common” is measured: kept by at least 6 in 10 of the 31 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/write-tests
Write failing tests that encode acceptance criteria.
Usage
/write-tests
/write-tests Add logout button to headerWhen to Use
- After creating a todo that requires implementation
- Before running
/implement - When you have clear acceptance criteria
When NOT to Use
- Implementation already exists (tests would pass immediately)
- You're exploring or prototyping (not TDD mode)
- Just adding to existing test coverage
What It Does
- Analyzes the current todo/requirement
- Reads existing tests to understand patterns
- Writes test files that verify acceptance criteria
- Verifies tests FAIL (proves they test something real)
- Returns test file paths for
/implement
Output
The tester agent will produce:
## Tests Written
### Files Created/Modified
- `tests/test_client.py`
### Tests Added
| Test | Verifies |
|------|----------|
| `test_client_reset_returns_observation` | Reset returns valid observation |
| `test_client_step_advances_state` | Step mutates state correctly |
| `test_client_handles_invalid_action` | Error handling for bad input |
### Verification
All tests FAIL as expected (no implementation yet).
### Next Step
Run `/implement` to make these tests pass.Rules
- Read existing tests first to understand patterns and conventions
- Test behavior, not implementation - write from user's perspective
- Integration tests first, then unit tests if needed
- Each test verifies ONE thing clearly
- Run tests to verify they fail before returning
Anti-patterns (NEVER do these)
- Writing tests that pass without implementation
- Testing implementation details instead of behavior
- Writing overly complex test setups
- Adding implementation code (that's
/implement's job) - Writing tests that duplicate existing coverage
Completion Criteria
Before returning, verify:
- Tests compile/run successfully (pytest can collect them)
- Tests FAIL (no implementation yet)
- Test names clearly describe what they verify
- Tests follow existing project patterns (see
tests/for examples)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

