/new
- Group / 分组
- AGENTS.md operationsAGENTS.md 操作
- Description / 说明
- Create AGENTS.md without silently overwriting an existing file.创建 AGENTS.md,不静默覆盖已有文件。
Invocation template调用模板
newA structured documentation-maintenance task preset that updates only AGENTS.md with explicit project selection and MonoSpecs-aware repository scope, leaving CLAUDE.md untouched.一个仅更新 AGENTS.md 的结构化文档维护 task preset,支持显式项目选择与 MonoSpecs 感知仓库范围,保持 CLAUDE.md 原样。
AGENTS.md Update is a task preset package for teams that want documentation maintenance to run through the shared preset-task contract. It targets only AGENTS.md and leaves existing CLAUDE.md files untouched.
The preset builds or updates AGENTS.md as the project documentation source. It never reads, creates, or modifies CLAUDE.md.
Choose new, incresement update, or shrink, then select AGENTS.md include/exclude categories. An empty repository selection means all available repositories, including the MonoSpecs root; if no repositories are resolved, the project-root AGENTS.md is the fallback.
MonoSpecs root and child repositories use one repository selector. The resolved selection determines which targets the prompt may edit; there is no separate MonoSpecs scope switch.
No. Existing documentation remains unchanged until someone explicitly runs this preset. Runs update only targeted AGENTS.md files; existing CLAUDE.md files remain untouched.
Single-repo projects already map cleanly to root AGENTS.md. The extra scope choice is only needed when child repositories are available.
AGENTS.md 更新是一个面向团队的 task preset,用来通过共享 preset-task 契约维护文档。它只处理 AGENTS.md,已有 CLAUDE.md 保持原样。
该 preset 构建或更新 AGENTS.md 作为项目文档源,不会读取、创建或修改 CLAUDE.md。
可选择 new、incresement update 或 shrink,并配置 AGENTS.md 的包含/排除类别。不选择仓库表示全部可用仓库,包括 MonoSpecs 主仓库;若解析后没有仓库,则以项目根目录的 AGENTS.md 为目标。
MonoSpecs 主仓库和子仓库使用同一个仓库选择控件,最终解析范围决定提示词可修改的目标,不再单独提供 MonoSpecs 作用域开关。
不会。只有用户明确执行这个 preset 时,目标 AGENTS.md 才会被更新;已有 CLAUDE.md 始终保持原样。
单仓库项目天然对应根目录 AGENTS.md。只有存在子仓库时,才需要额外决定是否把它们一起纳入维护范围。
/newnew/incresement updateincresement update/shrinkshrinkprojectPath · required · Absolute path to the selected project root.projectName · required · Display name of the selected project.targetRepositories · Optional normalized repositories selected within the project.command · requiredagentsIncludeagentsExcludeoperationBrief · Operation objective and acceptance criteria.