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.
npx skills add rockyflux/yq-workflow --skill yq-test-gengit clone --depth 1 https://github.com/rockyflux/yq-workflowWrote 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.
[](https://agentmods.dev/skills/rockyflux/yq-workflow/yq-test-gen)<a href="https://agentmods.dev/skills/rockyflux/yq-workflow/yq-test-gen"><img src="https://agentmods.dev/badge/skills/rockyflux/yq-workflow/yq-test-gen/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.
<a href="https://agentmods.dev/skills/rockyflux/yq-workflow/yq-test-gen"><img src="https://agentmods.dev/badge/skills/rockyflux/yq-workflow/yq-test-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.00634 |
| Opus 5.5 | $0.00013 | $0.00254 |
| Sonnet 5.5 | $0.00006 | $0.00127 |
| Haiku 4.5 | $0.00003 | $0.00063 |
Grade A, and why
yq-test-gen scanned grade A with 0 findings 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 3mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
YQ Test Generation
Overview
把需求、设计和实现转成可执行测试,覆盖主路径、边界条件、异常分支和回归风险。
Core principle: 测试先服务于行为保护,再服务于实现细节。
When to Use
- 用户要补测试、写单测、集成测试或回归用例
- 新功能已实现,需要建立保护网
- 修 bug 后需要用测试锁住回归
- 模块复杂、依赖多、改动风险高
Route Elsewhere
- 行为和边界还没定:先转
yq-req-analysis或yq-system-design - 主要是实现功能:转
yq-code-gen - 主要是审查改动质量:转
yq-code-review
Process
- 提炼验收点、关键分支和最高风险行为。
- 选择测试层次:单元、集成、契约或端到端。
- 设计主流程、边界、异常和权限场景。
- 明确测试数据、夹具、mock 和稳定性要求。
- 标注当前覆盖缺口和后续补测建议。
Output
# Test Plan or Test Result
## Coverage Targets
## Test Cases
## Test Level Strategy
## Fixtures / Mocks / Data Setup
## Edge Cases
## Known Gaps
## Recommended Next Step
Related Skills
- 上游通常来自
yq-code-gen、yq-debug - 下游通常接
yq-code-review、yq-security-scan - 写行为保护时建议参考
superpowers:test-driven-development
Recommended Next Step
- 默认交给
yq-code-review,检查正确性、回归风险和测试缺口 - 如果改动涉及权限、敏感数据或外部输入,可并行补
yq-security-scan
Common Mistakes
- 只测 happy path
- 过度 mock,脱离真实行为
- 用实现细节驱动测试命名和断言
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.
- 3mo ago First seen · 85 lines · 32 tokens per session scan A 4b70c0f2999b
yq-test-gen is a skill published in the GitHub repository rockyflux/yq-workflow (2 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 634 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
yq-test-gen compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| yq-test-genrockyflux/yq-workflow | Skill | 2 | 1mo ago | MIT | A | 32 | Claude Code, Codex |
| test-masterJeffallan/claude-skills | Skill | 13k | today | MIT | A | 104 | Claude Code |
| axiom-testingCharlesWiltgen/Axiom | Skill | 1.3k | 2d ago | MIT | A | 38 | Claude Code |
| test-generatorrshankras/claude-code-apple-skills | Skill | 927 | 26d ago | MIT | A | 33 | Claude Code |
| test-automation-expertcuriositech/some_claude_skills | Skill | 285 | 7d ago | MIT | A | 133 | Claude Code |
| testing-blocksadobe/skills | Skill | 343 | today | Apache-2.0 | A | 114 | Claude Code |
| mobile-app-testingsecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 47 | Claude Code |