Skip to content
Back to skills

Orchestune Readiness

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentspythongobashgitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add Saltmu/orchestune --skill orchestune-readiness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orchestune Readiness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Orchestune Readiness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/saltmu-orchestune-readiness/badge)](https://www.skillsdirectory.com/skills/saltmu-orchestune-readiness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "orchestune-readiness"
description: "Pre-flight diagnosis skill verifying discipline documents and CI configuration before task decomposition or parallel execution."
version: "1.0.0"
category: "Development"
input_schema:
  type: "object"
  properties: {}
output_schema:
  type: "object"
  properties: {}
---

# 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:

```bash
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 agent claim` and especially `orchestune agent 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 agent claim <issue> --apply` worktree isolation & retention, no direct GitHub label mutation, review loop / `review-reply.md`, and `orchestune agent 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 agent 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.

Files in this skill

  • SKILL.md5.9 KB
  • scripts/check_readiness.py3.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.