ai-infrastructure-hugg…
Hugging Face Inference SDK patterns for TypeScript/Node.js — InferenceClient setup, chat completion, text generation, streaming,…
GitHub Actions, pipelines, deployment
Claude Code
$ npx -y skills add agents-inc/skills --skill infra-ci-cd-github-actions --agent claude-code
Codex
$ npx skills add agents-inc/skills --skill infra-ci-cd-github-actions -a codex -y
Cursor
$ npx skills add agents-inc/skills --skill infra-ci-cd-github-actions -a cursor -y
Gemini CLI
$ npx skills add agents-inc/skills --skill infra-ci-cd-github-actions -a gemini-cli -y
GitHub Copilot
$ npx skills add agents-inc/skills --skill infra-ci-cd-github-actions -a github-copilot -y
OpenCode
$ npx skills add agents-inc/skills --skill infra-ci-cd-github-actions -a opencode -y
Windsurf
$ npx skills add agents-inc/skills --skill infra-ci-cd-github-actions -a windsurf -y
name: infra-ci-cd-github-actions description: GitHub Actions, pipelines, deployment
> **Quick Guide:** GitHub Actions for CI/CD. Affected detection for monorepo optimization (e.g., Turborepo `--affected` or `--filter=...[origin/main]`). Dependency and build output caching for fast CI. Quality gates: lint + type-check + test + build + coverage as required status checks. Multi-environment deployments with build promotion. OIDC authentication for cloud providers. Pin all action and runtime versions.
---
<critical_requirements>
**(You MUST use affected/changed-package detection for PR builds - NEVER run full test suite on PRs)**
**(You MUST cache package manager dependencies and build outputs - CI without caching wastes 70% of runtime)**
**(You MUST pin action versions (`actions/checkout@v6`, `oven-sh/setup-bun@v2`, `actions/cache@v5`) - NEVER use `@main` or unversioned)**
**(You MUST implement quality gates (lint + type-check + test + build) as required status checks - block merge on failures)**
**(You MUST use OIDC for cloud provider auth where supported - NEVER use static long-lived credentials)**
</critical_requirements>
---
**Detailed Resources:**
---
**Auto-detection:** GitHub Actions, CI/CD pipelines, `.github/workflows`, Turborepo affected detection, remote cache, deployment automation, quality gates, OIDC authentication, secret rotation, artifact attestations, SLSA provenance, reusable workflows, composite actions, matrix builds, workflow_call
**When to use:**
**When NOT to use:**
**Key patterns covered:**
---
<philosophy>
CI/CD pipelines automate testing, building, and deployment. In a monorepo, intelligent caching and affected detection are critical for maintaining fast CI as the codebase grows.
**Core principles:**
</philosophy>
---
<patterns>
Separate install, parallel quality checks, then build.
# Recommended workflow structure: # ci.yml - lint, test, type-check, build (PR + main) # deploy.yml - production deployment from main # preview.yml - preview deployments for PRs
**Key decisions:**
See [examples/core.md](examples/core.md) for complete workflow examples.
---
Only test and build changed packages in monorepos.
**Turborepo example (two approaches, choose one):**
# Modern: --affected flag (auto-detects CI environment) turbo run test --affected # Manual: --filter with git comparison turbo run test --filter=...[origin/main]
**Key principle:** PRs use affected detection for fast feedback (< 5 min). Main branch runs full suite.
**Gotcha:** New packages have no git history and get skipped by affected detection. Always check for new `package.json` files and fall back to full suite.
See [examples/testing.md](examples/testing.md) for PR vs main branch workflow examples.
---
Automated checks that must pass before merge.
**Quality gate order:**
1. Linting (code style and static analysis) 2. Type checking (TypeScript errors) 3. Tests with coverage (functionality validation) 4. Build verification (production build succeeds) 5. Bundle size check (performance regression prevention) 6. Security audit (dependency vulnerabilities)
Configure as required status checks in branch protection. Use `strict: true` to require branches be up-to-date before merge.
See [examples/testing.md](examples/testing.md) for comprehensive quality gate workflow.
---
Eliminate static credentials for cloud deployments.
#
The official skills marketplace for Agents Inc. 230+ skills covering everything from React and Prisma to Redis, ElevenLabs, and infrastructure tooling. Pick the skills that match your stack and install them via Claude Code. Need more control?
Hugging Face Inference SDK patterns for TypeScript/Node.js — InferenceClient setup, chat completion, text generation, streaming,…
LiteLLM proxy server setup, TypeScript client patterns via OpenAI SDK, model routing, fallbacks, load balancing, spend tracking,…
Serverless GPU compute platform for AI model deployment — web endpoints, GPU functions, model serving, and TypeScript client…
Local LLM inference with the Ollama JavaScript client -- chat, streaming, tool calling, vision, embeddings, structured output,…
Replicate SDK patterns for TypeScript/Node.js -- client setup, predictions, streaming, webhooks, file handling, model versioning,…
Together AI SDK patterns for TypeScript — client setup, chat completions, streaming, structured output, function calling,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.