Agent skill · luongnv89

devops-pipeline

Configure pre-commit hooks and lean GitHub Actions for shift-left quality assurance. Use when adding or auditing CI/CD to maximize local test coverage and minimize CI cost. Skip for Terraform/K8s, deployment pipelines, or non-GitHub CI providers.

What it needs

About 10k tokens when loaded.

What this skill does

DevOps Pipeline Implement comprehensive DevOps quality gates adapted to project type, with a shift-left philosophy: run as many checks as possible locally via pre-commit so developers get fast feedback and CI is a safety net rather than the primary gate. Core principle: if a check can run on a developer's machine, it runs there. GitHub Actions runs only what a laptop genuinely cannot — matrix version testing, secrets-dependent scans, deployment, coverage publishing — plus one cheap job proving the hooks were not bypassed. Check Routing Table Every check lands in exactly one lane. This table is the single source of truth: workflow steps 2 and 3, the reference files, and any config this skill generates must agree with it. Lane Time budget What runs there ------ ------------- ----------------- pre-commit stage (every commit) < 10s, changed files only Format, lint, type-check, offline security scans, fast unit tests, compile/import check pre-push stage (every push) < 60s, whole repo Full test suite, CLI E2E, coverage threshold, slow lint rulesets GitHub Actions billed per minute Version matrix, secrets-dependent scans, coverage upload, deploy/release, bypass guard A check that fits an earlier lane must not be repeated in a later one. CI re-running the whole hook set on every push is the failure mode this skill exists to prevent. To stay within the agent's context budget, this SKILL keeps templates short and links to references/.md for language-specific configs, workflow templates, and the CLI E2E script. Repo Sync Before Edits (mandatory) Before creating/updating/deleting files in an existing repository, sync the current branch with remote: If the working tree is not clean, stash first, sync, then restore: If origin is missing, pull is unavailable, or rebase/stash conflicts occur, stop and ask the user before continuing. Safety Rails This skill writes config into someone else's repository and installs git hooks. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills luongnv89/devops-pipeline

View the source on GitHub

Browse the @skills marketplace