modelscope.cn

kadoppe-constitution

ALWAYS apply this skill for ANY software development task.

Installation

$ npx skills add https://modelscope.cn

Summary

  • ALWAYS apply this skill for ANY software development task.
  • Triggers: implement, create, build, add, write, code, function, class, component, API, feature, fix, bug, debug, refactor, improve, clean, review, check, design, architect, structure, test, endpoint, module, service, handler, controller, model, schema, migration, deploy, configure.
  • This skill enforces kadoppe's development principles for all coding work.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from modelscope.cn · top by installs.

npx skills add https://modelscope.cn

Browse all from modelscope.cn

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,835 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Software Development Constitution

This constitution defines the fundamental principles that govern all software development work. These principles are non-negotiable and must be followed at all times.

Core Principles

Test-Driven Development (TDD)

テスト駆動開発は必須プラクティスである。

  • Red-Green-Refactor サイクルを厳守する

1. テストを書く → ユーザー承認を得る → テストが失敗することを確認 2. テストをパスする最小限の実装を行う 3. リファクタリングを行う

  • すべての新機能はテストから開始する
  • テストカバレッジの目標: ビジネスロジック 80% 以上
  • テストは仕様であり、ドキュメントでもある

Simple Architecture (シンプルなアーキテクチャ)

Simple, but not easy. 本質的なシンプルさを追求する。

  • YAGNI (You Ain't Gonna Need It): 将来の仮定的要件のためのコードは書かない
  • 最小限の抽象化: 必要になるまで抽象化しない
  • 3回目の繰り返しまで DRY を適用しない
  • コードの行数よりも理解のしやすさを優先する

Infrastructure as Code (IaC)

インフラストラクチャはコードとして定義・管理する。

  • CI/CD パイプラインでインフラ変更を自動検証・適用する
  • シークレットはバージョン管理に含めず、環境変数または専用サービスで管理する

Full-Cycle Development (フルサイクル開発)

機能開発はインフラ・バックエンドからフロントエンドまで一貫して完結させる。

  • 1つの機能は API → フロントエンド → テスト → デプロイまでを一連の作業として実装する
  • 「バックエンドだけ」「フロントエンドだけ」の中途半端な状態でマージしない
  • ユーザーストーリー単位で独立してデプロイ・デモ可能な状態を目指す

CI/CD (継続的インテグレーション / 継続的デリバリー)

すべての変更は自動化されたパイプラインを通じて検証・デプロイする。

  • すべてのPRは以下をパスしなければマージできない

- 全テストの成功 - リンター / フォーマッターのチェック - 型チェック(静的型付け言語の場合)