Document solved problems for knowledge persistence
Manages solution documentation in docs/solutions/ for knowledge persistence across sessions.
When you solve a problem, document it so the solution can be found and reused later.
/compound workflow# Log usage when using this skill
./scripts/log-skill.sh "compound-docs" "manual" "$$"
# Search by keyword
grep -r "keyword" docs/solutions/
# Search by tag
grep -l "tags:.*performance" docs/solutions/**/*.md
# Search by problem type
ls docs/solutions/performance-issues/
When an issue occurs 3+ times:
Search for similar solutions:
grep -r "similar terms" docs/solutions/
Add to critical patterns:
# Edit docs/solutions/patterns/critical-patterns.md
Format:
### Pattern #{N}: {Name}
**Problem:** {What goes wrong}
**❌ WRONG:**
```code
{incorrect}
✅ CORRECT:
{correct}
All solutions must have valid frontmatter:
---
date: "YYYY-MM-DD"
problem_type: "{from schema.yaml}"
severity: "critical|high|medium|low"
symptoms:
- "symptom 1"
root_cause: "{from schema.yaml}"
tags:
- tag1
---
See docs/solutions/schema.yaml for valid enum values.
When documenting solutions, capture the full journey:
## Investigation Steps
| Attempt | Hypothesis | Result |
|---------|------------|--------|
| 1. Check API logs | API might be timing out | ❌ No timeouts found |
| 2. Review database queries | N+1 query suspected | ❌ Queries were optimized |
| 3. Check cache invalidation | Cache might be stale | ✅ Found cache not clearing |
## Lessons Learned
### Mistakes Made
- **Assumption:** Assumed the API was the bottleneck
- **Why wrong:** Didn't check cache layer first
- **Correction:** Should always check cache before API
### Key Breakthrough
- **Insight:** Realized cache invalidation logic was only running on UPDATE, not DELETE
- **Impact:** Led directly to the solution
[!TIP] Document the journey, not just the destination. Future readers learn from understanding WHY failed approaches didn't work.
docs/solutions/schema.yamldocs/solutions/templates/solution-template.mddocs/solutions/patterns/critical-patterns.mdGoogle Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks OpenClaw to add a note, list notes, search notes, or manage note folders.
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
Use when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
Manage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
Manage Trello boards, lists, and cards via the Trello REST API.
Category:productivity