ohdearquant/lionagi/tdd

Claude Code and agent skill by ohdearquant/lionagi

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Guide test-driven development workflow. Suggest when: "test first", "TDD", "write tests before", "red green refactor" mentioned, or when implementing features or bug fixes where a test-first approach is beneficial. Enforces Red-Green-Refactor cycle.

Install

npx vskill@latest install ohdearquant/lionagi/tdd

SKILL.md

The same SKILL.md was published earlier as ohdearquant/lionagi/tdd.

TDD Workflow

Orchestrate test-driven development: Red → Green → Refactor.

Activation Triggers

  • "TDD", "test-driven", "test first", "red green refactor"
  • Bug fix where proving the bug first is valuable
  • Feature with clear acceptance criteria
  • "write the test before implementing"

The Cycle

PhaseActionGate
REDWrite failing test expressing desired behaviorRun it — MUST fail. If it passes, it tests nothing new.
GREENWrite minimum code to make the test passRun it — MUST pass. No over-engineering.
REFACTORClean up while staying greenRun ALL tests — MUST pass. Never refactor with failures.
Run commands
bash
# lionagi Python
scripts/ci.sh test-python tests/test_feature.py::test_name # single test
scripts/ci.sh test-python # full suite
scripts/ci.sh test-python-cov # with coverage
# Rust
cargo test test_name -- --nocapture # single test
cargo test --workspace # full workspace

Key Principles

  • Test must fail first: A test that passes before implementation proves nothing
  • Minimal implementation: Don't over-engineer in the GREEN phase
  • Refactor only when green: Never refactor with failing tests
  • Small cycles: Keep each cycle focused on one behavior
  • One behavior per test: Each test verifies one specific behavior
  • Use the project runner: Follow the repository's configured test and CI entry points

Coverage Gates

Meet the repository's configured coverage threshold. Do not substitute generic percentages for project policy.

For lionagi, check with scripts/ci.sh test-python-cov.

See methodology.md for detailed cycle steps, multi-cycle patterns, parallel agent TDD through the plugin's MCP server (fanout.submit), anti-patterns, and lint/quality commands.

Relevant Source Files

  • lionhub/src/lionhub/serve/mcp/server.py, lionhub/src/lionhub/serve/mcp/verbs.py — fanout.submit / agent.submit, the

MCP path for parallel and single-agent TDD sessions

  • lionhub/src/lionhub/serve/cli/orchestrate/fanout.py — li o fanout, the checkout-local equivalent for

parallel workers

  • lionhub/src/lionhub/serve/cli/agent.py — li agent, the checkout-local equivalent for a single-agent

implementation session

  • docs/internals/ci.md — documents the supported Python test, coverage, lint, and format entry point
  • pyproject.toml — project test and Pyright configuration

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
398
Repository forks
76
7-day trend score
30

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ohdearquant/lionagi/tdd/badge)](https://verified-skill.com/skills/ohdearquant/lionagi/tdd)

Something wrong with this skill or its page? Tell us.