Skip to content

feat: Claude Code → OpenCode 機能ギャップ解消計画 #81

@terisuke

Description

@terisuke

背景

デバイス上の Claude Code と OpenCode をファイル比較。全パスはローカルで検証済み。

Gap A: ルール(7ファイル → OpenCode 未配置)

Gap B: コマンド(17本 → 0本)

  • 検証: ls ~/.claude/commands/ → 17ファイル、ls ~/.config/opencode/commands/ → 存在しない
  • 対策: 高優先6本移植

Gap C: エージェント(26ロール → 3ロール)

  • 検証: ls ~/.claude/agents/ → 26ファイル、guardrails/profile/agents/ → 3ファイル (implement/review/provider-eval)
  • 対策: security-reviewer, tdd-guide 等を移植

Gap D: opencode.jsonc 設定

  • 検証: ~/.config/opencode/opencode.jsonc 存在するが model/small_model/autoupdate 未設定
  • 対策: 設定追加

Gap E: プラグイン

  • 検証: ~/.opencode/hooks/ → テスト用2本のみ。guardrails プラグイン未実装
  • 対策: guardrails.ts を ~/.config/opencode/plugins/ に作成

Gap F: スキル(対応不要)

  • 検証: ls ~/.claude/skills/ → 51ファイル。flag.ts:37-38 で OPENCODE_DISABLE_CLAUDE_CODE_SKILLS 制御
  • 環境変数未設定 → 互換レイヤー有効

優先度

  1. 高: ルール配置 (30min)
  2. 高: guardrails.ts プラグイン (2h)
  3. 中: コマンド移植 (1h)
  4. 中: 設定最適化 (30min)
  5. 低: エージェント移植 (2h)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions