.claude/skills/ac-test-generator/SKILL.md
Generate tests for features using TDD approach. Use when creating test files, generating test cases, implementing RED phase of TDD, or scaffolding test infrastructure.
npx skillsauth add adaptationio/skrillz ac-test-generatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate test files and test cases following TDD principles.
Implements the RED phase of TDD by generating failing tests before implementation, ensuring all features have comprehensive test coverage.
from scripts.test_generator import TestGenerator
generator = TestGenerator(project_dir)
tests = await generator.generate_for_feature(feature)
await generator.write_test_file(tests)
# tests/test_auth_001.py
"""Tests for feature auth-001: User can register"""
import pytest
from app.auth import register_user
class TestUserRegistration:
"""Test suite for user registration."""
def test_valid_registration_creates_user(self):
"""Valid registration creates user in database."""
# Arrange
email = "[email protected]"
password = "SecurePass123!"
# Act
result = register_user(email, password)
# Assert
assert result.success
assert result.user.email == email
def test_duplicate_email_returns_error(self):
"""Duplicate email registration returns error."""
# Arrange - create existing user
# Act - try to register same email
# Assert - error returned
pass
def test_weak_password_rejected(self):
"""Weak password is rejected with message."""
pass
{
"test_framework": "pytest",
"coverage_target": 80,
"test_patterns": {
"unit": "tests/unit/",
"integration": "tests/integration/",
"e2e": "tests/e2e/"
},
"fixtures": "tests/fixtures/"
}
RED → ac-test-generator creates failing tests
GREEN → Claude implements minimum code to pass
REFACTOR → Code cleaned while tests pass
See scripts/test_generator.py for full implementation.
development
Setup secure web-based terminal access to WSL2 from mobile/tablet via ttyd + ngrok/Cloudflare/Tailscale. One-command install, start, stop, status. Use when you need remote terminal access, web terminal, browser-based shell, or mobile access to WSL2 environment.
development
Complete development workflows where Claude writes the code while Gemini and Codex provide research, planning, reviews, and different perspectives. Claude remains the main developer. Use for complex projects requiring expert planning and multi-perspective reviews.
development
Systematic progress tracking for skill development. Manages task states (pending/in_progress/completed), updates in real-time, reports progress, identifies blockers, and maintains momentum. Use when tracking skill development, coordinating work, or reporting progress.
testing
Comprehensive testing workflow orchestrating functional testing, example validation, integration testing, and usability assessment. Sequential workflow for complete skill testing from examples through scenarios to integration validation. Use when conducting thorough testing, pre-deployment validation, ensuring skill functionality, or comprehensive quality checks.