feat(ecc): prune plugin 43→12 items, promote 7 rules to .claude/rules/ (#245)

ECC community plugin pruning: removed 530+ non-essential files
(.cursor/, .opencode/, docs/ja-JP, docs/zh-CN, docs/zh-TW,
language-specific skills/agents/rules). Retained 4 agents,
3 commands, 5 skills. Promoted 13 rule files (8 common + 5
typescript) to .claude/rules/ for CC native loading. Extracted
reusable patterns to EXTRACTED-PATTERNS.md.
This commit is contained in:
park-kyungchan
2026-02-20 15:34:51 +09:00
committed by GitHub
parent 24047351c2
commit 1bd68ff534
536 changed files with 253 additions and 111479 deletions

View File

@@ -1,40 +0,0 @@
# 程式碼審查
對未提交變更進行全面的安全性和品質審查:
1. 取得變更的檔案git diff --name-only HEAD
2. 對每個變更的檔案,檢查:
**安全性問題(關鍵):**
- 寫死的憑證、API 金鑰、Token
- SQL 注入弱點
- XSS 弱點
- 缺少輸入驗證
- 不安全的相依性
- 路徑遍歷風險
**程式碼品質(高):**
- 函式 > 50 行
- 檔案 > 800 行
- 巢狀深度 > 4 層
- 缺少錯誤處理
- console.log 陳述式
- TODO/FIXME 註解
- 公開 API 缺少 JSDoc
**最佳實務(中):**
- 變異模式(應使用不可變)
- 程式碼/註解中使用表情符號
- 新程式碼缺少測試
- 無障礙問題a11y
3. 產生報告,包含:
- 嚴重性:關鍵、高、中、低
- 檔案位置和行號
- 問題描述
- 建議修復
4. 如果發現關鍵或高優先問題則阻擋提交
絕不批准有安全弱點的程式碼!