← スキル一覧に戻る

code-quality
by mpolatcan
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: code-quality description: Fix lint errors, format code, run type checking, check code quality. Use when fixing linting issues, formatting Python, running ruff, running ty, checking TypeScript types, or ensuring code quality. allowed-tools: Bash, Read, Edit, Grep, Glob
Code Quality
Handles all code quality tasks for the CCBell Sound Generator project including linting, formatting, and type checking.
Project Stack
- Backend (Python): FastAPI with ruff for linting/formatting and ty for type checking
- Frontend (TypeScript): React 19 with ESLint and TypeScript compiler
Available Commands
Backend Linting (ruff)
cd backend && source venv/bin/activate && ruff check .
To auto-fix issues:
cd backend && source venv/bin/activate && ruff check --fix .
Backend Formatting (ruff)
Check formatting:
cd backend && source venv/bin/activate && ruff format --check .
Apply formatting:
cd backend && source venv/bin/activate && ruff format .
Backend Type Checking (ty)
cd backend && source venv/bin/activate && ty check .
Frontend Linting (ESLint)
cd frontend && npm run lint
To auto-fix:
cd frontend && npm run lint -- --fix
Frontend Type Checking (TypeScript)
cd frontend && npx tsc --noEmit
Full Quality Check
Run all checks in sequence:
cd backend && source venv/bin/activate && ruff check . && ruff format --check . && ty check .
cd frontend && npm run lint && npx tsc --noEmit
Important Notes
- Virtual environment is at
backend/venv(created byuv sync --group dev) - Backend uses ruff with 100 char line length and double quotes
- Always run quality checks before committing
- These checks are enforced in the CI pipeline
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です