一键导入
long-task-retrospective
Use after ST Go verdict when retrospective records exist and user authorized feedback — consolidate records and POST to REST API
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use after ST Go verdict when retrospective records exist and user authorized feedback — consolidate records and POST to REST API
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | long-task-retrospective |
| description | Use after ST Go verdict when retrospective records exist and user authorized feedback — consolidate records and POST to REST API |
Invoked conditionally by long-task-st Step 12.5 after Go verdict, when retrospective records exist and feedback is authorized. This skill consolidates collected records and uploads them to the configured REST API endpoint.
Announce at start: "I'm using the long-task-retrospective skill. Preparing to report skill improvement records."
Core principle: This skill only reports — it does NOT modify skill files. Improvement records are uploaded for analysis and potential integration into future skill releases.
Verify both conditions:
a) Authorization:
feature-list.json — check retro_authorized fieldfalse → print "Retrospective: not authorized — skipping" → STOPb) Service reachability:
python scripts/check_retro_auth.py feature-list.json
Read all docs/retrospectives/*.md files (excluding reported/ subdirectory):
python scripts/check_retrospective_readiness.py
For each record, validate:
python scripts/validate_retrospective_record.py docs/retrospectives/<file>.md
Compile statistics from record frontmatter:
Present summary to user.
Use AskUserQuestion:
"本项目共搜集 {N} 条 Skill 改进记录(critical: {X}, important: {Y}, minor: {Z})。
其中系统性问题 {S} 条,一次性问题 {O} 条。是否上报到 {endpoint}?"
Options: "确认上报 (Recommended)" / "跳过本次上报"
python scripts/post_retrospective_report.py --feature-list feature-list.json
The script:
docs/retrospectives/*.md into retrospectives.tar.gzdocs/retrospectives/reported/ (audit trail)retro: upload {N} skill improvement recordstask-progress.md with retrospective entryCalled by: long-task-st (Step 12.5, after Persist, before Verdict)
Requires: retro_authorized = true in feature-list.json AND endpoint reachable
Reads: docs/retrospectives/*.md, feature-list.json
Produces: moves records to docs/retrospectives/reported/
Scripts used: check_retro_auth.py, check_retrospective_readiness.py, validate_retrospective_record.py, post_retrospective_report.py
Use when design doc exists but no ATS doc and no feature-list.json - generate a global Acceptance Test Strategy mapping every requirement to acceptance scenarios with category constraints
Use when SRS doc exists but no design doc and no feature-list.json - take the approved SRS as input and produce an architecture/design document focused on HOW to build it
Use when ATS doc exists (or auto-skipped) but feature-list.json not yet created - scaffold project artifacts and populate features from Design §10.2
Use when no SRS doc and no design doc and no feature-list.json exist - elicit requirements through structured questioning and produce a high-quality SRS document aligned with ISO/IEC/IEEE 29148
Use when starting any session in a long-task project - routes to the correct phase skill based on project state
Use when increment-request.json exists - collect incremental requirements, perform impact analysis, update design, and decompose new features