daa-generate

daa-generate is a skill for Claude Code from gigayaya/DAA-Master. It costs 29 tokens per session (921 once invoked), scanned A, original, Apache-2.0.

A code-generation guide for end-to-end tests that follow Declarative Action Architecture (DAA). DAA separates test descriptions, business actions, and browser or API operations into three layers.

In plain words
What is it for?
Use it to write or generate end-to-end tests, action-layer code, physical-layer code, and the structure connecting them.
Why use it?
It reduces the chance that generated tests mix test logic with implementation details or place code in the wrong layer. The guide also checks the generated code and fixes rule violations before presenting it.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the DAA-Master plugin — 5 skills shipped together

Good fit Use it to write or generate end-to-end tests, action-layer code, physical-layer code, and the structure connecting them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gigayaya/daa-master/daa-generate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gigayaya/DAA-Master --skill daa-generate
Clone the repo
git clone --depth 1 https://github.com/gigayaya/DAA-Master

Made for: Claude Code.

Or install DAA-Master, the plugin that ships this one along with the rest of its 5 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for daa-generate

README.md
[![agentmods](https://agentmods.dev/badge/skills/gigayaya/daa-master/daa-generate.svg)](https://agentmods.dev/skills/gigayaya/daa-master/daa-generate)
Your own site
<a href="https://agentmods.dev/skills/gigayaya/daa-master/daa-generate"><img src="https://agentmods.dev/badge/skills/gigayaya/daa-master/daa-generate.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 921 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.00921
Opus 5 $0.00015 $0.00461
Sonnet 5 $0.00006 $0.00184
Haiku 4.5 $0.00003 $0.00092

Measured 7d ago against content hash 86ec36070a75, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

daa-generate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/DAA-Master/skills/daa-generate/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DAA Code Generator

REQUIRED BACKGROUND: You MUST understand daa:daa-core before using this skill.

Overview

When generating E2E test automation code, follow the Declarative Action Architecture strictly. Every piece of code you write belongs to exactly ONE of the three layers, and must follow that layer's rules.

Generation Process

digraph generation {
    rankdir=TB;
    "Identify target layer" [shape=box];
    "Read layer-specific rules" [shape=box];
    "Generate code" [shape=box];
    "Run pre-output checklist" [shape=diamond];
    "Output code" [shape=doublecircle];
    "Fix violations" [shape=box];

    "Identify target layer" -> "Read layer-specific rules";
    "Read layer-specific rules" -> "Generate code";
    "Generate code" -> "Run pre-output checklist";
    "Run pre-output checklist" -> "Output code" [label="all pass"];
    "Run pre-output checklist" -> "Fix violations" [label="violation found"];
    "Fix violations" -> "Run pre-output checklist";
}

Quick Rules Per Layer

Test Layer

  • ZERO logic: No if, for, while, try/catch
  • ZERO assertions: All verification is inside Action methods
  • ZERO direct calls: No HTTP requests, no WebDriver, no database
  • Test methods call ONLY Action Layer methods
  • Test class inherits from or composes the Action Layer
// Test Layer — pure declarative
test_guest_checkout_journey():
    navigate_to_home_and_verify_title()
    search_for_product_and_verify_results_not_empty("MacBook Air")
    add_first_result_to_cart_and_verify_toast()
    navigate_to_cart_and_verify_page()
    click_checkout_and_verify_login_prompt()

→ Full generation rules: test-layer.md

Action Layer

  • Every method MUST self-verify (built-in assertion)
  • Delegates system interaction to Physical Layer — no direct calls
  • Atomic Actions (Level 1): single operation + verify
  • Composite Actions (Level 2): orchestrate multiple Atomics
  • Use semantic long names: verb_object_and_verify_outcome

Read the full file on GitHub · 117 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 117 lines · 29 tokens per session scan A 86ec36070a75

Subscribe to this mod's changes

daa-generate is a skill published in the GitHub repository gigayaya/DAA-Master (1 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 29 tokens to every session and 921 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

run-smoke-tests

Inspect an unfamiliar repository, interpret a broad Markdown user journey at runtime, operate the real product through its supported web, API, CLI, desktop, or mobile surface, and produce an auditable pass, fail, or blocked judgment with screenshots, logs, recordings, and a step timeline when available. Use when asked…

tamdogood/builder-essential-skills · 122 tokens

test-review

A review checklist for newly written or changed automated tests using TypeScript and Playwright. Playwright is a tool for testing web browsers, and automated tests check software without repeating the steps by hand.

akovalion/paranoid-qa · 119 tokens

test-strategy-document

Create a production-ready Testing Strategy and QA Execution Plan. Covers testing levels (unit, integration, E2E, performance), mocking boundaries, test environment matrix, code coverage thresholds, and automated CI pipeline runsheets. Use when establishing a QA framework for a new system or feature set.

fattain-naime/engineering-docs · 62 tokens

xcode-testing-workflow

Guide Swift Testing, XCTest, XCUITest, XCUIAutomation-oriented mechanics, code coverage, xctestplan matrices, accessibility-verification follow-through, test filtering, retries, diagnostics, and test-specific fallback work in existing Xcode-managed projects and workspaces. Use when Xcode-aware execution is needed and…

gaelic-ghost/socket · 81 tokens

evaluating-as-user

Evaluates software quality from an end user's perspective. Use when emulating a real user to assess a running web app, CLI tool, or API.

isvlasov/rageatc-oss · 35 tokens

test-selection

Use this skill when someone describes a specific code path, feature, or bug and asks what kind of test to write for it — or when an audit or strategy engagement surfaces a testing gap and needs a recommendation for where to start. Trigger on "what test should I write for this", "unit or integration test for X", "our…

EmanueleMinotto/minottobot · 108 tokens