Everything You Need to Standardize CI/CD
`@waiyat/devops` consolidates pre-flight diagnostics, workflow scaffolding, and centralized reusable GitHub Actions into a zero-config CLI.
Detector
Identifies languages, frameworks, and package managers.
Project IR
Normalized domain model of your repository.
Diagnostics
6-category preflight checks with scoring.
Scoring Layer
Weighted 0-100 health score computation.
Scaffolding & Auto-Fix
Injects CI workflows and heals misconfigurations.
Pre-Flight CI/CD Diagnostics
Instant inspection of package manifests, Git state, package managers, and container setups.
Evaluates your repository before commits or CI deployments. Inspects package.json health, Git version control initialization, package manager detection (npm, pnpm, yarn, bun), TypeScript compiler options, and Dockerfile presence.
Key Capabilities:
CLI Output Preview
š Running DevOps Pre-Flight Diagnostics...
ā
[INFO] Package manifest detected (package.json found).
ā
[INFO] Git version control initialized.
ā
[INFO] Package Manager: pnpm detected.
ā
[INFO] TypeScript Configured: tsconfig.json present.
ā
[INFO] Dockerfile Present: Multi-stage build configured.
----------------------------------------
Status: š¢ All Pre-Flight Quality Checks Passed!Weighted Health Score & Scoring Layer
Deterministic 0-100 health scoring across quality, CI/CD, security, container, and observability dimensions.
Computes a weighted repository health score using the v3 dedicated Scoring layer. Evaluates category-level scores and aggregates into an overall 0-100 score with granular per-check pass/fail/warn breakdowns, ideal for CI quality gates and PR dashboards.
Key Capabilities:
CLI Output Preview
š Repository Health Score: 74/100 [NEEDS ATTENTION]
[QUALITY & RUNTIME] (Score: 85/100)
ā Deterministic Lockfile: pnpm-lock.yaml found
ā TypeScript Compiler Options: tsconfig.json configured
[CI/CD AUTOMATION] (Score: 60/100)
ā CI Quality Gate Workflow: No active CI pipeline configured
[DEVSECOPS & SECRETS] (Score: 70/100)
ā .gitignore Security Protection: .env exclusion missing
[CONTAINERS & DOCKER] (Score: 65/100)
ā .dockerignore File Present: Missing
ā Container Least Privilege: Runs as root
----------------------------------------------------
Recommended Action:
Run npx @waiyat/devops@latest fix to automatically heal safe issues.Intelligent Workflow Scaffolding
Scaffold hardened GitHub Actions pipelines in one command.
Generates tailored `.github/workflows/ci.yml` files configured with your package manager, target Node.js version, and reusable quality gates. Supports Next.js, standard Node.js, Docker, monorepos, and full enterprise stacks.
Key Capabilities:
CLI Output Preview
š @waiyat/devops CLI - Centralized DevOps & CI/CD Automation Engine
āļø Detecting project environment...
ā Framework: Next.js (App Router)
ā Package Manager: pnpm
ā Node.js Target: v22
š Generating .github/workflows/ci.yml using template 'nextjs'...
ā Injected uses: Waiyat/devops/.github/workflows/reusable-ci.yml@main
⨠Successfully created .github/workflows/ci.ymlEnterprise Reusable Workflows
Call centralized, production-grade workflows directly from Waiyat/devops.
Eliminates the need to maintain hundreds of lines of complex workflow YAML across repositories. Reference centralized workflows maintained in `Waiyat/devops` directly via GitHub Actions `uses:` syntax.
Key Capabilities:
CLI Output Preview
š¦ Available Enterprise Reusable Workflows in Waiyat/devops:
1. Reusable CI Quality Gate:
uses: Waiyat/devops/.github/workflows/reusable-ci.yml@main
2. Reusable Docker Container CD:
uses: Waiyat/devops/.github/workflows/reusable-cd-docker.yml@main
3. Reusable Semantic Release:
uses: Waiyat/devops/.github/workflows/reusable-release.yml@main
4. Reusable DevSecOps & Vulnerability Scan:
uses: Waiyat/devops/.github/workflows/reusable-security.yml@mainMulti-Arch Container Deployment
Inspect or generate a non-root Dockerfile for the detected project runtime.
Inspects existing Docker configuration or generates a multi-stage, non-root Dockerfile when the repository does not already have one. The dry-run option previews it without writing files.
Key Capabilities:
CLI Output Preview
--- [DRY RUN] Dockerfile that would be created ---
FROM node:22-alpine AS base
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
USER node
--- End of Dry Run ---Ready to scaffold CI/CD in your repository?
Explore all CLI options, templates, and flags in the Commands guide.
View CLI Commands