ai-sdlc-research
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseai-sdlc-research: Sourced Delivery Evidence
ai-sdlc-research:基于来源的交付证据
Optional domain skill, not required by the core module. Every rule below is important to follow. None of it can be skipped. Research informs decisions; it does not silently become a requirement or approval.
可选领域技能,核心模块不强制要求。 以下每条规则都必须遵守,无一例外。 研究仅为决策提供参考,不会自动成为要求或获批事项。
0. Skill Card
0. Skill Card
- Skill name:
ai-sdlc-research - Primary audience: Research, PM, BA, Architecture
- Supporting audience: Dev, QA, Security, Delivery
- Audience tags: Research, PM, BA, Architecture, Dev
- SDLC stage: Discovery, refinement, and design evidence
- Purpose: Preserve questions, sources, findings, confidence, and limitations.
- Output: and
research.md_ai_sdlc/research.toon
- Skill name:
ai-sdlc-research - Primary audience: Research, PM, BA, Architecture
- Supporting audience: Dev, QA, Security, Delivery
- Audience tags: Research, PM, BA, Architecture, Dev
- SDLC stage: Discovery, refinement, and design evidence
- Purpose: Preserve questions, sources, findings, confidence, and limitations.
- Output: and
research.md_ai_sdlc/research.toon
0.1 Required Inputs
0.1 必需输入
- Owning feature root.
- Research input using .
ai-sdlc-research-input/v1 - Verifiable source locators and delivery trace targets.
- Internet access through the host web or browser tool for external or current questions.
- 所属特性根目录。
- 使用格式的研究输入。
ai-sdlc-research-input/v1 - 可验证的来源定位符和交付跟踪目标。
- 通过主机网页或浏览器工具访问互联网,以处理外部或时效性问题。
0.2 Clarification Rules
0.2 澄清规则
- Ask when topic, decision to inform, source boundary, or freshness requirement is unclear.
- Separate sourced findings from inference and unresolved questions.
- Record contradictory sources and limitations; do not average them away.
- Do not claim current facts, legal conclusions, or user evidence without verification.
- 当主题、要支撑的决策、来源边界或时效性要求不明确时,主动询问。
- 将有来源支撑的研究结果与推论、未解决问题区分开。
- 记录相互矛盾的来源和局限性,不得进行平均化处理。
- 未经验证,不得声称当前事实、法律结论或用户证据。
0.2.1 Flow Mode Flags
0.2.1 流程模式标志
- Support and
--quick-flow; full flow takes precedence.--full-flow - Quick flow permits one strong source when scope is explicitly narrow.
- Full flow requires at least two sources and two source types for each report.
- External and mixed scopes require an internet search and at least one direct
or
http://source locator; do not cite search-result pages.https:// - Both modes require every finding to cite registered sources and trace targets.
- 支持和
--quick-flow;全流程模式优先级更高。--full-flow - 当范围明确狭窄时,快速流程允许使用一个可靠来源。
- 全流程要求每份报告至少包含两个来源和两种来源类型。
- 外部或混合范围需要进行互联网搜索,且至少包含一个直接的或
http://来源定位符;不得引用搜索结果页面。https:// - 两种模式都要求每个研究结果必须引用已登记的来源和跟踪目标。
0.3 Output Rules
0.3 输出规则
- Return question, source, finding, confidence, blocker, and output path counts directly in the Codex response.
- Before the final response, emit with
ai-sdlc-handoff/v1,result,blockers, andnext_required; every action includesnext_optional,reason, andcommand.expected_artifact - Do not create ,
summary.txt, or uncited research prose.*-summary.txt - Keep quotes within source rights and use concise paraphrase by default.
- 在Codex响应中直接返回问题、来源、研究结果、可信度、阻塞点和输出路径计数。
- 在最终响应前,输出带有、
result、blockers和next_required字段的next_optional;每个操作都需包含ai-sdlc-handoff/v1、reason和command字段。expected_artifact - 不得创建、
summary.txt或无引用的研究散文。*-summary.txt - 引用内容需符合来源权限,默认使用简洁的转述方式。
0.4 Artifact Routing
0.4 工件路由
- Write .
<feature-root>/research.md - Write .
<feature-root>/_ai_sdlc/research.toon - Keep downloaded or licensed source files outside generated output unless allowed.
- Link research to requirements and decisions; do not overwrite them.
- 写入。
<feature-root>/research.md - 写入。
<feature-root>/_ai_sdlc/research.toon - 除非获得许可,否则将下载或授权的源文件保存在生成的输出之外。
- 将研究关联到需求和决策,但不得覆盖它们。
0.5 Feature State Machine
0.5 特性状态机
- Read before durable research writes.
<feature-root>/_ai_sdlc/state.toon - Research is optional and does not add a core lifecycle stage.
- is read-only;
--state-checkand--begin-stateare rejected.--complete-state - Accepted implications move through decisions, requirements, SDD, or change impact.
- 在进行持久化研究写入前,读取。
<feature-root>/_ai_sdlc/state.toon - 研究为可选操作,不会添加核心生命周期阶段。
- 为只读模式;拒绝
--state-check和--begin-state命令。--complete-state - 已接受的研究推论需通过决策、需求、SDD(软件设计文档)或变更影响流程流转。
0.6 Artifact Metadata And Metatags
0.6 工件元数据与元标签
- Markdown starts with using schema
artifact_metadata.ai-sdlc-research-metadata/v1 - Include for
metatags,ai-sdlc,research, andevidence.traceable - Record feature, workspace, flow mode, state file, trace IDs, and review status.
- Markdown文件开头需使用,遵循
artifact_metadataschema。ai-sdlc-research-metadata/v1 - 包含、
ai-sdlc、research和evidence元标签。traceable - 记录特性、工作区、流程模式、状态文件、跟踪ID和审核状态。
0.7 Specs Index
0.7 规范索引
- Read the relevant or
specs/_ai_sdlc/specs-index.toonbefore broad reads.specs-refiniment/_ai_sdlc/specs-index.toon - Refresh the matching or
specs/specs-index.mdonly after durable writes.specs-refiniment/specs-index.md - Keep research inside the feature whose decisions it informs.
- 在进行大范围读取前,先阅读相关的或
specs/_ai_sdlc/specs-index.toon。specs-refiniment/_ai_sdlc/specs-index.toon - 仅在完成持久化写入后,更新对应的或
specs/specs-index.md。specs-refiniment/specs-index.md - 研究需限定在其支撑决策所属的特性范围内。
References
参考资料
- Read for source and finding requirements.
references/research-contract.md - Read before external or current research.
references/web-research-protocol.md - Use to validate citations and route canonical outputs.
scripts/research.py
- 阅读了解来源和研究结果要求。
references/research-contract.md - 在进行外部或时效性研究前,阅读。
references/web-research-protocol.md - 使用验证引用并路由标准输出。
scripts/research.py
Script Usage
脚本使用
bash
python3 skills/ai-sdlc-research/scripts/research.py specs-refiniment/payments --input /tmp/research.json --emit --quick-flow
python3 skills/ai-sdlc-research/scripts/research.py specs/payments --input /tmp/research.json --write --full-flow --format toonbash
python3 skills/ai-sdlc-research/scripts/research.py specs-refiniment/payments --input /tmp/research.json --emit --quick-flow
python3 skills/ai-sdlc-research/scripts/research.py specs/payments --input /tmp/research.json --write --full-flow --format toonPurpose
目的
Add disciplined evidence gathering when delivery uncertainty warrants it without
forcing research ceremony or internet access into every core workflow.
在交付存在不确定性时,添加规范化的证据收集流程,同时避免将研究仪式或互联网访问强制纳入每个核心工作流。
Inputs
输入项
- Frame answerable questions connected to delivery traces.
- Register source title, locator, type, access date, credibility, and notes.
- Cite source IDs from each synthesized finding.
- Record confidence, limitations, and unresolved owner/action pairs.
- 定义与交付跟踪关联的可解答问题。
- 登记来源标题、定位符、类型、访问日期、可信度和备注。
- 在每个综合研究结果中引用来源ID。
- 记录可信度、局限性和未解决的责任人/操作对。
Steps
步骤
- Define the decision to inform, research questions, and ,
internal, orexternalevidence boundary.mixed - For external or current questions, search the internet with the available web/browser tool, open direct result pages, compare publication and event dates, and prioritize primary or official sources.
- Gather internal evidence when applicable and keep it distinguishable from web sources.
- Register source identity, direct locator, access date, freshness, type, and credibility.
- Synthesize findings separately from quotations and assumptions.
- Record confidence, limitations, conflicts, and open questions.
- Finalize routed Markdown and TOON outputs.
- Route accepted implications through owning decisions and artifacts.
- 确定要支撑的决策、研究问题,以及(内部)、
internal(外部)或external(混合)的证据边界。mixed - 对于外部或时效性问题,使用可用的网页/浏览器工具搜索互联网,打开直接结果页面,比较发布和事件日期,优先选择原始或官方来源。
- 适用时收集内部证据,并与网络来源区分开。
- 登记来源身份、直接定位符、访问日期、时效性、类型和可信度。
- 将研究结果与引用内容和假设分开进行综合。
- 记录可信度、局限性、冲突和未解决问题。
- 最终确定带路由的Markdown和TOON输出。
- 将已接受的研究推论通过所属决策和工件流转。
Output Spec
输出规范
ai-sdlc-research/v1Quality gate:
- Pass when source IDs resolve, findings have confidence plus limitations, and delivery traces explain why the evidence matters.
- Full flow fails without two sources, two source types, or any open question owner.
ai-sdlc-research/v1质量校验门:
- 当来源ID可解析、研究结果包含可信度和局限性,且交付跟踪能说明证据的重要性时,校验通过。
- 若缺少两个来源、两种来源类型,或存在无责任人的未解决问题,全流程模式校验失败。
Examples
示例
A valid finding cites , states medium confidence, names data
freshness limitations, and traces to . “Competitors all do this” is
invalid without registered sources, boundary, or confidence.
SRC-001/SRC-003DEC-022有效的研究结果需引用,说明中等可信度,指出数据时效性局限性,并关联到。若无已登记的来源、边界或可信度说明,“所有竞争对手都这么做”属于无效表述。
SRC-001/SRC-003DEC-022Edge Cases
边缘情况
- A source may support and contradict different findings; keep both links.
- A blocked source remains registered only if its unavailability matters.
- Time-sensitive sources include an explicit access date and freshness limitation.
- Full flow source diversity counts distinct values, not duplicate URLs.
type - If internet access is unavailable for external scope, report a blocker and do not present cached model knowledge as completed research.
- 一个来源可能同时支持和反驳不同的研究结果;需保留两种关联。
- 仅当来源不可用会产生影响时,才保留已登记的阻塞来源。
- 时效性来源需包含明确的访问日期和时效性局限性说明。
- 全流程模式的来源多样性统计的是不同的值,而非重复的URL。
type - 若外部范围无法访问互联网,需报告阻塞点,不得将缓存的模型知识作为已完成的研究成果呈现。
Scope Boundary
范围边界
- Do not fabricate sources, quotes, dates, or research participants.
- Do not turn findings into accepted decisions or requirements automatically.
- Do not provide legal or regulatory conclusions without qualified review.
- Do not hide conflicting or low-confidence evidence.
- Use when accepted research changes downstream artifacts.
$ai-sdlc-change-impact
- 不得编造来源、引用内容、日期或研究参与者。
- 不得自动将研究结果转化为已接受的决策或需求。
- 未经专业审核,不得提供法律或法规结论。
- 不得隐瞒相互矛盾或低可信度的证据。
- 当已接受的研究改变下游工件时,使用。
$ai-sdlc-change-impact