architect
Use for design-level judgement: requirements, quality attributes, trade-offs, ADR, contracts, resilience, security,…
Use when PR merge waits are long or CI/CD is being designed, audited, or sped up: targets, PR/main/nightly tiers, opt-in labels, roll-forward, merge queue, release and privileged workflows.
$ npx -y skills add ShaftHQ/SHAFT_ENGINE --skill ci-cd --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ci-cdContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when PR merge waits are long or CI/CD is being designed, audited, or sped up: targets, PR/main/nightly tiers, opt-in labels, roll-forward, merge queue, release and privileged workflows.
name: ci-cd description: >- Use when PR merge waits are long or CI/CD is being designed, audited, or sped up: targets, PR/main/nightly tiers, opt-in labels, roll-forward, merge queue, release and privileged workflows. license: MIT
Learned in a large monorepo: the median open→merge time was about 30 minutes, and the gate took 6–11 minutes. Fix the loop first, then the slowest leg.
1. Gate wall-clock: `gh run list --workflow <gate> --event pull_request --status success -L 40 --json createdAt,updatedAt`. Report p50, p90 and max. 2. Open→merge: `gh pr list --state merged -L 30 --json createdAt,mergedAt`. Report the median. 3. Runs per PR and the failure share. Re-push loops usually cost more than slow legs do. 4. Per-job durations plus queue time. The critical path is the slowest leg, not the sum.
| Tier | Runs | Rule | |---|---|---| | PR (blocking) | path-filtered affected-module build + unit tests, lint/guards, required governance | only what MUST block; light | | Push to main | the same path filters (tests for unrelated modules never run), never cancelled, plus slow OS/E2E legs | a red leg opens or updates one tracker issue, which auto-closes on green | | Nightly/scheduled | full cross-OS acceptance, live/external suites, security scans, EAP verifiers | tracker issue, no `Closes` keyword | | Release | full verify, always | never weakened |
Move a leg off PR only when all three hold:
Keep a live-label opt-in such as `ci:<leg>`, plus `ci:full`, and re-run the gate when the label is added. Read labels from the API, because re-runs replay the old event payload.
Tests, static analysis, coverage and review may be rearranged or added, but never removed. The one exception is a layer that repeated, evidenced analysis proves an utter waste. Moving a layer, for example from PR to main or from blocking to reporter, must keep equal or better coverage:
A new or changed gate is done only after it ran on one real pass case and one real fail case; a coverage gate no PR of its kind had exercised blocked every such PR.
Main rolls forward. A failing post-merge leg opens or updates one rolling issue (P0, assigned to the owner), and the next green run closes it. Do not open revert PRs automatically.
One Java engine for web, mobile, API, CLI, database, and desktop. Drivers, waits, and evidence are handled. Every run ends in an Allure report. Upgrade to SHAFT_ENGINE · ▶ Watch the 26-second clip with sound and captions · 100-second overview
Use for design-level judgement: requirements, quality attributes, trade-offs, ADR, contracts, resilience, security,…
Canonical provider-neutral skill router and working contract. Use at the start of every task, on every host, in every main thread…
Frontier MoE through a disk/RAM/VRAM hierarchy via the optional Colibri process. Use when a large-model offline job needs…
Standalone FreeToken process: install, READY probe and bounded dispatch. Use when the local-runtimes table points a job at…
Use when a git worktree is dirty or another local branch or worktree exists. Ask before cleanup unless the session is unattended.