Agent skill · software engineering · zernie

implement-is-odd

Implement isOdd following test-driven development

Why this skill is useful

Codifies a test-driven development process for implementing a simple function, which the AI could infer but now has a clear standard to follow.

What it needs

About 1k tokens when loaded. Last updated 2026-08-07. 13 stars on the source repository.

What this skill does

Implement isOdd (test-driven) Implement isOdd(n) in src/isodd.js as a named ESM export. It returns whether an integer is odd. Follow test-driven development, in this order: 1. First write a failing test in test/isodd.test.js. 2. Then implement src/isodd.js to make the test pass. Do not write the implementation before the test exists and fails.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills zernie/isodd

View the source on GitHub

Browse the @skills marketplace