OpenClaw Skillv1.0.3

Coding

Ivรกnby Ivรกn
Deploy on EasyClawdfrom $14.9/mo

Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.

How to use this skill

OpenClaw skills run inside an OpenClaw container. EasyClawd deploys and manages yours โ€” no server setup needed.

  1. Sign up on EasyClawd (2 minutes)
  2. Connect your Telegram bot
  3. Install Coding from the skills panel
Get started โ€” from $14.9/mo
11stars
7,872downloads
128installs
0comments
4versions

Latest Changelog

Improve discoverability, add homepage and feedback section

Tags

latest: 1.0.3

Skill Documentation

---
name: Coding
slug: coding
version: 1.0.3
homepage: https://clawic.com/skills/coding
description: Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.
changelog: Improve discoverability, add homepage and feedback section
metadata: {"clawdbot":{"emoji":"๐Ÿ’ป","requires":{"bins":[]},"os":["linux","darwin","win32"]}}
---

## 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:
```bash
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 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 `~/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 `~/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`
Security scan, version history, and community comments: view on ClawHub