accountable-engineerin…
Use explicit human checkpoints for architecture, security, rollout, or operational decisions.
Review a coding session and propose environment changes that prevent repeated agent mistakes.
$ npx -y skills add jellydn/my-ai-tools --skill retro --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/retroContext preview
The summary Claude sees to decide when to auto-load this skill.
Review a coding session and propose environment changes that prevent repeated agent mistakes.
name: retro description: "Review a coding session and propose environment changes that prevent repeated agent mistakes." version: 1.0.0 author: my-ai-tools license: MIT compatibility: cline, claude, opencode, amp, codex, gemini, cursor, pi hint: Use when reviewing the current or past coding session to improve the repository and agent workflow. user-invocable: true disable-model-invocation: true metadata: audience: all workflow: retrospective related_skills: [code-review, diagnosing-bugs, accountable-engineering]
Inspect a real coding session and propose improvements to the **agent's environment**, not the product code. The goal is to make the next run easier to navigate and harder to get wrong.
This is human-in-the-loop. Present findings first; do not edit steering files, standards, hooks, CI, or skills until the user chooses which findings to apply.
Use when:
The default target is the current session. If the user names a count or date range, inspect that exact range. If session history is unavailable, say so and review the repository evidence only.
Read the real sources before judging:
Do not infer a recurring mistake from one suspicious line. Tie every finding to concrete evidence from the session or repository.
Rank findings by severity and expected leverage. For each, record:
Finding: what happened Evidence: session message, command, file, or diff Prevention: the smallest environment change that would stop it Owner: repo check | agent skill | steering file | tool | documentation Cost: maintenance and false-positive risk
Inspect these categories:
Treat a human correction as training data for the workflow, not as a one-off preference:
1. Save the agent's output before editing it. 2. Make and save the human-edited version against the same input. 3. State what decision the edit reflects that the skill did not encode. 4. Rewrite the rule as a decision procedure, including when it does **not** apply. 5. Rerun the original input and compare the result with the edited version.
Do not add vague rules such as “make it better” or blindly encode every edit as a universal instruction. Keep only lessons that held up on real work. If a lesson is mechanical and stable, prefer a linter, test, hook, or CI check over more prose. Keep shared rules in the main skill and context-specific rules in a linked reference or style file so the skill does not grow indiscriminately.
Could the agent have found the right file, command, dependency, or domain term sooner? Prefer a short navigation pointer or a `GLOSSARY.md` entry over a large instruction block.
Could a deterministic test, linter, typecheck, pre-commit hook, or CI job catch the mistake? Read the existing check commands first. If a check exists but is not wired or is silently broken, fix the wiring rather than inventing another check.
Mechanical mistakes belong in automation: banned APIs, required file locations, schema shape, generated-file drift, import rules, or formatting. A sentence saying “remember to do this” is not a guardrail.
Reserve `CODING_STANDARDS.md` for judgement calls that automation cannot decide: cross-file consistency, design fit, naming in context, and review expectations. Put reviewer-facing rules there, not implementation trivia.
Remove no-op advice and move detailed procedures into skills or docs. Keep `AGENTS.md` and equivalent files short, navigational, and high-signal. Check for stale names such as `CONTEXT.md`; this repository uses `GLOSSARY.md` when that convention applies.
Look for repeated broad searches, redundant reads, missing filters, or expensive calls that a narrow command could replace. Recommend a tool or script change only when it reduces repeated cost without hiding important output.
Identify information the agent needed but could not access: logs, service status, readonly API data, fixtures, schemas, or architecture notes. Prefer safe readonly access and concise pointers.
When an installed or existing skill repeatedly needs correction, compare the same input across the old and revised versions. Treat the difference as evidence of skill drift: the user's standard moved, the skill was underspecified, or the rule was too literal. Record the smallest durable change and its verification result.
Present the result in this order:
1. **Keep:** practices that worked and should remain. 2. **High priority:** concrete changes with a clear prevention payoff. 3. **Medium priority:** useful but non-blocking improvements. 4. **Do not change:** ideas that are speculative, noisy, or better handled manually. 5. **Smallest next step:** one or two changes the user can approve.
For each candidate, include the exact target path and a proposed patch shape. Do not silently apply it. When the user approves, make one focused change at a time, run the relevant checks, and report the result.
Portable, source-controlled configuration for AI coding assistants. my-ai-tools installs one consistent set of agent guidelines, skills, commands, hooks, MCP servers, and tool settings across supported AI coding assistants.
Use explicit human checkpoints for architecture, security, rollout, or operational decisions.
Record architecture decisions with ADRs — captures why, alternatives considered, and consequences
Use when monitoring an open GitHub PR for CI failures, review feedback, mergeability, and safe retries or fixes.
Inspect history and architecture for hidden constraints before risky cross-cutting changes.
Build an interactive report or experiment when the user asks to explore model capabilities.
Audit a diff for structural maintainability and unnecessary complexity.