ai-sdlc-research

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

ai-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:
    research.md
    and
    _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:
    research.md
    and
    _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
    --quick-flow
    and
    --full-flow
    ; full flow takes precedence.
  • 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
    http://
    or
    https://
    source locator; do not cite search-result pages.
  • 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
    ai-sdlc-handoff/v1
    with
    result
    ,
    blockers
    ,
    next_required
    , and
    next_optional
    ; every action includes
    reason
    ,
    command
    , and
    expected_artifact
    .
  • Do not create
    summary.txt
    ,
    *-summary.txt
    , or uncited research prose.
  • 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
    <feature-root>/_ai_sdlc/state.toon
    before durable research writes.
  • Research is optional and does not add a core lifecycle stage.
  • --state-check
    is read-only;
    --begin-state
    and
    --complete-state
    are rejected.
  • 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
    artifact_metadata
    using schema
    ai-sdlc-research-metadata/v1
    .
  • Include
    metatags
    for
    ai-sdlc
    ,
    research
    ,
    evidence
    , and
    traceable
    .
  • Record feature, workspace, flow mode, state file, trace IDs, and review status.
  • Markdown文件开头需使用
    artifact_metadata
    ,遵循
    ai-sdlc-research-metadata/v1
    schema。
  • 包含
    ai-sdlc
    research
    evidence
    traceable
    元标签。
  • 记录特性、工作区、流程模式、状态文件、跟踪ID和审核状态。

0.7 Specs Index

0.7 规范索引

  • Read the relevant
    specs/_ai_sdlc/specs-index.toon
    or
    specs-refiniment/_ai_sdlc/specs-index.toon
    before broad reads.
  • Refresh the matching
    specs/specs-index.md
    or
    specs-refiniment/specs-index.md
    only after durable writes.
  • 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
    references/research-contract.md
    for source and finding requirements.
  • Read
    references/web-research-protocol.md
    before external or current research.
  • Use
    scripts/research.py
    to validate citations and route canonical outputs.
  • 阅读
    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 toon
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 toon

Purpose

目的

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

步骤

  1. Define the decision to inform, research questions, and
    internal
    ,
    external
    , or
    mixed
    evidence boundary.
  2. 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.
  3. Gather internal evidence when applicable and keep it distinguishable from web sources.
  4. Register source identity, direct locator, access date, freshness, type, and credibility.
  5. Synthesize findings separately from quotations and assumptions.
  6. Record confidence, limitations, conflicts, and open questions.
  7. Finalize routed Markdown and TOON outputs.
  8. Route accepted implications through owning decisions and artifacts.
  1. 确定要支撑的决策、研究问题,以及
    internal
    (内部)、
    external
    (外部)或
    mixed
    (混合)的证据边界。
  2. 对于外部或时效性问题,使用可用的网页/浏览器工具搜索互联网,打开直接结果页面,比较发布和事件日期,优先选择原始或官方来源。
  3. 适用时收集内部证据,并与网络来源区分开。
  4. 登记来源身份、直接定位符、访问日期、时效性、类型和可信度。
  5. 将研究结果与引用内容和假设分开进行综合。
  6. 记录可信度、局限性、冲突和未解决问题。
  7. 最终确定带路由的Markdown和TOON输出。
  8. 将已接受的研究推论通过所属决策和工件流转。

Output Spec

输出规范

ai-sdlc-research/v1
contains topic, questions, sources, findings, source IDs, confidence, limitations, trace targets, and owned open questions.
Quality 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、可信度、局限性、跟踪目标和已归属的未解决问题。
质量校验门:
  • 当来源ID可解析、研究结果包含可信度和局限性,且交付跟踪能说明证据的重要性时,校验通过。
  • 若缺少两个来源、两种来源类型,或存在无责任人的未解决问题,全流程模式校验失败。

Examples

示例

A valid finding cites
SRC-001/SRC-003
, states medium confidence, names data freshness limitations, and traces to
DEC-022
. “Competitors all do this” is invalid without registered sources, boundary, or confidence.
有效的研究结果需引用
SRC-001/SRC-003
,说明中等可信度,指出数据时效性局限性,并关联到
DEC-022
。若无已登记的来源、边界或可信度说明,“所有竞争对手都这么做”属于无效表述。

Edge 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
    type
    values, not duplicate URLs.
  • If internet access is unavailable for external scope, report a blocker and do not present cached model knowledge as completed research.
  • 一个来源可能同时支持和反驳不同的研究结果;需保留两种关联。
  • 仅当来源不可用会产生影响时,才保留已登记的阻塞来源。
  • 时效性来源需包含明确的访问日期和时效性局限性说明。
  • 全流程模式的来源多样性统计的是不同的
    type
    值,而非重复的URL。
  • 若外部范围无法访问互联网,需报告阻塞点,不得将缓存的模型知识作为已完成的研究成果呈现。

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
    $ai-sdlc-change-impact
    when accepted research changes downstream artifacts.
  • 不得编造来源、引用内容、日期或研究参与者。
  • 不得自动将研究结果转化为已接受的决策或需求。
  • 未经专业审核,不得提供法律或法规结论。
  • 不得隐瞒相互矛盾或低可信度的证据。
  • 当已接受的研究改变下游工件时,使用
    $ai-sdlc-change-impact