Repository navigation
feat(repo): add --lang option to repo create - #470
Conversation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Review summary No blocking findings, and no inline comments.
I couldn't run the test suite in this environment (running it needed approval), so this review comes from reading the code. 🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…ent-cycle (#211) Refs #169 ## 概要 - `issue-workflow`,`git-workflow`,`project-setup` を 1 つの `development-cycle` スキルに統合する(Issue #169 項目 D).内容は移動のみで,ルールは変えない. - `SKILL.md` は地図(段階,参照への振り分け表,認可ルール).認可ルールの重複記述を 1 箇所にまとめた. - `tsdd` と `herdr-delegation` は別スキルのまま.理由は ADR-0024 に記録した. ## 構成 ```text development-cycle/ ├── SKILL.md └── references/ ├── start.md (project-setup/SKILL.md) ├── repository_setup.md (project-setup/references) ├── dev_environment.md (project-setup/references) ├── issue_plan.md (issue-workflow/SKILL.md) ├── branches.md commits.md delivery.md stacked_prs.md (git-workflow/references) ``` ## ルール変更(許可された 3 点のみ) - [ ] 認可ルールの重複記述(`git-workflow` の Operating Rules と要求別の段落,`issue-workflow` の Scope と計画承認)を `SKILL.md` の Authorization に統合 - [ ] 言語とテンプレートの表を `repo create --lang <python|typescript|rust|go|tex|minimal>` に置換(furedea/dotfiles#470).言語と公開範囲の判断,private を既定,要件で決まらないことだけ質問,は維持 - [ ] 「リポジトリに `CLAUDE.md` を置かない.既存の `CLAUDE.md` は `AGENTS.md` へ移す」ルールを `source-of-truth` と `start.md` から削除(ユーザー指示) ## Before / After(description の分析であり,実行の観測ではない) | 依頼 | Before | After | | --- | --- | --- | | 「バグを直して PR を出して」 | `git-workflow`(+ `issue-workflow`,`tsdd`) | `development-cycle`(+ `tsdd`) | | 「これをコミットして」 | `git-workflow` | `development-cycle` | | 「X の Issue を作って」 | `issue-workflow` | `development-cycle` | | 「X のテスト設計を手伝って」 | `tsdd` | `tsdd`(`development-cycle` は必須でない) | | 「新しい Python プロジェクトを始めて」 | `project-setup`(description が限定的) | `development-cycle`(start 段階から) | | 「このプランを Herdr 経由で Codex セッションでレビューして」 | `herdr-delegation`(+ `herdr`) | 変更なし | ## 検証 - [x] `tests/test_workflow_skill_layout.py`(claude と codex のレンダリング,リンクと見出しの整合) - [x] `uv run pytest tests`: 4879 passed.`test_session_end_skips_a_record_locked_past_its_wait_limit` が 1 回だけ負荷で失敗したが,単独再実行は通過 - [x] ruff check / format,lefthook <details> - ADR: `docs/adr/0024_merge_issue_git_and_setup_workflows_into_one_development_cycle_skill.md` - 参照更新: `agents/AGENTS.md`(Development Workflow を 1 行に),`herdr-delegation`,`tsdd`,`source-of-truth`,各 style スキル,`docs/DESIGN*.md`,`tests/` - ADR-0023 の本文は変更していない </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
repo createに--lang <language>を追加する.言語から標準テンプレートへの対応表をproject-setupスキルの文章からrepoに移し,エージェントが型付きの引数でプロジェクトを作れるようにする.Refs furedea/agent-config#169
変更内容
--langを--templateの対応値に展開する(python/typescript/rust/go/tex/minimal→furedea/template-*).展開後は--templateを渡した場合と同じ経路(テンプレート待機,apply_template,configure)を通る.--lang <v>と--lang=<v>の両方を受け付ける.--langと--template/-pの併用は,両方のオプション名を示すエラーにする.createの usage と例を--langに更新し,README.mdに説明を追加した.構成
github/repo.pyがfile-lengthの上限(500 行)に達していたため,責務ごとに分割した(別コミット,挙動は不変).refactor(repo): review-token 関連(Reviewer,保管,ローテーション,Actions secret 登録)をgithub/review_token.pyに移動した.repo.pyは-I下でスクリプトのディレクトリがsys.pathに入らないため,importlibでパス指定して読み込む.feat(repo):--langの追加.検証
pytest tests/github: 114 件通過(対応表,両スペル,排他,未知の言語,gh 呼び出しとテンプレート待機を含む).ruff format/ruff check/ty check: 問題なし.python3 -I -B github/repo.pyでreview-token --helpとcreate --helpが動作することを確認した.🤖 Generated with Claude Code