← 返回 Skills 市场
alexbingquanxu-cpu

Coding Custom

作者 alexbingquanxu-cpu · GitHub ↗ · v1.0.0 · MIT-0
linuxdarwinwin32 ✓ 安全检测通过
443
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install coding-custom
功能描述
Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.
使用说明 (SKILL.md)

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 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
安全使用建议
This skill appears coherent and only stores small local files under ~/coding, which is appropriate for a coding-preferences memory. Before installing: (1) confirm you are comfortable with the agent writing to ~/coding (check or back up that path if needed); (2) verify the agent actually asks for confirmation before saving preferences (the SKILL.md mandates it, but it's enforced by runtime behavior); (3) be aware the agent may use stored preferences to change code output automatically — review entries in ~/coding/memory.md if results seem unexpected; (4) note minor metadata mismatches (registry name/slug/version/owner vs. SKILL.md) — not a security issue but worth asking the publisher for consistency if that concerns you.
功能分析
Type: OpenClaw Skill Name: coding-custom Version: 1.0.0 The 'Coding' skill is a utility designed to manage and persist user coding preferences in a local directory (~/coding/). The instructions in SKILL.md and supporting documentation (criteria.md, dimensions.md) emphasize explicit user consent, local-only storage, and strict scope limitations, specifically forbidding network requests or access to files outside the designated memory directory.
能力评估
Purpose & Capability
The skill's name/description (coding-style memory) aligns with what it asks the agent to do: create and read/write small local files under ~/coding and apply preferences when generating code. It does not request unrelated binaries, credentials, or system paths.
Instruction Scope
SKILL.md limits operations to creating ~/coding, loading/saving memory.md and history.md, and applying stored preferences to outputs. It explicitly forbids reading project files, making network requests, or touching files outside ~/coding, which is coherent with its stated scope.
Install Mechanism
No install spec or bundled code — instruction-only. This minimizes the disk/write/execute footprint and matches the declared design.
Credentials
The skill requires no environment variables, credentials, or external config paths. Its only persistence is local files under the user's home directory, which is proportionate to a preference-memory feature.
Persistence & Privilege
The skill persists user preferences on disk (~/coding/memory.md and history.md) which is expected. always:false (not force-included). The agent is allowed autonomous invocation by platform default — this is normal, but it means the agent could apply stored preferences automatically during interactions. The skill's rules state it must ask before storing preferences.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install coding-custom
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /coding-custom 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Added homepage link and feedback section to improve discoverability. - Updated description for clarity on coding style memory. - Enhanced documentation for preference storage, confirmation process, and privacy/security scope. - Clarified rules for learning only from explicit user feedback and never from observation.
元数据
Slug coding-custom
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Coding Custom 是什么?

Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 443 次。

如何安装 Coding Custom?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install coding-custom」即可一键安装,无需额外配置。

Coding Custom 是免费的吗?

是的,Coding Custom 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Coding Custom 支持哪些平台?

Coding Custom 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 Coding Custom?

由 alexbingquanxu-cpu(@alexbingquanxu-cpu)开发并维护,当前版本 v1.0.0。

💬 留言讨论