Methods orchestration

From docxology/template · View interactive version

Methods orchestration is an AI agent skill from the GitHub repository docxology/template. Repo-wide methods orchestration workflow for the Research Project Template. USE WHEN the user asks to add, audit, improve, or validate methods, methodology, method contracts, stage-to-method wiring, artifact/evidence provenance, or orchestration across template projects.

How to use this skill

Skill file

Methods orchestration

Natural invoke

Workflow

  1. Build the plan - run infrastructure.methods for one project or --all-public.
  2. Check surfaces - manuscript methods files, pipeline.yaml stage

contracts, artifact manifest, evidence registry, and validation commands.

  1. Repair source layers - update src/, thin scripts, manuscript source, or

stage contracts. Do not edit generated output/ as a fix.

  1. Regenerate and validate - run core pipeline or focused stage commands,

then rerun methods plan.

  1. Document routing - update AGENTS/README when method ownership or commands

changed.

Verification commands

uv run python -m infrastructure.methods plan --project <project> --format markdown
uv run python -m infrastructure.methods plan --project <project> --format json
uv run python -m infrastructure.methods plan --all-public --artifact-mode source --format json
uv run python -m infrastructure.methods plan --all-public --artifact-mode rendered --format json
uv run python scripts/runner/execute_pipeline.py --project <project> --mode core
uv run python -m infrastructure.validation.cli prerender projects/<project>/manuscript --repo-root .
uv run pytest tests/infra_tests/methods -q

Handoffs

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.