0
Agent preflight
Yapay zeka aracıları dosyaları değiştirmeden önce bir reponun ön kontrolünü yapın
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Yapay zeka aracıları dosyaları değiştirmeden önce bir reponun ön kontrolünü yapın
Kaynak: davepoon/claude-code-subagents-collection · MIT
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/agent-preflight/raw -o .claude/commands/agent-preflight.mdHedef dosya: .claude/commands/agent-preflight.md
Run this before letting Claude Code, Codex, Cursor, or another coding agent modify a real repository. The goal is to make the agent produce a short, reviewable safety receipt before any file-changing work starts.
Identify the proposed agent task
Map the repository blast radius
.env*, secrets, auth code, billing code, migration files, infra config, release scripts, and generated artifacts.Score the change before editing
Green when it is local, reversible, tested, and limited to low-risk files.Yellow when it touches dependencies, config, generated code, authentication-adjacent logic, or unclear test coverage.Red when it may expose secrets, change payment/auth/deployment behavior, delete data, or run untrusted code.Create guardrails for the agent run
Produce a preflight receipt
# Agent preflight receipt
Task: <one-sentence task>
Risk: Green | Yellow | Red
Allowed scope:
- <files/directories/commands the agent may use>
Blocked scope:
- <files/directories/commands/secrets/payment/deploy actions the agent must not touch>
Required verification:
- <tests/lint/build/manual checks>
Rollback plan:
- <branch, patch, revert, backup, or restore step>
Stop conditions:
- <conditions requiring human approval before continuing>
For a copy-paste scanner pattern and example AI-agent repo-risk receipts, see the free repo: https://github.com/el-zachariah/ai-agent-safety-starter-pack.