agentsclimarketplace

Behavior first

Skill Rookage/agent-discipline/skills/behavior-first

Use when implementing features or fixing bugs with tests. Applies red-green-refactor, behavior-focused tests, public-interface testing, and small vertical slices. Trigger when the user says TDD, tests, implement with tests, make it stable, or fix with regression coverage.From its SKILL.md

Install
npx -y skills add Rookage/agent-discipline --skill behavior-first

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.3 KB, 208 tokens by cl100k_base, as published. Nobody here has run it

Behavior First

中文核心:测行为,不拜实现。

Principles

  • Test observable behavior through public interfaces.
  • Avoid tests that depend on private implementation details.
  • Work in vertical slices: one behavior, one test, one minimal implementation.
  • Refactor only after tests are green.

Workflow

  1. Inspect existing test style and commands.
  2. Identify the public interface or user-visible behavior.
  3. Write one failing test for one behavior.
  4. Implement the smallest code needed to pass.
  5. Repeat for the next behavior.
  6. Refactor after green.
  7. Run relevant verification.

Test Quality

Good tests:

  • read like specifications
  • survive internal refactors
  • fail when behavior breaks

Bad tests:

  • mock internal collaborators unnecessarily
  • assert private function shape
  • pass while user behavior is broken

Output

End with:

  • behavior implemented
  • tests added or changed
  • verification command and result
  • known gaps, if any

What ships with it: 1 file

237 B alongside SKILL.md

agents/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.