agentleFS
SaltmuSaltmu/orchestune/skills/orchestune-readiness/SKILL.md

orchestune-readiness

Skill1 starsChanged 54 days agoMITView on GitHub

Pre-flight diagnosis skill verifying discipline documents and CI configuration before task decomposition or parallel execution.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run this skill before starting task decomposition (skills/orchestune/SKILL.md Stage 1) or during replan if not already executed in the …

    line 24
  2. Very specific:

    skipped: false: Read the doctor diagnostic report.

    line 39
  3. Very specific:

    No discipline file or custom development workflow skill exists (and workflow-template is not installed).

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Orchestune Readiness Skill

This skill diagnoses repository readiness (discipline documents, CI configuration, and local CI entrypoints) before initiating task decomposition or parallel development. It separates deterministic mechanical checks (orchestune doctor) from semantic LLM review of document and workflow contents.

[!NOTE] User-Facing Response Language: While this skill instruction is written in English, all user-facing explanations, plans, questions, suggestions, and responses must use the user's preferred language (e.g., Japanese if the user interacts in Japanese or matches the user's environment). The language of this instruction document must not determine the output language.

Overview & Trigger Conditions

Run this skill before starting task decomposition (skills/orchestune/SKILL.md Stage 1) or during replan if not already executed in the current session.

The skill runs a lightweight helper script to load configuration and execute mechanical diagnostics, then semantically inspects discipline and CI contents.

Step 1: Mechanical Pre-Check

Execute the helper script within the Python environment where Orchestune is installed:

python <path-to-skill>/scripts/check_readiness.py --repo-root <repo-root> --execution-mode <local|actions> [--workflow <workflow-path>...]

Parse the JSON output:

  • skipped: true: Configuration skip-readiness-check = true is set. Bypass readiness diagnostics immediately and proceed to decomposition. Standalone orchestune doctor and dispatch preflight checks remain unaffected.
  • Exit code 2: Configuration error, invalid TOML, or invalid arguments. Report the error with exit code 2 and stop. Never treat configuration errors as skipped or passed.
  • skipped: false: Read the doctor diagnostic report. Inspect any diagnostic entries with warning or error status (e.g. dispatch.readiness.discipline, dispatch.readiness.ci_definition, dispatch.readiness.ci_command).

Step 2: Semantic Review of Discipline Documents & Development Workflow Skills

Inspect discipline files (AGENTS.md, CLAUDE.md, .agents/AGENTS.md, CONTRIBUTING.md) and project-local custom skills (.agents/skills/*, .claude/skills/*, .grok/skills/* outside Orchestune-bundled skills):

  1. No discipline doc and no development workflow skill: No discipline file or custom development workflow skill exists (and workflow-template is not installed). Remediation: Propose installing workflow-template via orchestune skills install --target all --scope project --with-workflow-skill, replacing <CI_ENTRYPOINT>, <TEST_COMMAND>, <PREFLIGHT_CHECK_COMMAND>, and <INSTALL_COMMAND> placeholders with the repository's actual commands, and referencing it from AGENTS.md / CLAUDE.md. Apply after user approval.
  2. Existing development workflow skill or discipline doc missing Orchestune procedures: The repository already defines its own workflow skill or discipline rules, but lacks mandatory Orchestune lifecycle commands (orchestune claim and especially orchestune complete). Warn that running claim without complete leaves tasks uncompleted and unintegrated. Remediation: Do not overwrite existing rules. Present a concrete merge diff adding Orchestune's required steps (pre-claim footprint declaration, orchestune claim <issue> --apply worktree isolation & retention, no direct GitHub label mutation, review loop / review-reply.md, and orchestune complete --apply --issue <N> ...) into the existing skill or discipline doc, and apply only after user confirmation.
  3. Installed workflow-template with unreplaced placeholders: workflow-template is present, but <...> placeholders remain uncustomized. Remediation: Inspect project configuration (pyproject.toml, package.json, Makefile, .github/workflows/*.yml, scripts/) and propose concrete command replacements.
  4. Referenced discipline doc (referenced rules): The top-level file (e.g. AGENTS.md) delegates instructions to another file (e.g. .agents/AGENTS.md). Follow the reference, verify the target file exists, and inspect that substantive rules (including orchestune complete) are defined.
  5. Circular reference: File A refers to File B, which refers back to File A without terminating rules. Remediation: Point out the loop and recommend consolidating rules into one canonical source.
  6. Root-escaping reference: A reference points outside the repository root (e.g. ../external/rules.md). Remediation: Prohibit root-escaping paths; copy required instructions into repository-local files.

Step 3: Semantic Review of CI Configuration & Entrypoints

Inspect CI workflow definitions (.github/workflows/*.yml) and local CI scripts:

  1. Dispatch-only workflow (no validation commands): A workflow triggers only on dispatch or label changes without running tests, linter, or builds. Flag that CI lacks validation commands.
  2. CI delegates to test script (indirect validation): A workflow runs a script (e.g. ./scripts/local-ci.sh, pytest, make ci). Verify that the referenced script exists, is executable, and contains test/lint execution commands.
  3. Untraceable entrypoint (opaque external logic): The workflow references dynamic or remote composite actions whose commands cannot be inspected locally. Note as unverified without overwriting doctor warnings.

Step 4: Presentation of Diagnosis

Present the evaluation to the user in their preferred language:

  • Clear status summary (Pass, Warning, or Insufficient) with distinct evidence.
  • Concrete suggestions with actionable remediation steps.
  • Distinguish file existence from content evaluation.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.