Development with persistent memory checks and automatic logging
Ensures every development task leverages past learnings and contributes to organizational memory. Search before implementing, document after completing.
Semantic Search for Patterns
Use search-enhanced to find relevant past work:
search-enhanced(
query: "<feature area> implementation patterns",
filters: {type: "code"}
)
Review Past Decisions
list-memories-by-tag(["<feature-area>", "architecture", "decisions"])
Check Recent Context
get-recent-context(project: "<current-project>")
Analyze Retrieved Memories
Apply Patterns Found
Note Deviations
Store Memory with Rich Metadata
store-dev-memory({
type: "code",
content: "Detailed description of implementation",
project: "<project-name>",
tags: ["<feature>", "<technology>", "<pattern-used>"],
metadata: {
implementation_status: "complete",
key_decisions: ["Decision 1", "Decision 2"],
files_created: ["file1.py", "file2.py"],
files_modified: ["existing.py"],
code_changes: "Summary of major changes",
dependencies_added: ["package1", "package2"],
testing_notes: "How to test this"
},
relationships: [
{
memory_id: "<related-memory-hash>",
type: "builds_on"
}
]
})
Store Decisions Separately
store-dev-memory({
type: "decision",
content: "Why we chose approach X over Y",
project: "<project-name>",
tags: ["decision", "<topic>"],
metadata: {
alternatives_considered: ["Approach Y", "Approach Z"],
decision_rationale: "Explanation",
decision_date: "<date>",
who_decided: "<name>"
}
})
query (string): Search termsfilters (object): Optional filters
type: "code" | "decision" | "conversation" | "reference"tags: Array of tags to matchproject: Project namedate_from, date_to: Date rangelimit (int): Max results (default: 10)search-enhanced("authentication JWT patterns", filters={type: "code"})tags (array): Tags to search forproject (string): Optional project filterlist-memories-by-tag(["authentication", "security"])project (string): Project namelimit (int): Number of recent items (default: 10)get-recent-context(project: "hrdag-api")memory_id (string): Memory hash IDget-dev-memory(memory_id: "abc123def456")User says: "Add JWT authentication to the API"
You do:
Research
search-enhanced("authentication JWT patterns", filters={type: "code"})
list-memories-by-tag(["authentication", "security"])
Result: Found memory showing JWT implementation from 3 months ago
Implement Apply the JWT pattern found, using similar code structure
Document
store-dev-memory({
type: "code",
content: "Implemented JWT authentication with refresh tokens for API v2",
project: "hrdag-api",
tags: ["authentication", "jwt", "security", "api-v2"],
metadata: {
implementation_status: "complete",
key_decisions: [
"Used JWT over session-based auth for stateless API",
"Refresh token rotation every 7 days"
],
files_created: ["auth/jwt_manager.py", "auth/middleware.py"],
files_modified: ["api/routes.py", "config/settings.py"],
dependencies_added: ["PyJWT==2.8.0"],
testing_notes: "Test with curl scripts in tests/auth/"
},
relationships: [{
memory_id: "<hash-of-3-month-old-auth-memory>",
type: "builds_on"
}]
})
User says: "The zip disk recovery keeps failing on bad sectors"
You do:
Research
search-enhanced("zip disk recovery errors", filters={type: "code"})
list-memories-by-tag(["data-recovery", "bugs", "zip-disk"])
Result: Found memory about ddrescue parameters and common failures
Implement Applied lessons about proper ddrescue flags and error handling
Document
store-dev-memory({
type: "code",
content: "Fixed zip disk recovery by adjusting ddrescue retry parameters",
project: "vintage-data-recovery",
tags: ["data-recovery", "zip-disk", "bugfix", "ddrescue"],
metadata: {
implementation_status: "complete",
key_decisions: [
"Increased retry count from 3 to 10 for bad sectors",
"Added sector size specification for old media"
],
files_modified: ["recovery_scripts/zip_disk_reader.sh"],
testing_notes: "Tested on 5 failing disks, 3 now readable"
},
relationships: [{
memory_id: "<hash-of-ddrescue-lessons>",
type: "applies"
}]
})
npx skills add vm-wylbur/memory-augmented-dev下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer