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
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
using-superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code