From long-task
Consolidates skill improvement records from docs/retrospectives/*.md files, validates, summarizes stats by severity and category, confirms with user, compresses and POSTs to REST API, moves files and git commits.
npx claudepluginhub suriyel/longtaskforagent --plugin long-taskThis skill uses the workspace's default tool permissions.
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.
Generates adaptive-depth session retrospective reports (retro.md) from plan.md and lessons.md, converting outcomes into persistent process improvements. Supports deep/light modes and directory resolution logic.
Analyzes conversation for skill feedback and creates labeled GitHub issues for bugs, enhancements, and positive outcomes. Use when skills fail, suggest better patterns, or perform well.
Captures friction from coding sessions like user corrections, redos, and frustration to log lessons learned and route improvements to context files. Triggers on /retrospective or detected signals.
Share bugs, ideas, or general feedback.
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