retrospective-codify

Map initial failures to final solutions and codify learnings into reusable rules.

2|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/genki-sano/dotfiles --skill retrospective-codify-genki-sano
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: retrospective-codify
Source: https://github.com/genki-sano/dotfiles/tree/main/.claude/skills/retrospective-codify
Command: npx skills add https://github.com/genki-sano/dotfiles --skill retrospective-codify-genki-sano

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Capture and codify the most valuable lessons from task completion by linking initial failures to final solutions and encoding them as reusable rules, CLAUDE.md guidance, or skill templates.

Core Features & Use Cases

  • Failure-to-success mapping: record initial attempts, final solutions, and the bridging insights that made the difference.
  • Standardization & reuse: translate learnings into actionable prompts, static rules, or new skill templates to prevent repeated mistakes.
  • Quality checks: perform deduplication against existing rules and ensure new learnings provide unique value.
  • When to use: at task completion or when asked to formalize learnings for future work.

Quick Start

Run the retrospective codify workflow on your latest task results to extract learnings and encode them into an ast-grep rule, CLAUDE.md update, or a new skill.

Frequently Asked Questions about retrospective-codify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn task learnings into reusable rules for future projects?

To turn task learnings into reusable rules, you map initial failures to final solutions and document the bridging insights as actionable templates, ast-grep rules, or CLAUDE.md entries to prevent repeating past mistakes.

What is the best way to document project learnings as ast-grep rules?

The best way to document project learnings as ast-grep rules is to run a retrospective workflow that extracts insights from completed tasks and classifies them into static rules, ensuring deduplication against existing knowledge for unique value.

How does failure-to-success mapping work for knowledge management?

Failure-to-success mapping for knowledge management works by recording initial failed attempts, capturing the final working solution, and isolating the specific bridging insights needed to encode this experience into repeatable skill templates.

Can I update CLAUDE.md files automatically from task retrospectives?

Yes, you can update CLAUDE.md files from task retrospectives by codifying extracted learnings into structured guidance entries, performing quality checks to avoid duplicates, and writing the new rules directly into the configuration.

When should I codify learnings into a new skill versus a static rule?

You should codify learnings into a new skill versus a static rule when the documented knowledge requires complex reasoning or repeatable multi-step logic, rather than simple static pattern matching or basic CLAUDE.md guidance updates.

Does codifying retrospective learnings prevent duplicate knowledge entries?

Yes, codifying retrospective learnings prevents duplicate knowledge entries by enforcing structured artifact creation and performing deduplication checks against existing rules to ensure any new documentation provides unique value.