DAA Claude Plugin
Learn and implement the Declarative Action Architecture (DAA) for E2E automation testing.
DAA Claude Plugin
A Claude Code skills plugin that teaches the Declarative Action Architecture (DAA) ā a strict three-layer separation pattern for E2E automation testing.
What is DAA?
Declarative Action Architecture (DAA) is a scalable design pattern for E2E automation testing framework that ensures reliability and clarity. For a deep dive into its philosophy and design, check out the original article:
š Declarative Action Architecture: A Scalable Pattern for E2E Automation
DAA enforces that tests are declarative, actions are self-verifying, and physical interactions are pure execution. This eliminates false positives and maximizes test maintainability.
Test Layer ā "What" the user does (100% declarative, zero logic)
Action Layer ā "How" it's done + verification (every action self-verifies its success)
Physical Layer ā The mechanism (thin wrapper around HTTP client, Playwright, etc.)
Dependencies flow strictly downward: Test ā Action ā Physical. Layer skipping is never allowed.
Included Skills
| Skill | Description |
|---|---|
daa-core | Foundational principles, naming conventions (verb_object_and_verify_outcome), and anti-pattern catalog (AP-1 through AP-8) |
daa-generate | Code generation rules per layer with a pre-output checklist to enforce DAA compliance |
daa-review | 38-item code review checklist with severity classification (CRITICAL / WARNING / SUGGESTION) and structured report format |
daa-architect | Project scaffolding templates, scaling patterns (Builder, Adapter, Strategy, Chain), and POM-to-DAA migration guide |
daa-install | Installs DAA knowledge base (docs/daa_rules/) into a project and updates CLAUDE.md, AGENTS.md, README.md with DAA rule pointers |
Installation
/plugin marketplace add https://github.com/gigayaya/DAA-Master
/plugin install DAA-Master@DAA_Master
Usage
Once installed, the skills activate automatically based on context. You can also invoke them directly:
- Install DAA into a project: Use
daa:daa-installto add DAA rules and knowledge base to your project - Generate test code: Ask Claude to write E2E tests and it will follow DAA layer rules
- Review existing tests: Ask Claude to review your test code for DAA compliance
- Scaffold a project: Ask Claude to design a test automation framework structure
- Learn DAA: Ask Claude about DAA principles, naming conventions, or anti-patterns
Project Structure
skills/
āāā daa-core/
ā āāā SKILL.md # Core DAA principles
ā āāā naming-conventions.md # verb_object_and_verify_outcome pattern
ā āāā anti-patterns.md # AP-1 through AP-8 violation catalog
āāā daa-generate/
ā āāā SKILL.md # Code generation overview + checklist
ā āāā test-layer.md # Test Layer generation rules
ā āāā action-layer.md # Action Layer generation rules
ā āāā physical-layer.md # Physical Layer generation rules
āāā daa-review/
ā āāā SKILL.md # Review process overview
ā āāā checklist.md # 38-item review checklist (TL/AL/PL/CL codes)
ā āāā scoring.md # DAA Score (1-10) rubric and report template
ā āāā severity-guide.md # CRITICAL/WARNING/SUGGESTION classification
āāā daa-architect/
ā āāā SKILL.md # Framework design overview
ā āāā project-scaffold.md # Directory structure templates
ā āāā scaling-patterns.md # Builder, Adapter, Strategy, Chain patterns
āāā daa-install/
āāā SKILL.md # Installation procedure
āāā templates/ # Content templates for target project
āāā claude-md-section.md
āāā agents-md-section.md
āāā readme-md-section.md
āāā docs-daa-rules/ # Knowledge base files (7 files)