Installs into .claude/skills of the current project.
Are you the author of Coding?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/clawic-coding)
---
name: Coding
slug: coding
version: 1.0.3
description: Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.
homepage: https://clawic.com/skills/coding
changelog: Improve discoverability, add homepage and feedback section
metadata:
clawdbot:
emoji: π»
requires:
bins: []
os:
- linux
- darwin
- win32
displayName: Coding
---
## 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 `~/Clawic/data/coding/` with tiered structure. See `memory-template.md` for setup.
```
~/Clawic/data/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 `~/Clawic/data/coding/`. Create on first use:
```bash
mkdir -p ~/coding
```
## Scope
This skill ONLY:
- Learns from explicit user corrections ("I prefer X over Y")
- Stores preferences in local files (`~/Clawic/data/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 `~/Clawic/data/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 `~/Clawic/data/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 files`
- `tests: 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
1. Load `~/Clawic/data/coding/memory.md` if exists
2. Apply stored preferences to responses
3. 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 `~/Clawic/data/coding/`
- No telemetry or analytics
**This skill does NOT:**
- Send data externally
- Access files outside `~/Clawic/data/coding/`
- Observe without explicit user input
## Feedback
- If useful, star it: https://clawic.com/skills/coding
- Latest version: https://clawic.com/skills/coding