Skip to main content

Write Tests

Skill Verified Active
Part of:Tdd

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.

Purpose

To ensure comprehensive test coverage for all critical business logic in local code changes, thereby improving code quality and reducing regressions.

Features

  • 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.

Use Cases

  • 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.

Non-Goals

  • 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.

Workflow

  1. Read sadd skill if available.
  2. Discover test infrastructure (read README/package.json, identify test commands, understand conventions).
  3. Run all tests to establish baseline.
  4. Analyze local changes: git status, filter non-code files, launch agents per file for complexity analysis.
  5. If single file and simple change: Read TDD skill, understand file logic, review existing tests, add cases, create tests, run tests, iterate.
  6. 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.
  7. Verify coverage using `review:test-coverage-reviewer` agents, iterating if gaps are found.
  8. Final verification: run full test suite, generate coverage report, verify no regressions.

Practices

  • Test-Driven Development
  • Code Quality
  • Agent Orchestration

Prerequisites

  • 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.

Installation

First, add the marketplace

/plugin marketplace add NeoLabHQ/context-engineering-kit
/plugin install tdd@context-engineering-kit

Quality Score

Verified
98 /100
Analyzed about 24 hours ago

Trust Signals

Last commit9 days ago
Stars993
LicenseGPL-3.0-or-later
Status
View Source

Similar Extensions

Telegram Crabbox E2e Proof

100

Use 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.

Skill
steipete

Openclaw Testing

100

Choose, run, rerun, or debug OpenClaw tests, CI checks, Docker E2E lanes, release validation, and the cheapest safe verification path.

Skill
steipete

Agent Browser

100

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

Skill
shanraisshan

Ops Yolo

100

YOLO 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.

Skill
Lifecycle-Innovations-Limited

Project Session Manager

100

Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions

Skill
Yeachan-Heo

Public Google Drive

100

Create public Google Docs or Google Sheet files without requiring OAuth. Use this skill to create and edit Google Docs and Sheets, no Google sign-in required. Documents are viewable at shareable links. Registration is automatic on first use.

Skill
zagmoai

© 2025 SkillRepo · Find the right skill, skip the noise.