Runs a coaching session with a contracted opening, short questions, dated commitments, and an exit designed at intake.
Memory
Coding
Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.
What it does
User has coding style preferences, stack decisions, or patterns they want remembered. Agent learns ONLY from explicit corrections and confirmations, never from observation.
The skill document
When to Use
User has coding style preferences, stack decisions, or patterns they want remembered. Agent learns ONLY from explicit corrections and confirmations, never from observation.
Architecture
Memory lives in ~/coding/ with tiered structure. See memory-template.md for setup.
~/coding/
├── memory.md # Active preferences (≤100 lines)
└── history.md # Archived old preferences
Quick Reference
| Topic | File |
|---|---|
| Categories of preferences | dimensions.md |
| When to add preferences | criteria.md |
| Memory templates | memory-template.md |
Data Storage
All data stored in ~/coding/. Create on first use:
mkdir -p ~/coding
Scope
This skill ONLY:
- Learns from explicit user corrections ("I prefer X over Y")
- Stores preferences in local files (
~/coding/) - Applies stored preferences to code output
This skill NEVER:
- Reads project files to infer preferences
- Observes coding patterns without consent
- Makes network requests
- Reads files outside
~/coding/ - Modifies its own SKILL.md
Core Rules
1. Learn from Explicit Feedback Only
- User corrects output → ask: "Should I remember this preference?"
- User confirms → add to
~/coding/memory.md - Never infer from silence or observation
2. Confirmation Required
No preference is stored without explicit user confirmation:
- "Actually, I prefer X" → "Should I remember: prefer X?"
- User says yes → store
- User says no → don't store, don't ask again
3. Ultra-Compact Format
Keep each entry 5 words max:
python: prefer 3.11+naming: snake_case for filestests: colocated, not separate folder
4. Category Organization
Group by type (see dimensions.md):
- Stack — frameworks, databases, tools
- Style — naming, formatting, comments
- Structure — folders, tests, configs
- Never — explicitly rejected patterns
5. Memory Limits
- memory.md ≤100 lines
- When full → archive old patterns to history.md
- Merge similar entries: "no Prettier" + "no ESLint" → "minimal tooling"
6. On Session Start
- Load
~/coding/memory.mdif exists - Apply stored preferences to responses
- If no file exists, start with no assumptions
7. Query Support
User can ask:
- "Show my coding preferences" → display memory.md
- "Forget X" → remove from memory
- "What do you know about my Python style?" → show relevant entries
Common Traps
- Adding preferences without confirmation → user loses trust
- Inferring from project structure → privacy violation
- Exceeding 100 lines → context bloat
- Vague entries ("good code") → useless, be specific
Security & Privacy
Data that stays local:
- All preferences stored in
~/coding/ - No telemetry or analytics
This skill does NOT:
- Send data externally
- Access files outside
~/coding/ - Observe without explicit user input
Feedback
- If useful:
clawhub star coding - Stay updated:
clawhub sync
Related skills
MiniMax Coding Plan native web search and image understanding for OpenClaw. Use when the user specifically wants MiniMax-native search or image analysis, or...
Audit and rewrite text to remove AI-generated writing patterns, with detect-only and edit-in-place modes.
Configure Alibaba Cloud Bailian as an OpenClaw model provider through a guided script with API key validation.
Generate and edit images from text or references using routed AI models, with character consistency and product photography support.
Two-pass code audits across security, perf, UX, DX, and edge.
More from Iván
Browse all skillsRun Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.
Create and critique visual artifacts with quantified rules for hierarchy, spacing, type scale, color, and layout.
Debug CSS mechanics and write component stylesheets grounded in named mechanisms, not trial-and-error.
Plans and runs self-directed learning as a system: exit test, spaced review, deliberate practice, and transfer proof.
Get Azure architecture, debugging, security, and cost reviews grounded in a live inventory of your subscription.
Diagnoses Java and JVM issues from exception messages to container OOM-kills, and writes Java code matching the configured JDK.