SKILL

coding-standards

跨项目的基础编码规范,涵盖命名、可读性、不可变性和代码质量审查。框架专有模式应使用详细的前端或后端技能。适用于审查代码质量或命名,且没有适用的框架专有技能时。

译文已校对
查看英文原文

Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed frontend or backend skills for framework-specific patterns. Use when reviewing code quality or naming with no framework-specific skill that applies.

适用对象:软件开发与测试。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Coding Standards & Best Practices
  • When to Activate
  • Scope Boundaries
  • Code Quality Principles
  • 1. Readability First
  • 2. KISS (Keep It Simple, Stupid)
  • 3. DRY (Don't Repeat Yourself)
  • 4. YAGNI (You Aren't Gonna Need It)

Baseline coding conventions applicable across projects. This skill is the shared floor, not the detailed framework playbook. Use frontend-patterns for React, state, forms, rendering, and UI architecture. Use backend-patterns or api-design for repository/service layers, endpoint design, validation, and server-specific concerns. Use rules/common/coding-style.md when you need the shortest reusable rule layer instead of a full skill walkthrough. Starting a new project or module Reviewing code for quality and maintainability Refactoring existing code to follow conventions Enforcing naming, formatting, or structural consistency Setting up linting, formatting, or type-checking rules Onboarding new contributors to coding conventions Activate this skill for: descriptive naming immutability defaults readability, KISS, DRY, and YAGNI enforcement error-handling expectations and code-smell review Do not use this skill as the primary source for: React composition, hooks, or rendering patterns backend architecture, API design, or database layering domain-specific framework guidance when a narrower ECC skill already exists Code is read more than written Clear variable and function names Self-docum

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
affaan-m/ECC
源文件
pi/core/skills/coding-standards/SKILL.md
固定版本
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:affaan-m/ECC · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T15:01:42.887Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。