SKILL

coding-standards

Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original Chinese text

Topics in the source

  • 程式碼標準與最佳實務
  • 程式碼品質原則
  • 1. 可讀性優先
  • 2. KISS(保持簡單)
  • 3. DRY(不重複自己)
  • 4. YAGNI(你不會需要它)
  • TypeScript/JavaScript 標準
  • 變數命名

適用於所有專案的通用程式碼標準。 程式碼被閱讀的次數遠多於被撰寫的次數 使用清晰的變數和函式名稱 優先使用自文件化的程式碼而非註解 保持一致的格式化 使用最簡單的解決方案 避免過度工程 不做過早優化 易於理解 > 聰明的程式碼 將共用邏輯提取為函式 建立可重用的元件 在模組間共享工具函式 避免複製貼上程式設計 在需要之前不要建置功能 避免推測性的通用化 只在需要時增加複雜度 從簡單開始,需要時再重構 注意這些反模式: 記住:程式碼品質是不可協商的。清晰、可維護的程式碼能實現快速開發和自信的重構。

Source repository
affaan-m/ECC
Source file
docs/zh-TW/skills/coding-standards/SKILL.md
Fixed revision
d2ef2680594f9a17526a6e1a2e18b3d242c5d17b
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: affaan-m/ECC · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:42.727Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.