一键导入
learnings
Document what went well, what went wrong, and what to do differently after completing a feature or fixing a hard bug. Compounds knowledge across sessions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Document what went well, what went wrong, and what to do differently after completing a feature or fixing a hard bug. Compounds knowledge across sessions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audit Ansible playbooks, roles, collections, and inventories for production readiness. Use when reviewing an Ansible repo, before merging IaC PRs, before promoting a role to a collection, or when the user mentions ansible-lint, idempotency, vault, or molecule.
Enter planning mode — interview the user, design a phased approach, and produce an implementation plan before writing code.
Execute an approved /plan unattended — phases, agents, commits — stopping only on hard safety failures (hook exit 2, sandbox/network deny, repeated test failures). Use after /plan when the user wants hands-off execution.
Run a full read-only audit of the current project — code review, security analysis, and documentation freshness check. Use to assess project health without making changes.
Start implementing a feature with user story validation, phased execution, and quality gates. Use after planning is complete.
Take a project from "it works" to "it's shippable." Runs audit, fixes findings, walks the Definition of Done checklist, and generates a release readiness score. Use before releasing, after feature-complete, or when quality feels prototype-y.
| name | learnings |
| description | Document what went well, what went wrong, and what to do differently after completing a feature or fixing a hard bug. Compounds knowledge across sessions. |
| model | haiku |
| argument-hint | [feature or topic] |
After completing a feature, fixing a hard bug, or finishing a session, capture what you learned so future sessions benefit.
/polish run reveals systemic issuesAsk via dialog: When this skill needs a decision, preference, or clarification, call
AskUserQuestion(ToolSearch select:AskUserQuestionif the schema isn't loaded). Don't embed questions in prose. See~/.claude/CLAUDE.md§ "Asking the User Questions" for the full rule.
Review what just happened:
git log --oneline -20
git diff --stat HEAD~5..HEAD
Ask yourself (and the user):
Sort findings into categories:
Project quirks — Non-obvious things about this specific codebase:
test.projects split for jsdom vs node environments"Process improvements — Better ways to work:
Tool discoveries — Things about Claude Code, MCP, or ecosystem tools:
Anti-patterns — Mistakes to avoid:
For each learning worth preserving across sessions, save it:
feedback or project memoryfeedback memoryfeedback memoryfeedback memory with Why and How to applyUse the memory system at ~/.claude/projects/*/memory/ following the standard format.
If this is the second time you've seen the same issue:
.claude/CLAUDE.md or config/rules/)## Session Learnings
### What Went Well
- [Things that worked, with why]
### What Was Hard
- [Things that took longer, with root cause]
### Key Takeaways
- [Actionable insights for future sessions]
### Saved to Memory
- [List of memories created/updated]
### Suggested Improvements
- [Rules, hooks, or agents that could prevent issues]
After a multi-session feature:
"We spent 3 sessions on the dashboard feature. The first session was mostly debugging CORS — saved a memory about the proxy config. The second session went smoothly because we ran /plan first. The third session found 4 stale CUJs — now running /polish earlier."
After a hard bug:
"The flaky test was caused by shared test state — the database wasn't being reset between tests. Saved anti-pattern memory: always use transaction rollback for test isolation in this project."