Prompt file imported from superhumaan/DNA (
.cursor/commands/dna-ci-install.md). Fill in{{arguments}}before use. Copyright stays with the author.
DNA Command: CI Install
Slash:
/dna-ci-install· Category: Delivery
Purpose
Scaffold GitHub Actions workflows (lint, test, coverage, security).
When to use
- Feature factory close-out
- CI missing or broken
- Preparing preview deploy
When NOT to use
- Mid-implementation before quality gate passes
Prerequisites
- Docker installed for
docker build - GitHub auth for
github push
Mandatory behaviour — OBEY
- MUST Run the real CLI command in the shell — never invent or simulate DNA output.
- MUST Execute from the project root unless
--cwdis explicitly required. - MUST Read the full terminal output (stdout and stderr) before summarizing or acting.
- MUST Prefer
npx dnawhendnais not on PATH; use globaldnawhen available. - MUST Load
.DNA/neuralNetwork.json, relevant.DNA/behaviour/, andDNA/Impressions/before follow-up implementation. - MUST Ensure pre-push hook runs
dna quality reporton every push
Forbidden — NEVER
- NEVER Never skip running the command when the user invoked this slash command.
- NEVER Never tell the user to copy prompts or manually edit DNA scaffold files when DNA can do it.
- NEVER Never commit
.env, tokens, or credentials surfaced by CLI output. - NEVER Never force-push to
mainormaster. - NEVER Never push with failing quality gate unless user explicitly overrides
Execute (required)
Run this command from the project root in the shell. Do not skip execution.
npx dna ci install
Output interpretation
| Section | Meaning |
|---|---|
| Workflow files | Created under .github/workflows/ |
Exit codes
- 0 — Delivery step succeeded
- 1 — Build or auth failed
Files touched
- .github/workflows/
- Dockerfile
- .DNA/hooks/pre-push
After running
List workflow files created under .github/workflows/.
Examples
Default invocation
npx dna ci install
Then: List workflow files created under .github/workflows/.
Session context
Before follow-up implementation, load:
.DNA/neuralNetwork.json— intent routing.DNA/behaviour/*.behaviour.md— project rules.DNA/knowledge/— stack-matched packsDNA/Impressions/— human-facing system docs
User context (if any):
{{arguments}}