Skip to content

refactor(skills): merge issue, git, and setup workflows into development-cycle - #211

Merged
furedea merged 5 commits into
mainfrom
refactor/merge-workflow-skills-into-development-cycle
Nov 15, 2026
Merged

furedea merged 5 commits into
mainfrom
refactor/merge-workflow-skills-into-development-cycle

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Refs #169

概要

  • issue-workflow,git-workflow,project-setup を 1 つの development-cycle スキルに統合する(Issue refactor(skills): move deterministic responsibilities out of Skills #169 項目 D).内容は移動のみで,ルールは変えない.
  • SKILL.md は地図(段階,参照への振り分け表,認可ルール).認可ルールの重複記述を 1 箇所にまとめた.
  • tsdd と herdr-delegation は別スキルのまま.理由は ADR-0024 に記録した.

構成

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> に置換(feat(repo): add --lang option to repo create 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) 変更なし

検証

  • tests/test_workflow_skill_layout.py(claude と codex のレンダリング,リンクと見出しの整合)
  • uv run pytest tests: 4879 passed.test_session_end_skips_a_record_locked_past_its_wait_limit が 1 回だけ負荷で失敗したが,単独再実行は通過
  • 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 の本文は変更していない

🤖 Generated with Claude Code

…ent-cycle

Move issue-workflow, git-workflow, and project-setup into one development-cycle
skill whose SKILL.md maps the stages and states the authorization rules once.
Keep tsdd and herdr-delegation separate (ADR-0024). Replace the
language-to-template table with `repo create --lang`, and drop the rule against
a repository CLAUDE.md.

Refs #169

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@furedea

furedea commented Nov 15, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T12:53:32.162417Z f6341a3 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment on lines +3 to +9
description: >
Use for implementation work and its delivery: starting a new project (creating a GitHub
repository or setting up a development environment), securing Issues and saving plan
comments, resuming Issue-based work, branch/worktree selection, commits, pushes, pull
requests, CI and review handling, and permitted merge and Git cleanup. Not for ordinary
code edits that need no delivery. Explanation, investigation, review, or plan discussion
alone does not authorize publication or implementation.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: The description says "Not for ordinary code edits that need no delivery." Several rules that used to sit in git-workflow now live only in this skill's Authorization section, and they matter most for exactly those edits:

  • "Inspect Git state before edits"
  • "Never overwrite, reset, clean, or discard user changes"
  • "A request to fix a bug covers implementation and verification, not commits or publication"

git-workflow's description opened with "Use for repository changes", which covered plain edits. With the new wording, a request like "fix this bug" (no commit, no PR) is told not to load this skill. In that case the rule against committing on a fix-only request, and the rules protecting user changes, are not loaded. The PR says no rules changed, but this narrows when they apply. Consider removing the exclusion, or moving the edit-time safety and authorization bullets somewhere that is always loaded (e.g. AGENTS.md).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修正しました (2342f16).description から「ordinary code edits を除く」文を外し,commit に至らない編集でも読み込まれるようにしました.

@github-actions

Copy link
Copy Markdown

Review summary

I reviewed the merge of issue-workflow, git-workflow and project-setup into development-cycle. I found no P0 or P1 issues.

What I checked:

  • No references to the removed skill names remain outside ADRs 0023 and 0024.
  • Relative links and anchors now point at development-cycle/.... These links are covered by the parametrized tests/test_workflow_skill_layout.py.
  • The paths in skill_command_expectations.json were updated.
  • Each authorization statement removed from the old skills is still stated in SKILL.md under Authorization.
  • repo create --lang exists: feat(repo): add --lang option to repo create dotfiles#470 is merged.
  • The other changes in the moved files are only list-continuation indentation, which renders the same.

Findings:

  • P2 (inline on development-cycle/SKILL.md): the description excludes "ordinary code edits that need no delivery". The edit-time safety and authorization rules (inspect Git state, never discard user changes, a fix-only request does not authorize a commit) now live only in this skill. So they may not load in exactly the case they guard. The old git-workflow description covered "repository changes".

🤖 Generated with Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: b560e31c3a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@furedea

furedea commented Nov 15, 2026

Copy link
Copy Markdown
Owner

@codex review

@github-actions

Copy link
Copy Markdown

Read-only review: no findings.

I checked:

  • Old skill names: nothing outside historical ADRs still points to issue-workflow, git-workflow or project-setup. Links and anchors were rewritten to development-cycle and its references, and test_skill_relative_links_resolve_to_existing_files_and_headings covers them.
  • Moved content: compared against the base. The only rule changes are the three listed in the PR body:
    • the authorization rules now live in one place, in SKILL.md Authorization;
    • the template table is replaced by repo create --lang;
    • the CLAUDE.md rule is removed.
      The "plan discussion alone does not authorize publication" rule and the plan-approval scope are kept in Authorization.
  • Tests: skill_command_expectations.json paths and the implicit-invocation rendering test were updated to the new skill. skill_rendering.json has no entries for the removed skills.

Two things this repo can't check:

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2342f16513

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Comment on lines +4 to +6
Use for repository changes and their delivery, including edits that stop short of a commit:
starting a new project (creating a GitHub repository or setting up a development
environment), securing Issues and saving plan comments, resuming Issue-based work,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 単独ワークフローを description に含める

統合前の trigger にあった「既存リポジトリへの標準 GitHub 設定の適用」と「Issue/計画コメントの更新・完了時の整合」が description から落ちています.これらは下の Task-Specific References では引き続き所有されていますが,その表はスキルが選択された後にしか読まれないため,たとえば「この既存 repo に標準設定を適用して」や「Issue を閉じて」という単独依頼では development-cycle が暗黙に呼び出されず,必要な repo configure や完了条件を読み飛ばす可能性があります.旧スキルが列挙していたこれらの入口も description に戻してください.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修正しました.description に「既存リポジトリへの標準 GitHub 設定の適用」と,Issue の作成・更新・クローズ,計画コメントの更新,再開時の整合を追加しました.

@furedea

furedea commented Nov 15, 2026

Copy link
Copy Markdown
Owner

@codex review

- Merge `tsdd` too: it mixes a permanent methodology with interim delivery procedures, and it serves requests that
are not a cycle.

The content moved without a change of rules; only the duplicated authorization statements were merged, and the

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P3] This ADR says the move changed no rules except the merged authorization statements and the --lang replacement. The same PR also removes the "do not add a repository CLAUDE.md, move an existing one into AGENTS.md" rule from source-of-truth and from the old project-setup principles. Since the ADR is the permanent record, a later reader would conclude that rule still applies, or that it was dropped by accident. Please add the CLAUDE.md removal (made at the user's request) to this sentence.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ADR-0024 の末尾に CLAUDE.md ルールの削除を追記しました (97d7978).

@github-actions

Copy link
Copy Markdown

Review summary

No blocking findings (P0: 0, P1: 0, P2: 0, P3: 1).

What I checked:

  • Old skill names: nothing outside the historical ADRs still mentions issue-workflow, git-workflow, or project-setup. Every link that pointed into the removed skills now points into development-cycle/references/.... The #authorization anchor exists, and no file still links to the old Operating Rules anchor.
  • Moved content: apart from re-indented list continuations, the moved references match the originals. The two changes the PR description allows (merged authorization statements, --lang replacing the template table) are the only rule changes. The Authorization section keeps all the old git-workflow operating rules and the request-scope rules, and it keeps the plan-approval rule from issue-workflow.
  • repo create --lang: feat(repo): add --lang option to repo create dotfiles#470 is merged, so the flag exists.
  • Tests: test_cycle_skill_renders_with_implicit_invocation now checks development-cycle. The paths in skill_command_expectations.json were updated. Because the layout tests are parametrized over every directory in agents/skills, they check the new skill's links, anchors, and handoffs.

Finding:

  • [P3] ADR-0024 says no rules changed beyond the authorization merge and --lang. It leaves out the removal of the CLAUDE.md → AGENTS.md rule (inline comment).

🤖 Generated with Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: b94fdf4f6a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@furedea

furedea commented Nov 15, 2026

Copy link
Copy Markdown
Owner

@codex review

@github-actions

Copy link
Copy Markdown

Review summary (Claude)

No P0–P3 findings.

What I checked:

  • No references to issue-workflow, git-workflow, or project-setup remain anywhere outside the ADRs, including skill_rendering.json, the tests, and docs/.
  • I followed the rewritten relative links by hand, and their anchors resolve: ../SKILL.md#authorization, issue_plan.md#issue-plan-and-pr-format, ../../tsdd/SKILL.md, and the development-cycle/references/* paths from tsdd, source-of-truth, and herdr-delegation. tests/test_workflow_skill_layout.py also checks links and anchors for every skill.
  • I compared the authorization rules removed from git-workflow and issue-workflow against the new SKILL.md Authorization section. None were dropped, including the rules on plan discussion, review-only requests, plan approval, and no merging. They were merged into the one section.
  • The path changes in skill_command_expectations.json match the moved files.
  • The indentation changes from 2 to 4 spaces in list continuations don't change how the Markdown renders.

Not verified: I couldn't run the tests here. The repo create --lang <…> flag depends on furedea/dotfiles#470, which I couldn't check from this repo.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 97d7978599

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

furedea
furedea previously approved these changes Nov 15, 2026
@furedea

furedea commented Nov 15, 2026

Copy link
Copy Markdown
Owner

@codex review

@github-actions

Copy link
Copy Markdown

Review summary

No findings: no P0, P1, P2 or P3 issues.

What I checked:

  • Moved content: issue_plan.md, repository_setup.md and project_setup.md match the old skills apart from the three rule changes listed in the PR. The authorization rules removed from issue-workflow and git-workflow (plan-discussion-only, plan approval scope, review-only and fix/commit/PR scope) all appear in development-cycle/SKILL.md#authorization.
  • Old references: outside ADRs there are no remaining references to issue-workflow, git-workflow or project-setup. Relative links in the moved references were updated for the extra directory level (../../tsdd and similar). source-of-truth anchors point to headings that exist in issue_plan.md and delivery.md.
  • Tests: skill_command_expectations.json paths and test_workflow_skill_layout.py now target development-cycle. The existing link and heading checks cover the new layout.

Note: the PR body calls the start reference start.md, but the file is references/project_setup.md. The SKILL.md table and the ADR use the correct name.

I could not run the test suite here, because running commands needed approval this session.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: f6341a3a31

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@furedea
furedea merged commit ad11588 into main Nov 15, 2026
27 checks passed
@furedea
furedea deleted the refactor/merge-workflow-skills-into-development-cycle branch November 15, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant