スキル一覧に戻る
vneseyoungster

clean-code

by vneseyoungster

ChocoVine turns "Vibes Coding" into Engineering. It stops hallucinations by enforcing a strict Research → Test → Code loop.

23🍴 17📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: clean-code description: Enforce SOLID, DRY, KISS principles during implementation. Auto-activated when writing or modifying code.

Clean Code Skill

Purpose

Ensure all code follows clean code principles.

Core Principles

SOLID

Reference: principles/solid.md

DRY (Don't Repeat Yourself)

Reference: principles/dry.md

  • Extract common logic to functions
  • Use constants for magic values
  • Create shared utilities

KISS (Keep It Simple, Stupid)

Reference: principles/kiss.md

  • Favor readability over cleverness
  • One thing per function
  • Obvious over implicit

YAGNI (You Aren't Gonna Need It)

Reference: principles/yagni.md

  • Implement only what's needed now
  • No speculative generalization
  • Add complexity when required

Code Quality Checklist

Use before committing: checklists/pre-commit.md

Naming

  • Variables describe content
  • Functions describe action
  • Classes describe entity
  • No abbreviations (except common ones)

Functions

  • Single responsibility
  • < 20 lines preferred
  • < 5 parameters
  • No side effects where possible

Comments

  • Explain why, not what
  • Update when code changes
  • Remove commented-out code

Error Handling

  • Specific error types
  • Meaningful messages
  • Proper logging
  • Recovery or fail gracefully

Auto-Checks

When implementing, verify:

npm run lint
npm run typecheck

スコア

総合スコア

70/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です