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 documenting APIs — OpenAPI/Swagger, PHP attributes, Redocly validation, versioned specs — even when the user just says 'document this endpoint' without naming OpenAPI.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this skill when adding or updating API documentation, writing OpenAPI annotations on controllers, or validating API specs.
agents/reference/docs/controller.md for OpenAPI patterns, agents/settings/contexts/api-versioning.md for versioning, and check 2-3 existing controllers for annotation style.composer.json for l5-swagger or laravel-openapi, look for @OA\ vs #[OA\ syntax in existing controllers, find the config file.#[OA\...] attributes to the controller method. Include path, summary, tags, all parameters, and all response codes (200, 401, 403, 404, 422).#[OA\Schema] for request/response types. Use $ref for shared types.npx @redocly/cli lint or php artisan l5-swagger:generate). Fix any errors.Check the project for OpenAPI tooling:
darkaonline/l5-swagger or vyuldashev/laravel-openapi in composer.json.@OA\ or #[OA\ annotations in controllers.config/l5-swagger.php or similar config files.Modern Laravel projects use PHP 8 attributes instead of docblock annotations:
#[OA\Get(
path: '/projects',
summary: 'List all projects',
tags: ['Projects'],
parameters: [
new OA\Parameter(
name: 'page',
in: 'query',
required: false,
schema: new OA\Schema(type: 'integer'),
),
],
responses: [
new OA\Response(
response: 200,
description: 'Successful operation',
),
],
)]
public function __invoke(ListProjectsRequest $request): ProjectCollection
{
// ...
}
http://host/api/v1,
then path: '/projects' resolves to /api/v1/projects. Never repeat the server prefix in the path.Projects, Users).$ref) for reusable types.Define reusable schemas for API Resources:
#[OA\Schema(
schema: 'Project',
properties: [
new OA\Property(property: 'id', type: 'integer'),
new OA\Property(property: 'name', type: 'string'),
new OA\Property(property: 'status', type: 'string', enum: ['active', 'archived']),
],
)]
Document paginated responses with meta and links:
#[OA\Response(
response: 200,
description: 'Paginated list',
content: new OA\JsonContent(
properties: [
new OA\Property(property: 'data', type: 'array', items: new OA\Items(ref: '#/components/schemas/Project')),
new OA\Property(property: 'meta', ref: '#/components/schemas/PaginationMeta'),
],
),
)]
If the project uses Redocly for OpenAPI validation:
# Validate the spec
npx @redocly/cli lint openapi.yaml
# Preview documentation
npx @redocly/cli preview-docs openapi.yaml
Check for .redocly.yaml or redocly.yaml config in the project root.
When the API uses URL-based versioning (e.g., /api/v1/, /api/v2/):
deprecated: true.@OA\ annotations when the project uses PHP 8 attributes.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
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.
日本語の概要は準備中です。原文の説明を表示しています。