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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/).

## [0.69.0] - 2026-06-12

LLM 性能監査(#121)P4 の第 3 弾(#119)。CLAUDE.md 注入部(base + partials)の最終縮小。Fable 5 分類器対策(#76 / v0.54.0)と同方向の常時注入削減で、最大構成の合成 kit セクションは約 34% 縮小(ja: 2360 → 1557 bytes)。

### Removed
- **「長いセッションでは /clear を活用」行を削除(#119)**: auto-compact 未成熟期のユーザー向けベストプラクティス由来。/clear はユーザーコマンドでモデルは実行できず、常時注入の指示として情報量ゼロ
- **codex-plugin partial のタスク種別ルーティングを削除(#119)**: 「大きめのコード生成・複数ファイル変更・テスト作成・リファクタリング・原因調査は Codex へ」という旧世代の能力差前提の委譲示唆を、「クロスモデルの独立視点(/codex:review, /codex:adversarial-review)+ ユーザー明示依頼時の /codex:rescue」に縮小。打ち消し用だった「単純な作業は Claude が直接行う」も削除

### Changed
- **Conventional Commits を条件付き化(#119)**: 全プロジェクト一律強制から「リポジトリの既存規約を優先、規約がなければ Conventional Commits」に書換(rules/git-workflow.md と整合)
- **Spec Kit ブロックを feature 化(#119)**: base 直書きで全プロファイルに常時注入されていた 4 行を `{{FEATURE:spec-kit}}` + `INSTALL_COMMANDS` ゲートの partial(1 行)に変更。minimal プロファイルでは注入されなくなり、マーカー共存規則・constitution 優先順位の詳細は commands/spec-kit-init.md に集約
- **web-content-extraction partial を縮小(#119)**: harness が標準注入する skill description・コマンド一覧と重複していたコマンド列挙・SKILL.md 参照の 2 行を削除し、生 HTML を直接読まないポリシー 1 行のみに

## [0.68.0] - 2026-06-12

LLM 性能監査(#121)P4 の第 2 弾(#118)。agents/ を現行世代に合わせて現代化した。
Expand Down
4 changes: 2 additions & 2 deletions features/codex-plugin/CLAUDE.md.partial.en
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# Codex Plugin

> Applies only when the Codex plugin (`openai/codex-plugin-cc`) is installed. Simple tasks (single-file/few-line changes, config or doc edits) are handled directly by Claude.
> Applies only when the Codex plugin (`openai/codex-plugin-cc`) is installed.

- Larger code generation, multi-file changes, reviews, test creation, refactoring, and root-cause analysis can be delegated to Codex. Claude verifies and integrates the results before reporting.
- Use Codex for an independent cross-model perspective: reviews via `/codex:review` / `/codex:adversarial-review`, and `/codex:rescue` when the user explicitly asks to offload an investigation or long-running job. Claude verifies and integrates the results before reporting.
- Commands: `/codex:review` `/codex:adversarial-review` `/codex:rescue` `/codex:status` `/codex:result` `/codex:cancel` `/codex:setup`
- For delegation criteria, review focus, and cautions, follow the plugin's documentation.
4 changes: 2 additions & 2 deletions features/codex-plugin/CLAUDE.md.partial.ja
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# Codex プラグイン

> `openai/codex-plugin-cc` を入れている場合のみ適用する。単純な作業(1ファイル・数行の修正、設定/ドキュメント編集等)は Claude が直接行う。
> `openai/codex-plugin-cc` を入れている場合のみ適用する。

- 大きめのコード生成・複数ファイル変更・レビュー・テスト作成・リファクタリング・原因調査などは Codex に委譲できる。Claude は結果を検証・統合してから報告する。
- Codex はクロスモデルの独立視点として使う: `/codex:review` / `/codex:adversarial-review` によるレビューと、ユーザーが明示的に依頼した場合の `/codex:rescue`(調査・長時間ジョブのオフロード)。Claude は結果を検証・統合してから報告する。
- コマンド: `/codex:review` `/codex:adversarial-review` `/codex:rescue` `/codex:status` `/codex:result` `/codex:cancel` `/codex:setup`
- 委譲基準・レビュー観点・注意事項の詳細は plugin のドキュメントに従う。
9 changes: 2 additions & 7 deletions i18n/en/CLAUDE.md.base
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@
# Global Settings

## Basic Principles
- Use Conventional Commits format (feat: / fix: / refactor: / test: / docs: / chore:)
- Use `/clear` in long sessions to refresh context

## Optional: GitHub Spec Kit (Spec-Driven Development)
- If a project uses GitHub Spec Kit, it manages a separate block in this file marked `<!-- SPECKIT START --> ... <!-- SPECKIT END -->`. The two blocks coexist; do not merge or reorder them.
- Project-local `<project>/.specify/memory/constitution.md` **overrides** user-level global rules (this file and `~/.claude/rules/`) for that project's scope.
- Run `/spec-kit-init` inside a project to bootstrap the SDD workflow; `specify-cli` itself is installed via `uv tool install`, not by this kit.
- Follow the repository's existing commit style; use Conventional Commits format (feat: / fix: / refactor: / test: / docs: / chore:) when no convention exists

{{FEATURE:spec-kit}}
{{FEATURE:web-content-extraction}}
{{FEATURE:codex-plugin}}
<!-- END STARTER-KIT-MANAGED -->
Expand Down
2 changes: 2 additions & 0 deletions i18n/en/partials/spec-kit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## Optional: GitHub Spec Kit
- Run `/spec-kit-init` inside a project to bootstrap spec-driven development with GitHub Spec Kit (details, marker rules, and constitution precedence are documented in the command).
2 changes: 0 additions & 2 deletions i18n/en/partials/web-content-extraction.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
## Web Fetch / URL Analysis

- When reading a web page, URL, official doc, blog post, news article, or OSS page, extract the main content with the `web-content-extraction` skill first (do not summarize or analyze raw HTML directly).
- Related commands: `/web-article` / `/oss-analyze` / `/web-source-review`
- For fetch policies and failure handling, follow the skill's documentation (SKILL.md).
9 changes: 2 additions & 7 deletions i18n/ja/CLAUDE.md.base
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@
# グローバル設定

## 基本方針
- Conventional Commits 形式でコミットする(feat: / fix: / refactor: / test: / docs: / chore:)
- 長いセッションでは `/clear` を活用してコンテキストをリフレッシュする

## オプション: GitHub Spec Kit(仕様駆動開発)
- プロジェクトが GitHub Spec Kit を利用する場合、本ファイル内に独立した `<!-- SPECKIT START --> ... <!-- SPECKIT END -->` ブロックが追加される。2 つのブロックは共存させ、結合や順序変更は行わない。
- プロジェクトローカルの `<project>/.specify/memory/constitution.md` は、そのプロジェクトのスコープに限りユーザーレベルのグローバル規約(本ファイルおよび `~/.claude/rules/`)を **上書き** する。
- プロジェクト内で `/spec-kit-init` を実行すると SDD ワークフローを導入できる。`specify-cli` 本体は `uv tool install` でユーザー側に入れる前提(本キットはインストールしない)。
- リポジトリに既存のコミット規約がある場合はそれに従い、ない場合は Conventional Commits 形式(feat: / fix: / refactor: / test: / docs: / chore:)を使う

{{FEATURE:spec-kit}}
{{FEATURE:web-content-extraction}}
{{FEATURE:codex-plugin}}
<!-- END STARTER-KIT-MANAGED -->
Expand Down
2 changes: 2 additions & 0 deletions i18n/ja/partials/spec-kit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## オプション: GitHub Spec Kit
- プロジェクト内で `/spec-kit-init` を実行すると GitHub Spec Kit による仕様駆動開発を導入できる(詳細・マーカー規則・constitution の優先順位はコマンド側に記載)。
2 changes: 0 additions & 2 deletions i18n/ja/partials/web-content-extraction.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
## Web取得・URL解析

- Webページ・URL・公式Doc・ブログ・ニュース・OSSページを読むときは、`web-content-extraction` skill で本文を抽出してから読む(生HTMLをそのまま要約・分析しない)。
- 関連コマンド: `/web-article` / `/oss-analyze` / `/web-source-review`
- 取得時のポリシーや失敗時の扱いなど詳細は skill 側のドキュメント(SKILL.md)に従う。
5 changes: 5 additions & 0 deletions lib/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,11 @@ build_claude_md_to_file() {
cp -a "$base" "$out"

# Web content extraction standard rule — only when the skill is installed
if is_true "${INSTALL_COMMANDS:-false}"; then
local sk_partial="$PROJECT_DIR/i18n/${lang}/partials/spec-kit.md"
inject_feature "$out" "spec-kit" "$sk_partial"
fi

if is_true "${INSTALL_SKILLS:-false}"; then
local wce_partial="$PROJECT_DIR/i18n/${lang}/partials/web-content-extraction.md"
inject_feature "$out" "web-content-extraction" "$wce_partial"
Expand Down
Loading