Dev-Mem AI Programming Experience Knowledge Base
Paste the following prompt into your AI chat to install this skill:
Please install @user_4b39a996/dev-mem0409 according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Debugging traces, pitfalls, version constraints, and fixes often remain trapped in temporary chat context. Once a session ends, that knowledge is easy to lose; the next time you hit a similar error, API limit, or design tradeoff, you may have to investigate again. dev-mem turns useful engineering experience from the current conversation into a local, searchable knowledge base instead of letting it scroll out of the window.
How It Works
It is triggered by @emem or natural language and routes to different workflows: quick capture, enrichment, search, daily distillation, session review, statistics, recent records, version checks, knowledge base repair, backup, and feature pre-checks.
During capture, it extracts structured fields from context, such as symptom, constraints, investigation chain, root cause, fix, conclusion, and caveats, without requiring the user to restate everything. It then creates or appends to dev-mem.md, generates IDs like EXP-CODE-202604-003, and keeps category statistics updated.
It supports mark anchors so review can prioritize flagged nodes; a diagnostic-tree mode for one symptom with multiple root causes; project-name inference; fuzzy search; and pre-check hints. Feature pre-checks only trigger with @emem plus forward-looking intent, surfacing historically relevant pitfalls with relevance levels.
Boundaries
dev-mem can only read the current context window and cannot recover early content from prior sessions; long conversations may lose earlier context, so timely capture or session-end review is safer.
Pre-check quality depends on accumulated entries; low hit counts do not imply low risk. Project-name inference has platform limits, and a Knot workspace root should not be treated as a project name. Repair workflows fix formatting rather than content, so back up before larger structural changes.
Use Cases
- After debugging a Redis timeout in Cursor, use @emem to save the error, investigation chain, and fix as a knowledge entry.
- Before building a login feature, use @emem to pre-check past API errors, permission constraints, and related pitfalls.
- Before ending a session, ask for a review of the current window to batch-save solved issues and missed lessons.
- When dev-mem.md formatting breaks, run repair to fix categories, statistics, and separators.
Best For
- Engineers using Cursor/CodeBuddy who want to turn debugging conclusions into reusable knowledge entries
- Backend engineers handling API errors and environment constraints who need historical pitfalls before new features
- Independent developers debugging long multi-turn sessions who use mark and review to avoid missing key nodes
- Tech leads maintaining dev-mem.md who need project statistics, repair, and backups
Related Skills
Provides Claw with character-library selection, switching, saving, and global SOUL.md style sync for role-based conversation.
An AIONE Agentic AI Infrastructure SDK wrapper for building production AI agents with memory, skills, workflows, and hooks.
A Python/TypeScript SDK wrapper for the DeepSeek-Reasonix native AI coding agent, with prefix-cache support.
A browser automation tool for analysts, operators, and developers that locates elements, fills forms, extracts structured content, and supports no-code scheduling and export.