本文へ移動
cccskills
無料GitHub で公開

orchestrate

Use when implementing a Python feature, adding CLI commands, writing pytest suites, reviewing Python code, debugging, or refactoring. The primary Python engineering workflow orchestrator — classifies the task and delegates through this plugin's own specialist agents (architect → implement → test → review), sized to the task. Delegates to python-cli-architect (implementation), python-pytest-architect (tests), code-reviewer (review), python-cli-design-spec (architecture). Triggers on any Python task requiring specialist agent coordination or multi-agent execution.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md6.0 KB
  • agents/openai.yaml215 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Orchestrate

Multi-step engineering workflow command.

Input

Task: $ARGUMENTS

If no argument is supplied, derive the task from the active conversation.

Step 1 — Load the orchestration guide (MANDATORY)

Load and follow the guide in /python-engineering:orchestrating-python-development.

Do not proceed to Step 2 until this skill has been loaded. It contains agent selection criteria, workflow patterns, quality gates, and multi-agent chaining patterns needed for Step 2.

Step 2 — Classify the task

  1. Classify the task: feature, refactor, review, debug, packaging, migration, or cleanup
  2. Identify project lane: CLI, web, data, library, service, or legacy
  3. Identify typing lane from repository constraints and dependencies
  4. Choose the minimum set of specialist skills needed

State aloud before the first Agent tool call:

Task: <one sentence>
Workflow pattern: <TDD | Feature Addition | Refactoring | Debugging | Code Review>
Agent chain: <AGENT1> → <AGENT2> → ...

If you cannot fill in workflow pattern and agent chain from the guide read in Step 1, go back and read it.

Step 3 — Execute

  1. Produce a concise execution plan
  2. Execute or delegate in the smallest coherent units
  3. Run deterministic checks before declaring completion

Agent routing — delegate rather than implement:

  • Python code → subagent_type="python-engineering:python-cli-architect"
  • Tests → subagent_type="python-engineering:python-pytest-architect"
  • Code review → subagent_type="python-engineering:code-reviewer"
  • Architecture design → subagent_type="python-engineering:python-cli-design-spec"
  • Stdlib-only script → Skill(skill: "python-engineering:python3-stdlib-only")
  • CLI/TUI UI design, shape brief, critique, audit, or polish → Skill(skill: "python-engineering:designing-ui-for-cli")
  • Pre-implementation challenge → subagent_type="python-engineering:adversarial-solution-design"

Before delegating implementation to python-cli-architect, route through adversarial-solution-design first. The independent scope trace is mandatory; its design depth scales to the demonstrated consequence and uncertainty.

Each delegation must include:

  • Outcomes: what must be true when the agent is done
  • Constraints: user requirements, compatibility, scope boundaries
  • Known issues: error messages already in context (pass-through, not pre-gathered)
  • File paths: where to start looking — not what you found there

Delegation Hard Rules

These apply to all delegations:

ProhibitedInstead
Read files, grep, or run tools to gather context before delegatingSee Pre-Gathering Alternatives below
Hedging: "I think", "probably", "likely", "seems"State observed facts: file path, exit code, exact error text
Name a specific tool: "use Bash to…"Describe the ecosystem; agent selects tools
Invent constraints the user did not stateInclude only user-specified constraints
Fix one bug/smell instanceTreat as systemic — audit scope for all instances unless user said "only this one"

Pre-Gathering Alternatives

Reading files then describing what you found to an agent (a) consumes orchestrator context on raw reads, (b) loses fidelity through paraphrase, (c) hands the agent your filtered interpretation rather than the source. When context is needed before work can proceed, choose one of:

1. Spawn an information-gathering agent — sole job is exhaustive discovery across files, docs, and tooling:

Find all occurrences of [X] in [codebase] and [docs/tooling locations].
Return: file paths, line numbers, key observations.

The gathering agent reads more broadly than a few orchestrator greps can reach. You receive a structured report and synthesize from that — without having read anything yourself.

2. Embed discovery as the implementing agent's first steps — pass the research actions as instructions, not keyword searches:

Start by tracing [X] through the codebase: find all call sites, read how [Y] is used in
[related files], consult the [module] docs/source at [URL or package repo], then implement [task].

"Finding" here means tracing — following call chains, reading usage patterns, consulting the module's documentation, its source on GitHub, its changelog, related RFCs or issues — not a grep for a keyword. The implementing agent does this with full task context, so it understands why it is looking and what to do with what it discovers. Research done in context of the implementation task produces higher-quality results than pre-filtered findings handed over from the orchestrator.

Load /agent-orchestration:delegate for the dispatch template and adjudication rules, and /agent-orchestration:parallel-work for fan-out shapes.

Delegation Routing Rules

  • Use specialist skills for guidance
  • Use subagents only when the task has separable parallelizable work or needs isolated analysis
  • Do not duplicate routing already handled by python3-core
  • Do not preload unrelated specialists

Quality Gate

Before reporting done:

  1. uv run prek run --files <modified_files> — runs linting, formatting, and type checking Fallback: uv run ruff format and uv run ruff check --fix only when no .pre-commit-config.yaml
  2. uv run pytest — all relevant tests pass; changed behavior and meaningful boundary/regression paths are covered; respect any configured project coverage gate
  3. Shebang validated on any scripts

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Add automated documentation updater to any Claude skill. Creates a Python sync script that downloads upstream docs, processes markdown for AI consumption, and maintains local cache with configurable refresh. Collects template variables, then delegates implementation through 5-phase workflow. Use when adding auto-updating reference documentation to plugins or skills.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月9日 更新

SAM-style feature initiation workflow — discovery through codebase analysis, architecture spec, task decomposition, validation, and context manifest. Use when a user asks to add a feature, plan a feature, or convert an idea into an executable SAM plan.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月9日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月9日 更新

Browser automation for AI agents using the agent-browser CLI and Playwright. Use when navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, logging into sites, or automating any browser task. Triggers on "open a website", "fill out a form", "click a button", "scrape data", "test this web app", "automate browser actions", or any programmatic web interaction request.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月9日 更新

Runs the description-drift experiment — spawns all Claude Code agents simultaneously to collect self-reported capabilities, then compares them against static frontmatter descriptions to reveal how reliable orchestrator routing based on descriptions actually is. Use when measuring description drift across the agent fleet, re-running the capability collection experiment, analyzing a specific agent's self-reported capabilities, or auditing whether frontmatter descriptions accurately reflect agent behavior.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月9日 更新

Create or adapt Claude Code agent definitions. Use when creating an agent, changing subagent configuration, selecting agent scope, or designing a specialized delegation role.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月9日 更新

Jamie-BitFlight のスキルをすべて見る

このスキルの問題を報告する