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 or editing a guideline in docs/guidelines/ — reference material cited by skills, no auto-triggers — even when the user just says 'write up our naming conventions'.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
docs/guidelines/{topic}/{name}.mdDo NOT use this skill when:
rule-writingskill-writingcommand-writing| Intent | Artifact |
|---|---|
| "Here is knowledge skills and rules may cite" | Guideline |
| "Agent must always / never do X" | Rule |
| "When Y happens, run these steps" | Skill |
A guideline is reference material. It is never a trigger. It has no
description used for routing — skills and rules link to it.
Creating or materially rewriting a guideline must go through Understand
→ Research → Draft from the
artifact-drafting-protocol rule.
docs/guidelines/ for overlap and grep
src/ for pages that already cover the topic.
Analyze 1–2 peer guidelines in the same topic folder for tone.Folders under docs/guidelines/:
| Folder | Contents |
|---|---|
agent-infra/ | Cross-cutting agent-system knowledge (naming, size, output patterns) |
php/ | PHP-specific reference (patterns, services, jobs, resources) |
e2e/ | End-to-end testing patterns |
If none fits, ask the user before creating a new folder.
Guidelines use a minimal frontmatter — no type, no auto-trigger semantics.
---
description: "Short human-readable summary — cited by skills, not used for routing"
source: package # or project for consumer-local guidelines
---
If you do want to polish the description for a guideline whose summary
gets surfaced to agents, delegate to the
description-assist skill — same
approval-gated flow as for skills and rules.
# heading that matches the filename.A guideline is useless if nothing cites it. Before closing the task:
→ See 'docs/guidelines/{topic}/{name}.md' for full X.preservation-guard.)Guidelines have more room than rules but are not dumping grounds.
| Category | Target |
|---|---|
| Ideal | ≤ 200 lines |
| Acceptable | ≤ 400 lines |
| Split signal | > 500 lines |
Above the split signal, break by sub-topic into sibling files in the same folder.
./scripts-run src/scripts/skill_linter docs/guidelines/{topic}/{name}.md
→ 0 FAIL (guidelines have relaxed linting but must still parse).bash scripts/condense.sh --sync → projects updates../scripts-run src/scripts/check_references → no broken links.Taskfile.yml in this repo for
the script list) — must exit 0 except for tolerated warnings.docs/guidelines/{topic}/{name}.mdcheck_references.ts cleanbash scripts/condense.sh --sync confirmationpreservation-guard).Apply the Frugality Charter to every guideline you author.
Examples in this artifact:
Pre-save self-check:
type: or alwaysApply: to the frontmatter.agent-src.uncondensed/guidelines/ — relocated to docs/guidelines/On cloud surfaces (Claude.ai Web, Skills API) the package's
scripts/check_references.ts, scripts/skill_linter.ts, and task
runner are not reachable. The skill still applies — with prose-only
validation:
description only, no type, no
alwaysApply.docs/guidelines/{topic}/{name}.md and run
task sync && task lint-skills && task check-refs locally before
committing.Good guideline name + description:
Path:
docs/guidelines/agent-infra/size-and-scope.mdDescription: "Golden size rules for rules, skills, commands, and guidelines"
Bad:
Path: guidelines/stuff (no topic folder, meaningless stem) Description: "Things to know"
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
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.
日本語の概要は準備中です。原文の説明を表示しています。