独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
W

Worker1245/code-rule-skill

Claude Code skill with language-agnostic rules for writing, refactoring and reviewing code: structure,…

装之前:没有可直接复制的命令 · 许可证未标注 · 链接已失效

第一步:git clone https://github.com/Worker1245/code-rule-skill.git

在 GitHub(2026-11-12 核查时已不可用)该链接在 2026-11-12 返回 404,已不可用
★ 数取值
0 ★ · Worker1245/code-rule-skill · 取自 GitHub 搜索 API · (2026-11-02 20:00:41 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-03 · 最近见到 2026-11-14 · 共见到 12 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 Worker1245/code-rule-skill;我们收录于 2026-11-03;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# code-rule-skill

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A Claude Code skill with language-agnostic rules for writing, refactoring and reviewing code.
## What it covers
How to work with the user: numbered questions with options, no functions nobody asked for
Six questions for every change: OWASP, YAGNI, reuse, KISS, removability, executor subagent
Project knowledge: design folder, short task cards for agents, git from the start
Structure and architecture: inward-pointing dependencies, one reason to change, and a per-application check whether the four Clean Architecture layers are worth their cost
Tests, including runs in a container (Docker Desktop or a free alternative) and one check command, and simple design
Refactoring, readability and robustness
A security floor for every change, secure coding (OWASP, NIST SSDF) and how to judge security findings
WordPress plugins and themes
Slimming down, speed and data
Executor subagents: when one helps, how to brief it, and how to verify its work
SKILL.md holds what applies to every change. Everything else is in references/ and is read only when its condition applies, which keeps the text loaded per change short.
## Usage
Claude loads the skill on its own before code changes. You can also call it yourself:
Only the skill name, nothing else: If you type just /code-rule-skill in the chat and no task is under way, nothing gets checked or changed yet. You get a short help that says what the skill does and how to use it, and Claude asks what to work on. Your answer starts the work.
With a task, file or folder: /code-rule-skill add a contact form or /code-rule-skill review src/ starts right away.
The skill answers in the language you write in.
## Self-maintenance
The skill maintains itself: when the user corrects a coding mistake or states a lasting rule, Claude proposes the new wording and, after your yes, adds it to the skill, keeps the last three versions locally in versions/ and commits the change. Once a month it proposes a cleanup.
## Install
bash
git clone https://github.com/Worker1245/code-rule-skill.git
ln -s "$PWD/code-rule-skill" ~/.claude/skills/code-rule-skill
Or copy the folder to ~/.claude/skills/code-rule-skill.
## Optional technical safeguards
This skill is text. Claude normally follows it, but it can overlook or misjudge a rule, and nothing forces it to comply. A technical safeguard works like a lock instead of a sign: the software enforces it, whatever Claude decides. None is set up by default. Claude can set up either level on request and agrees on each safeguard with you first.
Basic
Blocked commands and files: Claude Code refuses dangerous commands, such as deleting a database, and does not open files containing passwords.
Secret scan: before each commit, a small program checks whether a password or key would end up in the code, and stops the commit if so.
Full: Basic plus
Sandbox: Claude works in a closed room, so it cannot reach the rest of your computer or send data out freely.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/worker1245-code-rule-skill/)
来源
github · https://github.com/Worker1245/code-rule-skill
按领域浏览
开源项目
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引