Agent skill
ci-cd
Set up or update GitHub Actions CI/CD pipeline (Marcus Chen's workflow)
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ci-cd-g-zenr-relay-api
SKILL.md
Set up CI/CD: $ARGUMENTS
Step 1 — Create Workflow Directory
mkdir -p .github/workflows
Step 2 — CI Workflow (tests + type check on every push/PR)
Create .github/workflows/ci.yml:
- Trigger on push/PR to main
- Matrix strategy for supported language versions (see project config)
- Install dependencies from the dependency file (see project config)
- Run the test command with mock/dev mode enabled
- Run the type-check command
Step 3 — Docker Build Workflow (verify Dockerfile on every PR)
Create .github/workflows/docker.yml:
- Trigger on PR to main
- Build the Docker image using the Docker build command (see project config)
- Run the container with mock/dev mode enabled
- Verify the health endpoint responds
Step 4 — Release Workflow (on tag push)
Create .github/workflows/release.yml:
- Trigger on tag push matching
v* - Create GitHub Release with auto-generated release notes
Step 5 — Add CI Badge to README
Add the CI workflow badge to the project README.
Step 6 — Verify
git add .github/
git commit -m "ci: add GitHub Actions workflows"
git push
Check the Actions tab on GitHub to verify the workflow runs.
Rules
- Always test with mock/dev mode enabled in CI (no hardware)
- Test on multiple language versions per project config
- Docker build test ensures Dockerfile stays valid
- Never store secrets in workflow files — use GitHub Secrets
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?