Ci

From softspark/ai-toolkit · View interactive version

Ci is an AI agent skill from the GitHub repository softspark/ai-toolkit. Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI). Triggers: CI setup, build pipeline, GitHub Actions config, debug CI, GitLab CI.

How to use this skill

Skill file

/ci - CI/CD Pipeline Management

$ARGUMENTS

What This Command Does

Generate, update, or troubleshoot CI/CD pipeline configuration based on project type.

Project context

CI Detection Script

Detect CI platform and analyze configuration:

python3 ${CLAUDE_SKILL_DIR}/scripts/ci-detect.py [directory]

Returns JSON with:

Auto-Detection

| File Found | Project Type | Pipeline |

|------------|-------------|----------|

| package.json | Node.js/TypeScript | npm ci, lint, test, build |

| pyproject.toml / setup.py | Python | pip install, ruff, mypy, pytest |

| pubspec.yaml | Flutter/Dart | dart analyze, flutter test, build |

| composer.json | PHP | composer install, phpstan, phpunit |

| go.mod | Go | go vet, go test, go build |

| Cargo.toml | Rust | cargo clippy, cargo test, cargo build |

| Dockerfile | Docker | Build and push image |

Supported Platforms

Pipeline Stages

  1. Lint - Static analysis, formatting checks
  2. Test - Unit tests, integration tests with coverage
  3. Build - Compile, bundle, Docker image
  4. Deploy (optional) - Deploy to staging/production

Usage Examples

/ci                          # Generate CI config for detected project type
/ci github-actions           # Explicitly use GitHub Actions
/ci add deploy staging       # Add deployment stage for staging
/ci fix                      # Troubleshoot failing pipeline
/ci add matrix node 18,20,22 # Add matrix testing

Reference Skill

Use ci-cd-patterns skill for pipeline templates and best practices.

Rules

Gotchas

When NOT to Use

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.