/eng:devopsfrom Engineering Skills
A repo's format, check, release and ship automation — Prettier and shared ESLint presets, fast git hooks, GitHub Actions with parallel jobs and hardening against workflow injection, tier branches protected by rulesets with merge-commit promotions, release-drafter releases, deploys kept out of CI with a rollback runbook, and opt-in gates. Use when setting up or reviewing CI/CD, hooks, branches, releases or deployment.
Ships in Engineering Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
How the repo formats, checks, releases and ships. The house practice comes first; the gates a project adds when it needs them are at the end, marked as such.
Before applying this skill, read the project's root AGENTS.md, the AGENTS.md closest to the files in question, and any doc they link for this skill's topic. Names, values and choices — budgets, tiers, tokens, voice, paths — come from those files, never from this skill.
proseWrap: "preserve" so prose is never hard-wrapped. ESLint loads eslint-config-prettier, so the two never argue.base, next, react-internal); each workspace's config re-exports one preset. A rule every file should obey goes in base, anything narrower in the narrowest preset.eslint-plugin-only-warn keeps the editor yellow, and every lint script runs eslint --max-warnings 0, so a warning still fails.no-console allowing only info, warn, error and debug (the structured logger owns output); unused variables and arguments ignored only with a leading underscore; turbo/no-undeclared-env-vars, so a build reading an unlisted env var fails lint.@/*, workspace packages), then relative. Where no lint rule enforces it, the reviewer does."prepare": "husky").ship-changes'.pnpm lint && pnpm check-types && pnpm format:check before committing, and the test suites the change reaches.One composite setup action (.github/actions/setup) that every job uses: pnpm before Node (pnpm/action-setup first, reading packageManager, so setup-node's cache: pnpm finds the store), Node from .nvmrc, then pnpm install --frozen-lockfile. actions/checkout stays in the workflow, never inside the composite action, because a local action can't be found before the checkout that brings it.
Parallel jobs that share nothing, each on its own runner:
| Job | Runs |
|---|---|
format | pnpm format:check |
lint-and-types | the env parity check, other repo checks, pnpm audit --audit-level critical, then turbo run lint check-types |
build | turbo run build |
test | turbo run test, one job per app and package; a long suite splits into groups by domain |
stories | installs Playwright's Chromium (cached on its version), then runs the Storybook tests |
Pull requests run only what changed (--affected, with TURBO_SCM_BASE=origin/<base> and fetch-depth: 0); a push to a tier branch runs everything.
The build gets placeholder values for every secret its env guard requires, set in the workflow, so next build passes without real secrets in CI — and on a fork's PR, which gets no secrets.
CI checks and never deploys. Deploying is its own step, below.
${{ github.event.… }} inside run: pastes it into the shell. Pass it through env: and quote the variable ("$PR_TITLE").pull_request_target and workflow_run never run the PR's code. They carry secrets and a write token, so they only label, comment or check titles, without checking out the PR; anything that builds or tests PR code runs on pull_request.persist-credentials: false on every checkout that doesn't push, so later steps and the code they run can't reuse its token.permissions: {}; each job grants only what it uses (contents: read, pull-requests: write).timeout-minutes, and every workflow a concurrency group that cancels a superseded run on the same ref.dependency-review-action to stop a PR that adds a vulnerable dependency, and zizmor or actionlint over the workflows themselves.pnpm audit --audit-level critical, plus GitHub's dependency alerts. An advisory inside someone else's dependency is fixed by that dependency releasing it — never force a version into a third-party tree. Record each known advisory and where it lives beside the install settings.github-actions ecosystem listed for the SHAs; a project that relies on alerts alone records that as a deviation.monorepo.dev for development, staging for QA, main for production; dev is the default. They take pull requests only, never a direct commit or push — enforced by a ruleset on each: a pull request and the CI checks required, no force-push, no deletion.type/short-description branches cut from dev, with pull requests into dev. Code moves up by pull request: feature → dev → staging → main.dev → staging, staging → main) merges with a merge commit, never a squash, or the pull requests it carries never reach the higher branch's history.main publishes a GitHub release and its vX.Y.Z tag through release-drafter, the version bumped from the labels on the pull requests it carries.promotion, which the notes skip — so a release lists the feature PRs, not the promotions that carried them.env's.firestore's; each worker's deploy is in its own README.Not house defaults; add each when the project's size or risk calls for it, and record it.
size-limit on .next/static) — deterministic and cheap, they catch dependency bloat first.--provenance.env:; set persist-credentials: false; protect tier branches with rulesets; keep a tested rollback runbook; format everything with Prettier; fail lint on any warning; keep hooks to staged formatting and commit messages; share one setup action; run parallel jobs; pin actions to SHAs; start from permissions: {}; time-box every job; fail audits only on critical; merge promotions with a merge commit; release from main with release-drafter; keep deploys out of CI.${{ github.event.* }} in a run:; check out PR code in pull_request_target.allowBuilds and --affected → monorepo.env.ship-changes; reviewing a PR → review-pr.frontend-security.dependency-audit; the env setup → env-audit.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub timonwa/engineering-skills --plugin eng20 skills in this plugin
/agents-mdWrites or updates a project's AGENTS.md and the short AGENTS.md notes in each app and package — what an agent can't work out from the code: commands, structure, conventions that differ from the defaults, workflow, recorded deviations from the house standards and hard constraints, under 200 lines. Use when starting a project, setting up AGENTS.md or CLAUDE.md, or bringing a project's agent instructions up to date./audit-allManually invoked. Runs the house audit suite across the eng, fe and be sets — detects what the repo has, runs every installed audit that applies (codebase, conventions, dependencies, env, security, accessibility, frontend, performance, SEO/AEO/GEO, Storybook, content, API, access control, Firestore, Redis), and rolls their reports into one health report with an overall score and cross-cutting priorities. Each audit still writes its own report./Other plugins' skills for the same job