pskoett avatar

Simplify And Harden Ci

This is a CI-only code review workflow that scans pull requests for simplification opportunities and security hardening gaps without mutating any code. It runs headless checks on changed files only, emits structured YAML findings split by severity (critical/advisory), and can block merges based on configurable gates. The documentation is refreshingly honest about a real constraint: CI agents lack the full implementation context of the original author, so findings are treated as review signals rather than auto-applicable fixes. You get scan and report with optional merge blocking, plus a learning loop hook to feed recurring patterns back into your agent's context rules. Good fit if you want automated quality gates in PRs without the risk of CI making unreviewed code changes.

skills.sh installs
391
GitHub stars
331
last updated
Aug 21, 2026

Install

$ npx -y skills add pskoett/pskoett-ai-skills --skill simplify-and-harden-ci --agent claude-code

Installs into .claude/skills of the current project.

Files

Simplify & Harden CI

Install

gh skill install pskoett/pskoett-skills simplify-and-harden-ci

Fallback using the Agent Skills CLI:

npx skills add pskoett/pskoett-skills/skills/simplify-and-harden-ci

Purpose

Run a CI-only variant of Simplify & Harden in pull requests:

  • No code mutation in CI
  • Review only changed files
  • Emit structured findings
  • Optionally block merge based on severity gates

Use simplify-and-harden for interactive/local coding sessions.

Context Limitation (Important)

CI agents do not have the same peak implementation context as the coding agent that wrote the change. Treat CI findings as structured review signals, not as full intent-aware rewrites.

Implications:

  • Prefer scan/report and merge gating
  • Do not auto-apply code changes in CI
  • Escalate ambiguous findings to interactive review

Prerequisites

  1. GitHub Actions enabled for the repository
  2. GitHub CLI authenticated (gh auth status)
  3. gh-aw installed locally for authoring/validation:
gh extension install github/gh-aw
  1. In GitHub Actions jobs, install the CLI with:

Sponsors

Details

Repository
github.com/pskoett/pskoett-ai-skills
Categories
Security, DevOps & CI/CD, Git & Pull Requests, Code Review & Quality, AI & Agent Building, Automation & Workflows
First seen
Jun 3, 2026

More from pskoett/pskoett-ai-skills

All 9

Recommended

More Security
1davila7 avatarisms-audit-expertdavila7/claude-code-templatesSenior ISMS Audit Expert for internal and external information security management system auditing. Provides ISO 27001 audit expertise, security audit program m390skills.sh installs
2auth0 avatarauth0-springboot-apiauth0/agent-skillsUse when protecting Spring Boot API endpoints with JWT Bearer token validation, scope-based authorization, or DPoP binding. Integrates com.auth0:auth0-springboo387skills.sh installs
3gohypergiant avataraccelint-nextjs-best-practicesgohypergiant/agent-skillsNext.js performance optimization and best practices. Use when writing Next.js code (App Router or Pages Router); implementing Server Components, Server Actions,386skills.sh installs
4sickn33 avatarsql-injection-testingsickn33/antigravity-awesome-skillssql injection testing382skills.sh installs
5sanjay3290 avatarazure-devopssanjay3290/ai-skillsManage Azure DevOps projects, work items, repos, PRs, pipelines, wikis, test plans, security alerts, variable groups, environments/approvals, branch policies, a369skills.sh installs
6vercel-labs avatargooglevercel-labs/emulateEmulated Google OAuth 2.0, OpenID Connect, Gmail, Calendar, and Drive for local development and testing. Use when the user needs to test Google sign-in locally,369skills.sh installs