Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:07:38 +08:00
commit 458d0633fb
4 changed files with 80 additions and 0 deletions

20
commands/test-file.md Normal file
View File

@@ -0,0 +1,20 @@
---
allowed-tools: Bash(find:*), Bash(ls:*)
description: Generate comprehensive tests for a specific file
---
## Your task
Generate comprehensive unit tests for the file: @$ARGUMENTS
Requirements:
- Use the existing testing framework in this project
- Include edge cases and error scenarios
- Follow the project's testing conventions
- Aim for high test coverage
- Include both positive and negative test cases
## Project context
- Existing test files: !`find . -name "*.test.*" -o -name "*.spec.*" | head -10`
- Package.json testing setup: @package.json