Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

deploy

БесплатноБез исполняемых скриптовНе проверен

Use when ready to ship — runs pre-push gates (lint, typecheck, build, tests, security sweep), commits, releases, and pushes. Standalone, never auto-invoked…

jeremylongshoreот jeremylongshore★ 2 961 звезда на GitHub

Об этом скилле

Deploy

No gate skipped, no failure ignored. If any gate fails, halt and report. Never --no-verify. Never bypass.

Failure recovery (rule 14). Worker errors and Quality Gate failures follow the canonical policy in skills/hyperflow/failure-recovery.md. Gate failures are user-surfaced, never auto-fixed — print the failing command + full stderr and halt the push. Never --no-verify, never force-push to main.

Per-Step Agent Map

Step Sub-phase Workers Reviewer Notes
1a Repo-state scan Worker A (git status), Worker B (git log) Reviewer —
1b Tool detection Worker A (profile.md + lockfiles), Worker B (testing.md + devDeps) Reviewer —
2a Lint + typecheck (parallel) Worker A (linter), Worker B (formatter), Worker C (tsc) Reviewer Step 3 (Security Sweep) runs in parallel with Step 2 at orchestrator level; 2a halts chain on any failure before 2b
2b Build gate Worker A (prod build), Worker B (dev build) Reviewer Depends on 2a PASS
2c Test gate Worker A (unit), Worker B (integration/E2E) Reviewer Parallel (P1); depends on 2b PASS
3a Secrets scan Worker A (diff pattern), Worker B (file pattern) security-reviewer Runs in parallel with Step 2 (pre-build; read-only)
3b Dependency audit Worker A (CVE audit), Worker B (license check) vulnerability-reviewer (web-research-first) —
4 Commit single Worker Reviewer atomic-exempt (DOCTRINE 12.2)
5a Release execution single Worker Reviewer atomic-exempt (DOCTRINE 12.2)
5b Version sync Worker A (manifests), Worker B (changelog) Reviewer —
6 Push gate AskUserQuestion — structural gate; atomic-exempt
7 Output single print — atomic-exempt (§12.1)

Step 1 — Survey State

Sub-phases run in parallel (P1).

Step 1a — Repo-state scan

Two Workers in parallel:

  • Worker A — git status --short — uncommitted changes, staged files
  • Worker B — git log origin/<branch>..HEAD --oneline — commits ahead of remote; detect branch name

Reviewer — verdict on repo state (clean / has uncommitted / ahead by N). If detached HEAD or no remote configured → halt with reason.

Step 1b — Tool detection

Two Workers in parallel:

  • Worker A — Read .hyperflow/profile.md for package manager and project type; fallback: inspect package.json, pyproject.toml, Cargo.toml, go.mod
  • Worker B — Check .hyperflow/testing.md for test runner; fallback: detect from package.json devDependencies (vitest, jest, playwright, pytest, etc.)

Reviewer — produce a single tool manifest (package manager, test runner, typed-project flag, build script presence). Used by Step 2 gates.

Step 2 — Quality Gates

Step 2 runs in parallel with Step 3 (Security Sweep) at the orchestrator level — both are pre-build, read-only checks. Both must reach PASS before Step 4 (Commit) may proceed. Within Step 2, sub-phases 2a → 2b → 2c run sequentially (2b depends on 2a PASS; 2c depends on 2b PASS). Halt at the first NEEDS_REVISION verdict.

Wall-clock note: default flow runs 3 gates simultaneously (lint + security + typecheck in parallel), then build, then tests — roughly max(lint, security, typecheck) + build + max(unit, integration), versus the old 4× sequential gate duration. Typical saving: ~40% wall-clock reduction. Under --thorough, a standalone final-integration review pass is added after all gates complete, and intra-sub-phase Workers serialize (DOCTRINE §12.2/clarification), so the full saving collapses to 2c's unit + integration pair only.

Print Gate <letter> — <name> before each sub-phase.

Step 2a — Lint + typecheck (parallel; no build artifact required)

Three Workers in parallel (P1). None depend on build output — safe to run alongside Step 3.

  • Worker A — Detect and run primary linter: npm run lint / pnpm lint / bun run lint / eslint .. On failure: auto-fix via --fix, re-run once; report final error count.
  • Worker B — Detect and run formatter check: prettier --check . / biome check . / equivalent. Report diff count.
  • Worker C — Root typecheck: tsc --noEmit / npm run typecheck. Skip if not a typed project (per Step 1b tool manifest). Also run per-package typecheck if workspace detected (pnpm/yarn workspaces): iterate packages with tsc --noEmit in each.

Reviewer — aggregate verdict across all three Workers:

  • PASS — all clean (or absent/untyped)
  • NEEDS_REVISION — any gate fails → halt before 2b. Report which specific gate(s) failed and why. Do NOT proceed to build.
  • ESCALATE — config errors preventing execution of any gate

Step 2b — Build gate (sequential; depends on 2a PASS)

Two Workers in parallel:

  • Worker A — Production build: npm run build / pnpm build / bun run build. Capture output; report size or artifact path if printed.
  • Worker B — Dev/preview build if a separate script exists (npm run build:dev, `
Полный SKILL.md на GitHub

Установить deploy в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash(git:*)
Bash(npm:*)
Bash(pnpm:*)
Bash(./scripts/*:*)
Bash(scripts/*:*)
Glob
Grep
Agent
AskUserQuestion

Вложенные файлы

references/git-workflow.mdreferences/output-style.mdreferences/quality-gates.mdreferences/security.md

FAQ

Что делает скилл deploy?

Use when ready to ship — runs pre-push gates (lint, typecheck, build, tests, security sweep), commits, releases, and pushes. Standalone, never auto-invoked. Push always requires explicit confirmation. Trigger with /hyperflow:deploy, "ship it", "ready to push", "release", "cut a release", "deploy".

Как установить скилл deploy?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл deploy запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить deploy с