leio9511

leio-sdlc

"Use when an audit-approved execution brief in the required project format is ready to be started, resumed, or withdrawn through the `leio-sdlc` orchestrator, a PRD-driven multi-agent SDLC workflow for planning, coding, review, and UAT. This skill is for downstream pipeline control only, not for PRD authoring or coder/reviewer/verifier/planner role behavior."

leio9511 0 Updated 2w ago

Resources

12
GitHub

Install

npx skillscat add leio9511/leio-sdlc

Install via the SkillsCat registry.

SKILL.md

leio-sdlc Orchestrator Launch Skill

Scope

This skill is only for controlling the downstream leio-sdlc pipeline from the primary-agent side.

Use it to:

  • start a new SDLC run
  • resume an interrupted SDLC run
  • withdraw or quarantine an SDLC run

Do not use this skill as behavior guidance for:

  • coder
  • reviewer
  • verifier
  • planner
  • other execution-side sub-agents

This skill is a pipeline-control skill, not a universal SDLC constitution.

What leio-sdlc is

leio-sdlc is a PRD-driven multi-agent SDLC orchestrator.

It executes an approved PRD / execution brief through a workflow that may include:

  • planning / slicing
  • coding
  • review
  • merge
  • UAT verification
  • recovery / resume / withdrawal when needed

This skill only governs how to launch and control that orchestrator.

Preconditions

Before using this skill, all of the following should already be true:

  1. A PRD / execution brief already exists on disk.
  2. The document is in the required project format.
  3. The document has passed Auditor review.
  4. Explicit human authorization to execute has been given.

If these conditions are not met, do not launch SDLC yet.

