Write Tests
技能 已验证 活跃Systematically add test coverage for all local code changes using specialized review and development agents. Add tests for uncommitted changes (including untracked files), or if everything is commited, then will cover latest commit.
To ensure comprehensive test coverage for all critical business logic in local code changes, thereby improving code quality and reducing regressions.
功能
- Adds tests for uncommitted and untracked files.
- Covers latest commit if all changes are already committed.
- Orchestrates specialized review and development agents for test creation.
- Analyzes code complexity to determine agent orchestration vs. direct test writing.
- Verifies test coverage and iterates until critical logic is covered.
使用场景
- When implementing new features and needing to ensure they are adequately tested.
- After refactoring existing code to add tests for the modified logic.
- To improve overall test coverage of a codebase incrementally.
- As part of a CI/CD pipeline to automatically generate tests for developer changes.
非目标
- Modifying existing tests.
- Writing tests for code changes that are not local.
- Achieving 100% line coverage for every single line of code.
- Replacing human judgment entirely; it's an augmentation tool.
工作流
- Read sadd skill if available.
- Discover test infrastructure (read README/package.json, identify test commands, understand conventions).
- Run all tests to establish baseline.
- Analyze local changes: git status, filter non-code files, launch agents per file for complexity analysis.
- If single file and simple change: Read TDD skill, understand file logic, review existing tests, add cases, create tests, run tests, iterate.
- If multiple files or complex change: Launch `review:test-coverage-reviewer` agents per file (parallel) for coverage reports, then launch `developer` agents per file for test creation.
- Verify coverage using `review:test-coverage-reviewer` agents, iterating if gaps are found.
- Final verification: run full test suite, generate coverage report, verify no regressions.
实践
- Test-Driven Development
- Code Quality
- Agent Orchestration
先决条件
- Git installed and configured.
- Access to a suitable AI model for agent execution (e.g., Sonnet or Opus models mentioned in SKILL.md).
Practical Utility
- info:Usage examplesWhile the SKILL.md outlines the workflow and agent interactions, concrete end-to-end examples with inputs and observable outputs are not explicitly provided.
安装
请先添加 Marketplace
/plugin marketplace add NeoLabHQ/context-engineering-kit/plugin install tdd@context-engineering-kit质量评分
已验证类似扩展
Telegram Crabbox E2e Proof
100Use when reviewing, reproducing, or proving OpenClaw Telegram behavior with a real Telegram user on Crabbox, including PR review workflows that need an agent-controlled Telegram Desktop recording, TDLib user-driver commands, Convex-leased credentials, WebVNC observation, and motion-trimmed artifacts.
Openclaw Testing
100Choose, run, rerun, or debug OpenClaw tests, CI checks, Docker E2E lanes, release validation, and the cheapest safe verification path.
Agent Browser
100AI 代理的浏览器自动化 CLI。当用户需要与网站交互时使用,包括浏览页面、填写表单、点击按钮、截屏、提取数据、测试 Web 应用或自动化任何浏览器任务。触发条件包括请求“打开网站”、“填表”、“点击按钮”、“截屏”、“抓取页面数据”、“测试此 Web 应用”、“登录网站”、“自动化浏览器操作”或任何需要以编程方式进行 Web 交互的任务。
Ops Yolo
100YOLO mode. Spawns 4 parallel C-suite agents (CEO, CTO, CFO, COO). Each analyzes the business from their perspective using ALL available data. Produces unfiltered Hard Truths report. After user types YOLO, autonomously runs the business for a day using /loop.
Project Session Manager
100Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions
Public Google Drive
100无需 OAuth 即可创建公开的 Google Docs 或 Google Sheet 文件。使用此技能创建和编辑 Google Docs 和 Sheets,无需登录 Google。文档可通过共享链接查看。首次使用时自动注册。