/setup-ci
Detect the project's stack and add a minimal, secure CI pipeline (lint, typecheck, test, build) with caching, pinned actions, least-privilege tokens and branch-protection guidance. Prepares workflow files only; never pushes or triggers runs.
What it does
Detect the project's stack and add a minimal, secure CI pipeline (lint, typecheck, test, build) with caching, pinned actions, least-privilege tokens and branch-protection guidance. Prepares workflow files only; never pushes or triggers runs.
- Category
- devopsci-cdautomation
- Platforms
- webbackendandroidgeneric
- Frameworks and tools
- github-actions
- Capabilities
- code-generationci-configurationsecurity-hardening
Example tasks
- /setup-ci GitHub Actions for this pnpm monorepo, run affected tests only
- /setup-ci add a PR pipeline with lint, tests and a Docker build check
- /setup-ci harden the existing workflow files and add dependency caching
Works with
Requires (installed automatically)
Permissions summary
Files
Reads and edits files
Shell
Runs a limited set of commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/commands/<id>.md |
| OpenAI Codex | Adapter | .codex/prompts/<id>.md |
| Cursor | Native | .cursor/commands/<id>.md |
| VS Code (Copilot) | Native | .github/prompts/<id>.prompt.md |
| Generic markdown | Adapter | docs/forgekit/commands/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (16 lines in total).
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — /setup-ci
1.0.0
- Initial release.