test-generator-framework-skill

test-generator-framework-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 58 tokens per session (2,035 once invoked), scanned C, original, Apache-2.0.

A framework for generating tests across several programming languages and test tools. It examines the code, detects the testing setup, creates cases for normal use, edge cases, and errors, and checks that the tests can run.

In plain words
What is it for?
Use it when creating a test-generation workflow, standardizing tests across projects, or generating test files for JavaScript, Python, Ruby, and Go code.
Why use it?
It gives test generation a repeatable process instead of requiring each project to design its own approach from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions OpenCode.

Good fit Use it when creating a test-generation workflow, standardizing tests across projects, or generating test files for JavaScript, Python, Ruby, and Go code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/test-generator-framework-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add darellchua2/opencode-config-template --skill test-generator-framework-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-generator-framework-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/test-generator-framework-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/test-generator-framework-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/test-generator-framework-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/test-generator-framework-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-generator-framework-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/test-generator-framework-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/test-generator-framework-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,035 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.02035
Opus 5.5 $0.00023 $0.00814
Sonnet 5.5 $0.00012 $0.00407
Haiku 4.5 $0.00006 $0.00203

Measured 2mo ago against content hash 20bbe6b4d7f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

test-generator-framework-skill scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

When protocol is enabled, this skill defaults to `Iterations: 10` (sufficient for typical single-pass workflows). Override with `Iterations: N` for specific tasks. Safety blocks: `.env`, `node_modules/`, `rm -rf`, `git p
skills/test-generator-framework-skill/SKILL.md · 232 lines

How it starts

The opening of the file, as written. The whole thing — 232 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

I provide a generic test generation framework for multiple languages:

  • Analyze codebase to identify functions, classes, components
  • Detect testing framework (Jest, Vitest, Pytest, etc.)
  • Generate comprehensive test scenarios (happy paths, edge cases, errors)
  • Create test files with proper structure
  • Verify tests are executable

When to use me

Use when:

  • Creating new test generation skill for specific language/framework
  • Standardizing test generation across projects
  • Building language-specific test generators

This is a framework skill - provides foundational workflow for other skills.

Steps

Step 1: Detect Framework and Package Manager

Framework detection:

  • JavaScript/TypeScript: grep -E "(jest|vitest)" package.json
  • Python: grep pytest pyproject.toml or requirements.txt
  • Ruby: grep -E "(rspec|minitest)" Gemfile
  • Go: Built-in testing

Package manager detection:

Language Manager Lock File Command
JS/TS npm package-lock.json npm run <script>
JS/TS yarn yarn.lock yarn <script>
JS/TS pnpm pnpm-lock.yaml pnpm run <script>
Python Poetry pyproject.toml poetry run <script>
Python pip requirements.txt Direct command

Step 2: Analyze Source Code

Use glob patterns to find source files (exclude test files):

<glob_pattern> --exclude "**/*test*.<ext>" --exclude "**/test/**/*"

Identify:

  • Functions, classes, modules, components
  • Import statements and dependencies
  • Export patterns

Step 3: Generate Test Scenarios

Scenario categories:

Happy path: Normal inputs, expected outputs, common use cases Edge cases: Empty inputs, boundary values (0, 1, -1, max, min), single-item collections Error handling: Invalid types, out of range values, missing params, invalid formats, permissions State management: Initial state, state updates, multiple transitions, reset, cleanup User interactions: Click events, form submissions, keyboard nav, input changes, hover/focus

Read the full file on GitHub · 232 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +42 tokens per session 20bbe6b4d7f1
  2. 3mo ago First seen · 232 lines · 16 tokens per session scan C a7205c450b62

Subscribe to this mod's changes

test-generator-framework-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 58 tokens to every session and 2,035 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

test-generator-framework-skill compared with skills from other repositories

test-generator-framework-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-generator-framework-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0C58Claude Code, Codex
sanity-best-practicesvercel/eveSkill6.2ktodayApache-2.0A153Claude Code, Codex
email-adaptationvercel/eveSkill6.2ktodayApache-2.0A37Claude Code, Codex
resend-buildvercel/eveSkill6.2ktodayApache-2.0A32Claude Code, Codex
create-payment-credentialvercel/eveSkill6.2ktodayApache-2.0A23Claude Code, Codex
blog-stylevercel/eveSkill6.2ktodayApache-2.0A17Claude Code, Codex
release-notes-stylevercel/eveSkill6.2ktodayApache-2.0A17Claude Code, Codex