Coding

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Coding" with this command: npx skills add ivangdavila/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 ~/coding/ with tiered structure. See memory-template.md for setup.

~/coding/
├── memory.md      # Active preferences (≤100 lines)
└── history.md     # Archived old preferences

Quick Reference

TopicFile
Categories of preferencesdimensions.md
When to add preferencescriteria.md
Memory templatesmemory-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 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Charging Ledger

充电记录账本 - 从截图提取充电信息并记录,支持按周、月查询汇总。**快速暗号**: 充电记录、充电账本、充电汇总。**自然触发**: 记录充电、查询充电费用、充电统计。

Registry SourceRecently Updated
General

qg-skill-sync

从团队 Git 仓库同步最新技能到本机 OpenClaw。支持首次设置、定时自动更新、手动同步和卸载。当用户需要同步技能、设置技能同步、安装或更新团队技能,或提到「技能同步」「同步技能」时使用。

Registry SourceRecently Updated
General

Ad Manager

广告投放管理 - 自动管理广告投放、优化ROI、生成报告。适合:营销人员、电商运营。

Registry SourceRecently Updated