Overview
- Skill Key
- alirezarezvani/tdd-guide
- Author
- alirezarezvani
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/alirezarezvani/tdd-guide
- Latest Commit SHA
- 0fe56fa5bdd718f7a4d9631c4364020206213198
Test-driven development workflow with test generation, coverage analysis, and multi-framework support
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 tdd-guide 技能。 若已安装,则直接安装 tdd-guide 技能。
# 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...
heyixuan2
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 pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
openstockdata
OpenClaw Skill for stock data analysis
capt-marbles
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 discoverability and citation.
camopel
Free multi-engine web search via ddgs CLI (DuckDuckGo, Google, Bing, Brave, Yandex, Yahoo, Wikipedia) + arXiv API search. No API keys required. Use when user needs web search, research paper discovery, or when other skills need a search backend. Drop-in replacement for web-search-plus.
camopel
Local arXiv paper manager with semantic search. Crawls arXiv categories, downloads PDFs, chunks content, and indexes with FAISS + Ollama embeddings. No cloud API keys required — everything runs locally.
camohiddendj
DuckDuckGo HTML search scraper CLI with JSON, CSV, OpenSearch, markdown, and compact outputs.