Communitygithub.com

Dev Cycle Orchestrator

GitHub Issues 駆動の開発ライフサイクルを完全自動化。ブレインストームからプルリクエストまで7つのフェーズを状態追跡しながら実行し、会話をまたいで再開可能。

Dev Cycle Orchestrator とは?

Dev Cycle Orchestrator は、開発ライフサイクル全体を GitHub Issues を軸に自動化する AI エージェントスキルです。ブレインストーム、計画、CEO レビュー、Issue 作成、実装、コードレビュー、プルリクエストの 7 フェーズを順次実行し、各フェーズの状態をマークダウンファイルで管理します。ユーザーが「/dev-cycle」と入力すると、まず進行中の作業があれば再開を提案し、なければ新規機能の開発を開始します。実装フェーズでは、GitHub Issue ごとにサブエージェントを起動し、TDD 手法でコードを記述。各サブエージェント完了後にコードレビューを挟むことで品質を担保します。フェーズ間の後退(例:実装中に計画の見直しが必要になった場合)や中断からの再開もサポートしており、長期にわたる開発作業をシームレスに進められます。状態ファイルは `docs/dev-cycle/` 以下に保存され、完了または放棄時にはアーカイブディレクトリに移動されます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cdcoonce/Portfolio_Website/tree/HEAD/.claude/skills/dev-cycle

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Dev Cycle Orchestrator は何をしますか?

開発ライフサイクル全体を自動化:ブレインストーム → 計画 → レビュー → Issue → 実装 → コードレビュー → PR。

注意: ユーザーが PRD のみを希望する場合は /write-a-prd に、計画のみを希望する場合は /prd-to-plan にルーティングしてください。このスキルは完全なエンドツーエンドのライフサイクルを対象としています。

7 フェーズパイプライン

すべてのフェーズは必須です。スキップできるフェーズはありません。

#フェーズ委任先ゲート条件
1ブレインストームwrite-a-prdIssue URL が記録されている
2計画prd-to-plandocs/plans/ に計画ファイルが存在する
3CEO レビューplan-ceo-review(スコープ抑制推奨)レビュー完了、ユーザー承認
4Issueオーケストレーター(計画をスライス → GitHub Issue)全 Issue URL が記録されている
5実装オーケストレーター(各 Issue に tdd、subagent-development)全 Issue 解決、テスト通過
6コードレビューdaa-code-reviewクリーンレビュー
7PRcommit + github-cliPR URL が記録されている

再開ロジック

呼び出しごとに:

引数なし(/dev-cycle)

  1. docs/dev-cycle/ 内の *.state.md ファイルで status: in_progress のものをスキャン
  2. 1 つ見つかった場合 → 「{feature}({branch})を再開しますか?現在 {phase} です。」
  3. 複数見つかった場合 → ブランチ名とともに一覧表示、再開するものを選択
  4. 見つからなかった場合 → 「どの機能を開発していますか?」→ フェーズ 1 を開始

引数あり(/dev-cycle {slug})

  1. docs/dev-cycle/{slug}.state.md を検索
  2. 見つかった場合 → current_phase から再開
  3. 見つからなかった場合 → 状態ファイルを作成、フェーズ 1 を開始

スラッグの衝突

新しい状態ファイルを作成する際、docs/dev-cycle/ 内で既存のスラッグを確認します。既に存在する場合(放棄または完了済み)、末尾に -2、-3 などを付与します。

再開時のコンテキスト読み込み

続行する前に、関連するすべてのアーティファクトを読み込みます:

  • ブレインストーム: gh issue view で PRD Issue を表示
  • 計画: ディスクから計画ファイルを読み込み
  • CEO レビュー: 計画ファイルを読み込み(レビュー修正を含む)
  • Issue: 各実装 Issue を gh issue view で表示
  • 実装: フィーチャーブランチの git ステータスを確認、クローズ済み Issue を確認

サマリーを表示:"{feature} を {phase} から再開します。中断した箇所は..."

フェーズ実行

フェーズ 1: ブレインストーム

write-a-prd を呼び出します。スキルの内部フロー(インタビュー → PRD → GitHub Issue)を信頼します。Issue URL を状態ファイルに記録します。

フェーズ 2: 計画

PRD Issue URL を prd-to-plan に渡します。計画ファイルのパス(docs/plans/{feature}.md)を記録します。

