mcpField
A
architect

architect

github.com/yeachan-heoその他40.7k8 回インストール今日更新
リポジトリ

architect について

architectは、モジュールやAPIの境界をまたぐ変更を設計するスキルです。複数案を比較して選択理由を記録し、実装は行わず、決定内容と不変条件を実装工程に引き継ぎます。

主な機能

  1. 01問題と不変条件の定義
  2. 02複数の設計案の検討
  3. 03境界と移行コストの比較
  4. 04決定と不採用案の記録
  5. 05実装工程への設計引き継ぎ

活用シーン

  1. 01新しいモジュールの設計
  2. 02共有APIやシグネチャの変更
  3. 03複数の利用者向けデータ形状の選定

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/yeachan-heo/oh-my-claudecode --skill architect

インストール後、Claude Code で/architectを入力して読み込まれたか確認します。

同梱ファイルreferences/design-red-flags.mdreferences/rationale-template.md

README(原文)English

プロジェクトの README より

この README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。

Architect

Design before steel. When a change crosses a function boundary, explore competing shapes first and commit to one with a written rationale — the cheapest moment to reject a design is before it has code on it.

When to use

  • new module, new API, changed signature other files call
  • a data shape that more than one consumer will encode
  • the user asks for a design or says "before you build this..."

When not to use

  • contained single-file changes — build directly
  • reviewing an existing design — review

Workflow

  1. Frame: name the problem in one sentence, the consumers of the design, and the invariants it must preserve.
  2. Explore 2-3 competing designs in parallel — dispatch oh-my-claudecode:architect subagents, each producing: the core types, the module boundary, the API surface, and how each invariant is preserved. Distinct shapes, not variations of one idea.
  3. Compare criterion by criterion: API surface size, boundary clarity, invariant preservation, migration cost, deletion ease. Tie-break toward the smaller API and cleaner boundary (minimal-code-discipline).
  4. Record the decision: chosen design, why the losers lost, and an accepted-deviations register the implementation will reconcile against (each deviation: what changed vs the sketch, and the acceptance source).
  5. Hand off: the design and its invariant list travel with the execute brief; implementation reconciles deviations rather than rediscovering the design.

Rules

  • No design is recorded without at least one rejected alternative and the reason it lost.
  • Types before wiring; data shapes before functions that move them.
  • The output is a design plus a decision record, never an implementation.

コメント