/waris-skill-library:warisskill-workflows-tddfrom waris-skill-library
Use when implementing business logic, algorithms, or anything with real edge cases — decides whether to write the test first (red-green-refactor) and what actually warrants a test at all. This does not raise ponytail's existing test-coverage floor (one runnable check for non-trivial logic, nothing for trivial code) — it only decides test-first vs test-after ordering for the logic that does warrant coverage.
Ships in waris-skill-library. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Trivial one-liners and simple UI/CRUD boilerplate need no test. Non-trivial
logic (a branch, a loop, a parser, a money/security path) gets one runnable
check — an assert-based self-check or a small test_* file, not a full
suite. This skill doesn't raise that bar; it only decides when that check
gets written relative to the implementation.
Don't write all the tests for a feature up front, then all the implementation ("horizontal slicing") — this produces tests for imagined behavior instead of actual behavior, and the tests end up insensitive to real breakage. Vertical slice instead:
RED → GREEN → (refactor if warranted) → repeat for next behavior
One test confirms one behavior, then the next test responds to what was actually learned building the last one.
Behavior through the public interface, not implementation details. A test that breaks because an internal function got renamed — with no actual behavior change — was testing the wrong thing. Prefer integration-style tests that exercise real code paths over tests that mock internal collaborators or reach into private state.
warisskill-ui-ux-accessibility's manual/lint-based a11y checks, or for
end-to-end/browser testing of a UI feature before calling it done.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sodiqabdulwaris/waris-skill-library --plugin waris-skill-library129 skills in this plugin
/api-and-interface-designGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend./browser-testing-with-devtoolsTests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured./