بنقرة واحدة
test-generate
Generates unit tests for a file or function with full coverage of edge cases
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Generates unit tests for a file or function with full coverage of edge cases
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Analyzes the current session's token usage, pinpoints where tokens were wasted, and produces concrete optimization actions
Generates API documentation from route definitions (Express, Fastify, Hono, etc.)
Adds caching to expensive operations - Redis, in-memory, HTTP cache headers
Staged değişiklikleri analiz edip Conventional Commits formatında commit mesajı oluşturur
Reports cyclomatic complexity hotspots and refactoring suggestions
Finds unused functions, variables, exports, and dependencies across the codebase
| name | test-generate |
| description | Generates unit tests for a file or function with full coverage of edge cases |
| argument-hint | <file-path> [function-name] |
| user-invocable | true |
| allowed-tools | Read Glob Grep Edit |
| effort | medium |
Target: $1 $2
Read the file and understand:
Identify test cases:
Write tests following the project's existing test style.
Place the test file next to the source or in __tests__/ - match project convention.
Show a summary: N tests covering X scenarios.