bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Test-driven development workflow with test generation, coverage analysis, and multi-framework support
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install alirezarezvani/tdd-guide打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Test-driven development skill for generating tests, analyzing coverage, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, and Vitest.
| Capability | Description |
|---|---|
| Test Generation | Convert requirements or code into test cases with proper structure |
| Coverage Analysis | Parse LCOV/JSON/XML reports, identify gaps, prioritize fixes |
| TDD Workflow | Guide red-green-refactor cycles with validation |
| Framework Adapters | Generate tests for Jest, Pytest, JUnit, Vitest, Mocha |
| Quality Scoring | Assess test isolation, assertions, naming, detect test smells |
| Fixture Generation | Create realistic test data, mocks, and factories |
test_generator.py with requirementsnpm test -- --coverage)coverage_analyzer.py on LCOV/JSON/XML reporttdd_workflow.py --phase red to validatetdd_workflow.py --phase green to validate| Tool | Purpose | Usage |
|---|---|---|
test_generator.py |
Generate test cases from code/requirements | `python scripts/test_generator.py... |
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
Version: 1.0.0 Last Updated: November 5, 2025 Author: Claude Skills Factory
A comprehensive Test Driven Development skill for Claude Code that provides intelligent test generation, coverage analysis, framework integration, and TDD workflow guidance across multiple languages and testing frameworks.
The TDD Guide skill transforms how engineering teams implement Test Driven Development by providing:
# TDD Guide Test-driven development skill for generating tests, analyzing coverage, and guiding red-green-refactor workflows across Jest, Pytest, JUnit, and Vitest. ## Table of Contents - [Capabilities](#capabilities) - [Workflows](#workflows) - [Tools](#tools) - [Input Requirements](#input-requirements) - [Limitations](#limitations) --- ## Capabilities | Capability | Description | |------------|-------------| | Test Generation | Convert requirements or code into test cases with proper structure | | Coverage Analysis | Parse LCOV/JSON/XML reports, identify gaps, prioritize fixes | | TDD Workflow | Guide red-green-refactor cycles with validation | | Framework Adapters | Generate tests for Jest, Pytest, JUnit, Vitest, Mocha | | Quality Scoring | Assess test isolation, assertions, naming, detect test smells | | Fixture Generation | Create realistic test data, mocks, and factories | --- ## Workflows ### Generate Tests from Code 1. Provide source code (TypeScript, JavaScript, Python, Java) 2. Specify target framework (Jest, Pytest, JUnit, Vitest) 3. Run `test_generator.py` with requirements 4. Review generated test stubs 5. **Validation:** Tests compile and cover happy path, error cases, edge cases ### Analyze Coverage Gaps 1. Generate coverage report from test runner (`npm test -- --coverage`) 2. Run `coverage_analyzer.py` on LCOV/JSON/XML report 3. Review prioritized gaps (P0/P1/P2) 4. Generate missing tests for uncovered paths 5. **Validation:** Coverage meets target threshold (typically 80%+) ### TDD New Feature 1. Write failing test first (RED) 2. Run `tdd_workflow.py --phase red` to validate 3. Implement minimal code to pass (GREEN) 4. Run `tdd_workflow.py --phase green` to validate 5. Refactor while keeping tests green (REFACTOR) 6. **Validation:** All tests pass after each cycle --- ## Tools | Tool | Purpose | Usage | |------|---------|-------| | `test_generator.py` | Generate test cases from code/requirements | `python scripts/test_generator.py...
# TDD Guide - Test Driven Development Skill **Version**: 1.0.0 **Last Updated**: November 5, 2025 **Author**: Claude Skills Factory A comprehensive Test Driven Development skill for Claude Code that provides intelligent test generation, coverage analysis, framework integration, and TDD workflow guidance across multiple languages and testing frameworks. ## Table of Contents - [Overview](#overview) - [Features](#features) - [Installation](#installation) - [Quick Start](#quick-start) - [Python Modules](#python-modules) - [Usage Examples](#usage-examples) - [Configuration](#configuration) - [Supported Frameworks](#supported-frameworks) - [Output Formats](#output-formats) - [Best Practices](#best-practices) - [Troubleshooting](#troubleshooting) - [Contributing](#contributing) - [License](#license) ## Overview The TDD Guide skill transforms how engineering teams implement Test Driven Development by providing: - **Intelligent Test Generation**: Convert requirements into executable test cases - **Coverage Analysis**: Parse LCOV, JSON, XML reports and identify gaps - **Multi-Framework Support**: Jest, Pytest, JUnit, Vitest, and more - **TDD Workflow Guidance**: Step-by-step red-green-refactor guidance - **Quality Metrics**: Comprehensive test and code quality analysis - **Context-Aware Output**: Optimized for Desktop, CLI, or API usage ## Features ### Test Generation (3 capabilities) 1. **Generate Test Cases from Requirements** - User stories → Test cases 2. **Create Test Stubs** - Proper scaffolding with framework patterns 3. **Generate Test Fixtures** - Realistic test data and boundary values ### TDD Workflow (3 capabilities) 1. **Red-Green-Refactor Guidance** - Phase-by-phase validation 2. **Suggest Missing Scenarios** - Identify untested edge cases 3. **Review Test Quality** - Isolation, assertions, naming analysis ### Coverage & Metrics (6 categories) 1. **Test Coverage** - Line/branch/function with gap analysis 2. **Code Complexity** - Cyclomatic/cognitive c...
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
OpenClaw Skill for stock data analysis
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.