フェーズ 3: CEO レビュー

計画ファイルのパスを plan-ceo-review に渡します。スコープ抑制モードを推奨しますが、スキル自身のモード選択(Step 0F)を優先します。レビュー完了、ユーザー承認を記録します。

フェーズ 4: Issue

オーケストレーターが所有します。 計画の垂直スライスを読み込みます。各スライスについて、gh issue create を使用して GitHub Issue を作成します:

  • PRD Issue を参照
  • 計画からの受け入れ基準を含む
  • 依存関係順に作成

作成後、各 Issue URL を Issues テーブルに即座に記録します。部分完了からの回復については references/phase-transitions.md を参照してください。

フェーズ 5: 実装

オーケストレーターが所有します。 フィーチャーブランチ feat/{feature-slug} を作成します(ブランチ処理の詳細は references/phase-transitions.md を参照)。

各 GitHub Issue に対して 1 つのサブエージェントを subagent-development 手法に従って起動します:

  • 各サブエージェントは tdd スキルを呼び出す
  • サブエージェントの各ディスパッチ間にコードレビューを実行
  • 各サブエージェント完了後に状態ファイルを更新(バッチ処理しない)

サブエージェントごとのイベントをログに記録:

  • "サブエージェントが Issue #N: {title} に対して開始されました"
  • "サブエージェントが Issue #N に対して完了しました: {pass/fail}"
  • "Issue #N 後のコードレビュー: {clean/blocking issues found}"

フェーズ 6: コードレビュー

フィーチャーブランチ上のすべての変更ファイルに対して daa-code-review を呼び出します。ブロッキングな問題が見つかった場合 → 修正、再実行。クリーンになるまでループします。

計画の見直しが必要なアーキテクチャ上の問題がある場合 → フェーズ 2 への後方遷移をトリガーします。

フェーズ 7: PR

まずデフォルトブランチとの競合を確認します。commit を呼び出して conventional commit を行い、次に github-cli で PR を開きます。PR URL を記録し、status: completed を設定します。その後、アーカイブ手順を実行します(下記のアーカイブを参照)。

状態ファイル

各機能は docs/dev-cycle/{feature-slug}.state.md で追跡されます。完全な形式、フィールド定義、遷移ルールについては references/state-file-schema.md を参照してください。

失敗と回復

references/phase-transitions.md を参照:

  • フェーズ再試行ロジック(ブロック → 次回呼び出しで再試行)
  • 後方遷移(実装/コードレビュー → 計画)
  • 機能の放棄。アーカイブされたファイルは docs/archive/ に移動されます。

ブランチ管理

  • フェーズ 1–4: 現在のブランチで実行(ドキュメントのみ)
  • フェーズ 5: feat/{feature-slug} ブランチを作成
  • フェーズ 7: デフォルトブランチへの PR(gh repo view --json defaultBranchRef で検出)
  • フェーズ 5+ で再開: 既にフィーチャーブランチ上にいない場合、チェックアウト

アーカイブ

機能が終端状態(completed または abandoned)に達した場合、そのアーティファクトをアーカイブします:

  1. アーカイブディレクトリを作成:mkdir -p docs/archive/dev-cycle docs/archive/plans
  2. 状態ファイルを移動:git mv docs/dev-cycle/{slug}.state.md docs/archive/dev-cycle/
  3. 計画ファイルを移動:アーティファクトテーブルから計画パスを読み取り、git mv {plan_path} docs/archive/plans/
  4. 移動をコミット:メッセージ chore(dev-cycle): archive {slug}

アーカイブは自動的に実行されます:

  • フェーズ 7 の終了時(PR URL が記録され、ステータスが completed に設定された後)
  • 機能放棄時(ステータスが abandoned に設定された後)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cdcoonce/Portfolio_Website

Git commit workflow with enforced conventional commit style. Use when Claude needs to stage and commit changes, craft commit messages, or the user asks to commit, make a commit, or save their work. Ensures consistent commit message format, proper scoping, and atomic commits across the project.

cdcoonce/Portfolio_Website

