agentsclimarketplace

Write focused tests

Skill swd3k/skills/agent-skills/programming/write-focused-tests

Write high-value unit and integration tests without brittle UI snapshots. Use when adding coverage, fixing regressions, or deciding what not to test.From its SKILL.md

Install
npx -y skills add swd3k/skills --skill write-focused-tests

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

2 things to look at

  • 25 days oldThe repository was created 25 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 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

0.8 KB, 155 tokens by cl100k_base, as published. Nobody here has run it

Focused Tests

What to test first

  1. Pure domain rules and parsers
  2. File/network adapters with temp dirs / handlers
  3. Regression cases that already burned you

What to skip early

  • Exact pixel UI
  • Third-party SDK internals
  • Framework boilerplate

Patterns

  • Arrange–Act–Assert
  • One logical assert theme per test
  • Name: Method_Scenario_Expected
  • Deterministic: no wall-clock flakiness without fakes

Desktop

  • Core tests on Linux CI
  • Windows-only tests gated with traits / windows-latest job

Acceptance

  • dotnet test green locally and in CI
  • New bug → new test when feasible

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,696. 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.