dev-retro

GitHub

基于证据对完成的工作进行无指责回顾,识别摩擦点并优先通过自动化修复根因,防止问题复发。

skills/dev-retro/SKILL.md codeaholicguy/ai-devkit

Trigger Scenarios

用户要求进行回顾、经验总结或事后分析 询问工作中存在的问题或失误

Install

npx skills add codeaholicguy/ai-devkit --skill dev-retro -g -y
More Options

Use without installing

npx skills use codeaholicguy/ai-devkit@dev-retro

指定 Agent (Claude Code)

npx skills add codeaholicguy/ai-devkit --skill dev-retro -a claude-code -g -y

安装 repo 全部 skill

npx skills add codeaholicguy/ai-devkit --all -g -y

预览 repo 内 skill

npx skills add codeaholicguy/ai-devkit --list

SKILL.md

Frontmatter
{
    "name": "dev-retro",
    "description": "AI DevKit · Run an evidence-based retrospective on finished work (feature, session, incident) and turn friction into durable fixes, automation first. Use when users ask for a retro, lessons learned, post-mortem, or \"what went wrong\", or when another skill offers one after a feature or fix."
}

Retro

Turn what went wrong into fixes that stop it recurring. Not a status summary: use session-compact for handoff state.

Rules

  • When suggested by another skill, ask the user before running; skip silently if declined.
  • Every item needs evidence: a failed command, hook or test output, a user correction, a revert, or rework in the diff. No generic lessons.
  • Cap at the 3-5 highest-cost items. Note what worked in one line only if it should be kept on purpose.
  • Blameless: describe the gap in the system, not the person or agent.
  • Never copy secrets, credentials, or personal data from transcripts into fixes or memory.

Fix Ladder

Pick the highest rung that works:

  1. Automate: test, lint rule, hook, CI check, build dependency.
  2. Fix the tool: script, template, default config.
  3. Instruct: skill, AGENTS.md / CLAUDE.md, docs.
  4. Remember: memory entry, only for knowledge that cannot be enforced. Search first; update instead of duplicating.
  5. Drop: one-off with no pattern.

Workflow

  1. Scope the work: feature, branch, session, or incident, and its commit range.
  2. Gather evidence: git log and diff for the range, failed or retried commands, hook/CI failures, task evidence, user corrections. Use the session transcript when available (agent sessions, session-compact); do not require it.
  3. For each item, record: what happened, cost (time, rework, risk), root cause in one line, and the fix with its rung, exact file or command.
  4. Present the items and wait for approval. Memory-only fixes may proceed; skill, config, CI, and code changes need explicit approval.
  5. Apply approved fixes, validate each with verify (a new check must fail on the old state when practical), and commit per the user's workflow.
  6. Report: fixes applied with rung, items dropped and why, follow-ups left open.

Stop

Pause when evidence is missing, a fix needs a team or ownership decision, or the root cause is unclear; hand unclear failures to dev-debug.

Version History

  • d2e170a Current 2026-11-02 14:56

Same Skill Collection

skills/agent-communication/SKILL.md
skills/agent-management/SKILL.md
skills/agent-orchestration/SKILL.md
skills/ai-devkit-setup/SKILL.md
skills/brainstorm/SKILL.md
skills/changelog/SKILL.md
skills/dev-commit/SKILL.md
skills/dev-debug/SKILL.md
skills/dev-design/SKILL.md
skills/dev-implementation/SKILL.md
skills/dev-lifecycle/SKILL.md
skills/dev-planning/SKILL.md
skills/dev-pr/SKILL.md
skills/dev-refactor/SKILL.md
skills/dev-requirements/SKILL.md
skills/dev-review/SKILL.md
skills/dev-simplify/SKILL.md
skills/dev-smoke/SKILL.md
skills/dev-testing/SKILL.md
skills/dev-worktree/SKILL.md
skills/document-code/SKILL.md
skills/memory/SKILL.md
skills/refactor/SKILL.md
skills/remote-from-slack/SKILL.md
skills/remote-from-telegram/SKILL.md
skills/security-review/SKILL.md
skills/session-compact/SKILL.md
skills/simplify-implementation/SKILL.md
skills/structured-debug/SKILL.md
skills/task/SKILL.md
skills/tdd/SKILL.md
skills/technical-writer/SKILL.md
skills/verify/SKILL.md

Metadata

Files
0
Version
d2e170a
Hash
c12d5650
Indexed
2026-11-02 14:56

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 01:29
浙ICP备14020137号-1