AI-powered code quality analysis for Python, Markdown, and Mermaid diagrams. Use this skill when: (1) reviewing code for quality issues, (2) checking Python files for PEP8 violations, unused code, missing type hints, docstring problems, complexity issues, or potential runtime errors, (3) validating Markdown documentation for broken links, heading structure, or formatting issues, (4) validating Mermaid diagram syntax, (5) the user asks for a "code review" or "quality check", (6) analyzing code snippets pasted in conversation, or (7) suggesting and applying fixes for code quality issues.

cdcoonce/Portfolio_Website

Deploy the portfolio chat agent Lambda function to AWS. Use when the user asks to deploy, redeploy, push to Lambda, update the chat agent, or after updating context files or lambda_function.py. Rebuilds the knowledge base, packages dependencies, and deploys to AWS Lambda.

cdcoonce/Portfolio_Website

Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".

cdcoonce/Portfolio_Website

Production Python coding standards with automatic version detection (3.10-3.13). Use when writing, reviewing, or refactoring Python to ensure adherence to modern type syntax, LBYL exception handling, pathlib operations, ABC-based interfaces, and production-tested patterns. Not Dagster-specific - applies to any Python project.

cdcoonce/Portfolio_Website

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

cdcoonce/Portfolio_Website

GitHub CLI (gh) integration for managing issues, pull requests, branches,

cdcoonce/Portfolio_Website

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".

cdcoonce/Portfolio_Website

Explore a codebase to find opportunities for architectural improvement, focusing on making the codebase more testable by deepening shallow modules. Use when user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more AI-navigable.

cdcoonce/Portfolio_Website

CEO/founder-mode plan review. Rethink the problem, find the 10-star product, challenge premises, expand scope when it creates a better product. Three modes: SCOPE EXPANSION (dream big), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials). Use when the user asks for a plan review, CEO review, mega review, or wants a plan challenged/stress-tested before implementation.

cdcoonce/Portfolio_Website

Break a PRD into independently-grabbable GitHub issues using tracer-bullet vertical slices. Use when user wants to convert a PRD to issues, create implementation tickets, or break down a PRD into work items.

cdcoonce/Portfolio_Website

Turn a PRD into a multi-phase implementation plan using tracer-bullet vertical slices, saved as a local Markdown file in docs/plans/. Use when user wants to break down a PRD, create an implementation plan, plan phases from a PRD, or mentions "tracer bullets".

cdcoonce/Portfolio_Website

Generate or update the `.claude/docs/project.md` file that gives Claude project-specific context. Use this skill when the user asks to create, update, regenerate, or refresh project context, or says things like "update project.md", "generate project context", "this repo needs a project.md", or "Claude doesn't know about this project". Also trigger when onboarding Claude to a new repository for the first time.

cdcoonce/Portfolio_Website

Generate comprehensive, high-quality README.md files for code repositories. Use this skill whenever the user asks to create, write, generate, update, or improve a README for any project or repository. Also trigger when the user says things like "document this project", "write docs for this repo", "this repo needs a README", "help me onboard developers to this codebase", or asks for project documentation in markdown. Even if the user just says "README" or "readme" in the context of a codebase, use this skill.

cdcoonce/Portfolio_Website

Create a detailed refactor plan with tiny commits via user interview, then file it as a GitHub issue. Use when user wants to plan a refactor, create a refactoring RFC, or break a refactor into safe incremental steps.

cdcoonce/Portfolio_Website

Set up pre-commit hooks for the current repo. Use when user wants to add pre-commit hooks, configure commit-time linting, formatting, type checking, or testing. Triggers on "pre-commit", "git hooks", "linting hooks", or /setup-pre-commit.

cdcoonce/Portfolio_Website

Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.

cdcoonce/Portfolio_Website

Triage a bug or issue by exploring the codebase to find root cause, then create a GitHub issue with a TDD-based fix plan. Use when user reports a bug, wants to file an issue, mentions "triage", or wants to investigate and plan a fix for a problem.

cdcoonce/Portfolio_Website

Rewrites the prose sections of wiki pages in-place. Reads source files to understand current context, then updates only the content inside <!-- claude:prose --> ... <!-- claude:prose:end --> markers. Never touches <!-- generated:start --> ... <!-- generated:end --> blocks. Supports targeting a single page with /update-wiki {PageName}.

cdcoonce/Portfolio_Website

Create a PRD through user interview, codebase exploration, and module design, then submit as a GitHub issue. Use when user wants to write a PRD, create a product requirements document, or plan a new feature.

関連スキル