Skip to content
Back to skills

Test

ASecurity

テストコードを生成するスキル。

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added August 31, 2026
testinggo

Security analysis

A100/100

Scanned August 31, 2026

npx -y skills add okm321/dotfiles --skill test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/okm321-test/badge)](https://www.skillsdirectory.com/skills/okm321-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 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

テストコードを生成し、実行コマンドも提示する。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.