Write Tests
ryokun6/ryos
Write and run ryOS tests with Bun's native test runner (bun:test).
Nucleus V2 Test Generation and Execution baseline. An agent skill from protect-my-hair/nucleus-marketplace.
$ npx skills add protect-my-hair/nucleus-marketplace --skill test-generation-execution -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install protect-my-hair/nucleus-marketplace test-generation-execution --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/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/nucleus/skills/test-generation-execution .claude/skills/test-generation-execution && 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-generation-execution" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/test-generation-execution into .claude/skills/test-generation-execution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-generation-execution", 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/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/test-generation-executionType 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 protect-my-hair/nucleus-marketplace --skill test-generation-execution -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install protect-my-hair/nucleus-marketplace test-generation-execution --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/nucleus/skills/test-generation-execution .agents/skills/test-generation-execution && 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-generation-execution" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/test-generation-execution into .agents/skills/test-generation-execution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-generation-execution", 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 protect-my-hair/nucleus-marketplace --skill test-generation-execution -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install protect-my-hair/nucleus-marketplace test-generation-execution --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/nucleus/skills/test-generation-execution .cursor/skills/test-generation-execution && 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-generation-execution" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/test-generation-execution into .cursor/skills/test-generation-execution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-generation-execution", 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/protect-my-hair/nucleus-marketplace.git --path plugins/nucleus/skills/test-generation-execution--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 protect-my-hair/nucleus-marketplace --skill test-generation-execution -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install protect-my-hair/nucleus-marketplace test-generation-execution --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/nucleus/skills/test-generation-execution .gemini/skills/test-generation-execution && 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-generation-execution" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/test-generation-execution into .gemini/skills/test-generation-execution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-generation-execution", 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 protect-my-hair/nucleus-marketplace test-generation-executionInstalls 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 protect-my-hair/nucleus-marketplace --skill test-generation-execution -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/nucleus/skills/test-generation-execution .github/skills/test-generation-execution && 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-generation-execution" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/test-generation-execution into .github/skills/test-generation-execution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-generation-execution", 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 protect-my-hair/nucleus-marketplace --skill test-generation-execution -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install protect-my-hair/nucleus-marketplace test-generation-execution --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/nucleus/skills/test-generation-execution .opencode/skills/test-generation-execution && 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-generation-execution" agent skill from https://github.com/protect-my-hair/nucleus-marketplace/tree/main/plugins/nucleus/skills/test-generation-execution into .opencode/skills/test-generation-execution/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-generation-execution", 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-generation-executionNucleus V2 Test Generation and Execution baseline. An agent skill from protect-my-hair/nucleus-marketplace.
Test Generation Execution is an agent skill from protect-my-hair/nucleus-marketplace. Nucleus V2 Test Generation and Execution baseline. Generates reviewed unit/api/integration test assets and executes approved baseline test commands with .nucleus/tests/ reports.
Its SKILL.md is about 960 tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/nucleus-test-asset-candidate.schema.json` and `assets/nucleus-test-run-report.schema.json`).
It sits in Testing & QA, covering Test generation and Third-party API integration. The repository describes itself as: Nucleus — Claude Code / Codex 工作流插件,确保 AI 编码产出结构可信、边界可审计、过程可追溯. The licence is MIT.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3c82085. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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 Generation Execution loads about 961 tokens when it runs, and up to ~1.6k if it reads all its reference files. Until then it costs about 51 tokens; SKILL.md has 214 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); the scripts in this folder are not scanned.
The full file from protect-my-hair/nucleus-marketplace at commit 3c82085, republished under its MIT licence (© protect-my-hair). 214 words, ~961 tokens.
.claude/skills/test-generation-execution/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.前置:使用本 Skill 前,先按
using-nucleus完成 Nucleus 入口识别(Claude Code 会话由插件 SessionStart hook 自动注入该纪律)。
本 Skill 用于 Nucleus V2 的测试资产生成与测试执行 baseline。它安装在 Claude Code、Codex 等 coding agent 内部使用,不是 PMS 后端,也不是独立服务。
测试资产写入和测试命令执行必须先有明确人工审批事实;approval JSON、测试报告和 result package 只能记录证据,不能替代宿主任务、人工审批或质量放行。
<HARD-GATE>
未创建宿主 todo/task 任务包,不得执行 `generate`、`run` 或进入 result package。
缺少 test-asset-write-approval 明确审批事实,不得写正式 tests/**。
缺少 test-command 明确审批事实,不得执行任何测试命令。
请求测试资产写入审批或测试命令审批前,必须先按对应 subagentPreReview 调度独立 reviewer 子代理;未取得“材料可提交人工审查”预审结论时,不得请求人工审批。
测试报告、summary 或 result 不能替代测试资产审批、测试命令审批、人工 review、缺陷创建、PR/MR 审查、合入或发布事实。
</HARD-GATE>
启动本 Skill 后,必须先为以下每一项创建宿主 todo/task,并按顺序执行;Codex 使用计划 / 任务工具,Claude Code 使用 TodoWrite 或等价宿主 todo。每完成、阻塞、等待审批或需要复核一项,都必须逐项更新状态。
.nucleus/context/<workflowRunId>.json、primary feature 和 feature development plan;缺关键输入时 ALERT_AND_BLOCK。test-asset-candidate.*,不得直接写正式 tests/**。test-asset-write-approval 时 STOP。Nucleus.featurePath 归属。test-command 时 STOP。.nucleus/tests/<workflowRunId>/** report。.nucleus/runs/<workflowRunId>/result.json;测试报告和 result 不能替代宿主任务、人工审批或质量放行。unit、api、integration 三类 baseline 测试。generate 写正式 tests/** 前必须读取 test-asset-write-approval.json,且 approval 覆盖所有 planned test paths。run 只读取 test-command.json 作为 approval fact,命令必须命中 baseline test runner allowlist,并使用 shell=False 执行。.nucleus/tests/<workflowRunId>/**。.nucleus/runs/<workflowRunId>/result.json。defectArtifacts=[],不得创建缺陷或写 docs/requirement/**/defects/**。python3 skills/test-generation-execution/scripts/test_generation_execution.py generate \
--repo-root <target-repo> \
--context <target-repo>/.nucleus/context/<workflowRunId>.json \
--feature-development-plan <target-repo>/.nucleus/runs/<workflowRunId>/feature-development-plan.json \
--approval <target-repo>/.nucleus/runs/<workflowRunId>/test-asset-write-approval.json \
--candidate <target-repo>/.nucleus/runs/<workflowRunId>/test-asset-candidate.jsongenerate 会校验唯一 primary feature、feature development plan、approval fact 和 plannedWrites[],只写已声明且已审批的 tests/** 文件。每个生成或更新的测试文件前 40 行必须包含:
Nucleus.featurePath: docs/features/.../feature.mdpython3 skills/test-generation-execution/scripts/test_generation_execution.py run \
--repo-root <target-repo> \
--context <target-repo>/.nucleus/context/<workflowRunId>.json \
--level unit \
--command-json <target-repo>/.nucleus/runs/<workflowRunId>/test-command.jsontest-command.json 必须包含:
approved=trueapprovalType=test-commandapprovalFactIdworkflowRunIdfeaturePathlevelsourceFeatureDevelopmentPlanPathargvcwd.nucleus/runs/<workflowRunId>/test-asset-candidate.json.nucleus/runs/<workflowRunId>/test-asset-candidate.md.nucleus/runs/<workflowRunId>/test-attribution-gate.json.nucleus/tests/<workflowRunId>/<level>-report.json.nucleus/runs/<workflowRunId>/result.json成功态为 NEEDS_HUMAN_REVIEW。失败或证据不足为 FAILED_BLOCKED。
© protect-my-hair, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files (scripts, references, assets) in plugins/nucleus/skills/test-generation-execution of protect-my-hair/nucleus-marketplace.
Open the folder on GitHubat commit 3c82085
Test Generation Execution 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 Generation Execution this skillprotect-my-hair/nucleus-marketplace | 164 | — | ~961 | Automated safety check: Pass | MIT | |
| Write Testsryokun6/ryos | 1.3k | — | ~1.7k | Automated safety check: Pass | AGPL-3.0 | |
| Emcaklofas/kicad-happy | 1.4k | 1 repos | ~2.8k | Automated safety check: Pass | MIT | |
| Swig Testswig/swig | 6.3k | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Generate Test Cases342164796/generate-test-cases | 120 | 1 repos | ~2.9k | Automated safety check: Pass | None | |
| Wioworkersio/skills | 204 | — | ~5.8k | Automated safety check: Pass | MIT |
ryokun6/ryos
Write and run ryOS tests with Bun's native test runner (bun:test).
aklofas/kicad-happy
EMC pre-compliance risk analysis for KiCad PCB designs — 18 check categories, 44 rule IDs covering ground planes, decoupling, I/O filtering, switching harmonics, clock routing, differential pair…
swig/swig
Run SWIG test suite for specific languages. An agent skill from swig/swig.
342164796/generate-test-cases
自主学习型测试文档生成器。从需求文档(Markdown)生成测试用例 XMind 文件,支持持久化记忆和持续学习。当用户提到"生成测试用例"、"根据需求生成测试"时触发。
workersio/skills
Testing workflow skill for finding high-value test candidates, writing focused tests, generating realistic workloads, reviewing test value, and diagnosing test-suite health.
kenryu42/cc-safety-net
Launch and drive the real cc-safety-net CLI — the hook decision path, explain, status/doctor, logs, and the local policy GUI — against an isolated home, capturing evidence.
protect-my-hair/nucleus-marketplace
Collects prior Nucleus task evidence into a candidate-only delivery closure package and PR/MR draft text, blocking if any feature's design, review or verification evidence is missing.
protect-my-hair/nucleus-marketplace
Validates the context file for a Nucleus V2 workflow run, discovers standalone context from explicit input, and writes a blocked result when required context is missing.
protect-my-hair/nucleus-marketplace
Collects, freezes and validates a Nucleus V2 session binding report that records the native Claude Code or Codex session ID, transcript path and hash.
protect-my-hair/nucleus-marketplace
Builds the result.json file for a Nucleus V2 workflow run from its context, gates, blockers and step status, and exits non-zero when the run is blocked.
protect-my-hair/nucleus-marketplace
Checks whether a defect report has enough context to be accepted, then drafts candidate-only root-cause evidence for human review without confirming causes or changing code.
protect-my-hair/nucleus-marketplace
Combines the evidence from completed Nucleus workflow steps into a final evidence report and result package, without scheduling steps, updating trackers or opening pull requests.
Categories
Nucleus V2 Test Generation and Execution baseline. An agent skill from protect-my-hair/nucleus-marketplace. Test Generation Execution is an agent skill from protect-my-hair/nucleus-marketplace. Nucleus V2 Test Generation and Execution baseline.
Test Generation Execution fits situations like: tasks that involve Test generation; tasks that involve Third-party API integration.
Run `npx skills add protect-my-hair/nucleus-marketplace --skill test-generation-execution -a claude-code`. Or copy the skill folder (plugins/nucleus/skills/test-generation-execution in protect-my-hair/nucleus-marketplace) into .claude/skills/test-generation-execution in your project. Claude Code loads it when a task matches its description.
Run `npx skills add protect-my-hair/nucleus-marketplace --skill test-generation-execution -a codex`. Or copy the skill folder (plugins/nucleus/skills/test-generation-execution in protect-my-hair/nucleus-marketplace) into .agents/skills/test-generation-execution 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 protect-my-hair/nucleus-marketplace --skill test-generation-execution -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-generation-execution, .gemini/skills/test-generation-execution, .github/skills/test-generation-execution and .opencode/skills/test-generation-execution in your project.
Going by SKILL.md and its folder, Test Generation Execution needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Test Generation Execution is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 961 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 612 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Test Generation Execution: Write Tests (ryokun6/ryos, 1.3k stars), Emc (aklofas/kicad-happy, 1.4k stars), Swig Test (swig/swig, 6.3k stars) and Generate Test Cases (342164796/generate-test-cases, 120 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
protect-my-hair (a GitHub user) maintains it in protect-my-hair/nucleus-marketplace, which has 164 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on July 23, 2026.
Source: protect-my-hair/nucleus-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.