skills/lesson/SKILL.md
Use when user mentions '/lesson', '记录经验', '铁律', or wants to capture lessons learned. Automatically extracts insights from conversation and writes them to project's MEMORY.md. Also triggers when agent makes mistakes or discovers important patterns.
npx skillsauth add ai-feier/skills lessonInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
自动从对话中提取踩坑经验和关键教训,写入项目的 MEMORY.md。
MEMORY.md 文件# 自动安装(如果项目没有 MEMORY.md)
curl -sL https://raw.githubusercontent.com/Ai-feier/skills/main/docs/INSTALL.sh | bash
/lesson、记录经验、铁律You: 这个项目的 API 总是返回 401,可能是我 token 过期了
Agent: 记录下来,写入 MEMORY.md
会写入:
## 调试经验
- 401 错误通常是 token 过期,检查 Auth 头部
development
在项目根目录生成 CLAUDE.md 文件和 .claude/ 配置骨架,建立 Claude Code 项目级指令体系。手动触发,检查是否存在后写入模板。
tools
在项目根目录生成 CLAUDE.md 文件和 .claude/ 配置骨架,采用 DDD 架构模式,包含标准化架构设计文档和代码模板。手动触发,检查是否存在后写入模板。
documentation
在项目根目录生成 AGENTS.md 文件和 docs/ 知识库骨架,建立 agent-first 仓库的文档治理体系。手动触发,检查是否存在后写入模板。
development
Describe what this skill does and when Claude/OpenCode should use it. Be specific about trigger phrases and scenarios. Write it 'pushy' — err on the side of triggering too often rather than too little.