learn
Skill36 starsChanged 8 months agoMITView on GitHub
当用户踩坑后想记录经验教训、当调试完想防止同样的问题再次发生、当做了重要技术决策想记录时使用 — 自动更新 CLAUDE.md 的已知陷阱和决策日志
133 other projects use a version of this.
Adopted by
Most recently taken up by
- garrytan/gstacktheir own version, first seen Oct 7, 2026
- wardawgmalvicious/agent-configtheir own version, first seen Oct 7, 2026
- prathish-ks/isthmustheir own version, first seen Oct 6, 2026
- Boxline-dev/examplestheir own version, first seen Oct 5, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- ContextLab/claude-skill-compoundertheir own version, first seen Oct 4, 2026
Used with
Projects with it also use open-gstack-browser, design-html and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 6 projects that use this
seek888Skilldesign-html
Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".
Also in 7 projects that use this
chloropineSkillsetup-gbrain
Set up gbrain for this coding agent: install the CLI, initialize a local PGLite or Supabase brain, register MCP, capture per-remote trust policy. One command from zero to "gbrain is running, and this agent can call it." Use when: "setup gbrain", "connect gbrain", "start gbrain", "install gbrain", "configure gbrain for this machine". (cgstack)
Also in 4 projects that use this
TomGranotSkilladd-anydoc
Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when agents need to read attached Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, or text-based PDF files without uploading them to a hosted parser.
Also in 3 projects that use this
TomGranotSkilladd-clidash
Add clidash — a zero-dependency, read-only web dashboard that derives its tabs and tables at runtime from any CLI that lists resources as JSON. Ships pre-wired for NanoClaw's ncl CLI (agent groups, sessions, channels, users, roles), plus message-activity charts, a log tail, and a read-only file viewer for group skills/CLAUDE.md/profiles.
Also in 3 projects that use this
chloropineSkillplan-tune
Self-tuning question sensitivity + developer psychographic for cgstack (v1: observational). Review which AskUserQuestion prompts fire across cgstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.
Also in 4 projects that use this
- +1 more from seek888
- +5 more from TomGranot
Other versions133 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 133
- garrytan/gstack★ 143ksame name
- rohitg00/ai-engineering-from-scratch★ 64ksame name
- nanocoai/nanoclaw★ 31ksame name
- tigerless-labs/autoharness★ 7.8ksame name
- tw93/Waza★ 7.1ksame name
- HughYau/AcademicForge★ 2.6ksame name
- pedrohcgs/claude-code-my-workflow★ 1.6ksame name
- nagisanzenin/engram★ 1.4ksame name
- fancyboi999/ai-engineering-from-scratch-zh★ 1.2ksame name
- nykooi1/vibe-wise★ 1.1ksame name
123 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository37 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- a11ySkill
- apiSkill
- authSkill
- blogSkill
- changelogSkill
- code-reviewSkill
- commitSkill
- compareSkill
- componentSkill
- conceptSkill
- copySkill
- dashboard-adminSkill
- databaseSkill
- debugSkill
- deploySkill
- docSkill
- emailSkill
- envSkill
- explainSkill
- fixSkill
- formSkill
- gitsetupSkill
- install-pluginsSkill
- landingSkill
- migrateSkill
- paymentSkill
- perfSkill
- readme-genSkill
- refactorSkill
- responsiveSkill
- scriptSkill
- seoSkill
- setupSkill
- starterSkill
- storageSkill
- testSkill
The file
Files
自我改进
把这次踩的坑或做的决策记录到 CLAUDE.md 中,防止下次再犯。
与其他 Skill 的区别
- /debug 解决当前的 bug
- /learn 把 bug 的经验教训写入 CLAUDE.md,让 Claude 永远记住
步骤
1. 确定要记录什么
如果用户已经说了,直接分析。否则问:
你想记录什么?
- 刚踩了个坑,想防止下次再犯
- 做了个技术决策,想记录原因
- 发现了项目的特殊规则,想让 Claude 记住
2. 提取关键信息
根据类型收集信息:
踩坑记录:
- 问题是什么?(一句话描述现象)
- 根因是什么?(为什么会出现)
- 正确的做法是什么?(下次应该怎么做)
技术决策:
- 选了什么方案?
- 为什么选这个?(2-3 个关键理由)
- 考虑过但没选的方案?(为什么不选)
项目规则:
- 什么规则?
- 为什么需要这个规则?
3. 生成记录条目
用精确简洁的语言写一条记录:
踩坑格式:
- [现象描述] — [正确做法]例:uv sync 会删除未在 pyproject.toml 中声明的包 — 运行前后对比 uv pip list
决策格式:
- 选择 [方案] 而不是 [备选] — 原因:[理由];否决 [备选] 因为 [理由]例:选择 SQLite 而不是 PostgreSQL — 原因:单用户项目不需要并发;否决 PostgreSQL 因为运维成本高
4. 写入 CLAUDE.md
读取当前 CLAUDE.md,将新条目追加到对应区块:
- 踩坑 → 追加到「已知陷阱」区块
- 决策 → 追加到「决策日志」区块
- 规则 → 追加到最匹配的区块(铁律 / 不要做什么 / 工作流程)
写入前展示给用户确认:
准备在 CLAUDE.md 的「已知陷阱」中添加:
- [新条目内容]
确认写入?
5. 确认
用户确认后写入文件。
已更新 CLAUDE.md。下次 Claude 会自动遵守这条规则。
规则
- 每条记录必须简洁(一行以内),不要写段落
- 用「现象 — 正确做法」格式,不要只描述问题不给方案
- 不要和已有条目重复 — 写入前检查是否已经存在类似记录
- 如果已有类似记录但不完整,更新它而不是添加新的
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

