Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when creating a Laravel/PHP DTO with the SimpleDto base class and attribute mapping. For DTOs in other stacks, use the stack-native skill (TypeScript, Python, Rust, Go).
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this skill when creating a new DTO for data transfer between layers (DB ↔ PHP, API ↔ Service, etc.).
agents/reference/docs/dto.md (if it exists) for project-specific conventions.SimpleDto, LiteDto, or a custom base).
Check composer.json for DTO-related packages.SimpleDto or LiteDto).#[Map('db_column')] attributes to map between DB column names and PHP properties.camelCase, English names.snake_case, may be German (legacy) — match what's in the database.int, string, float, bool, Carbon, etc.).#[Length(50)], #[Email], #[Decimal(10,2)], #[Unsigned].#[ConvertEmptyToNull] at class level if empty strings should become null.#[HasModel(ModelClass::class)] on the DTO.#[HasDto(DtoClass::class)] and DtoMappingTrait on the Model (if not already present).<?php
declare(strict_types=1);
namespace App\DTO;
use Vendor\DataHelpers\SimpleDto;
use Vendor\DataHelpers\SimpleDto\Attributes\HasModel;
use Vendor\DataHelpers\SimpleDto\Attributes\Map;
#[HasModel(MyModel::class)]
class MyModelDto extends SimpleDto
{
#[Map('id_column')]
public ?int $id = null;
#[Map('name_column')]
public string $name = '';
#[Map('amount_column')]
public float $amount = 0.0;
}
The DTO pattern varies by project:
agents/reference/docs/dto.md for full details (if it exists).readonly classes, others have custom base classes.Always check composer.json for DTO-related packages before choosing the approach.
Math helper for any calculated properties — never raw PHP arithmetic.declare(strict_types=1) in every new file.SimpleDto — don't create plain PHP classes as DTOs.$modelClass) when the DTO maps to an Eloquent model.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.
日本語の概要は準備中です。原文の説明を表示しています。
Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.
日本語の概要は準備中です。原文の説明を表示しています。
Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.
日本語の概要は準備中です。原文の説明を表示しています。
Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.
日本語の概要は準備中です。原文の説明を表示しています。