Borrowing it
Nothing to install: this file belongs to u9401066/med-paper-assistant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/u9401066/med-paper-assistant/master/.claude/skills/test-generator/SKILL.mdgit clone --depth 1 https://github.com/u9401066/med-paper-assistantWrote 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/u9401066/med-paper-assistant/test-generator)<a href="https://agentmods.dev/skills/u9401066/med-paper-assistant/test-generator"><img src="https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/test-generator/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/u9401066/med-paper-assistant/test-generator"><img src="https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/test-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00060 | $0.00510 |
| Opus 5 | $0.00030 | $0.00255 |
| Sonnet 5 | $0.00012 | $0.00102 |
| Haiku 4.5 | $0.00006 | $0.00051 |
Grade A, and why
test-generator 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 9d 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
測試生成技能
靜態分析
| 工具 | 用途 | 命令 |
|---|---|---|
| ruff | Linter + Formatter | uv run ruff check src/ --fix && uv run ruff format src/ |
| mypy | 類型檢查 | uv run mypy src/ --ignore-missing-imports |
| bandit | 安全掃描 | uv run bandit -r src/ -ll |
| vulture | 死代碼檢測 | uv run vulture src/ --min-confidence 80 |
完整:uv run ruff check src/; uv run mypy src/ --ignore-missing-imports; uv run bandit -r src/ -ll
測試金字塔
| 層級 | 工具 | 目錄 |
|---|---|---|
| Unit | pytest | tests/unit/ |
| Integration | pytest + httpx | tests/integration/ |
| E2E | playwright | tests/e2e/ |
| Coverage | pytest-cov | 目標 ≥80% |
單元測試必涵蓋
- Happy Path — 正常流程
- Edge Cases — 邊界條件
- Error Handling —
pytest.raises - Parametrize —
@pytest.mark.parametrize
執行命令
pytest tests/unit -v # 單元
pytest tests/integration -v -m integration # 整合
pytest --cov=src --cov-report=term-missing --cov-fail-under=80 # 覆蓋率
Checklist
- Happy path + edge cases + error handling
- Fixtures 設定(conftest.py)
- 覆蓋率 ≥ 80%
- CI workflow 整合
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.
- 9d ago First seen · 57 lines · 60 tokens per session scan A 4e4824141851
test-generator is a skill published in the GitHub repository u9401066/med-paper-assistant (12 stars, last pushed 8d ago), licensed Apache-2.0. It adds 60 tokens to every session and 510 once invoked, about $0.0003 per session on Opus 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-08-30.
Other skills, from other repositories
webapp-testing
Write and run comprehensive web app tests — unit, integration, E2E with Playwright/Cypress, and visual regression.
test-generator
Generate test templates for unit tests, integration tests, and UI tests using Swift Testing and XCTest. Use when adding tests to iOS/macOS apps.
backseat-driver-testing
Testing strategies for Calva Backseat Driver MCP tools. Use when: Testing Backseat Driver, validating tool updates, testing structural editing workflows, verifying REPL evaluation with who-tracking, testing shadow-cljs runtime discovery and targeting, testing output log filtering, testing load-file tool, smoke testing…
testing-python
Stratégie de Tests Python 3.14+. Use when writing tests, reviewing test coverage, or setting up testing.
testing-symfony
Stratégie de Tests Symfony 8.1 / PHP 8.5. Use when writing tests, reviewing test coverage, or setting up testing.
testing-reactnative
Testing React Native 0.85+. Use when writing tests, reviewing test coverage, or setting up testing.