AGENT SKILL

new-repo-layout-policy

暂无简介

License 许可
GPL-3.0
最近更新
2026-11-13
Stars
★ 0
Forks
0

03 SKILL.md 正文

new-repo-layout-policy

Owns exactly one document: the repo's root LAYOUT.md. An ai/LAYOUT.md is agent-generated description, not a contract, and is outside this skill's sole-write-path claim — it is written by whatever produced the folder. Editing it any other way is the RED-baseline failure this skill exists to prevent (baselines-phase1.md scenario D; D3: acceptance is a human act).

Procedure

Follow subdomains/repo-docs/AMENDMENT.md: resolve the repo's LAYOUT.md (on miss, instantiate subdomains/repo-docs/templates/LAYOUT.md — the instantiation is itself the proposal) → draft the structured proposal → human gate, mandatory → apply to LAYOUT.md only, with a Change Log row → verify with the companion checker → pathspec-scoped commit only with explicit authority.

This skill's specifics

  • Tree changes (new directory, relocation, new gitignored-but-keep pattern) update the tree (LY1/LY2 re-evaluate mechanically) in one proposal.
  • Register lifecycle: proposals add/update/remove Brownfield-register rows using LAYOUT.md's disposition vocabulary; remove a row only after the cleanup actually happened.
  • Never move existing files as a side effect: the proposal changes the CONTRACT; moves are separate, human-approved work items under Downstream.

04 同仓库更多 Skills