一键导入
agent-guidance-maintenance
Maintain repo-managed agent skills, shared agent docs, metadata roots, and migration-safe validation workflows around agent-loop init.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Maintain repo-managed agent skills, shared agent docs, metadata roots, and migration-safe validation workflows around agent-loop init.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compile and use agent-loop recall/L2 meta-prompt artifacts from the current repository without mistaking generated context for executed agent actions.
Use the governed agent-loop workflow for this repository, including when to prefer workflow start/status/close, when to drop to session or recall commands, and how init validation fits repo-managed agent guidance changes.
Start a governed agent-loop task in the current repository, create session working memory, approve a sealed work brief, and compile deterministic recall/L2 context.
Handle reusable knowledge that surfaces during a task — capture findings, move them through the proposal pipeline, and respect the boundary between workflow evidence and durable guidance.
Review, verify, and close an agent-loop task safely after implementation, including blind-spot review, strict verification, and explicit accepted-risk handling.
Record useful working memory during an agent-loop task, including decisions, checkpoints, validation results, scope changes, and blocked states.
| name | agent-guidance-maintenance |
| description | Maintain repo-managed agent skills, shared agent docs, metadata roots, and migration-safe validation workflows around agent-loop init. |
Use this skill for the repository-managed agent guidance itself: skills, asset docs, validation flow, and host-repo migration notes.
For a normal repo-managed guidance fix:
docs/agents/skills/ or docs/agents/.vendor/bin/agent-loop init validate --kind=... command.vendor/bin/agent-loop init doctor when path or migration guidance changed.init contract changed.AGENTS.md, README.md, and agent-facing Make targets for missing RTK guidance at Docker/Make boundaries.rg) installation and rg --version verification alongside RTK and Caveman.This skill owns:
docs/agents/skills/docs/agents/agent-loop initrg-first search guidanceinit doctor, init validate, and init sync-*This skill does not own:
scaffold behavior is implemented before it existsdocs/agents/skills/docs/agents/INFO_Agents.mddocs/agents/migration/README.mdCHANGELOG.mdsrc/Init/tests/Init*Use this skill when the task:
agent-loop initDo not use this skill for ordinary library feature work that is unrelated to agent assets or migration guidance.
Edit:
docs/agents/skills/docs/agents/INFO_Agents.md when the shared workflow changesdocs/agents/migration/... when importing real host-repo practicesDo not start by editing a host repo's local .codex/, .github/skills/,
or other installed copies.
When adapting a host workflow:
agent-loop init can do now from what scaffold still does notsync wording for repeatable repo-managed asset updatesantigravityAGENTS.md, README.md, and shared skills are missing explicit RTK guidanceinit install-plan docsmake, docker compose exec, or wrapper scriptsai-* Make targets when host repos mainly drive validation through Make and Dockersync-* removes only stale managed entriesWhen a distilled lesson describes a pattern that can be statically verified (e.g., forbidding specific calls, enforcing parameter types, avoiding redundant casts, or blocking dangerous reflection):
Run:
vendor/bin/agent-loop init validate --kind=all
vendor/bin/agent-loop init sync-skills --agent=codex --dry-run
php bin/agent-loop init doctor
vendor/bin/phpunit --filter 'Init|DispatcherTest'
vendor/bin/phpstan analyse --configuration=phpstan.neon.dist --memory-limit=512M
When documenting a host repo:
docs/agents/....agent-loop/init.json overriderg --version verification before relying on rg-first search guidanceAGENTS.md, README.md, and the agent-maintenance skill/docsvendor/bin/agent-loop init validate --kind=allvendor/bin/agent-loop init sync-skills --agent=codex --dry-runphp bin/agent-loop init doctorvendor/bin/phpunit --filter 'Init|DispatcherTest'vendor/bin/phpstan analyse --configuration=phpstan.neon.dist --memory-limit=512M