Skip to content
Back to skills

Setup Ci

ASecurity

Generate a GitHub Actions workflow for SDLC validation. Use when setting up CI/CD for a new project.

  • 41 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 19, 2026
developmentjavascripttypescriptpythongojavabashgitci/cdsecurity

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add SteveGJones/ai-first-sdlc-practices --skill setup-ci --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup Ci?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Setup Ci
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/stevegjones-setup-ci/badge)](https://www.skillsdirectory.com/skills/stevegjones-setup-ci)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: setup-ci
description: Generate a GitHub Actions workflow for SDLC validation. Use when setting up CI/CD for a new project.
disable-model-invocation: false
argument-hint: "[python | javascript | go]"
---

# Setup CI/CD

Generate a GitHub Actions workflow that mirrors the SDLC validation pipeline.

## Arguments

- `python` — Python project (ruff, mypy, pytest, bandit). Default if .py files detected.
- `javascript` — JS/TS project (eslint, tsc, jest/vitest).
- `go` — Go project (go vet, staticcheck, go test).

If no argument provided, detect language from project files.

## Steps

1. **Detect language** if not specified:
   - `*.py` files → python
   - `*.ts` or `*.js` files → javascript
   - `*.go` files → go

2. **Check for existing workflow**:
   - If `.github/workflows/sdlc-validate.yml` exists, warn and ask before overwriting.

3. **Create workflow directory**:
```bash
mkdir -p .github/workflows
```

4. **Generate workflow** from the appropriate template:
   - Python: use [templates/python.yml](templates/python.yml)
   - JavaScript/TypeScript: use [templates/javascript.yml](templates/javascript.yml)
   - Go: use [templates/go.yml](templates/go.yml)
   - Copy the chosen template to `.github/workflows/sdlc-validate.yml`

5. **Report** the created file and suggest next steps:
   ```
   Created .github/workflows/sdlc-validate.yml

   Python workflow runs on push and PR to main:
   - Lint (ruff)
   - Format check (ruff format)
   - Type check (mypy)
   - Tests (pytest)
   - Security (bandit)

   JavaScript/TypeScript workflow runs:
   - Install (npm ci)
   - Lint (npm run lint)
   - Type check (tsc --noEmit if tsconfig.json present)
   - Tests (npm test)
   - Security audit (npm audit --audit-level=high)

   Go workflow runs:
   - Modules (go mod download)
   - Vet (go vet ./...)
   - Lint (staticcheck ./...)
   - Tests with race detector (go test -race ./...)
   - Security scan (gosec ./...)

   Commit and push to activate CI.
   ```

Files in this skill

  • SKILL.md1.9 KB
  • templates/go.yml802 B
  • templates/javascript.yml731 B
  • templates/python.yml1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.