OpenROAD Module Test Adder
The-OpenROAD-Project/OpenROAD
Adds integration or unit tests to an OpenROAD module: writes the Tcl test, generates golden files and registers it in both CMake and Bazel.
Writes tests for newly added or changed code by reading the git diff, mapping every code path and writing one-assertion tests that match the project's conventions.
$ npx skills add poshan0126/dotclaude --skill test-writer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install poshan0126/dotclaude test-writer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/poshan0126/dotclaude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/test-writer .claude/skills/test-writer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "test-writer" agent skill from https://github.com/poshan0126/dotclaude/tree/main/skills/test-writer into .claude/skills/test-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-writer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/poshan0126/dotclaude/tree/main/skills/test-writerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add poshan0126/dotclaude --skill test-writer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install poshan0126/dotclaude test-writer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/poshan0126/dotclaude.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/test-writer .agents/skills/test-writer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "test-writer" agent skill from https://github.com/poshan0126/dotclaude/tree/main/skills/test-writer into .agents/skills/test-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-writer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add poshan0126/dotclaude --skill test-writer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install poshan0126/dotclaude test-writer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/poshan0126/dotclaude.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/test-writer .cursor/skills/test-writer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "test-writer" agent skill from https://github.com/poshan0126/dotclaude/tree/main/skills/test-writer into .cursor/skills/test-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-writer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/poshan0126/dotclaude.git --path skills/test-writer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add poshan0126/dotclaude --skill test-writer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install poshan0126/dotclaude test-writer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/poshan0126/dotclaude.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/test-writer .gemini/skills/test-writer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "test-writer" agent skill from https://github.com/poshan0126/dotclaude/tree/main/skills/test-writer into .gemini/skills/test-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-writer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install poshan0126/dotclaude test-writerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add poshan0126/dotclaude --skill test-writer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/poshan0126/dotclaude.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/test-writer .github/skills/test-writer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "test-writer" agent skill from https://github.com/poshan0126/dotclaude/tree/main/skills/test-writer into .github/skills/test-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-writer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add poshan0126/dotclaude --skill test-writer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install poshan0126/dotclaude test-writer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/poshan0126/dotclaude.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/test-writer .opencode/skills/test-writer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "test-writer" agent skill from https://github.com/poshan0126/dotclaude/tree/main/skills/test-writer into .opencode/skills/test-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-writer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
test-writerWrites tests for newly added or changed code by reading the git diff, mapping every code path and writing one-assertion tests that match the project's conventions.
The change under test is injected from `git diff --stat HEAD` and `git diff HEAD` when the skill loads, with fallbacks such as `git diff --cached` or `git show HEAD` if the diff is empty. The agent reads each changed file, works out the project's test framework and conventions from existing tests, and places new files next to the source or in the established test directory.
It maps each function, method or component across the happy path, edge cases, null values, type boundaries, error paths, concurrency, state transitions and integration points, then writes a test for every scenario with one assertion per test, sentence-style names and arrange-act-assert structure. Extra guidance covers branches and thrown errors in pure functions and, for API endpoints, success responses, per-field validation errors, authentication failures, rate limiting and idempotency. It targets changes without matching test changes, not config, docs or test-only diffs; judging existing tests is left to the `pr-test-analyzer` agent.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 94b84b9. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteEditBash(git diff *)Bash(git log *)From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Test Writer for Changed Code loads about 1.2k tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 535 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from poshan0126/dotclaude at commit 94b84b9, republished under its MIT licence (© poshan0126). 535 words, ~1,163 tokens.
.claude/skills/test-writer/SKILL.md (or your agent's skills folder).Write comprehensive tests for the code that was just added or changed.
Change under test (injected at load — already in front of you, no tool call needed):
git diff --stat HEAD 2>/dev/null || echo "(no diff vs HEAD — inspect git status manually)"git diff HEAD 2>/dev/null || truegit diff, git diff --cached, or git show HEAD to locate the changeFor each new or modified function/method/component, map out:
For EACH scenario identified above, write a test. No skipping.
should return empty array when input is emptyshould throw ValidationError when email format is invalidshould retry 3 times before failing on network timeoutPure functions / business logic:
API endpoints / handlers:
UI components (if applicable):
Database / data layer:
Async operations:
© poshan0126, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/test-writer of poshan0126/dotclaude.
Open the folder on GitHubat commit 94b84b9
Test Writer for Changed Code next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Test Writer for Changed Code this skillposhan0126/dotclaude | 871 | — | ~1.2k | Automated safety check: Pass | MIT | |
| OpenROAD Module Test AdderThe-OpenROAD-Project/OpenROAD | 3.2k | — | ~1.8k | Automated safety check: Pass | BSD-3-Clause | |
| Testing iOS Codebitwarden/ios | 696 | — | ~1.8k | Automated safety check: Pass | GPL-3.0 | |
| Caliber Testingcaliber-ai-org/ai-setup | 1.3k | — | ~3.2k | Automated safety check: Pass | MIT | |
| Test Coverage Reviewareed1192/finance-news-aggregator | 149 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Write Testsgrafana/synthetic-monitoring-app | 171 | — | ~1.2k | Automated safety check: Pass | AGPL-3.0 |
The-OpenROAD-Project/OpenROAD
Adds integration or unit tests to an OpenROAD module: writes the Tcl test, generates golden files and registers it in both CMake and Bazel.
bitwarden/ios
Write tests, add test coverage, unit test, or add missing tests for Bitwarden iOS.
caliber-ai-org/ai-setup
Writes Vitest tests following project patterns: tests/ directories, vi.mock() for module mocking with vi.hoisted() for test-time factories, global LLM mock from src/test/setup.ts, environment…
areed1192/finance-news-aggregator
Audit, plan, write, and verify unit tests for Python projects using pytest.
grafana/synthetic-monitoring-app
Write Jest integration and unit tests for the Grafana Synthetic Monitoring app using React Testing Library, MSW, and src/test helpers.
openplayerjs/openplayerjs
Write or extend Jest tests for OpenPlayerJS to this repo's exact conventions — makeCore factories, typed internals handles instead of as any, media property mocking, fake timers, ads/vast mocks, and…
poshan0126/dotclaude
Rebuilds working context after /clear by reading a handoff note and the branch's git state, or writes that handoff note before a session ends.
poshan0126/dotclaude
Estimates the per-turn token cost of a project's .claude folder and CLAUDE.md, split into always-loaded, path-scoped and invoked-only files, and flags what runs over budget.
poshan0126/dotclaude
Builds a quick mental model of an unfamiliar codebase by dispatching read-only Explore subagents and merging their findings into one brief.
poshan0126/dotclaude
Reviews a pull request, staged changes or a file by sending the diff to specialist reviewer agents in parallel, then merges their findings into one compact report.
poshan0126/dotclaude
Scans a codebase, interviews you, and installs only the justified Claude Code rules, hooks, agents and skills, tailored to the project's stack.
poshan0126/dotclaude
Walks through commit, push and pull request creation for the current changes, asking you to confirm the files, message, push and PR text at each step.
Works with
Categories
Writes tests for newly added or changed code by reading the git diff, mapping every code path and writing one-assertion tests that match the project's conventions. The change under test is injected from `git diff --stat HEAD` and `git diff HEAD` when the skill loads, with fallbacks such as `git diff --cached` or `git show HEAD` if the diff is empty. The agent reads each changed file, works out the project's test framework and conventions from existing tests, and places new files next to the source or in the established test directory.
Test Writer for Changed Code fits situations like: after adding a function, endpoint or component that has no tests yet; changing behavior and needing tests that match the project's conventions; covering error paths and edge cases of a freshly written handler.
Run `npx skills add poshan0126/dotclaude --skill test-writer -a claude-code`. Or copy the skill folder (skills/test-writer in poshan0126/dotclaude) into .claude/skills/test-writer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add poshan0126/dotclaude --skill test-writer -a codex`. Or copy the skill folder (skills/test-writer in poshan0126/dotclaude) into .agents/skills/test-writer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add poshan0126/dotclaude --skill test-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-writer, .gemini/skills/test-writer, .github/skills/test-writer and .opencode/skills/test-writer in your project.
Going by SKILL.md and its folder, Test Writer for Changed Code needs the command-line tools its instructions call (git). Our summary lists: A git repository with uncommitted or recent changes; An existing test setup to follow. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash(git diff *), Bash(git log *).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Test Writer for Changed Code is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Test Writer for Changed Code: OpenROAD Module Test Adder (The-OpenROAD-Project/OpenROAD, 3.2k stars), Testing iOS Code (bitwarden/ios, 696 stars), Caliber Testing (caliber-ai-org/ai-setup, 1.3k stars) and Test Coverage Review (areed1192/finance-news-aggregator, 149 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
poshan0126 (a GitHub user) maintains it in poshan0126/dotclaude, which has 871 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on August 27, 2026.
Source: poshan0126/dotclaude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.