mem
Captures quick knowledge insights during work sessions into structured learning files.
- License 许可
- MIT
- 所属仓库
- goffity/dev-km
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- mem
- description
- Captures quick knowledge insights during work sessions into structured learning files.
- argument-hint
- [topic]
- user-invocable
- true
03 SKILL.md 正文
Memory - Quick Knowledge Capture
จับความรู้แบบรวดเร็วระหว่างทำงาน (Layer 1)
Usage
/mem [descriptive title]
Output: $PROJECT_ROOT/kb/05-ai-reviewed/learnings/YYYY-MM/DD/HH.MM_[slug].md
Instructions
Language Setting
Check
LANGUAGEindocs/current.md. Ifth, translate output perreferences/language-guide.md. Seereferences/bash-helpers.mdfor detection snippet.
- Process title → slug (lowercase, hyphens)
- Gather context: timestamp, branch, recent commits
- Create directory:
kb/05-ai-reviewed/learnings/YYYY-MM/DD/ - Generate file with template below
- Commit:
git commit -m "learn: [title]"
Template
# [Title]
| Field | Value |
|-------|-------|
| **Captured** | YYYY-MM-DD HH:MM (Asia/Bangkok) |
| **Branch** | current-branch |
| **Context** | what were you working on |
---
## Key Insight
> One-sentence summary
## What We Learned
- Discovery 1
- Discovery 2
## Gotchas & Warnings
- Pitfall to avoid
## Related
- Commits: `abc1234`
- Files: `path/to/file.go`
## Tags
`tag1` `tag2`
Rules
| Rule | Description |
|---|---|
| FAST | Complete in < 20 seconds |
| KNOWLEDGE-FOCUSED | Insights, not task logs |
| SEARCHABLE | Clear titles and tags |
04 同仓库更多 Skills
wait-what
Stop. That last message did not land: re-pitch it.
tdd
Test-driven development loop (red-green-refactor) with commit-based phase state and Jira traceability. Use when the user wants to build a feature or fix a bug test-first, mentions "tdd", "red-green-refactor", or "test-first". Replaces the tdg plugin — combines its commit/phase discipline with seam-based test quality rules from kb Testing Standards.
td
Creates post-task retrospectives with Before/After context and session documentation.
summary
Generates weekly or monthly session summaries from retrospectives and activity logs.
share
Shares knowledge across projects by copying to shared-knowledge directory with cross-project metadata.
session-analyzer
Analyzes git changes and creates retrospective drafts with Before/After context.