← Back to list

coding-standards
by amattas
⭐ 0🍴 0📅 Jan 19, 2026
SKILL.md
name: coding-standards description: Coding style and structural conventions for this codebase.
Coding Standards
General Principles
Structure
- Prefer small, focused functions.
- Avoid deeply nested conditionals; use early returns.
- Extract reusable logic into shared modules.
Comments & Documentation
- Write comments to explain why, not what.
- Keep docstrings in sync with behavior; avoid outdated comments.
Error & Logging
- Use structured logging with consistent fields:
requestId,userId,component,severity
- Never log secrets, tokens, or sensitive PII.
Misc
- Avoid long parameter lists; group related values into objects.
- Prefer pure functions where practical.
- Add TODOs with owner and context, e.g.:
// TODO [owner]: [short description] ([ticket link])
Language-Specific Standards
For detailed language-specific conventions, see:
- Python - Includes modularization guidelines (500-800 lines ideal, 1000 max), black/ruff usage, PEP 8, type hints, and testing conventions
- Swift - iOS/macOS development standards, optionals, protocol-oriented programming, SwiftUI, and memory management
- Kotlin - Android development standards, coroutines, idiomatic Kotlin, null safety, and Jetpack Compose patterns
Score
Total Score
60/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon