Use when explaining System V AMD64, ARM AAPCS, RISC-V psABI, stack frames, variadic calls, or FFI register rules. Not for the Rust FFI binding layer: use rust-ffi.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a user wants to define patterns the agent should not do. Don't use for remote, credential, publish, deploy, or irreversible changes.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
| Field | Bound contract |
|---|---|
| Trigger | Human requests that specific agent behavior patterns be documented as prohibited in a structured project document or agent-rule file rather than in AGENTS.md. |
| Authority | Reversible local: writes only the named local artifact; rollback is deleting the written file if it did not exist before and the human has not confirmed it. No remote mutation. |
| Side effect | Local file write: creates or updates one structured project document or agent-rule file that enumerates prohibited agent behavior patterns. |
| Done | A structured artifact exists at the agreed target path and contains at least one prohibited-habit entry with a non-empty name and description, verified by the human. |
docs/prohibited-habits.md for shared project docs; agent-rules/prohibited-habits.yaml for agent-rule locations.Gather prohibited patterns. Ask the human to list each pattern to prohibit. For each, collect: name (short identifier), description (concrete behavior to avoid), consequence (what goes wrong when the agent does this), and optionally category and workaround. If the human cannot supply a concrete description, stop without writing. Done when: every pattern the human listed has a name and a concrete description, and any pattern lacking a description is named as blocked rather than invented.
Confirm target location. Accept the human's specified path, or use docs/prohibited-habits.md for a shared-project location or agent-rules/prohibited-habits.yaml for an agent-rules location. Present the chosen path to the human and wait for confirmation before proceeding. Done when: the human has confirmed or revised the path, and the path is recorded for the write.
Choose format. Use Markdown (*.md) if the target is under docs/ or the human requests it. Use YAML (*.yaml) if the target is under agent-rules/ or multiple agent-rule files already exist in the project. Otherwise default to Markdown. Done when: the format matches the target path extension, or the default is chosen and the path extension agrees with it.
Draft file content. Write the following structure to the confirmed path:
# Prohibited Habits
## <Pattern Name>
**What to avoid:** <concrete description of the behavior>
**When it happens:** <negative consequence of the behavior>
**Workaround:** <alternative or mitigation, if provided>
prohibited_habits:
- name: <short name>
description: <concrete behavior to avoid>
consequence: <what goes wrong>
category: <category, if provided>
workaround: <alternative or mitigation, if provided>
Done when: the drafted content contains one entry per gathered pattern, each entry carries name, description, and consequence, and the structure matches the chosen format.
Write the file. Create or overwrite the confirmed target path with the drafted content. If a pre-existing file at that path contains content the human has not reviewed in this session, stop and report the conflict rather than overwriting silently. Done when: the file exists at the confirmed path and its contents match the draft, or the pre-existing-conflict stop condition fired and no write occurred.
Present to the human. Show the written file path and content. The human confirms acceptance or requests revision. If the human declines to review, report the partial result and stop without claiming done. Done when: the human has confirmed acceptance of the written content, or the human declined to review and the result is recorded as partial.
blocked: non-concrete-description. Do not substitute a generic warning.blocked: unreviewed-file-exists. Do not overwrite.partial: file-written with the file path. The done predicate does not hold until the human confirms acceptance.done: prohibited-habits-documented with the file path. The human confirmed the written artifact. - partial: file-written with the file path. The file was written but the human declined to review. - blocked: non-concrete-description: the human could not describe a prohibited pattern concretely. - blocked: unreviewed-file-exists: a pre-existing file at the target path was not reviewed in this session.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use when explaining System V AMD64, ARM AAPCS, RISC-V psABI, stack frames, variadic calls, or FFI register rules. Not for the Rust FFI binding layer: use rust-ffi.
日本語の概要は準備中です。原文の説明を表示しています。
Use when configuring ADC sampling time, DMA-driven ADC, calibration, or DAC channel setup on bare-metal MCUs. Not for the DMA stream itself: use dma-baremetal.
日本語の概要は準備中です。原文の説明を表示しています。
Use when creating AF_XDP sockets, configuring UMEM and XSK rings, writing an XDP redirect program, or choosing copy versus zero-copy mode. Not for full kernel bypass: use dpdk.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a completed session needs an agent-environment retrospective. Not for an engineering retrospective from telemetry: use engineering-retrospective.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a redacted, trimmed agent transcript must be appended to a GitHub PR or issue body, with human approval and preview. Not for automated or model-initiated insertion.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a repo needs agent setup, AGENTS.md added or made lean, CLAUDE.md audited, or agent instructions scored or pruned. Not for remote, credential, publish, deploy, or irreversible changes.
日本語の概要は準備中です。原文の説明を表示しています。