sync
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseOutput style (plain words, no dashes, no hyphens)
输出风格(直白表述,无破折号、无连字符)
<!-- OUTPUT-STYLE:START -->
Write everything this skill produces, files and messages alike, in plain simple language. Keep technical terms that carry real meaning; explain each in plain words. Never use a dash or a hyphen as punctuation: no em dash, no en dash, and no hyphenated compounds. Write , not . Say it in simple words, or reword the sentence. Code, file paths, command flags, and values other skills match on keep their hyphens. Use short sentences, commas, or parentheses. Clear beats clever.
<!-- OUTPUT-STYLE:END -->read onlyread-only<!-- OUTPUT-STYLE:START -->
此技能生成的所有内容(包括文件和消息)都需使用简洁直白的语言撰写。保留具有实际意义的技术术语,并以直白语言解释每个术语。绝不使用破折号或连字符作为标点:不使用em破折号、en破折号,也不使用连字符构成的复合词。撰写,而非。用简单的语言表达,或改写句子。代码、文件路径、命令标志以及其他技能匹配的数值保留其连字符。使用短句、逗号或括号。清晰优于巧妙。
<!-- OUTPUT-STYLE:END -->read onlyread-onlyWhat this skill does
此技能的功能
Closes the loop on a completed change: syncs AGENTS.md files, the scope, and linked spec lines to what the repo now shows, and flags what it must not edit (stale specs, curated prose). The Boundaries table below is the exact contract.
**Status**:agent-prompt.mdCanonical file: durable context lives in the tool agnostic ; is only a pointer to it. /sync edits/creates both, treating them only as targets, never as a change source.
AGENTS.mdCLAUDE.md完成变更的闭环:同步 AGENTS.md 文件、范围以及关联规格的行,使其与仓库当前状态一致,并标记不可编辑的内容(过时规格、人工整理的文本)。下方的边界表是明确的约定。
**Status**:agent-prompt.md标准文件: 持久化上下文存储于与工具无关的 中; 仅作为指向它的指针。/sync 会编辑/创建这两个文件,但仅将它们作为目标,而非变更来源。
AGENTS.mdCLAUDE.mdBoundaries (these keep the skill from sprawling)
边界(防止技能功能蔓延)
| Action | /sync | Owner |
|---|---|---|
| Edit existing root/nested AGENTS.md | ✅ maintains | /sync |
Reconcile root AGENTS.md's | ✅ maintains; flags a curated divergence | /sync |
Add a one line pointer to | ✅ maintains (pointer only) | /sync |
Create nested | ✅ creates (diff = full area context) + adds root pointer | /sync |
| Create nested doc for an already existing undocumented area (only sliced by the diff) | ❌ flags "run /audit" | /audit |
| Create or restructure the root AGENTS.md | ❌ flags "run /audit" | /audit |
Reconcile a spec's | ✅ Status line only | /sync |
| Edit a spec's content / supersede it | ❌ flags as stale | /architect |
Reconcile the scope, for the relevant workspace's scope file only (not all of | ✅ corrects | /sync |
| Add / reorder features or sub tasks in the scope | ❌ leaves alone | /scope |
| Overwrite or rewrite curated AGENTS.md prose | ❌ flags conflict instead | human |
The dividing line on creation is context, not policy: create only when this change shows you the whole area; defer to /audit when the area predates the change and you've seen only a slice. When unsure, flag instead of creating.
| 操作 | /sync | 所有者 |
|---|---|---|
| 编辑现有根目录/嵌套目录下的 AGENTS.md | ✅ 维护 | /sync |
将根目录 AGENTS.md 的 | ✅ 维护;标记人工整理的差异 | /sync |
当变更确立了 | ✅ 维护(仅添加指针) | /sync |
为此变更中全新的区域创建嵌套的 | ✅ 创建(差异=完整区域上下文)+ 添加根指针 | /sync |
| 为已存在但未记录的区域创建嵌套文档(仅由差异分割) | ❌ 标记「运行 /audit」 | /audit |
| 创建或重构根目录的 AGENTS.md | ❌ 标记「运行 /audit」 | /audit |
将规格的 | ✅ 仅修改Status行 | /sync |
| 编辑规格的内容 / 替换规格 | ❌ 标记为过时 | /architect |
协调范围,仅针对相关工作区的范围文件(并非所有 | ✅ 修正 | /sync |
| 在范围中添加/重新排序功能或子任务 | ❌ 不做修改 | /scope |
| 覆盖或重写人工整理的 AGENTS.md 文本 | ❌ 标记冲突 | 人工 |
创建操作的分界线是上下文,而非策略:仅当此变更展示了完整区域时才创建;若区域早于变更且仅能看到部分内容,则交由 /audit 处理。若不确定,标记而非创建。
Asks vs acts
请求与操作
Acts. Pauses only when there is nothing to sync (empty change set). Every edit to curated files is listed in the report so you can review or revert.
操作:仅当无内容可同步(空变更集)时才暂停。对人工整理文件的每一处编辑都会列在报告中,供你审核或回滚。
Artifact ownership
工件所有权
Owns exactly what the Boundaries table grants and writes nothing else. As the universal sub task reconciler it ticks any scope sub task it can verify from repo evidence (sweeping the // sub tasks other skills don't tick) and advances feature status; exact rules in .
/test/audit/syncagent-prompt.mdArtifact base. specs and the scope live under by default, or if is a published docs site; use whichever base exists in the repo (paths here assume ).
docs/.workflow/docs/docs/仅拥有边界表授予的权限,不写入其他内容。作为通用子任务协调器,它会根据仓库证据勾选所有可验证的范围子任务(清理其他技能未勾选的 // 子任务)并更新功能状态;具体规则见 。
/test/audit/syncagent-prompt.md工件基础:规格和范围默认位于下,若是已发布的文档站点,则位于下;使用仓库中存在的任意基础路径(此处路径假设为)。
docs/docs/.workflow/docs/Portability (any OS, any agent)
可移植性(任意操作系统、任意Agent)
- Commands: is the only required CLI and behaves the same on every OS, run the
gitlines as shown. Other shell snippets are POSIX reference, not literal scripts: don't assumegit,find,grep,sed,cat/test,[ ], orlsexist; use your agent's cross platform file tools and apply branching logic yourself rather than shellxargs/variables/redirects.if - Bundled files: referenced by paths relative to this skill's folder. Resolve the folder to an absolute path (you already resolve these relative paths) and read yourself at write time (Step 3), not during the earlier steps.
agent-prompt.md - The whole maintenance runs inline on the main thread, following the exact rules in (authoritative).
agent-prompt.md
- 命令:是唯一必需的CLI,且在所有操作系统上行为一致,按所示运行
git命令。其他Shell代码段是POSIX参考,而非字面脚本:不要假设git、find、grep、sed、cat/test、[ ]或ls存在;使用Agent的跨平台文件工具,自行应用分支逻辑,而非Shell的xargs/变量/重定向。if - 捆绑文件:通过相对于此技能文件夹的路径引用。将文件夹解析为绝对路径(你已能解析这些相对路径),并在写入时(步骤3)自行读取,而非在早期步骤中读取。
agent-prompt.md - 整个维护流程在主线程中内联运行,严格遵循****中的规则(权威性)。
agent-prompt.md
Execution
执行流程
1. Scope the change set (cheap, with per file status)
1. 确定变更集范围(低成本,含每个文件的状态)
Freshness first (teams): ; if > 0 you are behind , warn the engineer to pull first, a teammate may have already synced these docs.
git fetch --quietgit rev-list --count HEAD..origin/$BASEorigin/$BASEBase: if succeeds, else . Current branch: . Use (not ); the net new area and orphan cleanup logic need Added vs Modified vs Deleted per file.
maingit rev-parse --verify mainmastergit rev-parse --abbrev-ref HEAD--name-status--name-only- Current branch is the base, mode :
uncommitted.git diff --name-status HEAD - Otherwise, mode :
branch, thengit merge-base "$BASE" HEAD.git diff --name-status <merge-base>
Either way, add untracked files from , each prefixed with an status (matching the format). Note the mode, base, and merge base for the write step.
git ls-files --others --exclude-standardA--name-statusRemove duplicates, then filter to source files to sync from:
- Drop documentation and config (at any level,
AGENTS.md,docs/**,*.md, lock files, generated output); /sync reads these as targets/context, never as a change source.test-preferences.json - Drop test files (,
*.test.*,*.spec.*, etc.); tests aren't durable area conventions.__tests__/ - Keep the (deleted) entries in a separate list; they drive orphan cleanup (Step 3) though they aren't synced from.
D - Keep dependency manifest changes in a separate list for tool discovery, even if they are config rather than source: ,
package.json,pyproject.toml,requirements*.txt,go.mod,Cargo.toml,composer.json,Gemfile,pubspec.yaml,mix.exs, and equivalent package manifests. Lock files are signals only; do not pass lockfile contents.*.csproj
If no source files and no dependency manifest changes remain (only docs/tests/lock/generated files changed), stop, nothing to sync. Do not spawn.
优先保证新鲜度(团队场景):;若 > 0,说明你落后于,提醒工程师先拉取代码,可能已有队友同步过这些文档。
git fetch --quietgit rev-list --count HEAD..origin/$BASEorigin/$BASE基准分支:若执行成功则为,否则为。当前分支:。使用(而非);全新区域和孤儿清理逻辑需要每个文件的Added、Modified、Deleted状态。
git rev-parse --verify mainmainmastergit rev-parse --abbrev-ref HEAD--name-status--name-only- 当前分支就是基准分支,模式为:
uncommitted。git diff --name-status HEAD - 否则,模式为:
branch,然后git merge-base "$BASE" HEAD。git diff --name-status <merge-base>
无论哪种情况,添加中的未跟踪文件,每个文件前缀为状态(匹配格式)。记录模式、基准分支和合并基准分支,供写入步骤使用。
git ls-files --others --exclude-standardA--name-status移除重复项,然后过滤出要同步的源文件:
- 排除文档和配置文件(任意层级的AGENTS.md、、
docs/**、*.md、锁文件、生成的输出);/sync 将这些文件作为目标/上下文读取,绝不作为变更来源。test-preferences.json - 排除测试文件(、
*.test.*、*.spec.*等);测试不属于持久化区域约定。__tests__/ - 保留(已删除)条目到单独列表中;它们会驱动孤儿清理(步骤3),尽管不会作为同步来源。
D - 保留依赖清单变更到单独列表用于工具发现,即使它们是配置而非源文件:、
package.json、pyproject.toml、requirements*.txt、go.mod、Cargo.toml、composer.json、Gemfile、pubspec.yaml、mix.exs及等效的包清单。锁文件仅作为信号;不要传递锁文件内容。*.csproj
若剩余源文件和依赖清单变更均为空(仅修改了文档/测试/锁文件/生成文件),停止执行,无内容可同步。无需生成子进程。
2. Locate the context files and specs (paths only, do NOT read them here)
2. 定位上下文文件和规格(仅路径,请勿在此处读取)
Using your agent's file search/glob tools:
- Note whether a root exists.
AGENTS.md - Find every (root + nested), excluding
AGENTS.mdandnode_modules/..git/ - Find all specs under whose names start with a digit, sorted.
docs/specs/ - Find the scope file(s) whose workspace/features the diff actually touches (in a monorepo, a changed file's workspace selects
apps/<x>/…); never read or pass all ofdocs/scope/<x>/.docs/scope/
Note the paths plus the changed file list and diff command; read the files at write time. Read root AGENTS.md contents now (short and useful to anchor on). For each changed file, note its nearest enclosing directory with a (root or nested); that's the context file most likely to need an update.
AGENTS.md使用Agent的文件搜索/通配符工具:
- 记录根目录是否存在AGENTS.md。
- 查找所有AGENTS.md(根目录+嵌套目录),排除和
node_modules/。.git/ - 查找下所有名称以数字开头的规格文件,排序。
docs/specs/ - 查找差异实际涉及的工作区/功能对应的范围文件(在单体仓库中,变更文件的工作区对应
apps/<x>/…);绝不读取或传递所有docs/scope/<x>/文件。docs/scope/
记录路径以及变更文件列表和diff命令;在写入时读取文件。现在读取根目录AGENTS.md的内容(简短且有助于锚定)。对于每个变更文件,记录其最近的包含AGENTS.md的父目录(根目录或嵌套目录);这是最可能需要更新的上下文文件。
2.5 Discover Agent Skills and optional MCPs for newly added tools
2.5 为新增工具发现Agent Skills和可选MCP
Run only when dependency manifests changed or the diff clearly adds a significant external tool. Skip ordinary utility libraries unless they define a durable workflow or integration.
-
Identify newly added significant packages/tools from the manifest diff, not the full lockfile: framework, router, styling/UI kit, database, ORM/query layer, auth/session, payments, email/notifications, storage/uploads, search, queue/background jobs, AI provider/vector DB, browser/runtime testing, observability, hosting/deploy. Include package names and common aliases from manifests. Do not stop after the first technology.
-
Filter out anything already covered by installed skills, connected MCPs, ordeclined entries.
AGENTS.md -
Ask before you search.<!-- TOOL-CONSENT:START (identical in /architect, /audit and /sync; edit all or none) -->Asking is mandatory. Searching is not. Nothing is searched, fetched, installed, or spawned for Agent Skill and MCP discovery until the engineer has picked. Offer four choices: find them for me, I will name the ones I want, no and record the decline, or not now. Only the first may run a search command. Never silently skip the offer, and never run a search before the engineer agrees to one.<!-- TOOL-CONSENT:END -->Name the tools this change added, say in one line that an Agent Skill gives the agent that tool's real conventions and an MCP server gives it live access to the real system, then ask: "Want me to find Agent Skills and MCP servers for the tools this change added?" (header), with
Agent skills(recommended) ·Yes, find them for me·I'll name the ones I want·No, skip it. OnNot now, latercontinue below. OnYes, take the list and go straight to the install step, searching for nothing. OnI'll name the ones I wantrun nothing and record the decline. OnNo, skip itrun nothing and note the candidate tools in the report.Not now, later -
Isolate the searches in a read only subagent (capability first, only after). Hand the remaining set to a discovery subagent rather than searching on the main thread: spawn it in the background (it does not block) if your agent supports that, else blocking; set its model explicitly to a fast, low cost tier (do not inherit the session model; on Claude Code spawn it as the
Yessubagent type, which pins the model); it returns only the compact candidate list. This keeps the search output out ofresearcher's bounded context. No subagent → search inline; no search capability → skip and note it. The offer panel stays on the main thread./sync -
For each remaining item, run; if weak, retry aliases from package/org names. Collect every credible Agent Skill candidate and confirm with
npx skills find <tool-or-package>when practical. If the CLI is interactive/unavailable, searchnpx skills add <owner>/<repo> --listand confirm before offering."<tool>" "agent skill" -
MCP search is optional: connector list first, elseper item. MCP is recommended upside, not required.
"<tool>" "MCP server" -
Keep discovery capped and cacheable: max 5 web searches and 8 fetched pages total, official registry/docs first. Reusewhen under 30 days old, after filtering installed/declined items.
docs/.agent-cache/tool-discovery/<slug>.md -
Offer all Agent Skill matches in one multi select panel, grouped by technology: "Install relevant Agent Skills for newly added tools?" plus skip/decline. Then offer MCPs separately: "Optional MCP servers that could help these tools" plus skip/decline. Never install or connect automatically.
-
Install selected skills with. For MCPs, point to the user's connector/MCP settings; once connected the tools are used automatically.
npx skills add <owner>/<repo> -y -
Carry the result as,
INSTALLED_SKILLS_OR_NONE, andMCP_SERVERS_OR_NONEand record durable lines in the rightDECLINED_TOOLS_OR_NONEfile when you write. If nothing was found or no capability exists, treat asAGENTS.md.none
仅当依赖清单变更或差异明确添加了重要外部工具时运行。普通工具库除非定义了持久化工作流或集成,否则跳过。
-
从清单差异中识别新增的重要包/工具,而非完整锁文件:框架、路由、样式/UI套件、数据库、ORM/查询层、认证/会话、支付、邮件/通知、存储/上传、搜索、队列/后台任务、AI提供商/向量数据库、浏览器/运行时测试、可观测性、托管/部署。包含清单中的包名称和常用别名。不要在找到第一个技术后停止。
-
过滤掉已被已安装技能、连接的MCP或AGENTS.md中已拒绝条目覆盖的内容。
-
搜索前需询问。<!-- TOOL-CONSENT:START (identical in /architect, /audit and /sync; edit all or none) -->询问是强制性的。搜索不是。 在工程师选择前,不会为Agent Skill和MCP发现进行任何搜索、获取、安装或生成操作。提供四个选项:帮我查找、我会指定想要的、不并记录拒绝、现在不用。只有第一个选项可运行搜索命令。绝不要静默跳过此提议,也绝不要在工程师同意前运行搜索。<!-- TOOL-CONSENT:END -->列出此变更添加的工具,用一句话说明Agent Skill可为Agent提供该工具的实际约定,MCP服务器可为Agent提供对真实系统的实时访问,然后询问:"需要我为此变更添加的工具查找Agent Skills和MCP服务器吗?"(标题),选项为
Agent skills(推荐)·Yes, find them for me·I'll name the ones I want·No, skip it。选择Not now, later则继续下方操作。选择Yes,接收列表后直接进入安装步骤,不进行搜索。选择I'll name the ones I want则不运行任何操作并记录拒绝。选择No, skip it则不运行任何操作并在报告中记录候选工具。Not now, later -
在只读子Agent中隔离搜索(能力优先,仅在后执行)。将剩余集合交给发现子Agent而非在主线程中搜索:若Agent支持,在后台生成它(不阻塞),否则阻塞执行;明确将其模型设置为快速、低成本的层级(不要继承会话模型;在Claude Code中,将其生成为
Yes子Agent类型,固定模型);它仅返回紧凑的候选列表。这样可将搜索输出排除在/sync的有限上下文之外。若无子Agent则内联搜索;若无搜索能力则跳过并记录。提议面板保留在主线程中。researcher -
对于每个剩余项,运行;若结果不理想,重试包/组织名称的别名。收集所有可信的Agent Skill候选,并在可行时用
npx skills find <tool-or-package>确认。若CLI是交互式/不可用,搜索npx skills add <owner>/<repo> --list并在提供前确认。"<tool>" "agent skill" -
MCP搜索是可选的:优先查看连接器列表,否则为每个项搜索。MCP是推荐的增值项,非必需。
"<tool>" "MCP server" -
限制发现次数并支持缓存:最多5次网页搜索和8次页面获取,优先官方注册表/文档。若在30天内,过滤已安装/已拒绝项后复用。
docs/.agent-cache/tool-discovery/<slug>.md -
在一个多选面板中按技术分组提供所有Agent Skill匹配项:"为新增工具安装相关Agent Skills?"以及跳过/拒绝选项。然后单独提供MCP选项:"可辅助这些工具的可选MCP服务器"以及跳过/拒绝选项。绝不自动安装或连接。
-
使用安装选中的技能。对于MCP,指向用户的连接器/MCP设置;连接后工具会自动使用。
npx skills add <owner>/<repo> -y -
将结果记录为、
INSTALLED_SKILLS_OR_NONE和MCP_SERVERS_OR_NONE,并在写入时在对应的AGENTS.md文件中记录持久化行。若无结果或无对应能力,视为DECLINED_TOOLS_OR_NONE。none
3. Do the maintenance (main thread)
3. 执行维护(主线程)
The main thread does the maintenance itself; it never hands the / scope / spec status edits to a subagent. Read now (only now, at write time) and follow it exactly; it is authoritative for the maintenance rules. The diff reading is the one thing you may offload, and only for a large change set, to a read only subagent on the cheapest model (Claude Code: ) that returns a compact map. Stay within the same boundaries the old tool grant expressed: existing docs, scope, and spec lines; strictly for a net new area nested AGENTS.md; no root creation, no spec content edits (Status line only), no shallow nested docs for established areas (these are rules in ).
AGENTS.mdagent-prompt.mdscouthaikuEdit**Status**:Writeagent-prompt.mdThe inputs to apply:
- ,
MODE,BASE,MERGE_BASE(name status changed source list),CHANGED_FILES(exactDIFF_COMMANDcommand)git diff - (deleted paths, for orphan cleanup)
DELETED_PATHS - (root AGENTS.md contents),
ROOT_AGENTS_MD(nested AGENTS.md paths)NESTED_PATHS - (all spec paths, for Status line reconciliation and staleness flagging)
SPEC_PATHS - (changed file → nearest context file)
FILE_TO_CONTEXT_MAP - (relevant workspace scope path(s), not all of
SCOPE_PATH_OR_NONE; also the source of each linked feature's status for spec Status line reconciliation)docs/scope/ - ,
INSTALLED_SKILLS_OR_NONE,MCP_SERVERS_OR_NONEfrom Step 2.5DECLINED_TOOLS_OR_NONE
主线程自行执行维护操作;绝不将AGENTS.md/范围/规格Status行的编辑交给子Agent。现在(仅在写入时)读取并严格遵循;它是维护规则的权威来源。差异读取是唯一可卸载的操作,且仅针对大型变更集,交给最便宜模型的只读子Agent(Claude Code:),返回紧凑的映射。保持在旧工具授权的边界内:现有文档、范围和规格的行;仅针对全新区域的嵌套AGENTS.md;不创建根目录文档,不编辑规格内容(仅Status行),不为已建立区域创建浅层嵌套文档(这些是中的规则)。
agent-prompt.mdscouthaikuEdit**Status**:Writeagent-prompt.md要应用的输入:
- 、
MODE、BASE、MERGE_BASE(带状态的变更源文件列表)、CHANGED_FILES(精确的DIFF_COMMAND命令)git diff - (已删除路径,用于孤儿清理)
DELETED_PATHS - (根目录AGENTS.md内容)、
ROOT_AGENTS_MD(嵌套AGENTS.md路径)NESTED_PATHS - (所有规格路径,用于Status行协调和过时标记)
SPEC_PATHS - (变更文件→最近的上下文文件)
FILE_TO_CONTEXT_MAP - (相关工作区的范围路径,并非所有
SCOPE_PATH_OR_NONE;也是关联功能状态的来源,用于规格Status行协调)docs/scope/ - 步骤2.5的、
INSTALLED_SKILLS_OR_NONE、MCP_SERVERS_OR_NONEDECLINED_TOOLS_OR_NONE
4. Relay the result
4. 传递结果
If the maintenance failed or produced no parseable summary, report that and do it again, don't fabricate a result (a genuine is a valid success; a crash or empty output is not). Otherwise relay the compact summary:
NOTHING_TO_SYNCundefined若维护失败或未生成可解析的摘要,报告此情况并重试,不要编造结果(真正的是有效的成功;崩溃或空输出则不是)。否则传递紧凑的摘要:
NOTHING_TO_SYNCundefined/sync complete
/sync 完成
Scope: <N> changed files
AGENTS.md updated:
- , <what was added/corrected, one line> (or "no updates needed")
<path>
AGENTS.md created (new area):
- , <what conventions it captures> (+ root pointer added)
<area>/AGENTS.md
Orphans cleaned (after deletions):
- , <removed orphaned nested doc / fixed broken pointer>
<path>
Scope reconciled (relevant workspace):
- , <ticked sub-tasks / status planned→in-progress→done to match the diff> (or "no scope, or already accurate")
<feature>
Spec statuses reconciled (Status line only):
- , <Status Proposed→In Progress→Accepted to match the feature's scope status>
docs/specs/<file>
Specs flagged stale (run /architect to update or supersede):
- , <why the change makes it stale, or status mismatch sync couldn't safely resolve>
docs/specs/<file>
Context gaps (run /audit, area too established for /sync to document from the diff alone):
- , <pre-existing undocumented area only sliced by this change>
<area>
Conflicts left for you (not auto-edited):
- , <curated content that would need rewriting; decide manually>
<path>
Omit any section with no items. If everything was already current and nothing is stale, say so in one line. /sync does not run /architect or /audit for you; it points, you decide.
---范围:<N> 个变更文件
AGENTS.md 已更新:
- ,<添加/修正的内容,一行描述> (或"无需更新")
<path>
AGENTS.md 已创建(新区域):
- ,<捕获的约定内容>(+ 添加根指针)
<area>/AGENTS.md
已清理孤儿内容(删除后):
- ,<移除孤立的嵌套文档 / 修复损坏的指针>
<path>
范围已协调(相关工作区):
- ,<勾选子任务 / 状态从planned→in-progress→done以匹配差异> (或"无范围,或已准确")
<feature>
规格状态已协调(仅Status行):
- ,<状态从Proposed→In Progress→Accepted以匹配功能的范围状态>
docs/specs/<file>
标记为过时的规格(运行/architect更新或替换):
- ,<变更导致其过时的原因,或无法安全解决的状态不匹配>
docs/specs/<file>
上下文缺口(运行/audit,区域已成熟,无法仅通过差异由/sync记录):
- ,<已存在但未记录的区域,仅由此次变更分割>
<area>
留给你的冲突(未自动编辑):
- ,<需要重写的人工整理内容;请手动决定>
<path>
省略无内容的章节。若所有内容已为最新且无过时项,用一句话说明。/sync不会为你运行/architect或/audit;仅提供指引,由你决定。
---Subagent prompt template
子Agent提示模板
See .
agent-prompt.md见。
agent-prompt.md