Drupal TDD Skill — AI skill for Claude Code
Provider-agnostic AI skill: TDD Workflow for Drupal — works with Cursor, Claude Code, Cline, Copilot, and any AI assistant.
How to install Drupal TDD Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open revagomes/drupal-tdd-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Drupal TDD Skill does
Provider-agnostic AI skill: TDD Workflow for Drupal — works with Cursor, Claude Code, Cline, Copilot, and any AI assistant.
Alternatives in AI
- Registry Broker Skills — AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols 410 ★
- AI Toolkit — Professional-grade AI coding toolkit: 94 skills, 44 agents, multi-platform (Claude, Cursor, Windsurf, Copilot 167 ★
- Rails AI Context — 45 MCP tools that give AI coding agents ground truth about your Rails app: schema, models, routes, controllers 155 ★
README
drupal-tdd-skill
A provider-agnostic AI skill that enforces Test-Driven Development for Drupal module development. Works with Cursor, Claude Code, Cline, Copilot, and any AI assistant that supports custom instructions or skills.
What it does
A single `SKILL.md` file that gives any AI agent expertise in:
- TDD cycle — Red-Green-Refactor with hard rules that prevent production code without a failing test
- Test type selection — When to use Unit vs Kernel vs Functional vs Behat
- Drupal mocking patterns — Services, entities, config, logger, HTTP client
- Quality gates — Coverage thresholds, complexity limits, pre-commit checklist
Install
Kiro CLI / Kiro IDE
Copy `SKILL.md` into your project's skills directory:
mkdir -p .kiro/skills/drupal-tdd
cp SKILL.md .kiro/skills/drupal-tdd/SKILL.md
Cursor
Add the contents of `SKILL.md` to your `.cursorrules` file or project rules.
Claude Code
Add `SKILL.md` as a project-level instruction file (`CLAUDE.md` or equivalent).
Cline / Roo Code
Add the contents to your `.clinerules` or system prompt configuration.
Any other tool
The skill is plain Markdown. Paste it into your tool's custom instructions, system prompt, or rules file.
Usage
Once installed, trigger the skill by mentioning:
"write a test for", "add tests to", "TDD", "test this service", "unit test", "kernel test", "mock this", "test coverage"
The agent will follow the TDD cycle, choose the correct Drupal test type, apply proper mocking patterns, and enforce quality gates.
Related
- kiro-power-drupal-tdd — Kiro IDE Power version with dynamic context loading
License
MIT
Related Skills
Orchy
Runtime-agnostic multi-agent orchestration skill for AI coding agents (Claude Code, Antigravity, Cursor, Codex
Payo
Generate project-tailored AI assistant rules & skills (CLAUDE.md, .cursorrules, Copilot instructions, AGENTS.m
Inblog AI Skills
AI coding assistant skills for inblog.ai — works with Claude Code, Cursor, Copilot, and more
Purchasely AI Plugin
AI coding assistant plugin for Purchasely SDK integration — works with Claude Code, Cursor, Copilot, Windsurf,
Base Harness
A minimal, reliable, provider-agnostic AI agent harness in TypeScript — the agentic loop, tools, permissions,
AI Assistant Instructions
A comprehensive, vendor-agnostic framework for consistent AI-assisted development workflows - standardized ins
Related Agents
Pi Implementer
Implementation lane driven by the pi CLI (a local multi-provider coding agent, distinct from omp). Model-agnos
Invariant Catcher
Hunts for vulnerability patterns in smart contract codebases using Horus (DB/). Language-agnostic — works with
Copilot Assistant
GitHub Copilot coding agent onboarding specialist. Use PROACTIVELY when