npx claudepluginhub aiiware/aii-skillsThis skill is limited to using the following tools:
Generate comprehensive unit tests for the specified code.
$ARGUMENTS specifies the target:
src/utils.ts — Generate tests for all exported functionsparseConfig — Generate tests for a specific functionsrc/validators/ — Generate tests for all modulesDetect the project's test framework by checking config files and existing tests:
| Language | Config File | Frameworks |
|---|---|---|
| TypeScript/JavaScript | package.json | Jest, Vitest, Mocha, Ava, Bun test |
| Python | pyproject.toml, setup.py, setup.cfg | pytest, unittest, nose2 |
| Go | go.mod | Standard testing package, testify |
| Rust | Cargo.toml | Built-in #[cfg(test)], #[test] |
| Java | pom.xml, build.gradle | JUnit 5, TestNG, Mockito |
| Kotlin | build.gradle.kts | JUnit 5, Kotest, MockK |
| C# | *.csproj | xUnit, NUnit, MSTest |
| C/C++ | CMakeLists.txt, Makefile | Google Test, Catch2, CTest, Unity |
| Swift | Package.swift, *.xcodeproj | XCTest, Swift Testing |
| Ruby | Gemfile | RSpec, Minitest |
| PHP | composer.json | PHPUnit, Pest |
| Elixir | mix.exs | ExUnit |
| Dart | pubspec.yaml | package:test, Flutter test |
| Zig | build.zig | Built-in std.testing |
| Shell/Bash | — | Bats, shUnit2 |
If no config file is found, check existing test files and match their patterns.
For each function/method, generate tests covering:
Happy Path
Edge Cases
Error Cases
Integration Points (if applicable)
Write test files following project conventions:
utils.test.ts) or in tests/ directory — match existing pattern*.test.*, *_test.*, test_*.*)