/core-skills:test-writerfrom core-skills
Generate comprehensive unit and integration tests from function/module code. Complements code-review and debug skills to complete the code quality toolkit.
Ships in core-skills. 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.
Read when SKILL.md points to them.
Generate comprehensive unit and integration tests from function/module code.
When you have code that needs testing but lack test coverage, this skill auto-generates test suites covering happy paths, edge cases, and error states.
After writing or reviewing code, use this to generate tests. Pair with code-review (identify what to test) and debug (fix failing tests).
Input:
function capitalize(str) {
if (!str) return "";
return str[0].toUpperCase() + str.slice(1);
}
Output:
describe("capitalize", () => {
it("capitalizes first letter", () => {
expect(capitalize("hello")).toBe("Hello");
});
it("handles empty string", () => {
expect(capitalize("")).toBe("");
});
it("handles single character", () => {
expect(capitalize("a")).toBe("A");
});
it("handles already capitalized", () => {
expect(capitalize("Hello")).toBe("Hello");
});
it("handles null/undefined", () => {
expect(capitalize(null)).toBe("");
expect(capitalize(undefined)).toBe("");
});
});
Input: Express middleware function with database calls Output: Jest test suite with mocked database, request/response objects, error cases
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
35 skills in this plugin
/autoresearchAutonomously optimise any skill by running it repeatedly, scoring outputs against
binary evals, mutating the prompt, and keeping improvements. Based on Karpathy's
autoresearch methodology.
Use when: "optimise this skill", "improve this skill", "run autoresearch on",
"make this skill better", "self-improve skill", "benchmark skill", "eval my skill",
"run evals on". Outputs: an improved SKILL.md copy, a results log, and a changelog
of every mutation tried.
/changelogWhen to useGenerate structured changelog entries from git history, grouping commits by conventional prefix and flagging breaking changes./npx claudepluginhub internet-dot/ai-config-os --plugin core-skills