write-tests
Use when writing or reviewing tests. Covers what to test, naming, structure, determinism, mocking boundaries, smoke tests and how to prove a test is meaningful.
Install / Use
npx skills add ioanstefan2020/Claparii-RDCC --skill skillsInstalls into whichever agent you are using.
Gemini Rules
Gemini CLI config
Quality Score
Category
Content & MediaSupported Platforms
Our assessment of write-tests
write-tests scores 62/100 on our quality scale, 1127th of 1,193 Content & Media skills we index.
Its Gemini Rules is 2.2 KB long, split into 7 sections and no code examples: moderately detailed.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- We could not determine when the repository was last updated.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
write-tests compared with similar skills
All 4 of these similar skills score higher than write-tests; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| write-tests (this skill)by ioanstefan2020 | 62 | 0 | — | Gemini Rules |
| siyuanby siyuan-note | 100 | 46.9k | today | MCP Server |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 137.2k | 9d ago | SKILL.md |
| design-isby thedotmack | 100 | 101.6k | 6d ago | SKILL.md |
| content-research-writerby ComposioHQ | 100 | 77.4k | 36d ago | SKILL.md |
Frequently asked questions
- How do I install write-tests?
- Run
npx skills add ioanstefan2020/Claparii-RDCC. The install tabs above show the steps for each supported agent. - Which AI agents does write-tests work with?
- It is written for Gemini CLI, as a Gemini Rules file. Other agents that read the same format can often use it too.
- Is write-tests safe to use?
- It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is write-tests still maintained?
- We could not determine when the repository was last updated.
Skill content
View source on GitHubname: write-tests description: Use when writing or reviewing tests. Covers what to test, naming, structure, determinism, mocking boundaries, smoke tests and how to prove a test is meaningful.
Writing tests that actually protect you
What to test (priority order for a hackathon)
- The demo path end to end (smoke/integration test).
- Core logic: happy path, edge cases (empty, one item, max, boundary), error cases (bad input, missing config, dependency failure).
- Contracts between components (request/response shapes, message formats).
- Every bug you fix (regression test). Skip: trivial getters, framework internals, pixel-perfect UI.
Structure
- Arrange / Act / Assert, one behavior per test, name = behavior (
test_returns_404_for_unknown_id). - Use fixtures/factories for setup; keep tests independent of order.
- Prefer testing through public interfaces.
Determinism
- Seed randomness; freeze/inject time; never hit the real network, real LLM, or real hardware in unit tests; use fakes or recorded fixtures at the boundary.
- If you must test an LLM-backed step, test the parsing/validation/fallback logic around it with canned responses, and keep ONE opt-in live test (skipped by default, enabled by an env var).
Prove the test is meaningful
- Temporarily break the code (flip a condition, return a wrong value). The test must fail. If it stays green, it is decoration — fix it.
- Never assert only that "no exception was raised" when a value can be checked.
Smoke test pattern
- Start the app/pipeline in test mode, send one realistic input, assert the realistic output. Put the command in
scripts/smoke.shand keep it fast (< 30 s).check.shruns it automatically if the file exists.
Hardware / embedded / FPGA / ML notes
- HDL: self-checking testbench (assert on outputs, non-zero exit on mismatch), run in simulation (iverilog/Verilator/GHDL) from
check.sh. - Firmware: separate pure logic from register access so it can run on the host; mock the serial/I2C/SPI layer; test the protocol parser with captured byte streams.
- ML: golden-input/golden-output tests, shape/dtype assertions, a tiny fixed-seed sanity run, and a metric threshold test on a small held-out set.
Related Skills
siyuan
46.9kAn open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
ui-ux-pro-max
137.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
design-is
101.6kAudit a design against Dieter Rams' ten "Good design is..." principles, then hand off a /make-plan prompt for one of three outcomes — new design, refine design, or redesign
content-research-writer
77.4kAssists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
