project-design
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese项目设计
Project Design
把当前改动的技术方案建立在真实项目证据上,并写成一份先让团队理解全貌、再让开发掌握实现边界的方案正文。
正文只保留当前方案结论。把调研过程、候选方案、问题、决策记录、审查材料和变更历史放入正文旁的同名二级目录;正文不能依赖这些材料才能读懂。
本 skill 是技术设计阶段唯一的产物负责人。可以调用调研或读取需求、迁移和 UI 材料,但本阶段只修改技术方案及其二级材料,不同时改写需求结论、迁移处置、任务计划、生产代码或下游完成状态。发现上游缺口时返回对应阶段,不能为了继续设计在本阶段代填。
Base the technical solution for the current change on real project evidence, and compile a solution document that first allows the team to understand the big picture, then enables developers to grasp the implementation boundaries.
Only retain the current solution conclusions in the main document. Place research processes, candidate solutions, issues, decision records, review materials, and change history in a secondary directory with the same name next to the main document; the main document must be understandable without relying on these materials.
This skill is the sole deliverable owner for the technical design phase. It can call research or read requirements, migration, and UI materials, but only modifies the technical solution and its secondary materials during this phase, and does not rewrite requirement conclusions, migration dispositions, task plans, production code, or downstream completion status at the same time. Return to the corresponding phase when upstream gaps are found; do not fill in gaps on behalf of others in this phase to continue the design.
成功标准
Success Criteria
让不了解本次会话的新成员仅凭正文就能回答:
- 为什么改、用户或系统行为会怎样变化、本次不处理什么;
- 请求、数据或事件怎样走完整条主链路,各模块怎样协作;
- 哪些现有能力复用,哪些模块和关键文件需要改变以及原因;
- 哪些契约、状态、兼容、权限和失败边界必须共同遵守;
- 产品能确认范围,开发能据此规划实现,测试能据此设计验证重点。
不要把正文写成架构术语堆叠、文件清单、数据库字典或实现任务列表。
方案正确性是 agent 的交付责任。用户负责决定已经明确呈现的产品或架构取舍,不负责从代码中发现遗漏的调用链、现有能力、状态冲突或验证缺口。用户确认是交接门禁,不是技术正确性的证明或免责依据。
Enable new members who are unfamiliar with this session to answer the following questions solely by reading the main document:
- Why the change is needed, how user or system behavior will change, and what will not be addressed in this change;
- How requests, data, or events traverse the complete main link, and how each module collaborates;
- Which existing capabilities are reused, which modules and key files need to be changed, and the reasons;
- Which contracts, states, compatibility, permissions, and failure boundaries must be jointly observed;
- Product teams can confirm the scope, development teams can plan implementation accordingly, and testing teams can design verification priorities based on it.
Do not write the main document as a stack of architecture terms, file lists, database dictionaries, or implementation task lists.
The agent is responsible for the correctness of the solution. The user is responsible for deciding on clearly presented product or architecture trade-offs, and is not responsible for discovering missing call chains, existing capabilities, state conflicts, or verification gaps from the code. User confirmation is a handover gate, not proof of technical correctness or a basis for exemption.
先建立证据基线
First Establish Evidence Baseline
先理解问题、目标和已有需求,再查看与实现直接相关的代码、配置、接口、数据、测试和项目文档。正式需求文档是可选输入,不是开始设计的前提。
如果项目中已经存在与本次改动对应的正式需求文档,先检查其状态、待决定事项、现状与参照流程以及与用户当前表达的一致性。只有用户已明确认可、状态为“已确认”或项目等价状态的正文才能作为方案输入;仍为草稿、包含会改变用户行为的待决定事项或与用户当前表达冲突时,先回到需求阶段。确认状态不能覆盖正文中的可见缺口:设计调查发现需求声明保留某项能力却没有具体行为、同一状态存在不同产品含义或可观察结果互相冲突时,必须重新打开需求,不能在方案中代替用户补结论。
没有正式需求文档时,可以根据用户当前请求直接开始设计,但仍须先在当前对话或方案开篇写清最小目标契约:用户目标、主要场景、可观察结果、范围和仍会改变产品行为的待决项。存在这类待决项时先澄清;不存在时不强制补写正式需求文档或任务计划。任何情况下都不能把当前实现、用户提出的技术方案、功能名称或参考项目直接当作需求。
需求已经提供产品职责图、独立流程图或状态图时,把它们作为产品行为契约消费,先建立“产品节点/连线 → 技术组件/契约”的映射。设计可以选择实现机制,但不能静默改变执行主体、触发关系、独立流程边界,或把数据依赖改成控制调用;代码事实证明模型不成立时返回需求阶段。
用户从明确目标直接进入设计且没有正式需求文档时,不强制补需求阶段,但复杂改动仍要在方案开篇建立等价的最小产品模型:参与者、业务对象、独立触发、控制/数据关系和可观察结果。这个模型只用于防止技术方案建立在错误产品关系上,不扩展成正式需求流程;模型中存在会改变产品行为的真实分歧时才暂停设计并询问用户。
在形成方案前区分:
- 现状事实:可从项目中定位并引用;
- 需求约束:用户已确认的行为、范围与优先级;
- 方案决策:为满足约束而作出的技术选择;
- 待确认决策:不同答案会改变主链路、数据归属、模块边界或兼容方式;
- 实现参数:可由后续计划或开发自行决定,不进入共同方案。
当用户给出一个技术方案时,先检查它是否利用现有能力、是否真正解决问题、是否与调用链和数据事实相符、是否引入不必要复杂度。保留合理主线,明确修正不成立的前提,不把用户方案或 agent 建议直接当成项目事实。
优先复用现有契约和真实链路。提出新字段、接口、表、状态或服务前,先确认项目中不存在等价能力;无法确认时继续调查或明确标为待确认,不能凭审查问题补造设计。
非简单局部改动必须在正文同名二级目录维护 。不要只列文件名;按受影响能力记录真实链路:
证据基线.md用户或系统入口 → 页面/调用方 → 路由或接口 → 负责模块 → 数据或外部系统 → 返回与副作用每个节点记录实际代码、配置或文档位置以及与本次方案有关的事实。沿真实调用和数据流走查,不能根据文件名、类型名或测试名推断链路已经接通。
涉及用户界面或可见交互时,同时走查需求指定的参照能力和当前待改造实现,分别记录参照基线、目标现状与需求目标。为需求中每项“继续可用、保持一致、复用现有能力”建立影响清单,逐项定位入口、页面或组件、字段来源、操作对象、权限校验、结果反馈和管理入口。方案正文必须说明它们怎样接入新链路;只复用样式、接口或底层数据不能代表用户能力已经保留。任何偏离已确认需求的用户可见行为都退回需求阶段确认,不能用技术方案静默改写。
需求给出固定源码、页面、截图或提交作为视觉基线时,设计阶段负责把它转成可实施、可比对的界面方案。先清点覆盖页面及其加载、空、正常、错误、禁用、展开和窄宽等需求相关状态,再形成布局、组件、样式资源、设计 token、响应式规则和交互反馈的映射;不能要求用户先用文字复述基线中的像素和控件。
“1:1 还原”表示基线范围内默认不得因更换组件库、框架或主题体系而主动降级。实现技术可以不同,但任何可见偏离都必须来自目标硬约束、许可限制或用户明确决定。方案必须定义逐屏并排或截图差异验证,并把关键状态都纳入对照;只写“接近原界面”“使用目标组件体系”或通过组件测试,不能证明视觉契约得到承接。
方案范围由需求目标和实际技术影响面共同决定。初步确定总体方案后,列出将被复用、改写、替换或绕过的页面、主流程、公共组件、协议适配层、状态所有权和数据职责,并与证据基线逐项核对其现有使用者和可达能力。实际影响面超出需求阶段已经走查的用户流程时,先回到需求补齐用户可见基线;存在参考迁移时,同时把 恢复为草稿,补齐新增目标承载面的兼容项。不能因为方案主题较窄,就把其替换的公共承载面当成范围外。
功能迁移基线.mdFirst understand the problem, objectives, and existing requirements, then review the code, configurations, interfaces, data, tests, and project documents directly related to the implementation. Formal requirement documents are optional inputs, not prerequisites for starting the design.
If there is already a formal requirement document corresponding to the current change in the project, first check its status, pending decisions, current status and reference processes, and consistency with the user's current expression. Only the main document that has been clearly approved by the user and is in a "confirmed" status or equivalent project status can be used as input for the solution; if it is still a draft, contains pending decisions that will change user behavior, or conflicts with the user's current expression, return to the requirement phase first. The confirmed status cannot cover visible gaps in the main document: if the design investigation finds that the requirement statement retains a certain capability but does not specify specific behaviors, or the same state has different product meanings or observable results conflict with each other, the requirement must be reopened, and conclusions cannot be supplemented on behalf of the user in the solution.
When there is no formal requirement document, design can start directly based on the user's current request, but the minimum target contract must still be written at the beginning of the current conversation or solution: user objectives, main scenarios, observable results, scope, and pending items that will change product behavior. Clarify first if such pending items exist; do not force the creation of a formal requirement document or task plan if they do not exist. Under no circumstances should the current implementation, technical solutions proposed by the user, function names, or reference projects be directly regarded as requirements.
When the requirements provide a product responsibility diagram, independent flow chart, or state diagram, consume them as product behavior contracts, and first establish a mapping of "product nodes/connections → technical components/contracts". The design can choose the implementation mechanism, but cannot silently change the execution subject, trigger relationship, independent process boundaries, or convert data dependencies into control calls; return to the requirement phase if code facts prove the model is invalid.
When the user enters the design directly from a clear objective without a formal requirement document, the requirement phase is not mandatory, but complex changes still need to establish an equivalent minimum product model at the beginning of the solution: participants, business objects, independent triggers, control/data relationships, and observable results. This model is only used to prevent the technical solution from being based on incorrect product relationships, and is not expanded into a formal requirement process; pause the design and ask the user only if there are real disagreements in the model that will change product behavior.
Distinguish the following before forming the solution:
- Current Status Facts: Can be located and referenced from the project;
- Requirement Constraints: Confirmed behaviors, scope, and priorities by the user;
- Solution Decisions: Technical choices made to meet the constraints;
- Pending Decisions: Different answers will change the main link, data ownership, module boundaries, or compatibility methods;
- Implementation Parameters: Can be decided by subsequent plans or developers independently, and do not enter the shared solution.
When the user provides a technical solution, first check whether it utilizes existing capabilities, truly solves the problem, matches the call chain and data facts, and introduces unnecessary complexity. Retain the reasonable main line, clearly correct invalid premises, and do not directly regard the user's solution or the agent's suggestions as project facts.
Prioritize reusing existing contracts and real links. Before proposing new fields, interfaces, tables, states, or services, first confirm that there are no equivalent capabilities in the project; if confirmation is not possible, continue the investigation or clearly mark it as pending confirmation, and do not create designs based on review questions.
Non-simple local changes must maintain in the secondary directory with the same name as the main document. Do not only list file names; record real links according to affected capabilities:
evidence-baseline.mdUser or system entry → Page/caller → Route or interface → Responsible module → Data or external system → Return and side effectsRecord the actual code, configuration, or document location and facts related to the current solution for each node. Walk through the real call and data flow, and do not infer that the link is connected based on file names, type names, or test names.
When involving user interfaces or visible interactions, walk through both the reference capabilities specified in the requirements and the current implementation to be modified, and record the reference baseline, current status of the target, and requirement objectives respectively. For each "continue to be available, remain consistent, reuse existing capabilities" in the requirements, establish an impact list, and locate the entry, page or component, field source, operation object, permission verification, result feedback, and management entry one by one. The main solution document must explain how they connect to the new link; reusing only styles, interfaces, or underlying data does not mean that user capabilities have been retained. Any visible behavior deviation from the confirmed requirements must be returned to the requirement phase for confirmation, and cannot be silently rewritten with technical solutions.
When the requirements provide fixed source code, pages, screenshots, or submissions as visual baselines, the design phase is responsible for converting them into implementable and comparable interface solutions. First count the covered pages and their requirement-related states such as loading, empty, normal, error, disabled, expanded, and narrow/wide, then form a mapping of layout, components, style resources, design tokens, responsive rules, and interaction feedback; do not require the user to first retell the pixels and controls in the baseline in text.
"1:1 restoration" means that within the baseline scope, active degradation due to component library, framework, or theme system replacement is not allowed by default. The implementation technology can be different, but any visible deviation must come from target hard constraints, license restrictions, or clear decisions by the user. The solution must define side-by-side screen-by-screen or screenshot difference verification, and include all key states in the comparison; only writing "close to the original interface", "use the target component system", or passing component tests cannot prove that the visual contract has been accepted.
The solution scope is jointly determined by the requirement objectives and actual technical impact. After initially determining the overall solution, list the pages, main processes, public components, protocol adaptation layers, state ownership, and data responsibilities that will be reused, rewritten, replaced, or bypassed, and check their existing users and accessible capabilities against the evidence baseline one by one. When the actual impact exceeds the user processes reviewed in the requirement phase, return to the requirement phase first to complete the user-visible baseline; if there is a reference migration, restore to a draft at the same time, and complete the compatibility items of the new target bearing surface. Do not regard the public bearing surface being replaced as out of scope just because the solution theme is narrow.
feature-migration-baseline.md先判定参考角色
First Determine Reference Roles
用户、需求或项目材料提到其他项目、模板、旧版本或既有实现时,先分别判定它在本次工作中的角色:行为基线、视觉参考、SDK/框架/平台候选、数据或协议来源、实现证据。只有用户要求保留、复刻或适配其完整用户行为的“行为基线”,才使用 建立并确认双基线;视觉参考只调查相关界面语义和视觉约束,技术候选用于选型,数据来源用于契约兼容,实现证据只支持对应机制。
project-feature-migration不能因为用户使用“参考”一词、提供了源码路径,或某项目同时具有多个可借鉴部分,就把整个项目升级为功能迁移。一个项目承担多个角色时分别限定能力范围,不合并成一份无限扩张的迁移契约。
存在行为基线时,迁移基线中的用户可见差异、改变或移除必须已经由用户当前明确决定,或落入已确认需求正文;没有这类待决项时,可以直接用用户当前目标和已确认迁移基线进入设计。迁移材料证明源行为和目标影响,不能替代目标需求决定。
对于行为基线,在迁移基线达到下列条件前,不得确定依赖该迁移的总体架构、主链路或宣布方案审查完成:
- 锁定源项目和目标项目的提交、分支或实际工作区状态,以及会改变行为的关键依赖版本;
- 从源项目真实入口走通范围内的代表性用户链路,并追踪到状态、数据、外部系统、副作用和结果反馈;
- 逐项还原源功能的正常流程、恢复流程、操作门禁、协议或任务结束边界、重要失败语义和必要后台支撑;
- 为每项源行为建立连续代码或运行证据,不能从文件名、局部代码、文档、测试或表面相似性推断完整机制;
- 完成目标承载面兼容基线,对每项受影响既有能力记录“保留、改变、移除或受阻”,并解决与源能力的契约冲突;
- 将每项源能力、目标兼容项和必要支撑映射到需求位置、方案机制、负责模块和可观察验证点。
源项目与目标项目使用不同框架、SDK 或依赖版本时,同时核对两端真实代码和各自版本契约。源项目采用某种实现不证明目标版本仍应相同;目标依赖提供另一种能力也不证明参考功能可以被省略。必须说明语义是否仍成立、差异由版本还是项目约束造成,以及目标方案为何保留或改变该行为。
无法运行或读取参考实现或目标承载面时,把缺失证据、已采用的交叉验证和它对设计结论的影响记录为受阻项。关键用户链路、目标兼容能力、核心规则或生命周期边界仍无法确认时,停止对应方案结论,不能用“后续实现时再确认”或用户确认代替双基线调查。
When users, requirements, or project materials mention other projects, templates, old versions, or existing implementations, first determine their roles in this work respectively: behavior baseline, visual reference, SDK/framework/platform candidate, data or protocol source, implementation evidence. Only the "behavior baseline" that the user requires to retain, replicate, or adapt its complete user behavior uses to establish and confirm dual baselines; visual references only investigate relevant interface semantics and visual constraints, technical candidates are used for selection, data sources are used for contract compatibility, and implementation evidence only supports corresponding mechanisms.
project-feature-migrationDo not upgrade the entire project to a feature migration just because the user uses the word "reference", provides a source code path, or a project has multiple referenceable parts. When a project assumes multiple roles, limit the scope of capabilities respectively, and do not merge them into an infinitely expanding migration contract.
When a behavior baseline exists, the user-visible differences, changes, or removals in the migration baseline must have been clearly decided by the user currently, or fall into the confirmed requirement main document; if there are no such pending items, you can directly enter the design with the user's current objectives and confirmed migration baseline. Migration materials prove the source behavior and target impact, and cannot replace the target requirement decision.
For behavior baselines, before the migration baseline meets the following conditions, the overall architecture, main link, or announcement of solution review completion that depends on this migration cannot be determined:
- Lock the submission, branch, or actual workspace state of the source project and target project, as well as the key dependency versions that will change behavior;
- Walk through the representative user links within the scope from the real entry of the source project, and track the state, data, external systems, side effects, and result feedback;
- Restore the normal process, recovery process, operation access control, protocol or task end boundary, important failure semantics, and necessary backend support of the source function item by item;
- Establish continuous code or operation evidence for each source behavior, and cannot infer the complete mechanism from file names, local code, documents, tests, or surface similarity;
- Complete the compatibility baseline of the target bearing surface, record "retain, change, remove, or block" for each affected existing capability, and resolve contract conflicts with the source capability;
- Map each source capability, target compatibility item, and necessary support to the requirement location, solution mechanism, responsible module, and observable verification point.
When the source project and target project use different frameworks, SDKs, or dependency versions, check the real code and respective version contracts of both ends at the same time. The fact that the source project adopts a certain implementation does not prove that the target version should still be the same; the fact that the target dependency provides another capability does not prove that the reference function can be omitted. It must be explained whether the semantics are still valid, whether the difference is caused by version or project constraints, and why the target solution retains or changes this behavior.
When the reference implementation or target bearing surface cannot be run or read, record the missing evidence, the cross-validation adopted, and its impact on the design conclusion as blocked items. When key user links, target compatibility capabilities, core rules, or lifecycle boundaries still cannot be confirmed, stop the corresponding solution conclusion, and cannot use "confirm during subsequent implementation" or user confirmation to replace the dual baseline investigation.
建立完整方案模型
Establish a Complete Solution Model
先确定端到端主链路,再确定局部机制。不要用表数量、服务数量、文件数量、正文行数或“复杂度红线”代替方案正确性。简单方案是满足全部已确认行为和真实项目约束后机制最少的方案;删除一个机制后如果需求映射、现有能力或失败边界不再闭合,该删除就是过度简化。
先逐条承接产品模型中的参与者、独立触发、控制边和数据边,再展开技术调用链。三个以上组件、多阶段状态或两条以上独立流程必须用图表达技术映射;图中明确哪些边承接产品控制关系、哪些只是读写共享数据。技术图不能用顺序箭头把产品上独立运行的同步、调度、Agent 执行或恢复流程强行串联。
对后台执行、流式、异步、审批、恢复或跨服务改动,分别建模以下独立生命周期,不能用一个 、、 或摘要状态控制全部行为:
runningstreamingbusy- 业务执行处于什么状态,由谁拥有;
- 请求、事件流或连接是否存在,由谁建立和结束;
- 用户当前可以提交什么操作,门禁依据是什么;
- 哪些事实已经持久化,哪些结果可以安全展示或恢复;
- 列表或摘要表达什么,是否只是展示而不能作为操作门禁。
为每个状态同时定义进入条件、退出条件和刷新后的恢复依据;只有进入条件没有退出条件的状态不算闭合。每个操作门禁和已完成交互都必须对应一个刷新后仍成立的持久事实,客户端内存、临时投影或当前连接状态不能作为唯一依据。
明确生命周期之间的转换条件和交互。例如长连接仍存在时,业务执行可能已经等待用户输入;此时页面是否允许审批、回答或发送下一条消息必须由业务契约决定,不能由连接是否结束决定。
涉及外部副作用、跨服务调用或无法原子提交的写入时,沿每个不可逆边界检查:
- 边界前已经保存什么事实;
- 外部系统是否可能已经接受;
- 本地成功、明确拒绝和结果未知分别怎样记录;
- 哪些情况允许重试、继续、取消或删除;
- 用户和后续恢复流程看到什么。
只设计需求、现有项目约束或受支持运行方式下真实存在的失败窗口。不能为了覆盖理论风险增加通用状态机,也不能因为避免复杂而省略已经存在的失败契约。
关键源码、依赖版本或真实运行证据推翻总体架构、端到端主链路、状态所有权或协议边界的基础前提时,立即废止依赖该前提的方案结论、映射和审查结果,回到证据基线重新建模。不能把基础前提变化降级成一条局部补丁,连续追加机制后继续沿用原“审查已闭合”结论。
如果变化还推翻了需求使用的参考角色、目标用户流程或可观察结果,把具体受影响项返回需求阶段并停止对应设计。设计阶段不能通过改变页面入口、默认行为、状态展示或操作对象来“顺便解决”需求缺口。
同一业务对象存在发送、审批、删除、取消或后台更新等可并发动作时,明确哪些动作互斥、原子门禁位于哪里、陈旧快照如何被拒绝,以及外部副作用发生前怎样阻止冲突动作。不能只分别描述每条顺序流程而忽略它们的交错。
First determine the end-to-end main link, then determine the local mechanism. Do not use the number of tables, services, files, lines of main document text, or "complexity red line" to replace solution correctness. A simple solution is the one with the fewest mechanisms after meeting all confirmed behaviors and real project constraints; if the requirement mapping, existing capabilities, or failure boundaries are no longer closed after deleting a mechanism, the deletion is over-simplification.
First undertake the participants, independent triggers, control edges, and data edges in the product model one by one, then expand the technical call chain. Three or more components, multi-stage states, or two or more independent processes must be expressed with diagrams for technical mapping; clearly indicate which edges undertake product control relationships and which only read and write shared data in the diagram. The technical diagram cannot use sequential arrows to forcefully串联 independent synchronous, scheduling, Agent execution, or recovery processes that run independently in the product.
For background execution, streaming, asynchronous, approval, recovery, or cross-service changes, model the following independent lifecycles respectively, and cannot use a single , , , or summary state to control all behaviors:
runningstreamingbusy- What state the business execution is in, and who owns it;
- Whether the request, event stream, or connection exists, and who establishes and ends it;
- What operations the user can currently submit, and what the access control basis is;
- Which facts have been persisted, and which results can be safely displayed or recovered;
- What the list or summary expresses, and whether it is only for display and cannot be used as operation access control.
Define the entry conditions, exit conditions, and recovery basis after refreshing for each state at the same time; a state with only entry conditions and no exit conditions is not considered closed. Each operation access control and completed interaction must correspond to a persistent fact that is still valid after refreshing; client memory, temporary projections, or current connection status cannot be used as the only basis.
Clarify the transition conditions and interactions between lifecycles. For example, when a long connection still exists, the business execution may be waiting for user input; at this time, whether the page allows approval, response, or sending the next message must be determined by the business contract, not by whether the connection ends.
When involving external side effects, cross-service calls, or writes that cannot be submitted atomically, check along each irreversible boundary:
- What facts have been saved before the boundary;
- Whether the external system may have accepted it;
- How local success, explicit rejection, and unknown results are recorded respectively;
- Which situations allow retries, continuation, cancellation, or deletion;
- What users and subsequent recovery processes see.
Only design failure windows that actually exist under requirements, existing project constraints, or supported operation modes. Do not add a general state machine to cover theoretical risks, and do not omit existing failure contracts to avoid complexity.
When key source code, dependency versions, or real operation evidence overturn the basic premises of the overall architecture, end-to-end main link, state ownership, or protocol boundary, immediately abolish the solution conclusions, mappings, and review results that depend on this premise, and return to the evidence baseline to re-model. Do not downgrade the change of basic premises into a local patch, and continue to use the original "review closed" conclusion after continuously adding mechanisms.
If the change also overturns the reference role, target user process, or observable results used in the requirements, return the specific affected items to the requirement phase and stop the corresponding design. The design phase cannot "incidentally solve" requirement gaps by changing page entries, default behaviors, state displays, or operation objects.
When there are concurrent actions such as sending, approving, deleting, canceling, or background updating for the same business object, clarify which actions are mutually exclusive, where the atomic access control is located, how stale snapshots are rejected, and how conflicting actions are prevented before external side effects occur. Do not only describe each sequential process separately while ignoring their interleaving.
高质量地批量澄清
High-Quality Batch Clarification
能从项目查清的事实自行查清。只把必须由用户或团队决定、且会明显改变技术方向的事项拿出来讨论。
默认把互不依赖的关键决策合并为一轮 2–5 个编号问题。只有当前答案会决定其余问题是否成立,或确实只有一个架构分歧时,才单独问一个问题。
每个问题都要包含:
- 已确认的现状证据和当前理解;
- 需要决定的具体分歧;
- 各方向对用户行为、主链路、数据或模块边界的实际影响;
- 基于当前项目的建议及理由;
- 该答案将落入正文的哪个部分。
不要询问可由开发自行选择的函数写法、字段命名、SQL 形式、重试秒数等参数。不要把低概率防御、发布仪式、回退机制或通用平台能力自动加入方案;只有需求、现有项目约束或真实风险证据要求时才讨论。
新增机制、用户可见行为或风险处理必须能映射到已确认需求、现有项目约束,或本次改动在受支持运行方式下产生的具体失败路径。只有“业界通常这样做”或“理论上可能发生”不能成为扩展范围或提升阻断级别的依据;无法建立映射时删除该设计,或返回需求阶段确认是否需要。
收到回答后,统一更新相关方案章节和变更记录,再处理下一批受影响的决策。不要围绕同一主题逐轮追加零散问题。
Investigate facts that can be clarified from the project on your own. Only discuss matters that must be decided by the user or team and will significantly change the technical direction.
By default, merge independent key decisions into a single round of 2–5 numbered questions. Only ask a single question if the current answer will determine whether the remaining questions are valid, or if there is indeed only one architectural disagreement.
Each question must include:
- Confirmed current status evidence and current understanding;
- Specific disagreements that need to be decided;
- Actual impacts of each direction on user behavior, main link, data, or module boundaries;
- Suggestions based on the current project and reasons;
- Which part of the main document the answer will fall into.
Do not ask about parameters that can be chosen by developers independently, such as function writing, field naming, SQL form, or retry seconds. Do not automatically add low-probability defense, release rituals, rollback mechanisms, or general platform capabilities to the solution; only discuss them when required by requirements, existing project constraints, or real risk evidence.
New mechanisms, user-visible behaviors, or risk handling must be mapped to confirmed requirements, existing project constraints, or specific failure paths generated by this change under supported operation modes. Only "the industry usually does this" or "it may happen in theory" cannot be used as a basis for expanding the scope or increasing the blocking level; delete the design if the mapping cannot be established, or return to the requirement phase to confirm whether it is needed.
After receiving answers, uniformly update the relevant solution chapters and change records, then process the next batch of affected decisions. Do not add scattered questions around the same topic round by round.
先共享理解,再展开技术细节
Share Understanding First, Then Expand Technical Details
尽早创建或更新正文,并随调研和讨论持续合入结论。复杂方案采用分层阅读顺序;标题可以适配项目,但不能省略第一层共享说明。
第一次创建正文时按项目规范标记状态;项目没有约定时标为“草稿”。草稿可以持续记录调查和已确认方案结论,但不能作为已确认方案交给规划或实现阶段。
Create or update the main document as early as possible, and continuously integrate conclusions with research and discussions. Complex solutions adopt a layered reading order; titles can be adapted to the project, but the first layer of shared explanation cannot be omitted.
Mark the status according to project specifications when creating the main document for the first time; mark it as "Draft" if there is no project agreement. Drafts can continuously record investigations and confirmed solution conclusions, but cannot be handed over to the planning or implementation phase as a confirmed solution.
第一层:团队共享概览
Layer 1: Team Shared Overview
放在正文最前面,让产品、开发和测试无需先理解代码即可读懂:
- 改动摘要:问题、目标、用户或系统行为变化;
- 范围与边界:本次包含、不包含和依赖项;
- 整体方案:用自然语言和必要的图说明端到端主链路;
- 关键决策:真正影响方向的取舍、选择理由和后果。
共享概览只讲团队需要达成一致的内容,不塞入表字段、锁、哈希、租约或文件路径。出现专业术语时先解释业务含义,再附代码名称。
Place it at the very beginning of the main document, so that product, development, and testing teams can understand it without first understanding the code:
- Change Summary: Problem, objectives, changes in user or system behavior;
- Scope and Boundaries: Included, excluded, and dependent items in this change;
- Overall Solution: Explain the end-to-end main link in natural language and necessary diagrams;
- Key Decisions: Trade-offs that truly affect the direction, reasons for selection, and consequences.
The shared overview only covers content that the team needs to reach consensus on, and does not include table fields, locks, hashes, leases, or file paths. When professional terms appear, explain their business meanings first, then attach the code names.
第二层:技术方案正文
Layer 2: Technical Solution Main Document
按功能链路而不是按数据库、后端、前端机械分章,说明:
- 当前链路中与改动直接相关的事实和限制;
- 目标链路从入口到结果怎样运行;
- 各组件的职责、输入输出和协作边界;
- 关键数据、接口、状态和一致性契约;
- 会实际影响方案的失败处理、权限、兼容、迁移与容量边界;
- 现有能力如何复用,为什么需要新增部分。
- 前端在本次范围内时,相关页面或组件复用、数据与状态映射、操作权限和用户反馈怎样实现已确认的交互行为。
每个章节先写结论和它解决的问题,再写机制与约束。每段只表达一个中心意思;流程用有序列表,精确映射用表格,三个以上组件或多阶段状态关系优先使用小型流程图。避免连续长段、缩写堆叠和在多处重复同一契约。
不要把所有可能异常写进正文。只保留会改变共同实现方向或跨模块协作的边界;具体算法、函数、SQL、错误码和调度参数留给开发计划与实现。
Chapterize by function links instead of mechanically dividing by database, backend, or frontend, and explain:
- Facts and restrictions directly related to the change in the current link;
- How the target link runs from entry to result;
- Responsibilities, input/output, and collaboration boundaries of each component;
- Key data, interfaces, states, and consistency contracts;
- Failure handling, permissions, compatibility, migration, and capacity boundaries that will actually affect the solution;
- How existing capabilities are reused, and why new parts are needed.
- When the frontend is within the scope of this change, how the reuse of relevant pages or components, data and state mapping, operation permissions, and user feedback implement the confirmed interaction behaviors.
Each chapter first writes the conclusion and the problem it solves, then writes the mechanism and constraints. Each paragraph only expresses one central idea; use ordered lists for processes, tables for precise mappings, and prefer small flowcharts for relationships between three or more components or multi-stage states. Avoid continuous long paragraphs, stacks of abbreviations, and repeated contracts in multiple places.
Do not write all possible exceptions into the main document. Only retain boundaries that will change the shared implementation direction or cross-module collaboration; leave specific algorithms, functions, SQL, error codes, and scheduling parameters to development plans and implementation.
第三层:影响与验证
Layer 3: Impact and Verification
按能力或链路阶段分组列出预计新增或修改的模块与关键文件。对每组先说明职责变化,再列关键文件及改动原因;文件多时只在正文保留决定协作边界的文件,把可机械推导的完整清单放入二级材料。文件清单不能写成任务步骤。
用简洁映射检查每项需求行为、范围声明、保留能力和关键边界是否都有方案承接;数量较多时把完整映射放入二级目录,正文保留决定协作边界的部分:
需求行为或约束 → 方案机制 → 负责模块 → 可观察验证点逐项检查映射中的模块是否已在证据基线中定位,机制是否覆盖入口到副作用的完整链路。只写“复用现有能力”“由前端处理”或“通过 relay 转发”而没有真实落点,不算承接。
反向检查每个新增方案机制是否有已确认需求、项目约束或具体失败路径作为来源。没有来源的机制不能因为能够实现或看似更完整而保留;发现需求缺口时回到需求阶段,不在方案中补造产品结论。
验证重点描述需要证明什么、必须在哪个运行层级证明以及使用什么真实边界,不展开测试代码或穷举用例:
- 页面行为必须由加载当前实现的真实页面和关键交互证明;
- HTTP 能力必须经过真实路由、鉴权、响应和副作用证明;
- 持久化与恢复必须经过写入、离开或重启、重新读取证明;
- 可恢复交互必须在外部操作刚被接受、下一条结果事件尚未到达时立即刷新或重开,证明已完成动作不会重新变成可操作;
- 外部服务契约必须经过真实服务或项目认可的等价测试边界证明;
- 类型检查、构建、源码断言和直接函数调用只能证明各自层级,不能替代用户链路。
跨层或高风险公共契约应在验证设计中指定一个代表性的端到端纵向闭环,要求执行阶段优先接通并验证,再批量展开同类工作。验证点必须覆盖正常主流程、需求明确的重要恢复场景以及已经查证的失败窗口。
List the modules and key files that are expected to be added or modified, grouped by capability or link phase. For each group, first explain the responsibility changes, then list the key files and reasons for modification; when there are many files, only retain the files that determine collaboration boundaries in the main document, and place the complete list that can be mechanically derived in the secondary materials. The file list cannot be written as task steps.
Use a concise mapping to check whether each requirement behavior, scope statement, retained capability, and key boundary is undertaken by the solution; place the complete mapping in the secondary directory when there are many items, and retain the part that determines collaboration boundaries in the main document:
Requirement behavior or constraint → Solution mechanism → Responsible module → Observable verification pointCheck item by item whether the modules in the mapping have been located in the evidence baseline, and whether the mechanism covers the complete link from entry to side effects. Only writing "reuse existing capabilities", "handled by frontend", or "forwarded via relay" without a real landing point does not count as undertaking.
Reverse check whether each new solution mechanism has a source from confirmed requirements, project constraints, or specific failure paths. Mechanisms without sources cannot be retained just because they can be implemented or seem more complete; return to the requirement phase when requirement gaps are found, and do not create product conclusions in the solution.
Verification priorities describe what needs to be proven, at which operation level it must be proven, and what real boundaries are used, without expanding test code or exhaustive use cases:
- Page behavior must be proven by real pages loaded with the current implementation and key interactions;
- HTTP capabilities must be proven by real routing, authentication, responses, and side effects;
- Persistence and recovery must be proven by writing, leaving or restarting, and re-reading;
- Recoverable interactions must be refreshed or reopened immediately after the external operation is accepted and the next result event has not arrived, to prove that completed actions will not become operable again;
- External service contracts must be proven by real services or equivalent test boundaries approved by the project;
- Type checking, building, source code assertions, and direct function calls can only prove their respective levels, and cannot replace user links.
Cross-layer or high-risk public contracts should specify a representative end-to-end vertical closed loop in the verification design, requiring the execution phase to connect and verify it first, then expand similar work in batches. Verification points must cover the normal main process, important recovery scenarios clearly specified in the requirements, and verified failure windows.
控制文档可读性
Control Document Readability
- 让读者在开篇几分钟内得到全貌,不得先穿过接口表或数据模型才能知道要做什么。
- 使用能回答读者问题的标题,例如“历史数据如何补齐”,避免只有抽象名词的连续章节。
- 把事实、方案结论、选择理由和未决事项分开表达;不要在一个长段中混写。
- 对同一概念只保留一个权威定义,其他位置链接或简短引用。
- 表格只用于比较和稳定映射;大段叙述不要硬塞进单元格。
- 研究证据、完整接口字段、完整表结构、审查问答和被否决方案通常放入二级目录。
- 正文变长时优先重组和移出过程材料,不通过继续增加小标题掩盖信息过载。
- Enable readers to get the big picture within the first few minutes of opening the document; do not require them to go through interface tables or data models first to know what to do.
- Use titles that answer readers' questions, such as "How to Fill Historical Data", avoiding consecutive chapters with only abstract nouns.
- Separate facts, solution conclusions, reasons for selection, and pending items; do not mix them in one long paragraph.
- Keep only one authoritative definition for the same concept, and link or briefly reference it in other locations.
- Use tables only for comparison and stable mappings; do not force long narratives into cells.
- Research evidence, complete interface fields, complete table structures, review Q&A, and rejected solutions are usually placed in the secondary directory.
- When the main document becomes longer, prioritize reorganizing and moving out process materials, rather than continuing to add subheadings to cover information overload.
文件与变更记录
Files and Change Records
如果已有相关需求文档,沿用其版本和中文工作名称。路径优先遵循用户指定,否则沿用项目规范,默认写入 。已有事项编号时使用“编号-中文功能名”。正文开头链接实际存在的需求文档;没有就不创建虚假链接。文档被下游引用后,不因标题或措辞变化随意改路径。
workplace/<版本>/tech-design/<工作名称>.md在正文旁创建同名二级目录,并维护独立的 。方案含义变化后追加一条简短记录,说明改了什么以及为什么改;纯排版、错字和不改变含义的措辞调整不记录。二级材料中的最终方案结论必须提炼回正文。
变更记录.mdIf there is an existing relevant requirement document, follow its version and Chinese work name. Follow the user-specified path first; otherwise, follow the project specifications, and write to by default. Use "number-Chinese function name" when there is an existing item number. Link the actual existing requirement document at the beginning of the main document; do not create false links if there is none. Do not arbitrarily change the path due to title or wording changes after the document is referenced downstream.
workplace/<version>/tech-design/<work-name>.mdCreate a secondary directory with the same name next to the main document, and maintain an independent . Add a brief record after the solution meaning changes, explaining what was changed and why; pure typesetting, typos, and wording adjustments that do not change the meaning are not recorded. The final solution conclusions in the secondary materials must be refined back into the main document.
change-records.md收敛式方案审查
Convergent Solution Review
正文基本稳定后进入审查循环。不要假设一次审查能发现全部问题,也不要因为已经修改过就机械地重新全审;根据本轮发现和修改影响决定下一轮范围。
用户审阅位于方案自检之后,不是发现技术遗漏的手段。向用户提交确认或声称“只差审阅”前,必须先完成当前版本的证据基线核对、双向需求映射、端到端链路审查和规定的独立审查,修复所有能够自行查证的问题,再按修改影响定向复核或重新全审,直到当前复核没有新的实质问题。总体架构、主链路、参考基线、公共契约或多个章节共同规则发生变化时,旧审查结论失效,正文保持草稿/自检中。
第一轮先由主 agent 做全量覆盖审查:
- 双向需求映射:每项需求、保留能力和边界是否有真实方案承接,每个机制是否有来源;
- 参考迁移完整性:存在指定参考实现时,迁移基线中的每项源行为、目标承载面兼容项、契约冲突和必要支撑是否已有目标处置、方案承接和版本差异依据;
- 证据有效性:所有模块和复用结论是否来自实际调用链,而非名称、相似文件或未验证假设;
- 用户链路闭合:从每个入口沿操作、处理、状态变化、结果消费、离开和恢复是否连通;
- 生命周期独立性:业务执行、连接、操作门禁、持久化事实和展示摘要是否被错误合并;
- 职责与契约一致:数据、权限、状态和副作用是否有唯一归属,跨模块是否使用同一契约;
- 失败边界闭合:每个真实外部副作用窗口是否定义成功、拒绝、未知和后续允许动作;
- 验证层级匹配:每项用户或系统行为是否要求在能够真实证明它的层级验证;
- 下游返工风险:规划、实现或测试是否还会因缺少高影响决策而必须返回重新设计。
在修改正文前先汇总本轮全部发现,去重并逐项验证。对每个发现分类再处理:
- 项目事实错误:回到代码和文档查证后修正;
- 用户或架构决策缺失:与其他问题合并成一轮澄清;
- 表达和组织问题:直接改写;
- 实现参数:明确归属后留给后续阶段;
- 推测性加固或无关扩展:拒绝加入并记录理由。
集中处理本轮全部实质问题,不要发现一个、修改一个、马上开启新一轮。审查问题只是线索,不是方案来源;任何新结论都必须能追溯到需求、项目证据或用户决策。不要因为独立审查者说“不确定”就补写所有细节。
方案跨多个服务、存在高风险数据变更或主 agent 无法可靠模拟目标读者时,必须进行独立候选问题审查;普通局部方案可按风险决定是否使用。候选问题数量不是完成标准,审查必须覆盖双向需求映射、现有能力、端到端链路、独立生命周期、真实失败边界和验证层级。每个候选问题必须指向正文具体位置,说明可能产生的不同实现及其影响;盲读审查者只能判断正文是否足以形成一致理解,不能据此断言项目缺少能力、风险必须处理或方案需要扩展。
随后由能够查看需求、方案和相关项目证据的审查者逐项验证候选问题,并至少完整走通一个代表性用户链路,逐步核对实际模块、生命周期状态、操作门禁、持久化事实和验证方式。记录需求依据、代码或配置事实、具体失败路径、影响范围和处理分类。正文无法回答只证明可能存在表达或设计缺口,不自动证明项目缺少契约。只有查证后仍会改变整体实现、关键契约、模块职责、范围或可验证结果的问题,才能成为正式发现、方案决策或用户澄清问题。需要多个视角时尽量在同一轮并行,汇总并验证后统一修改,避免审查者依次扩张或过度简化方案。
每轮修改后按影响范围决定下一步:
- 只改措辞、排版或局部解释:定向复核本节;
- 改变单个组件职责、局部接口或状态规则:复核该组件的上下游链路、需求映射和验证点;
- 改变总体架构、端到端主链路、数据归属、公共契约、兼容迁移或多个模块边界:重新进行全量覆盖审查;
- 连续多轮出现互不相关的新架构缺口:暂停补丁式扩写,回到证据基线和整体方案重新建模后再全审。
普通方案在一轮复核没有发现实质问题后结束。跨服务、高风险数据改动或会影响多个团队的方案,可以要求连续两轮没有新的实质问题。实质问题只包括会导致整体实现、关键契约、模块职责、范围或可验证结果被不同理解的差异;实现参数、措辞偏好和推测性加固不推动新一轮。
不要规定候选问题、正式发现或审查轮次的固定数量。把每轮范围、候选问题及查证依据、实质发现、处理结果、未采纳项和继续审查的原因放入同名二级目录,不在正文写“审查通过”。
方案阶段完成不表示已经证明不存在未知问题。只有规定的调查和审查已经执行、实际影响面中的每个承载面及其使用者已经识别、证据基线覆盖全部受影响链路、指定参考实现的双基线已经确认且每个源能力和目标兼容项都有方案处置、每项需求与保留能力都有真实方案承接、独立生命周期和真实失败边界已经闭合、验证层级足以证明交付行为、候选问题均已查证分类、实质问题已经解决,并且用户已经审阅和明确认可当前正文,才将正文标记为已确认并允许直接进入执行或按需进入规划。
用户确认后发现 agent 本应通过代码调查、参考实现逆向、版本差异核对、链路走查、需求映射或方案审查发现的遗漏,按方案缺陷处理并重新打开正文,不能归因于用户此前确认。总体架构、主链路、数据归属、公共契约、范围或可验证结果发生变化时,同样重新标为草稿并确认受影响内容;如果变化来自遗漏的参考行为或错误的版本假设,同时重新打开迁移基线和全量覆盖审查。
Enter the review cycle after the main document is basically stable. Do not assume that all problems can be found in one review, and do not mechanically re-review the entire document just because it has been modified; determine the scope of the next round based on the findings and modification impact of this round.
User review comes after solution self-inspection, and is not a means to discover technical omissions. Before submitting confirmation to the user or claiming "only review is left", complete the evidence baseline check, two-way requirement mapping, end-to-end link review, and specified independent review for the current version, fix all problems that can be verified independently, then conduct targeted review or full re-review based on the modification impact, until no new substantive problems are found in the current review. When the overall architecture, main link, reference baseline, public contract, or rules shared by multiple chapters change, the old review conclusions become invalid, and the main document remains in "Draft/Self-Inspection".
First, the main agent conducts a full-coverage review in the first round:
- Two-way Requirement Mapping: Whether each requirement, retained capability, and boundary is undertaken by a real solution, and whether each mechanism has a source;
- Reference Migration Completeness: When a specified reference implementation exists, whether each source behavior, target bearing surface compatibility item, contract conflict, and necessary support in the migration baseline has a target disposition, solution undertaking, and version difference basis;
- Evidence Validity: Whether all modules and reuse conclusions come from actual call chains, not names, similar files, or unverified assumptions;
- User Link Closure: Whether each entry is connected along operation, processing, state change, result consumption, leaving, and recovery;
- Lifecycle Independence: Whether business execution, connection, operation access control, persistent facts, and display summaries are incorrectly merged;
- Consistency of Responsibilities and Contracts: Whether data, permissions, states, and side effects have unique ownership, and whether the same contract is used across modules;
- Failure Boundary Closure: Whether each real external side effect window defines success, rejection, unknown, and subsequent allowed actions;
- Verification Level Matching: Whether each user or system behavior requires verification at a level that can truly prove it;
- Downstream Rework Risk: Whether planning, implementation, or testing will still have to return to redesign due to lack of high-impact decisions.
Summarize all findings of this round first, deduplicate and verify item by item before modifying the main document. Classify each finding before processing:
- Project fact errors: Correct after verifying with code and documents;
- Missing user or architecture decisions: Merge with other questions into a round of clarification;
- Expression and organization issues: Rewrite directly;
- Implementation parameters: Clarify ownership and leave to subsequent phases;
- Speculative reinforcement or irrelevant extensions: Reject and record the reasons.
Focus on handling all substantive problems in this round; do not find one, modify one, and immediately start a new round. Review questions are only clues, not sources of solutions; any new conclusion must be traceable to requirements, project evidence, or user decisions. Do not write all details just because the independent reviewer says "not sure".
When the solution spans multiple services, involves high-risk data changes, or the main agent cannot reliably simulate the target readers, independent candidate question review must be conducted; ordinary local solutions can decide whether to use it based on risk. The number of candidate questions is not a completion standard; the review must cover two-way requirement mapping, existing capabilities, end-to-end links, independent lifecycles, real failure boundaries, and verification levels. Each candidate question must point to a specific location in the main document, explain possible different implementations and their impacts; blind reviewers can only judge whether the main document is sufficient to form a consistent understanding, and cannot assert that the project lacks capabilities, risks must be handled, or the solution needs to be expanded.
Subsequently, reviewers who can view requirements, solutions, and relevant project evidence verify the candidate questions item by item, and at least walk through one representative user link completely, checking the actual modules, lifecycle states, operation access control, persistent facts, and verification methods step by step. Record requirement basis, code or configuration facts, specific failure paths, impact scope, and processing classification. The inability of the main document to answer only proves that there may be expression or design gaps, and does not automatically prove that the project lacks contracts. Only problems that will still change the overall implementation, key contracts, module responsibilities, scope, or verifiable results after verification can become formal findings, solution decisions, or user clarification questions. When multiple perspectives are needed, try to conduct them in parallel in the same round, summarize and verify before modifying uniformly, to avoid reviewers expanding or over-simplifying the solution sequentially.
After each round of modification, determine the next step based on the impact scope:
- Only modify wording, typesetting, or local explanations: Conduct targeted review of this section;
- Change the responsibility of a single component, local interface, or state rule: Review the upstream and downstream links, requirement mapping, and verification points of this component;
- Change the overall architecture, end-to-end main link, data ownership, public contract, compatibility migration, or multiple module boundaries: Conduct full-coverage review again;
- Multiple rounds of unrelated new architecture gaps: Suspend patch-style expansion, return to the evidence baseline and overall solution to re-model, then conduct full review.
Ordinary solutions end after no substantive problems are found in one round of review. Solutions involving cross-services, high-risk data changes, or affecting multiple teams can require no new substantive problems in two consecutive rounds. Substantive problems only include differences that will lead to different understandings of the overall implementation, key contracts, module responsibilities, scope, or verifiable results; implementation parameters, wording preferences, and speculative reinforcement do not trigger a new round.
Do not specify a fixed number of candidate questions, formal findings, or review rounds. Place the scope of each round, candidate questions and verification basis, substantive findings, processing results, unaccepted items, and reasons for continuing the review in the secondary directory with the same name, and do not write "review passed" in the main document.
Completion of the solution phase does not mean that no unknown problems exist. Only when the specified investigation and review have been executed, each bearing surface and its users in the actual impact have been identified, the evidence baseline covers all affected links, the dual baselines of the specified reference implementation have been confirmed and each source capability and target compatibility item has a solution disposition, each requirement and retained capability has a real solution undertaking, independent lifecycles and real failure boundaries have been closed, verification levels are sufficient to prove delivery behaviors, candidate questions have been verified and classified, substantive problems have been solved, and the user has reviewed and clearly approved the current main document, can the main document be marked as confirmed and allowed to directly enter execution or planning as needed.
If omissions that the agent should have found through code investigation, reference implementation reverse-engineering, version difference checking, link walkthrough, requirement mapping, or solution review are found after user confirmation, treat them as solution defects and reopen the main document, and cannot attribute them to the user's previous confirmation. When the overall architecture, main link, data ownership, public contract, scope, or verifiable results change, re-mark it as draft and confirm the affected content; if the change comes from omitted reference behaviors or incorrect version assumptions, reopen the migration baseline and full-coverage review at the same time.
边界
Boundaries
- 不要求先经过需求阶段或补写需求文档;目标不清且会影响方案时,只澄清真正必要的部分。
- 不强制固定模板、章节编号、状态机或额外确认门槛;必须保留“共享概览 → 技术正文 → 影响与验证”的阅读层次。
- 不拆分开发任务,不写逐步实施计划,不细化到函数、代码行、伪代码或测试代码。
- 不修改生产代码、测试、配置或数据,也不负责项目实施与验收。
- 不把技术设计变成全面架构审计;调查和说明到足以建立本次实现共识即可。
- No requirement to go through the requirement phase first or supplement requirement documents; only clarify the truly necessary parts when the objectives are unclear and will affect the solution.
- No mandatory fixed templates, chapter numbers, state machines, or additional confirmation thresholds; the reading hierarchy of "Shared Overview → Technical Main Document → Impact and Verification" must be retained.
- No breakdown of development tasks, no step-by-step implementation plans, no refinement to functions, code lines, pseudocode, or test code.
- No modification of production code, tests, configurations, or data, and no responsibility for project implementation and acceptance.
- No transformation of technical design into a comprehensive architecture audit; investigate and explain only enough to establish consensus on this implementation.