Guide accessibility reviews for UI, documents, and workflows. Use for WCAG-oriented audits, keyboard review, semantics, contrast, and remediation planning.
中文简介正在准备中。当前显示原文说明。
Use when following a test-driven development workflow with test generation, coverage analysis, and multi-framework support.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Test-driven development skill for generating unit, integration, and E2E scaffolds; analyzing coverage; and guiding evidence-backed red-green-refactor workflows across Jest, Vitest, Pytest, JUnit, Mocha, and Jasmine adapters.
| Capability | Description |
|---|---|
| Test Generation | Convert requirements into distinct unit, integration, or E2E scenarios and templates |
| Coverage Analysis | Parse LCOV, Istanbul JSON, Cobertura XML, and JaCoCo XML; identify applicable gaps |
| TDD Workflow | Guide red-green-refactor cycles with phase-specific execution evidence |
| Framework Adapters | Generate imports, tests, assertions, suites, and setup for every CLI choice |
| Quality Scoring | Count tests without overlap and score assertions, isolation, naming, and smells on 100 points |
| Fixture Generation | Create realistic test data, mocks, and factories |
--test-type unit, integration, or e2e; each choice changes scenarios, execution scope, and template guidance.coverage_analyzer.py with a threshold from 0 through 100.null branch coverage as not applicable for branchless files.status: failed, failure_kind: assertion or expectation, and a non-empty failure_message.Scripts are both importable Python modules and command-line tools. Run examples from the skill root (ls/skills/ls-test-driven-development) or adjust paths for your checkout.
| Tool | Purpose | Usage |
|---|---|---|
test_generator.py | Generate test cases from requirements JSON | python scripts/test_generator.py --input requirements.json --framework pytest --module auth |
coverage_analyzer.py | Parse and analyze coverage reports | python scripts/coverage_analyzer.py --report lcov.info --threshold 80 |
tdd_workflow.py | Guide red-green-refactor cycles | python scripts/tdd_workflow.py --phase red --requirement "user can sign in" |
framework_adapter.py | Generate framework-specific snippets | python scripts/framework_adapter.py --framework pytest --action imports |
fixture_generator.py | Generate test data and mocks | python scripts/fixture_generator.py mock-data --schema-file schema.json --count 5 |
metrics_calculator.py | Calculate test quality metrics | python scripts/metrics_calculator.py --source app.py --tests test_app.py |
format_detector.py | Detect language and framework | python scripts/format_detector.py --file source.ts |
output_formatter.py | Format JSON output for CLI/desktop/API | python scripts/output_formatter.py --kind coverage --input summary.json |
For Test Generation:
unit, integration, or e2eFor Coverage Analysis:
For TDD Workflow:
Use the single authoritative compatibility matrix and upstream sources. Do not copy version floors into secondary references.
| Scope | Details |
|---|---|
| Generated scope | Unit, integration, and E2E outputs are scaffolds; replace placeholders and supply project-specific setup |
| Static analysis | Scripts do not execute tests; callers supply structured execution evidence |
| Language support | Best for TypeScript, JavaScript, Python, and Java |
| Report formats | Native support is LCOV, Istanbul JSON, Cobertura XML, and JaCoCo XML |
| Generated tests | Require human review for domain assertions and complex orchestration |
When to use other tools:
Refresh classification: existing LocalSetup-native TDD coverage remains the target for TDD imports. Do not create a duplicate ls-tdd-skill; route TDD requests here and use ls-write-run-tests for framework-specific commands.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Guide accessibility reviews for UI, documents, and workflows. Use for WCAG-oriented audits, keyboard review, semantics, contrast, and remediation planning.
中文简介正在准备中。当前显示原文说明。
Use when choosing a LocalSetup Agent-* lane for exploration, research, bounded implementation, or review. Consult the static capability matrix; do not probe account or network availability.
中文简介正在准备中。当前显示原文说明。
Guide agent email inbox workflows with prompt-injection defenses. Use for inbound email processing, webhooks, routing, and safety review.
中文简介正在准备中。当前显示原文说明。
Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.
中文简介正在准备中。当前显示原文说明。
Use for Agent Q signed encrypted file-drop or mail ship and ingest, private registry v2 setup, queue status, and transport maintenance.
中文简介正在准备中。当前显示原文说明。
Inventory wrapper for the alirezarezvani Claude skills bundle. Use when triaging its broad skill catalog and large script surface before any targeted import.
中文简介正在准备中。当前显示原文说明。