onboarding
Trigger context
- the user wants an explicit first-turn onboarding pass for a repository
AGENTS.mdexists but may be too thin, stale, or missing key guidance- the user asks to review, critique, or improve repo-level agent instructions
- Delano has just been introduced and
AGENTS.mdshould be checked before deeper work starts
Required inputs
- repo-root
AGENTS.md - directly relevant source-of-truth docs referenced by
AGENTS.md - explicit user approval before analyzing
AGENTS.md - separate explicit user approval before editing
AGENTS.md
Output schema
- concise gap analysis against
references/agents-md-best-practices.md - keep/add/remove recommendations tied to the repo's actual workflow
- if edit approval is given, an updated
AGENTS.mdthat stays compact and retrieval-oriented - explicit note when analysis or edits were skipped because approval was not given
Quality checks
- do not analyze
AGENTS.mduntil the user explicitly approves the review - do not edit
AGENTS.mduntil the user explicitly approves changes - preserve repo-specific truth instead of pasting generic boilerplate
- keep
AGENTS.mdcompact and point to deeper docs instead of duplicating them - make approval boundaries, order of operations, and verification expectations explicit
Failure behavior
- if approval is missing, stop and ask plainly
- if
AGENTS.mdis absent, report that and propose only a minimal skeleton - if source-of-truth docs disagree, surface the conflict instead of flattening it
- if the repo intentionally keeps
AGENTS.mdthin, prefer the minimum coherent improvement
Allowed side effects
- read
AGENTS.mdand directly relevant source-of-truth docs - update
AGENTS.mdonly after explicit edit approval - add concise retrieval hints that point to canonical docs
Script hooks
delano onboardingbash .agents/scripts/pm/validate.sh
Execution assets
references/agents-md-best-practices.md