Code Quality

👤 urbantech 📦 v1.0.0 ⭐ 3.9 ⬇️ 4.1K 下載
💻 開發程式設計 免費

📖 技能介紹

Code Quality Standards

Coding Style

  • Naming: camelCase for vars/functions; PascalCase for classes/types
  • Formatting: 4-space indentation; target ≤80 chars (wrap thoughtfully)
  • Comments: Meaningful, current; delete stale comments
  • Security: Never log secrets/PII; validate inputs; least privilege by default
  • Errors/Logs: Explicit error types; structured logs by level; actionable messages

Accessibility & UX Quality

  • Favor semantic roles/labels; keyboard nav and focus order must work
  • Include responsive checks at 375, 768, 1024, 1440 with notes/screenshots
  • Use deterministic test IDs; avoid brittle CSS/XPath

Security & Compliance Guardrails

小蔥技能站7w4.net每天更新,海量AI技能等你發現。

  • No real credentials in code, tests, or screenshots
  • Use test accounts/fixtures; redact secrets
  • Follow least-privilege and input validation
  • Document threat considerations in PR when relevant

Reference Files

See references/coding-style.md for detailed style guide, formatting rules, comment standards.

See references/security-checklist.md for security validation checklist, threat modeling, PII handling.

See references/accessibility-standards.md for WCAG compliance, semantic HTML patterns, keyboard nav testing.

🤖 AI 評測

這個 Skill 整體質量良好,能有效指導程式碼質量工作。優點是結構清晰、覆蓋全面,能在多個開發場景中發揮作用。不過內容相對簡略,引用了許多實用指南但參考文件缺失,需要進一步補充完善才能發揮全部價值。

📊 多維度評分

適應性3.5
規範性3.5
有效性4.1
可靠性4
可信度4.5

📁 包含檔案 (2 個)

📄 SKILL.md 1.6 KB
📄 _meta.json 131 B