スキル一覧に戻る
amattas

coding-standards

by amattas

0🍴 0📅 2026年1月19日
GitHubで見るManusで実行

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

スコア

総合スコア

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

レビュー

💬

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