coding-standards

仓库创建 2026年7月6日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

提供变更分类与最小化差异策略,降低回归与风格争议成本。

▸ 风险提示

可能建议或自动执行代码修改,需注意权限与误判

这个 Skill 做什么

在代码创建、修改与审查时强制执行工程与风格规范规则。

在任何写代码、改代码或做代码审查时强制把工程规范落到实处,比如架构边界、文件大小限制、Atomic Design、最小变更原则和代码质量规则。每次变更还会先判断是小修复、功能添加还是重构,从而控制读取范围和审批要求,避免无谓的大范围扫描。它不是风格检查器,而是把工程化习惯嵌进每次提交里。

▸ 展开 SKILL.md 英文原文

Use whenever code is created, modified, reviewed, or refactored. Enforces architecture, file-size limits, Atomic Design, minimal-diff change strategy, and code-quality rules.

开发编程代码规范变更分类审查规则通用
0
Stars
0
Forks
10
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Seismoforg/claude-config/main/skills/coding-standards/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Seismoforg/claude-config/main/skills/coding-standards/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# CODING STANDARDS

Governs HOW code is written. Composes with `feature` (what to build) and
`documentation` (what to document).

# ON ACTIVATION — CLASSIFY THE CHANGE
Sets read scope + approval needs:
- **SMALL_CHANGE** — bug fix / localized edit. Read only relevant files. Don't scan the repo.
- **FEATURE** — new behavior. Read only affected modules. Expand scope only when needed.
- **REFACTOR** — structural. Full impact analysis allowed; significant structural changes REQUIRE approval first.

Overriding rule: **match the surrounding code.** Repo patterns beat the defaults below. Don't impose a structure the project doesn't use.

# CORE PRINCIPLES
Prefer: separation of concerns · small focu
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有