用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tyrchen/repoctl --skill monorepo-boundaries命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Create new apps, frameworks, and foundation services with repoctl templates and manifests.
Summarize PR impact using repoctl affected data, risk flags, and graph diagnostics.
Change source proto contracts through owners and never edit generated code directly.
基于 SOC 职业分类
正在显示 SKILL.md
| name | monorepo-boundaries |
| description | Respect app, framework, foundation, proto, generated-code, and IaC boundaries. |
This skill records repository policy for Codex. Use repoctl as the authority for graph, ownership, affected analysis, task routing, and final hand-off verification, but keep repoctl out of the inner coding loop unless the graph or boundaries are changing.
project.yaml.protos/. Generated code is consumer-local output.core-infra/.Classify the changed path:
apps/<name>/ - product or domain application.frameworks/<name>/ - shared capability with public facade and private internals.foundations/<name>/ - platform service plus public clients.protos/ - source contracts owned by declared packages.core-infra/ - shared infrastructure..agents/skills/, .codex/skills/, templates/, .github/ - repo-wide policy or tooling.Read the nearest manifest when ownership is unclear:
repoctl explain <project-name>
If a path has no owning project and is not intentionally repo-wide, fix ownership before adding more files.
Check dependency direction:
repoctl lint-boundaries --changed-file <path>
Apps can call framework facades and foundation clients. Framework internals and service internals
are not public API unless declared as facades or clients. Run repoctl graph validate before
editing only when manifests, workspaces, task wiring, generated-code policy, or cross-project
dependencies changed.
Choose the right home for new code:
core-infra/.protos/ and generated outputs under consumer workspaces.Verify boundaries once at hand-off:
repoctl affected --base origin/main --head HEAD --tasks check,test
Run affected analysis once at hand-off to select the final verification surface. Do not pair every boundary check with graph validation.
Name the owning project, why the chosen directory is correct, which boundary checks ran, and any owner review required before merge.