/new
- Group / 分组
- AGENTS.md operationsAGENTS.md 操作
- Description / 说明
- Create AGENTS.md without silently overwriting an existing file.创建 AGENTS.md,不静默覆盖已有文件。
Invocation template调用模板
new A structured documentation-maintenance task preset that builds AGENTS.md as the primary data source and keeps CLAUDE.md as a minimal redirect, with explicit project selection and MonoSpecs-aware scope.一个结构化文档维护 task preset,以 AGENTS.md 为主要数据源,CLAUDE.md 保持为极简重定向,通过显式项目选择与 MonoSpecs 感知作用域管理。
AGENTS.md Update is a task preset package for teams that want documentation maintenance to run through the shared preset-task contract. It treats AGENTS.md as the primary source of truth and lets users choose whether CLAUDE.md is included.
The preset builds or updates AGENTS.md as the comprehensive project documentation source, then writes a thin CLAUDE.md that redirects readers to AGENTS.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. When CLAUDE.md is disabled, only AGENTS.md files are targeted.
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.
Single-repo projects already map cleanly to root AGENTS.md + CLAUDE.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 重定向到 AGENTS.md。
可选择 new、incresement update 或 shrink,并配置 AGENTS.md 的包含/排除类别。不选择仓库表示全部可用仓库,包括 MonoSpecs 主仓库;关闭 CLAUDE.md 后只处理 AGENTS.md。
MonoSpecs 主仓库和子仓库使用同一个仓库选择控件,最终解析范围决定提示词可修改的目标,不再单独提供 MonoSpecs 作用域开关。
不会。只有用户明确执行这个 preset 时,现有文档才会被更新。
单仓库项目天然对应根目录 AGENTS.md + CLAUDE.md。只有存在子仓库时,才需要额外决定是否把它们一起纳入维护范围。
/newnew /incresement updateincresement update /shrinkshrink projectPath · 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 · requiredincludeClaudeMd · requiredagentsIncludeagentsExcludeoperationBrief · Operation objective and acceptance criteria.