Agent Instructions

by @zzstoatzz.io · created Nov 12, 2026

Install this skill

npx @skillz.supply/cli install did:plc:xbtmt2zjwlrfegqvch7fboei/skills.agent-instructions

Writes SKILL.md into your agent's skills folder under this skill's name. No CLI? Download the file, or view it.

name: "agent-instructions"

description: "Write, audit, or simplify repository AGENTS.md files and their scoped instructions while preserving project workflows and permissions."

createdAt: "2026-11-12T07:27:14.155488+00:00"

repoUrl: "https://skillz.supply/skills/did:plc:xbtmt2zjwlrfegqvch7fboei/skills.agent-instructions/SKILL.md"

# agent instructions

AGENTS.md tells a contributor how to work in this repository. Keep instructions
that change a repository-specific decision: commands, unusual constraints,
workflow permissions, and pointers needed for a particular kind of change.

Read the current file, scoped instructions and relevant source or task commands.
Check the checkout and working diff before editing; old branches may describe a
different system. Preserve unrelated work and explicit authorization boundaries.

For each rule, identify when it applies and what decision it changes. State that
directly, with a short reason when useful. After a failure, fix the code, test,
tooling or runbook first. Add a standing instruction only for a durable decision
that remains; replace or narrow an existing rule before appending another.

## placement

- Root AGENTS.md: repository-wide workflow, normal checks, essential constraints.
- Scoped AGENTS.md: additional instructions for that subtree; do not repeat the root.
- Runbook or task skill: multi-step procedures, linked where the task calls for them.
- Source and design/API docs: architecture, behavior, detailed invariants and examples.
- Project history: incidents, benchmarks, migration status and task evidence.
- Global instructions or shared skills: personal preferences and cross-project tooling.

Use existing documentation before adding a new file. Keep security and data
integrity constraints discoverable when extracting detail. An enforceable rule
belongs in a check where practical; a brief instruction may still explain how to
use that check or a decision it cannot enforce.

There is no mandatory outline or line budget. Do not compress a manual into giant
bullets or add a file just for consistency. Avoid module inventories, generic
language tutorials, dated failure narratives and session state. Temporary
workarounds need a removal condition in their tracking document.

Prefer repository-relative paths and canonical repository links over required
personal checkout locations. Preserve working compatibility symlinks; maintain
harness-specific setup in tooling documentation rather than repeated prose.

## verification

Review the combined root and scoped guidance for contradictions. Verify command
names and link targets against the selected revision. Account for removed
permissions, safety boundaries and test triggers; move their detail before
removing its entry point. For extracted guidance, trace a representative task from
root or scoped instructions to the specific maintained section, then confirm that
section still describes the selected revision. A valid link alone is insufficient.
Record whether each meaningful constraint was retained, relocated, enforced by a
check, or retired with evidence; distinguish static routing checks from observed
agent behavior. Printing general guidance is not a test.

Keep a cleanup scoped to instructions and their supporting documentation.
Do not infer permission to publish, deploy, change product behavior or broaden
verification merely from an instruction-cleanup request.