Loading...
Loading...
Compare original and translation side by side
spec-init{num}-{short-name}.aisdlc/specs/{num}-{short-name}/requirements/raw.mdspec-init{num}-{short-name}.aisdlc/specs/{num}-{short-name}/requirements/raw.md{num}-{short-name}.aisdlc/specs/...spec-product-clarify{num}-{short-name}.aisdlc/specs/{num}-{short-name}/{num}-{short-name}.aisdlc/specs/...spec-product-clarify{num}-{short-name}.aisdlc/specs/{num}-{short-name}/{num}-{short-name}numshort-name.aisdlc/specs/{num}-{short-name}/requirements/design/implementation/verification/release/requirements/raw.mdspec-create-branch.ps1Main-ShortName-SourceFilePath-TitleSourceFilePath{num}-{short-name}numshort-name.aisdlc/specs/{num}-{short-name}/requirements/design/implementation/verification/release/requirements/raw.mdMainspec-create-branch.ps1-ShortName-SourceFilePath-TitleSourceFilePathgit rev-parse --show-toplevel#Requires -Version 7.0git rev-parse --show-toplevel#Requires -Version 7.0$sourceFilePath$sourceFilePath$raw = @"
为现有后台系统新增‘批量导出订单’功能:支持按时间范围/状态筛选、CSV 与 XLSX 两种格式、导出任务异步执行并在导出中心可下载,权限仅管理员可见。
"@
$utf8Bom = [System.Text.UTF8Encoding]::new($true)
$tmp = Join-Path ([System.IO.Path]::GetTempPath()) ("sdlc-raw-{0}.md" -f ([guid]::NewGuid().ToString("N")))
[System.IO.File]::WriteAllText($tmp, $raw, $utf8Bom)
$sourceFilePath = $tmp$sourceFilePath$sourceFilePath$raw = @"
为现有后台系统新增‘批量导出订单’功能:支持按时间范围/状态筛选、CSV 与 XLSX 两种格式、导出任务异步执行并在导出中心可下载,权限仅管理员可见。
"@
$utf8Bom = [System.Text.UTF8Encoding]::new($true)
$tmp = Join-Path ([System.IO.Path]::GetTempPath()) ("sdlc-raw-{0}.md" -f ([guid]::NewGuid().ToString("N")))
[System.IO.File]::WriteAllText($tmp, $raw, $utf8Bom)
$sourceFilePath = $tmpshort-nameshort-nameoauth2jwtapiexport-orders-batchadd-order-exportexport-ordersoauth2jwtapiexport-orders-batchadd-order-exportexport-ordersMain$repoRoot = (git rev-parse --show-toplevel)
. (Join-Path $repoRoot "skills\spec-init\spec-create-branch.ps1")
$shortName = "export-orders"
$title = ""
$result = Main -ShortName $shortName -SourceFilePath $sourceFilePath -Title $title
$resultMain$repoRoot = (git rev-parse --show-toplevel)
. (Join-Path $repoRoot "skills\spec-init\spec-create-branch.ps1")
$shortName = "export-orders"
$title = ""
$result = Main -ShortName $shortName -SourceFilePath $sourceFilePath -Title $title
$result$result.branchName{num}-{short-name}.aisdlc/specs/$($result.branchName)/.aisdlc/specs/$($result.branchName)/requirements/raw.md$sourceFilePathraw.mdEF BB BF$repoRoot = (git rev-parse --show-toplevel)
$rawPath = (Join-Path $repoRoot ".aisdlc\specs\$($result.branchName)\requirements\raw.md")
$bytes = [System.IO.File]::ReadAllBytes((Resolve-Path $rawPath))
($bytes.Length -ge 3) -and ($bytes[0] -eq 0xEF) -and ($bytes[1] -eq 0xBB) -and ($bytes[2] -eq 0xBF)$result.branchName{num}-{short-name}.aisdlc/specs/$($result.branchName)/.aisdlc/specs/$($result.branchName)/requirements/raw.md$sourceFilePathraw.mdEF BB BF$repoRoot = (git rev-parse --show-toplevel)
$rawPath = (Join-Path $repoRoot ".aisdlc\specs\$($result.branchName)\requirements\raw.md")
$bytes = [System.IO.File]::ReadAllBytes((Resolve-Path $rawPath))
($bytes.Length -ge 3) -and ($bytes[0] -eq 0xEF) -and ($bytes[1] -eq 0xBB) -and ($bytes[2] -eq 0xBF)spec-product-clarifyspec-product-clarifyspec-initrequirements/solution.mdspec-initrequirements/solution.mdFEATURE_DIRFEATURE_DIR禁止手写/猜路径;必须以.aisdlc/specs/...的输出为准。spec-context
$repoRoot = (git rev-parse --show-toplevel)
. (Join-Path $repoRoot "skills\spec-context\spec-common.ps1")
$context = Get-SpecContext
$FEATURE_DIR = $context.FEATURE_DIR
Write-Host "FEATURE_DIR=$FEATURE_DIR"requirements/*.mdDo not manually write/guess thepath; must use the output of.aisdlc/specs/....spec-context
$repoRoot = (git rev-parse --show-toplevel)
. (Join-Path $repoRoot "skills\spec-context\spec-common.ps1")
$context = Get-SpecContext
$FEATURE_DIR = $context.FEATURE_DIR
Write-Host "FEATURE_DIR=$FEATURE_DIR"requirements/*.mdspec-product-clarifyspec-product-clarifyspec-product-clarify$FEATURE_DIR/requirements/raw.md$FEATURE_DIR/requirements/raw.md## 澄清记录$FEATURE_DIR/requirements/solution.md关键禁令:不写“待确认问题清单”;所有不确定性统一进入的“验证清单”(Owner/截止/信号/动作)。solution.md
spec-product-clarify$FEATURE_DIR/requirements/raw.md## Clarification Records$FEATURE_DIR/requirements/raw.md$FEATURE_DIR/requirements/solution.mdKey Prohibition: Do not write "pending confirmation question list"; all uncertainties should be unified into the "verification checklist" in(Owner/Deadline/Signal/Action).solution.md
spec/<slug>feature/<slug>features/<slug>{num}-{short-name}.aisdlc/specs/...SourceFilePath--spec/<slug>feature/<slug>features/<slug>{num}-{short-name}.aisdlc/specs/...SourceFilePath--