Python execution contract (Issue #57)

Define a controlled, repeatable Python execution contract for local development, testing, deployed skill runtime, and GitHub CI without depending on unmanaged system Python state.

The single Python dependency entry is requirements.txt at the repository root, currently serving runtime, development, and test dependencies together.

Local development and testing use the repository-root .venv through explicit project entrypoints such as scripts/dev_python.sh and preflight.sh; the formal contract is not ambient shell state or manual activation memory.

Deployed runtime commands use the deployed leio-sdlc skill root .venv, rebuilt per release in staging before atomic swap. Runtime launch examples in this skill bind to ${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/.venv/bin/python or an equivalent documented runtime wrapper rather than ambient system Python.

scripts/runtime_smoke.py is the official minimal no-side-effect smoke path shared by deploy/runtime and CI.

Issue #57 is limited to leio-sdlc local development, testing, deployed runtime execution, and GitHub CI only. It does not solve ClawHub installation, public packaging/distribution contract, and cross-skill global runtime unification.

Historical docs, archived PRDs, generated .dist, non-default mocked/e2e examples, templates, and reference material are tracked as Issue #59 follow-up cleanup debt when they contain legacy interpreter wording. Issue #59 does not exempt formal development/test entrypoints, deploy/runtime launch paths, GitHub CI default paths, or execution-contract-related smoke/tests from the controlled Issue #57 contract.

The deployed leio-sdlc runtime .venv is isolated to leio-sdlc; it does not force pm-skill or other skills to inherit, share, or switch to the leio-sdlc runtime .venv.

Use a minimal, no-side-effect official smoke path that proves interpreter binding, key imports, and startup-path initialization. Do not use full auditor/orchestrator/long-running business execution as default smoke validation.

Relationship to the upstream lifecycle

This skill is part of a larger human-agent software delivery protocol.

The expected upstream flow is:

  1. co-pilot design discussion
  2. PRD / execution-brief synthesis through pm-skill
  3. Auditor review
  4. explicit human approval to execute
  5. leio-sdlc launch and downstream automation

This skill therefore assumes that the upstream authoring and audit gates have already been satisfied.

It is not a general “run any PRD” tool.
It is a downstream execution-control skill for approved PRD / execution briefs.

For the full collaboration lifecycle, read:

  • references/sdlc-lifecycle.md

If the execution brief has not yet passed Auditor review, return to the upstream PM workflow before launching SDLC execution.
This skill must not be used to bypass the audit gate.

When to use this skill

Use this skill when:

  • an approved execution brief is ready to enter SDLC execution
  • an interrupted SDLC run must be resumed
  • an existing SDLC run must be withdrawn or quarantined

If the user is asking about:

  • internal architecture
  • state machine behavior
  • recovery logic
  • governance semantics

read the architecture references before answering.

Invocation

If you are unsure about the available parameters, inspect the installed entrypoint first:

"${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/.venv/bin/python" \
  "${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/scripts/orchestrator.py" \
  --help

The pipeline is launched through scripts/orchestrator.py using the controlled deployed runtime interpreter ${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/.venv/bin/python or an equivalent documented runtime wrapper. This binds orchestrator commands to the deployed leio-sdlc skill root .venv instead of ambient system Python.

Note: the shell command examples in this skill describe the orchestrator command shape only.
Actual launch semantics must follow the platform-specific lifecycle rules in ## Execution rule.

Intent-to-command mapping

  • If the user asks to start SDLC execution, launch scripts/orchestrator.py in normal-start mode.
  • If the user asks to continue or resume an interrupted run, add --resume.
  • If the user asks to withdraw, cancel, rollback, or quarantine the current run, add --withdraw.
  • If the user explicitly specifies an execution engine, append --engine <value>.
  • If the user explicitly specifies a model, append --model <value>.

Normal start

"${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/.venv/bin/python" \
  "${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/scripts/orchestrator.py" \
  --prd-file <path> \
  --workdir <path> \
  --force-replan true

Resume

"${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/.venv/bin/python" \
  "${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/scripts/orchestrator.py" \
  --prd-file <path> \
  --workdir <path> \
  --resume \
  --force-replan false

Withdraw

"${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/.venv/bin/python" \
  "${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/scripts/orchestrator.py" \
  --prd-file <path> \
  --workdir <path> \
  --withdraw

Execution rule

The leio-sdlc orchestrator is a long-running control-plane process.

Launch invariant (platform-agnostic):

  • Start it through the host platform's native background-process mechanism.
  • Its lifecycle must remain observable and controllable by the host platform.
  • It must not inherit a finite default process timeout that can kill the run mid-flight.
  • If the host platform applies a default exec/process timeout, that timeout must be explicitly disabled or overridden for this launch.
  • Do not replace the host platform lifecycle mechanism with nohup, manual &, or improvised daemon loops.

OpenClaw mapping:

  • When launching through OpenClaw's exec tool, use:
    • background: true
    • timeout: 0

Why this matters:

  • leio-sdlc runs may legitimately last for hours across planner / coder / reviewer / UAT cycles.
  • A host-level default timeout can terminate the orchestrator in the middle of a valid run and leave the workflow in a partial state.
  • Therefore, long-running leio-sdlc launches must always use a host execution path that preserves lifecycle tracking without imposing a finite default process timeout.

Runtime smoke guidance

Operators can verify a deployed release with the official no-side-effect smoke path:

"${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/.venv/bin/python" \
  "${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/scripts/runtime_smoke.py" \
  --skill-root "${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc" \
  --expected-runtime-python "${SDLC_SKILLS_ROOT:-$HOME/.openclaw/skills}/leio-sdlc/.venv/bin/python"

Smoke policy: Use a minimal, no-side-effect official smoke path that proves interpreter binding, key imports, and startup-path initialization. Do not use full auditor/orchestrator/long-running business execution as default smoke validation.

Do not create or repair the runtime .venv from this skill. Runtime .venv provisioning belongs to deploy/release provisioning before active launch.

After launch

When the orchestrator completes, inspect the completion output.

If the output contains:

[ACTION REQUIRED FOR MANAGER]

follow that instruction before ending your turn.

Do not silently ignore manager handoff instructions.

What this skill does NOT define

This skill does not:

  • create or refine the execution brief
  • replace the Auditor gate
  • replace the human approval gate
  • define coder sub-agent behavior
  • define reviewer sub-agent behavior
  • define verifier sub-agent behavior
  • define planner internals
  • authorize execution on its own

Those concerns belong to:

  • upstream PRD authoring skills
  • Auditor
  • explicit human decisions
  • role-specific prompts, playbooks, and references

References

Read these only when needed:

  • ARCHITECTURE.md

    • for SDLC state machine / recovery explanations
  • projects/docs/TEMPLATES/organization_governance.md

    • for governance and human-in-the-loop clarification
  • references/sdlc-lifecycle.md

    • for the full upstream/downstream human + agent collaboration lifecycle
  • playbooks/

    • for role-specific downstream implementation behavior inside the project

Design boundary

This skill should remain:

  • small
  • low-blast-radius
  • orchestrator-control-only
  • safe even if loaded in a context where coding/review work is happening

It should not become:

  • a universal SDLC constitution
  • a global role override
  • a substitute for coder/reviewer/verifier playbooks
  • a substitute for PM authoring or Auditor approval