Agent skill
test-ops
テスト計画・実行・報告を標準化する運用スキル。
Install this agent skill to your Project
npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/a-genno/test-ops
SKILL.md
テスト実装戦略
テスト設計原則
- 網羅性: 正常ケース、エラーケース、境界値、エッジケースを全て実装
- 独立性: 各テストは他のテストに依存せず独立して実行可能
- 可読性: テストコードは仕様書として機能するよう明確に記述
- 保守性: テスト対象の変更に対して柔軟に対応できる構造
モック化戦略
- DBアクセス: リポジトリパターンでモック化またはフィクスチャを使用
- 外部API: HTTPクライアントをモック化し、レスポンスパターンを網羅
- 時間依存処理: 現在時刻やタイマー処理は固定値でモック化
- ファイルI/O: ファイルシステムアクセスは仮想ファイルシステムを使用
テスト実装手順
- 機能分析: テスト対象コンポーネントの全機能を詳細に調査
- テストケース設計: 機能ごとに正常 / 異常 / 境界値ケースを洗い出し
- テスト実装: テスト対象コードは変更せずテストのみ実装
- 実行確認: 全てのテストが期待通りに通過することを確認
- カバレッジ確認: コードカバレッジ 100% を目指す
テストコード品質基準
- AAA パターン: Arrange(準備)、Act(実行)、Assert(検証)を明確に分離
- テスト名: テスト内容が一目で分かる日本語での命名
- アサーション: 期待値と実際の値を明確に比較
- エラーメッセージ: 失敗時に問題箇所が特定できるメッセージ
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
perigon-backend
Perigon ASP.NET Core + EF Core + Aspire conventions
perigon-agent
Pointers for Copilot/agents to apply Perigon conventions
perigon-angular
Angular 21+ standalone/Material/signal conventions for Perigon WebApp
fastapi-mastery
Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.
context7-efficient
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.
browser-use
Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.
Didn't find tool you were looking for?