retrospective-codify

Convert post-task learnings into reusable ast-grep rules, lint checks, or AGENTS.md entries.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/ZenkakuHiragana/my-chezmoi-config --skill retrospective-codify-zenkakuhiragana
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: retrospective-codify
Source: https://github.com/ZenkakuHiragana/my-chezmoi-config/tree/main/dot_config/opencode/skills/retrospective-codify
Command: npx skills add https://github.com/ZenkakuHiragana/my-chezmoi-config --skill retrospective-codify-zenkakuhiragana

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convert post-task learnings into reusable, language-agnostic rules and guidelines.

Core Features & Use Cases

  • Extract and structure insights from task completion: initial failures, final solutions, and bridging insights.
  • Convert insights into deterministic rules for ast-grep, lint checks, or AGENTS.md entries.
  • Create new skills or augment existing rules to prevent repeating mistakes across projects or teams.

Quick Start

Summarize the initial failure, final solution, and bridging insight for a completed task to generate reusable rules.

Frequently Asked Questions about retrospective-codify

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

FAQPage Schema
How do I convert post-task learnings into reusable lint rules or AGENTS.md entries?

To convert post-task learnings into reusable lint rules, you summarize the initial failure, final solution, and bridging insight from a completed task. This structured prompt generates deterministic ast-grep rules, lint checks, or AGENTS.md entries to prevent repeating mistakes.

What is the best way to create language-agnostic ast-grep rules from past coding mistakes?

The best way to create language-agnostic ast-grep rules from past mistakes is to extract the bridging insight between the initial failure and final solution. This insight is then codified into a new or updated skill artifact.

Can I use retrospective learnings to automatically generate guidelines for my engineering team?

Yes, you can use retrospective learnings to generate engineering guidelines. By structuring task completion insights into deterministic rules, the skill creates or augments AGENTS.md entries and lint-style checks applicable across projects or teams.

What information do I need to provide to codify task insights into ast-grep rules?

To codify task insights into ast-grep rules, you must provide structured prompts detailing the initial failure, the final solution, and the bridging insight. This specific context is required to output a valid skill artifact.

Does codifying retrospective insights work across different programming languages?

Yes, codifying retrospective insights works across different programming languages. The skill outputs language-agnostic rules and guidelines, ensuring that learnings from one task can be applied as ast-grep rules or AGENTS.md entries across diverse environments.

Why should I structure prompts with failures and solutions for retrospective codification?

You should structure prompts with failures and solutions for retrospective codification because the skill requires this specific context to accurately extract the bridging insight. Without this structured input, it cannot generate deterministic, reusable rules.