Install
openclaw skills install @terr123123/retrospective-analysisA project retrospective automation tool for friction identification, failure analysis, and improvement generation.
openclaw skills install @terr123123/retrospective-analysisA project retrospective automation tool that helps teams identify process friction points, analyze failure causes, and generate actionable improvement candidates.
clawhub install retrospective-analysis
from src import RetrospectiveAnalyzer
from src.models import ProjectInfo, GateFriction
analyzer = RetrospectiveAnalyzer()
project = ProjectInfo(name="Auth Refactor", team="Platform", duration="3 weeks", change_id="CH-42")
retro = analyzer.start_retrospective(project)
analyzer.add_what_went_well(retro.id, "fast design review")
analyzer.add_what_was_slow(retro.id, "manual test gate")
analyzer.add_what_failed(retro.id, "deploy rollback")
analyzer.add_gate_friction(
retro.id,
GateFriction(gate="testing-gate", issue="flaky tests", impact="blocked merge", suggested_change="stabilize suite"),
)
analysis = analyzer.analyze(retro.id)
print(analysis.severity, analysis.total_issues)
report = analyzer.generate_report(retro.id)
for item in report.action_items:
print(item)
analyzer.save_to_file(retro.id, "retro.json")
loaded = analyzer.load_from_file("retro.json")
analyzer.export_report(retro.id, "report.json")
start_retrospective(project_info) -> Retrospective — start a new retrospectiveadd_what_went_well(retro_id, item) -> None — record something that went welladd_what_was_slow(retro_id, item) -> None — record something slow/redundantadd_what_failed(retro_id, item) -> None — record a failure/rework causeadd_gate_friction(retro_id, friction) -> None — record gate frictionanalyze(retro_id) -> AnalysisResult — analyze the retrospectivegenerate_report(retro_id) -> RetrospectiveReport — generate a reportget_improvement_candidates(retro_id) -> List[ImprovementCandidate] — get candidatesarchive(retro_id) -> None — archive the retrospectivesave_to_file(retro_id, path) / load_from_file(path) / export_report(retro_id, path) — persistenceRetroStatus: ACTIVE / ANALYZED / REPORTED / ARCHIVEDProjectInfo: name, team, duration, change_idGateFriction: gate, issue, impact, suggested_changeImprovementCandidate: target, recommendation, reason, priorityAnalysisResult: total_issues, friction_points, improvement_candidates, summary, severityRetrospective: id, project_info, status, what_went_well, what_was_slow, what_failed, gate_frictions, created_atRetrospectiveReport: retro_id, project_info, analysis, recommendations, action_items| Total Issues | Severity |
|---|---|
| 0 | low |
| 1–4 | medium |
| 5–9 | high |
| 10+ | critical |