Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

tdd-workflow

Skill by devrev

Guides test-driven development for the Meerkat SDK, which translates Cube queries to DuckDB. Covers Jest with @swc/jest, Nx test commands, and assertions on generated SQL. Aimed at developers writing filter transformers and AST builders.

  • Score 65
  • 60 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install tdd-workflow

Built from the published package, never by AI.

git clone --depth 1 https://github.com/devrev/meerkat /tmp/meerkat && mkdir -p ~/.claude/skills && cp -r /tmp/meerkat/.claude/skills/tdd-workflow ~/.claude/skills/tdd-workflow

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install tdd-workflow in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill sets out a test-driven development workflow for the Meerkat SDK, which translates Cube queries to DuckDB. It says to write tests before code, then implement, run the tests, refactor and check coverage. The minimum coverage target is 80 percent, and edge cases such as null values, empty arrays, special characters and nested dot-separated fields should be tested.

It shows Jest test examples built with @swc/jest in an Nx monorepo, including filter transformer and AST builder tests. Tests should assert on generated SQL strings rather than internal nodes. Commands cover a single project, all projects, watch mode and coverage runs. It is aimed at developers writing filter operators, fixing SQL generation bugs or refactoring AST builder logic.

Written from the project's SKILL.md and checked against it.

What it can do

  • Test-first stepsSix-step loop from writing failing tests to refactoring with passing tests.
  • Filter transformer testsExample Jest specs for equals and notEquals filter transformers.
  • AST structure testsExample spec checking a compare node built by the AST builder.
  • SQL output assertionsGuides asserting on generated SQL strings instead of internal AST nodes.
  • Test file layoutShows the __tests__ folder layout under packages/meerkat-core.
  • Running testsNx commands for single project, all projects, watch mode and coverage.

What you need

  • Meerkat SDK codebase with packages/meerkat-core
  • Jest with @swc/jest
  • Nx monorepo

Try asking

  • Write failing Jest tests for a new notEquals filter in meerkat-core
  • Show me how to run meerkat-core tests with coverage using Nx
  • Add a regression test for a SQL generation bug in the AST builder

Good to know

  • Written for the Meerkat SDK project layout and commands.
  • Origin is noted as ECC, optimized for Meerkat.
  • Examples use placeholder test code rather than the full SDK implementation.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/tdd-workflow/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to tdd-workflow

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

tdd-workflow: common questions

What does the Meerkat SDK do?

The source describes Meerkat as an SDK for Cube-to-DuckDB query translation.

Which test tools does this workflow use?

It uses Jest with @swc/jest in an Nx monorepo, run through npx nx test commands.

Does this workflow require writing tests first?

Yes. The skill says to always write tests first, then implement code to make them pass.

How do I install tdd-workflow?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is tdd-workflow free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is tdd-workflow safe to use?

It scores 65 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to tdd-workflow?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

tdd-workflow Install

Add to stack

Loading.