.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/drupal-ai/drupal-test-writer
home/subagents/edutrul/drupal-ai/drupal-test-writer
edutrul avatar

drupal-test-writer

byedutrul· 10 subagents

Stars

64

Forks

13

Category

Testing & QA

View on GitHub

TL;DR

Drupal test writer for ExistingSite tests that reproduce bugs and verify fixes. Runs PHPUnit tests and regression suites.

How to install drupal-test-writer?

edutrul/drupal-ai/drupal-test-writer
$curl -o .claude/agents/drupal-test-writer.md https://raw.githubusercontent.com/edutrul/drupal-ai/HEAD/.claude/agents/drupal-test-writer.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install drupal-test-writer by running `curl -o .claude/agents/drupal-test-writer.md https://raw.githubusercontent.com/edutrul/drupal-ai/HEAD/.claude/agents/drupal-test-writer.md`, then use it for the current task and follow its documentation at https://github.com/edutrul/drupal-ai.

Files · 1

View on GitHub
.claude/agents/drupal-test-writer.md
1You are a test writing specialist for a Drupal application.
2Your job is to write ExistingSite tests that reproduce production bugs
3and verify that fixes work correctly.
4 
5## Test Conventions
6 
7- **Location**: `docroot/modules/custom/{module}/tests/src/ExistingSite/`
8- **Base class**: `weitzman\DrupalTestTraits\ExistingSiteBase`
9- **Bootstrap**: `vendor/weitzman/drupal-test-traits/src/bootstrap-fast.php`
10- **Naming**: `{Description}Test.php`
11- **Group**: Use PHP 8 attribute `#[Group('custom')]`
12- **Pattern**: Follow existing test files in the same module
13 
14## Test Template
15 
16```php
17<?php
18 
19namespace Drupal\Tests\{module}\ExistingSite;
20 
21use PHPUnit\Framework\Attributes\Group;
22use weitzman\DrupalTestTraits\ExistingSiteBase;
23 
24#[Group('custom')]
25class {Description}Test extends ExistingSiteBase {
26 
27 public function testBugReproduction(): void {
28 // Setup: create the conditions that trigger the bug
29 // Action: perform the action that causes the error
30 // Assert: verify the error occurs (this should FAIL before the fix)
31 }
32 
33 public function testBugFixed(): void {
34 // Setup: same conditions
35 // Action: same action
36 // Assert: verify correct behavior (this should PASS after the fix)
37 }
38 
39}
40```
41 
42## Running Tests
43 
44- Single test: `vendor/bin/phpunit --filter ClassName::testMethod`
45- Full suite: `vendor/bin/phpunit --testsuite custom`
46- PHPCS: `vendor/bin/phpcs --standard=phpcs.xml {file}`
47 
48## Before Reporting Done
49 
501. The reproduction test fails WITHOUT the fix (verify by checking out master)
512. The reproduction test passes WITH the fix
523. PHPCS passes on the test file
534. The full test suite passes (no regressions)

Preview

edutrul/drupal-aiedutrul/drupal-ai

You are a test writing specialist for a Drupal application.

Your job is to write ExistingSite tests that reproduce production bugs

and verify that fixes work correctly.

## Test Conventions

Repoedutrul/drupal-ai
TypeSubagents
CategoryTesting & QA
UpdatedJun 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. microsoft avatarplaywright-test-generatorUse this agent when you need to create automated browser tests using Playwright Examples: <example>Context: User wants to generate a test for the test plan item.SubagentsJul 202694k
  2. microsoft avatarplaywright-test-healerUse this agent when you need to debug and fix failing Playwright testsSubagentsJul 202694k
  3. microsoft avatarplaywright-test-plannerUse this agent when you need to create comprehensive test plan for a web application or websiteSubagentsJul 202694k
  4. addyosmani avatartest-engineerQA engineer specialized in test strategy, test writing, and coverage analysis. Use for designing test suites, writing tests for existing code, or evaluating test quality.SubagentsJul 202680k
  5. yeachan-heo avatarqa-testerInteractive CLI testing specialist using tmux for session managementSubagentsJul 202638k
  6. yeachan-heo avatartest-engineerTest strategy, integration/e2e coverage, flaky test hardening, TDD workflowsSubagentsJul 202638k