Dev-Mem AI Programming Experience Knowledge Base
Paste the following prompt into your AI chat to install this skill:
Please install @user_4b39a996/dev-mem according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
In AI-assisted coding, debugging conclusions, version constraints, API limits, and prompt patterns often remain scattered across chat windows. When you open a new session, switch tools, or return later, you may re-explain context or repeat the same mistakes. This skill turns those conversational learnings into a searchable local knowledge base instead of relying on memory.
How It Works
- Triggering and routing: It supports
@ememas an explicit trigger, as well as natural language such as “save this”, “look it up”, and “review this session”, then routes to workflows for capture, search, preflight checks, daily consolidation, stats, or backup. - Structured capture: It extracts symptoms, constraints, debugging trail, root cause, fix, conclusion, and caveats from context, then writes them to
dev-mem.mdin the project root or an environment-specific path without requiring the user to restate the full issue. - Main workflows:
- Instant capture: Turn a single pitfall or constraint into a structured entry.
- Preflight checks: Before starting a feature, surface relevant historical learnings.
- Search: Retrieve similar past issues by precise query or loose probing.
- Review and anchors: Use
markto flag key nodes during long sessions, then prioritize them during review. - Stats and repair: Inspect entry counts and fix format, category, or stats inconsistencies.
Boundaries
It operates mainly on the current session context and cannot read earlier chat windows. The storage path changes across IDEs, Knot, Claude Code, and other environments, and preflight relevance depends on how many entries already exist. It fits lightweight personal development knowledge capture rather than replacing team documentation systems or CI/CD processes.
Use Cases
- Save AI debugging results, root cause, and fix commands into `dev-mem.md` entries to avoid repeated troubleshooting.
- Before implementing an auth API, use `@emem` to search past pitfalls, stack constraints, API limits, and failed approaches.
- Before closing a long session, ask the skill to review the current window and draft unresolved or unarchived items.
- Pull project stats and recent entries to inspect category counts and locate recently captured learnings.
Best For
- Engineers using AI assistants for backend or frontend work who want pitfalls, fixes, and constraints captured as searchable entries.
- Solo developers maintaining multiple codebases who need project-level or global stats and session review.
- Developers debugging with Cursor or Claude Code who want API limits, error conclusions, and caveats saved locally.
- AI-coding users in long debugging sessions who need anchors and end-of-session consolidation into structured entries.
Related Skills
A one-shot coding agent built on Claude Code CLI that runs non-interactively, supports a specified workdir, and can be monitored in the foreground or background.
Preview and confirm file sorting by extension, with recursive cleanup, ignore rules, and transactional rollback.
An engineering assistant for static HTML/CSS/JS pages, design-token extraction, IE8-compatible review, and structured delivery.
An engineering workflow for requirement analysis, scenario modeling, risk planning, quality gates, testing, and knowledge capture, with lightweight, standard, and full modes.