skills/mmry-best-practices/SKILL.md
Memory creation best practices: categorization, tagging, metadata
npx skillsauth add jcsaaddupuy/badrobots mmry-best-practicesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
NEVER create a memory without categories and tags. Every memory must have:
Tags: Use domain-specific tags (e.g., architecture, database, api, security)
Categories: Architecture, Design Principles, System Knowledge, Best Practices
Tags: Use action-oriented tags (e.g., debugging, workflow, pattern, integration)
Categories: Tool Development, Debugging, Workflows, Integration Patterns
Tags: Use context tags (e.g., project-name, decision, constraint, lesson)
Categories: Project Context, Lessons Learned, Constraints, Decisions
Use consistent, reusable categories:
Architecture - System design, component relationshipsDesign Principles - Patterns, anti-patterns, best practicesTool Development - Extension development, tool integrationDebugging - Troubleshooting workflows, root cause analysisWorkflows - Procedures, step-by-step processesIntegration Patterns - How to integrate systems/toolsSystem Knowledge - How things work, constraintsStorage - Database, cache, persistence patternsPerformance - Optimization, scaling, profilingSecurity - Authentication, authorization, encryptionProject Context - Project-specific informationLessons Learned - What worked, why, when to applyUse 3-5 tags per memory. Tags should be:
json-parsing, cli-integration)Common tag patterns:
postgresql, redis, typescript, nodejs, pythondatabase, api, ui, testing, deploymentdebugging, integration, optimization, validationarchitecture, tool-development, extension, workflowbest-practice, anti-pattern, pitfall, lesson-learned10 - Critical: Production-breaking, security issues, core principles
9 - High: Important patterns, major design decisions, key constraints
8 - Important: Useful patterns, common workflows, helpful techniques
7 - Moderate: Nice-to-know optimizations, alternative approaches
6 - Low: Interesting but not immediately useful
1-5 - Optional: Experimental, edge cases, nice-to-haves
memory action=add \
content="PRINCIPLE NAME: Description of principle. Why it matters. When to apply it. Example." \
type=semantic \
category="Design Principles" \
tags="tag1,tag2,tag3" \
importance=9
memory action=add \
content="WORKFLOW NAME: (1) Step one, (2) Step two, (3) Step three. Why this works. When to use. Common pitfalls." \
type=procedural \
category="Workflows" \
tags="workflow,debugging,tool-name" \
importance=8
memory action=add \
content="INSIGHT NAME: What I learned. Why it matters. How to apply it. Context where discovered." \
type=episodic \
category="Lessons Learned" \
tags="project-name,lesson,decision" \
importance=8
# Find all architecture principles
memory action=search query="architecture" type=semantic category="Architecture"
# Find all debugging workflows
memory action=search query="debugging" type=procedural category="Debugging"
# Find memories about JSON parsing
memory action=search query="json" mode=semantic
# Then filter by tags in results
# Find conceptually similar memories
memory action=search query="infrastructure vs storage" mode=semantic
# This finds related principles even with different wording
memory action=add \
content="STORAGE ARCHITECTURE FOR TEXT-TO-SQL AGENT: PostgreSQL + pgvector for whatisit embeddings (persistent). Redis for whatisit RQ queue (ephemeral). Agent is stateless (no storage). Key insight: Don't confuse infrastructure components with application storage needs." \
type=semantic \
category="Architecture - Storage" \
tags="postgresql,redis,storage,architecture,text-to-sql" \
importance=10
memory action=add \
content="TOOL DEBUGGING PATTERN: When tool returns 0 results but CLI works: (1) Test CLI directly, (2) Check JSON structure with jq, (3) Verify parser handles all formats, (4) Test multiple commands, (5) Fix at parser level. Root cause usually JSON parsing." \
type=procedural \
category="Tool Development" \
tags="debugging,tool-development,json-parsing,cli-integration" \
importance=8
memory action=add content="Some random principle"
# Missing: type, category, tags, importance
memory action=add content="Fixed JSON parser bug in mmry tool today"
# This is history, not essence. Should be: "JSON Parser Pattern: ..."
development
DuckDB patterns for JSON/JSONL analysis, array unnesting, and common gotchas. Use when querying JSON files, nested data, or encountering "UNNEST not supported here" errors.
development
Mealie recipe manager API: recipes, shopping lists, meal plans. Requires MEALIE_BASE_URL and MEALIE_API_KEY.
business
TimeWarrior time tracking: start/stop intervals, query durations by tag or issue, compute totals for issue tracker time reporting
development
Bookmark manager for saving, searching, and annotating web content. Use when: (1) saving a webpage for later reference, (2) searching previously saved bookmarks, (3) adding highlights/annotations to saved content, (4) user asks to 'bookmark this' or 'save this article'. Requires READECK_BASE_URL and READECK_API_KEY environment variables.