smithery.ai

ci-automation

Run CI quality gates with optional auto-fix and PR creation.

First seen Mar 23, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version0.7.0
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,472 B
  • docs SUMMARY.md 81 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

CI Automation Skill

Coordinates pull → build → test → fix → PR. Keeps instructions lean; heavy details live in references and contracts file. Agent Runner is required for all agent calls (registry-enforced, audited).

Commands

  • /ci-automation (flags: --build, --test, --dest, --src, --allow-warnings, --yolo, --help)

Agents (v0.1.0)

  • ci-validate-agent: pre-flight checks (clean repo, config present, auth available)
  • ci-pull-agent: pull target branch, handle simple conflicts
  • ci-build-agent: run build, classify failures
  • ci-test-agent: run tests, classify failures/warnings
  • ci-fix-agent: apply straightforward fixes
  • ci-root-cause-agent: summarize unresolved issues, recommend actions
  • ci-pr-agent: commit/push/PR when gates pass

Flow

  1. Validate via Agent Runner → ci-validate-agent
  2. Pull via Agent Runner → ci-pull-agent (dest inferred from tracking; --dest overrides)
  3. Build via Agent Runner → ci-build-agent
  4. On build fail: Agent Runner → ci-fix-agent (only straightforward fixes), repeat
  5. Test via Agent Runner → ci-test-agent
  6. On test/warn fail: Agent Runner → ci-fix-agent if straightforward, else ci-root-cause-agent
  7. If clean and confirmed (or --yolo): Agent Runner → ci-pr-agent to commit/push/PR

Config

Preferred: .claude/ci-automation.yaml (fallback: .claude/config.yaml) with upstreambranch, buildcommand, testcommand, warnpatterns, allowwarnings, autofixenabled, prtemplatepath, reporoot. Detect stack (e.g., .NET/Python/Node) and prompt to save suggested commands.

Safety

  • No force-push; respect protected branches.
  • Default is conservative: auto-fix only; stop before commit/PR unless clean and confirmed.
  • --yolo: allow commit/push/PR after gates pass.
  • Warnings block PR unless --allow-warnings or config override.
  • Explicit confirmation for PRs to main/master unless --dest main provided.
  • Audit: Agent Runner logs to .claude/state/logs/ci-automation/.

References

  • .claude/references/ci-automation-commands.md
  • .claude/references/ci-automation-checklists.md
  • .claude/references/ci-automation-contracts.md

Size Guidance

  • Keep SKILL.md under ~2KB: overview, flags, agent list, flow summary, contracts, config, safety, references.