テストコードを生成するスキル。
Scanned 8/31/2026
Install to Claude Code
npx -y skills add okm321/dotfiles --skill test --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Test?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/okm321-test)More formats (shields.io, HTML) on the badges page.
# Test Generation Skill
テストコードを生成するスキル。
## Usage
```
/test [file or function name]
```
## Instructions
1. 対象のコードを読み、テスト対象を特定する
2. 既存のテストファイルがあればそのスタイルに合わせる
3. なければプロジェクトのテストフレームワークを検出する
### テスト設計の方針
- 正常系を最初に
- 境界値テスト
- エラーケース
- モックは最小限に(実際の動作をテストする)
### フレームワーク検出順
1. package.json → jest, vitest, mocha
2. pytest.ini, pyproject.toml → pytest
3. go.mod → go test
4. Cargo.toml → cargo test
## Output
テストコードを生成し、実行コマンドも提示する。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Plan a weekly editorial calendar by mapping company goals to publishable topics, owners, status, and verification notes.