Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .agents/plugins/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "9uile-plugins",
"interface": {
"displayName": "9uiLe Plugins"
},
"plugins": [
{
"name": "tech-docs",
"source": {
"source": "local",
"path": "./plugins/tech-docs"
},
"policy": {
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"category": "Developer Tools"
},
{
"name": "quality-architect",
"source": {
"source": "local",
"path": "./plugins/quality-architect"
},
"policy": {
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"category": "Developer Tools"
},
{
"name": "model-strategy",
"source": {
"source": "local",
"path": "./plugins/model-strategy"
},
"policy": {
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"category": "Developer Tools"
}
]
}
6 changes: 4 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
## 対象プラグイン
- [ ] tech-docs
- [ ] quality-architect
- [ ] model-strategy
- [ ] marketplace / リポジトリ全体
- [ ] その他:

Expand All @@ -20,12 +21,13 @@
- [ ] 破壊的変更を含む

## 変更内容
<!-- 主な変更点を箇条書きで。新規 Skill 追加時は SKILL.md・plugin.json・marketplace.json の更新有無も記載してください。 -->
<!-- 主な変更点を箇条書きで。新規 Skill 追加時は SKILL.md・Claude/Codex plugin.json・marketplace.json の更新有無も記載してください。 -->
-

## 動作確認
<!-- どう検証したかを記載してください。 -->
- [ ] ローカルの Marketplace 登録 (`/plugin marketplace add /path/to/repo`) で読み込めることを確認した
- [ ] Codex のローカル Marketplace 登録 (`codex plugin marketplace add /path/to/repo`) で読み込めることを確認した
- [ ] 対象の Skill / コマンドを実行し、期待どおり動作することを確認した
- [ ] `marketplace.json` / `plugin.json` の JSON 構文が壊れていないことを確認した

Expand All @@ -34,7 +36,7 @@

## チェックリスト
- [ ] 既存の挙動を壊していない(または破壊的変更を上に明記した)
- [ ] バージョン更新が必要な場合、`plugin.json` / `marketplace.json` を更新した
- [ ] バージョン更新が必要な場合、Claude/Codex `plugin.json` / `marketplace.json` を更新した
- [ ] README など関連ドキュメントを更新した(必要な場合)

## 補足
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/verify-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ on:
pull_request:
paths:
- ".claude-plugin/marketplace.json"
- ".agents/plugins/marketplace.json"
- "plugins/**/.claude-plugin/plugin.json"
- "plugins/**/.codex-plugin/plugin.json"
- "scripts/**"
- ".github/workflows/verify-versions.yml"
push:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ yarn-error.log*

# Claude / Local
.claude/local/
.tokensave/
28 changes: 19 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# コントリビューションガイド

`9uiLe/plugins` をご利用いただきありがとうございます。
このリポジトリは [Claude Code](https://claude.com/claude-code) 用プラグインの Marketplace です。
このリポジトリは [Claude Code](https://claude.com/claude-code) / Codex 用プラグインの Marketplace です。
不具合の報告・改善提案・Pull Request はいつでも歓迎します。

- [不具合 / 改善を報告する(Issue の起票)](#不具合--改善を報告するissue-の起票)
Expand All @@ -27,7 +27,7 @@
## 報告前のチェックリスト

- [ ] [既存の Issue](https://github.com/9uiLe/plugins/issues?q=is%3Aissue) を検索し、重複がないか確認した。
- [ ] プラグイン / Claude Code を最新版に更新しても再現するか確認した。
- [ ] プラグイン / Claude Code / Codex を最新版に更新しても再現するか確認した。
- [ ] 機微な情報(APIキー・社内コード・個人情報など)がログやスクリーンショットに含まれていないか確認した。

## 良い報告の書き方
Expand All @@ -37,10 +37,10 @@

| 項目 | ポイント |
| --- | --- |
| 対象プラグイン / Skill | `tech-docs` / `quality-architect` のどちらか、`create-adr` などどの Skill かを明記する。 |
| 再現手順 | 「どのコマンドを実行し、Claude に何を指示したか」を番号付きで。第三者が同じ操作をたどれること。 |
| 対象プラグイン / Skill | `tech-docs` / `quality-architect` / `model-strategy` のどれか、`create-adr` などどの Skill かを明記する。 |
| 再現手順 | 「どのコマンドを実行し、Claude Code / Codex に何を指示したか」を番号付きで。第三者が同じ操作をたどれること。 |
| 期待 / 実際の挙動 | 「こうなるはず」と「実際はこうなった」を分けて書く。 |
| 環境情報 | Claude Code のバージョン(`/status` または `claude --version`)、OS、実行環境(CLI / VS Code / Web)、インストール方法。 |
| 環境情報 | Claude Code のバージョン(`/status` または `claude --version`)または Codex のバージョン、OS、実行環境、インストール方法。 |
| ログ・成果物 | エラーメッセージや、生成された HTML / レビュー結果の該当箇所を貼る。スクリーンショットも有効。 |

機能要望の場合は、**「解決したい課題」と「提案する解決策」を分けて**書くと、議論や設計判断がしやすくなります。
Expand All @@ -62,15 +62,20 @@
```
.
├── .claude-plugin/
│ └── marketplace.json ← Marketplace マニフェスト(収録プラグイン一覧)
│ └── marketplace.json ← Claude Code Marketplace マニフェスト
├── .agents/
│ └── plugins/
│ └── marketplace.json ← Codex Marketplace マニフェスト
├── plugins/
│ ├── tech-docs/
│ │ ├── .claude-plugin/plugin.json
│ │ ├── .codex-plugin/plugin.json
│ │ ├── skills/<skill>/SKILL.md ← 各 Skill の本体(プロンプト/手順)
│ │ ├── shared-assets/ ← デザインシステム + HTML テンプレート
│ │ └── README.md
│ └── quality-architect/
│ ├── .claude-plugin/plugin.json
│ ├── .codex-plugin/plugin.json
│ ├── skills/<skill>/SKILL.md
│ ├── references/ ← ISO/IEC 25010 各特性のリファレンス
│ ├── scripts/ ← 品質ゲート用スクリプト
Expand All @@ -85,8 +90,8 @@
- **Skill の挙動を変える** → 対象プラグインの `skills/<skill>/SKILL.md` を編集します。Skill の説明や手順はここに記述されています。
- **生成物の見た目(tech-docs)** → `plugins/tech-docs/shared-assets/`(`tokens.css` / `components/` / `templates/`)を編集します。
- **品質モデルの基準(quality-architect)** → `plugins/quality-architect/references/` の各 Markdown を編集します。
- **新しいプラグインを追加する** → `plugins/<name>/` を作成し、`.claude-plugin/plugin.json` を用意したうえで、ルートの `.claude-plugin/marketplace.json` の `plugins` 配列にエントリを追加します。`README.md` の収録プラグイン表も更新してください。
- **バージョンを上げる** → 該当 `plugin.json` `marketplace.json` の `version` を揃えて更新します。**リリース作業全体の手順は [`RELEASING.md`](./RELEASING.md) を参照** してください(`scripts/release-prepare.sh` で自動化されています)。
- **新しいプラグインを追加する** → `plugins/<name>/` を作成し、Claude Code 用の `.claude-plugin/plugin.json`、Codex 用の `.codex-plugin/plugin.json`、ルートの `.claude-plugin/marketplace.json` / `.agents/plugins/marketplace.json` にエントリを追加します。`README.md` の収録プラグイン表も更新してください。
- **バージョンを上げる** → 該当 `.claude-plugin/plugin.json`、`.codex-plugin/plugin.json`、Claude Code 側 `marketplace.json` の `version` を揃えて更新します。**リリース作業全体の手順は [`RELEASING.md`](./RELEASING.md) を参照** してください(`scripts/release-prepare.sh` で自動化されています)。
- **リリース手順を変える** → `RELEASING.md` / `scripts/**` / `.github/workflows/verify-versions.yml` は同一 PR で更新します(仕様ドリフト防止)。

### ローカルでの動作確認
Expand All @@ -98,7 +103,12 @@
/plugin install <plugin-name>@9uile-plugins
```

JSON(`plugin.json` / `marketplace.json`)を編集した場合は、構文エラーがないことを確認してください。
```bash
codex plugin marketplace add /path/to/this/repo
codex plugin add <plugin-name>@9uile-plugins
```

JSON(`plugin.json` / `marketplace.json`)を編集した場合は、構文エラーがないことと `scripts/verify-versions.sh` が通ることを確認してください。

## セキュリティ上の問題の報告

Expand Down
30 changes: 25 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
[![Open issues](https://img.shields.io/github/issues/9uiLe/plugins)](https://github.com/9uiLe/plugins/issues)
[![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](./CONTRIBUTING.md)
[![Claude Code](https://img.shields.io/badge/Claude%20Code-Marketplace-8A6FE8)](https://claude.com/claude-code)
[![Codex](https://img.shields.io/badge/Codex-Plugin-111827)](https://openai.com/codex)

[Claude Code](https://claude.com/claude-code) 用プラグインを集めた Marketplace リポジトリです。
[Claude Code](https://claude.com/claude-code) / Codex 用プラグインを集めた Marketplace リポジトリです。

## インストール

Claude Code 上で次を実行してください:
### Claude Code

Claude Code 上で次を実行してください。

```
/plugin marketplace add 9uiLe/plugins
Expand All @@ -22,6 +25,15 @@ Claude Code 上で次を実行してください:
/plugin install <plugin-name>@9uile-plugins
```

### Codex

Codex では、このリポジトリを Marketplace として登録してからプラグインを追加します。

```bash
codex plugin marketplace add 9uiLe/plugins
codex plugin add <plugin-name>@9uile-plugins
```

## 収録プラグイン

| Name | Description |
Expand All @@ -35,10 +47,14 @@ Claude Code 上で次を実行してください:
```
.
├── .claude-plugin/
│ └── marketplace.json ← Marketplace マニフェスト
│ └── marketplace.json ← Claude Code Marketplace マニフェスト
├── .agents/
│ └── plugins/
│ └── marketplace.json ← Codex Marketplace マニフェスト
├── plugins/
│ └── tech-docs/
│ ├── .claude-plugin/plugin.json
│ ├── .codex-plugin/plugin.json
│ ├── skills/
│ │ ├── create-adr/SKILL.md
│ │ ├── create-spec/SKILL.md
Expand All @@ -49,16 +65,20 @@ Claude Code 上で次を実行してください:
└── README.md
```

新規プラグインを追加するときは `plugins/<name>/` を作り、`.claude-plugin/marketplace.json` の `plugins` 配列にエントリを追加します
新規プラグインを追加するときは `plugins/<name>/` を作り、Claude Code 用の `.claude-plugin/plugin.json`、Codex 用の `.codex-plugin/plugin.json`、ルートの `.claude-plugin/marketplace.json` / `.agents/plugins/marketplace.json` を更新します

## 開発

ローカルで動作確認するときは、リポジトリをローカルパスとして Marketplace に登録できます:
ローカルで動作確認するときは、リポジトリをローカルパスとして Marketplace に登録できます

```
/plugin marketplace add /path/to/this/repo
```

```bash
codex plugin marketplace add /path/to/this/repo
```

## 不具合報告・改善提案

バグや改善のアイデアは GitHub Issue で受け付けています。リポジトリの **Issues → New issue** から、目的に合ったテンプレート(🐞 バグ報告 / ✨ 改善・機能要望)を選んで起票してください。
Expand Down
15 changes: 10 additions & 5 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

| 軸 | どこに書かれるか | 何を表すか |
| --- | --- | --- |
| **プラグイン版** | `plugins/<name>/.claude-plugin/plugin.json`<br>`.claude-plugin/marketplace.json` の `plugins[].version` | 個別プラグインの互換性追跡 |
| **プラグイン版** | `plugins/<name>/.claude-plugin/plugin.json`<br>`plugins/<name>/.codex-plugin/plugin.json`<br>`.claude-plugin/marketplace.json` の `plugins[].version` | 個別プラグインの互換性追跡 |
| **リリース版** | `.claude-plugin/marketplace.json` の `metadata.version`<br>git tag `vX.Y.Z` / `releases/vX.Y.Z.md` / `CHANGELOG.md` の `[X.Y.Z]` 見出し | リポジトリ全体のスナップショット番号 |

整合性ゲート: **リリース版 ≥ max(プラグイン版)**(`verify-versions.sh` が CI で検査)。
Expand All @@ -43,7 +43,7 @@
scripts/release-prepare.sh --plugin quality-architect --bump patch --release-bump patch --dry-run
```

ファイルは書き換えず、CHANGELOG・plugin.json・marketplace.json・releases/*.md の差分プレビューが流れます。
ファイルは書き換えず、CHANGELOG・Claude/Codex plugin.json・marketplace.json・releases/*.md の差分プレビューが流れます。

### 3. 本番実行(PR 作成まで)

Expand All @@ -55,7 +55,7 @@ scripts/release-prepare.sh --plugin quality-architect --bump patch --release-bum

1. 前提チェック(`gh`/`jq`/`git`、clean、`master`、tag 重複なし)
2. `release/vX.Y.Z` ブランチを作成
3. `plugin.json` と `marketplace.json` の version を bump
3. Claude/Codex `plugin.json` と Claude Code 側 `marketplace.json` の version を bump
4. `CHANGELOG.md` の `[Unreleased]` を `[X.Y.Z] - YYYY-MM-DD` に繰り上げ+ compare リンク差し替え
5. `releases/vX.Y.Z.md` 雛形を生成
6. `verify-versions.sh` で事後検証
Expand All @@ -76,6 +76,11 @@ scripts/release-prepare.sh --plugin quality-architect --bump patch --release-bum
/plugin install <plugin-name>@9uile-plugins
```

```bash
codex plugin marketplace add /Users/<you>/workspace/plugins
codex plugin add <plugin-name>@9uile-plugins
```

対象 Skill を 1 回実行し、回帰がないか確認します。

### 6. PR レビュー & マージ
Expand Down Expand Up @@ -121,7 +126,7 @@ scripts/release-publish.sh --version X.Y.Z

- `shellcheck -x scripts/**/*.sh`
- `bash scripts/verify-versions.sh`
- 各プラグインの `plugin.json.version``marketplace.json.plugins[].version` の一致
- 各プラグインの `.claude-plugin/plugin.json.version`、`.codex-plugin/plugin.json.version`、`marketplace.json.plugins[].version` の一致
- `marketplace.json.metadata.version` が最大プラグイン版以上であること

ローカルでも手動実行できます:
Expand Down Expand Up @@ -163,7 +168,7 @@ bash scripts/verify-versions.sh
scripts/
├── lib/
│ ├── common.sh # ログ・前提チェック・確認プロンプト・rollback
│ ├── version.sh # plugin.json / marketplace.json の version 読み書き
│ ├── version.sh # Claude/Codex plugin.json / marketplace.json の version 読み書き
│ ├── changelog.sh # CHANGELOG セクション繰り上げ + compare リンク
│ └── release-notes.sh # releases/vX.Y.Z.md 雛形生成
├── release-prepare.sh # ブランチ → 編集 → コミット → PR
Expand Down
39 changes: 39 additions & 0 deletions plugins/model-strategy/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "model-strategy",
"version": "0.1.0",
"description": "Cost-effective model and effort selection for Claude Code workflows.",
"author": {
"name": "9uiLe",
"url": "https://github.com/9uiLe"
},
"homepage": "https://github.com/9uiLe/plugins/tree/master/plugins/model-strategy",
"repository": "https://github.com/9uiLe/plugins",
"license": "MIT",
"keywords": [
"model-selection",
"effort",
"cost-optimization",
"subagents",
"pricing",
"token-economy"
],
"skills": "./skills/",
"interface": {
"displayName": "Model Strategy",
"shortDescription": "Choose Claude model and effort levels",
"longDescription": "Classify tasks and recommend cost-effective Claude model, effort, and delegation choices using a reference-backed decision matrix.",
"developerName": "9uiLe",
"category": "Developer Tools",
"capabilities": [
"Read",
"Write"
],
"websiteURL": "https://github.com/9uiLe/plugins/tree/master/plugins/model-strategy",
"defaultPrompt": [
"Choose the most cost-effective model for this task",
"Decide whether to delegate this implementation",
"Explain the model and effort trade-off"
],
"brandColor": "#7C3AED"
}
}
10 changes: 8 additions & 2 deletions plugins/model-strategy/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# model-strategy

Claude Code を従量課金前提でコスパよく運用するための、モデル・effort 使い分けプラグインです。
Claude Code を従量課金前提でコスパよく運用するための、Claude Code / Codex 対応モデル・effort 使い分けプラグインです。

**原則: 高価なモデルは「判断」に、安価なモデルは「作業量」に使う。**

Expand Down Expand Up @@ -47,8 +47,14 @@ Fable 5 は新トークナイザにより実効コストが Opus 4.8 の約 2.6

## インストール

```
```bash
# Claude Code
/plugin marketplace add 9uiLe/plugins
/plugin install model-strategy@9uile-plugins

# Codex
codex plugin marketplace add 9uiLe/plugins
codex plugin add model-strategy@9uile-plugins
```

## 典拠
Expand Down
1 change: 1 addition & 0 deletions plugins/model-strategy/references/06-context-monitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Claude Opus 4.8 ⊙ ctx 78% ▓▓▓▓▓▓▓░░░ 156k/200k $1.92 ⚠
```

`${CLAUDE_PLUGIN_ROOT}` は model-strategy プラグインのルートに展開される。プラグイン外から使う場合はスクリプトの絶対パスを直接指定する。
Codex でこのファイルを参照する場合は、この `references/` ディレクトリの 1 階層上をプラグインルートとして読み替える。

## §3 依存と設定

Expand Down
2 changes: 1 addition & 1 deletion plugins/model-strategy/skills/model-effort-guide/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description: "Recommend the cost-optimal Claude model (Fable/Opus/Sonnet/Haiku)
## 1. 判定フロー

1. タスクを分類する: 設計判断 / 実装 / レビュー / 探索・調査 / 定型作業 / 大量一括処理
2. `${CLAUDE_PLUGIN_ROOT}/references/02-decision-matrix.md` のマトリックスで担当と effort を決定する
2. プラグインルート相対の `references/02-decision-matrix.md` のマトリックスで担当と effort を決定する
3. 委譲判定基準(同ファイル §2)を確認する:
- 仕様が文章で書き切れる実装 → **sonnet-implementer** に委譲
- 結論だけ欲しい探索・定型 → **haiku-scout** に委譲
Expand Down
Loading
Loading