CI Validation Gates
FritzAndFriends/SharpSite
Defensive CI/CD patterns: semver validation, token checks, retry logic, draft detection — earned from v0.8.22
Defensive CI/CD patterns: semver validation, token checks, retry logic, and draft detection
$ npx skills add bradygaster/squad --skill ci-validation-gates -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install bradygaster/squad ci-validation-gates --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.copilot/skills/ci-validation-gates .claude/skills/ci-validation-gates && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ci-validation-gates" agent skill from https://github.com/bradygaster/squad/tree/dev/.copilot/skills/ci-validation-gates into .claude/skills/ci-validation-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ci-validation-gates", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/bradygaster/squad/tree/dev/.copilot/skills/ci-validation-gatesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add bradygaster/squad --skill ci-validation-gates -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install bradygaster/squad ci-validation-gates --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.copilot/skills/ci-validation-gates .agents/skills/ci-validation-gates && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ci-validation-gates" agent skill from https://github.com/bradygaster/squad/tree/dev/.copilot/skills/ci-validation-gates into .agents/skills/ci-validation-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ci-validation-gates", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bradygaster/squad --skill ci-validation-gates -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install bradygaster/squad ci-validation-gates --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.copilot/skills/ci-validation-gates .cursor/skills/ci-validation-gates && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ci-validation-gates" agent skill from https://github.com/bradygaster/squad/tree/dev/.copilot/skills/ci-validation-gates into .cursor/skills/ci-validation-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ci-validation-gates", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/bradygaster/squad.git --path .copilot/skills/ci-validation-gates--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add bradygaster/squad --skill ci-validation-gates -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install bradygaster/squad ci-validation-gates --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.copilot/skills/ci-validation-gates .gemini/skills/ci-validation-gates && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ci-validation-gates" agent skill from https://github.com/bradygaster/squad/tree/dev/.copilot/skills/ci-validation-gates into .gemini/skills/ci-validation-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ci-validation-gates", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install bradygaster/squad ci-validation-gatesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add bradygaster/squad --skill ci-validation-gates -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .github/skills && cp -r skills-src/.copilot/skills/ci-validation-gates .github/skills/ci-validation-gates && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ci-validation-gates" agent skill from https://github.com/bradygaster/squad/tree/dev/.copilot/skills/ci-validation-gates into .github/skills/ci-validation-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ci-validation-gates", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bradygaster/squad --skill ci-validation-gates -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install bradygaster/squad ci-validation-gates --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.copilot/skills/ci-validation-gates .opencode/skills/ci-validation-gates && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ci-validation-gates" agent skill from https://github.com/bradygaster/squad/tree/dev/.copilot/skills/ci-validation-gates into .opencode/skills/ci-validation-gates/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ci-validation-gates", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ci-validation-gatesDefensive CI/CD patterns: semver validation, token checks, retry logic, and draft detection
CI Validation Gates is an agent skill from bradygaster/squad. Defensive CI/CD patterns: semver validation, token checks, retry logic, and draft detection
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in DevOps & Cloud, covering Error handling and CI/CD. It works with npm. The repository describes itself as: Squad: AI agent teams for any project. The licence is MIT.
Read from SKILL.md and the folder at commit d2364df. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmcurlnpxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, curl and npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
NPM_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
CI Validation Gates loads about 1.1k tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 458 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from bradygaster/squad at commit d2364df, republished under its MIT licence (© bradygaster). 458 words, ~1,112 tokens.
.claude/skills/ci-validation-gates/SKILL.md (or your agent's skills folder).CI workflows must be defensive. These patterns capture lessons from prior release incidents; they are maintained as version-agnostic gates rather than claims about a particular repository release.
Every publish workflow MUST validate version format before npm publish. 4-part versions (e.g., 0.8.21.4) are NOT valid semver — npm mangles them.
- name: Validate semver
run: |
VERSION="${{ github.event.release.tag_name }}"
VERSION="${VERSION#v}"
if ! npx semver "$VERSION" > /dev/null 2>&1; then
echo "❌ Invalid semver: $VERSION"
echo "Only 3-part versions (X.Y.Z) or prerelease (X.Y.Z-tag.N) are valid."
exit 1
fi
echo "✅ Valid semver: $VERSION"NPM_TOKEN MUST be an Automation token, not a User token with 2FA:
npm registry uses eventual consistency. After npm publish succeeds, the package may not be immediately queryable.
- name: Verify package (with retry)
run: |
MAX_ATTEMPTS=5
WAIT_SECONDS=15
for attempt in $(seq 1 $MAX_ATTEMPTS); do
echo "Attempt $attempt/$MAX_ATTEMPTS: Checking $PACKAGE@$VERSION..."
if npm view "$PACKAGE@$VERSION" version > /dev/null 2>&1; then
echo "✅ Package verified"
exit 0
fi
[ $attempt -lt $MAX_ATTEMPTS ] && sleep $WAIT_SECONDS
done
echo "❌ Failed to verify after $MAX_ATTEMPTS attempts"
exit 1Draft releases don't emit release: published event. Workflows MUST:
release: published (NOT created)curl -f (normally curl -fsSL) so HTTP failures cannot be interpreted as scripts.set -euo pipefail in Bash steps. When a download must feed an extractor, pipefail
prevents the extractor from masking a failed download.The root build invokes scripts/bump-build.mjs, which can mutate package versions. Local
validation MUST set SKIP_BUILD_BUMP=1 (or use an existing CI environment that guarantees no
mutation) and MUST verify the package manifests and lockfile are unchanged afterward. Prefer an
affected workspace build when it covers the check. Never let a validation build rewrite package
versions or create a version-only diff.
| # | What Happened | Root Cause | Prevention |
|---|---|---|---|
| 1 | 4-part version published, npm mangled it | No semver validation gate | npx semver check before every publish |
| 2 | CI failed 5+ times with EOTP | User token with 2FA | Automation token only |
| 3 | Verify returned false 404 | No retry logic for propagation | 5 attempts, 15s intervals |
| 4 | Workflow never triggered | Draft release doesn't emit event | Never create draft releases |
© bradygaster, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .copilot/skills/ci-validation-gates of bradygaster/squad.
Open the folder on GitHubat commit d2364df
CI Validation Gates next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| CI Validation Gates this skillbradygaster/squad | 3.3k | — | ~1.1k | Automated safety check: Pass | MIT | |
| CI Validation GatesFritzAndFriends/SharpSite | 145 | 1 repos | ~911 | Automated safety check: Pass | MIT | |
| Repo Hygiene Scan and FixQwenLM/qwen-code | 28k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Check Deps SyncHyk260/PureChat | 546 | — | ~594 | Automated safety check: Pass | MIT | |
| npm Release Via GitHub Actionsjmfederico/pi-web | 861 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Publishcode-yeongyu/oh-my-openagent | 70k | — | ~5.5k | Automated safety check: Warn | Custom licence |
FritzAndFriends/SharpSite
Defensive CI/CD patterns: semver validation, token checks, retry logic, draft detection — earned from v0.8.22
QwenLM/qwen-code
Scheduled CI skill that scans a repository for small, certain docs, test and code hygiene issues and fixes them on one branch with a commit per finding.
Hyk260/PureChat
Check if package.json files are in sync with pnpm-lock.yaml.
jmfederico/pi-web
A skill your agent uses whenever the user asks for a new npm version, npm release, package release, new release, version bump, publishing to npm, cutting a GitHub release, tagging a release, or…
code-yeongyu/oh-my-openagent
Publish oh-my-opencode to npm by triggering the GitHub Actions publish workflow and verifying its artifacts.
eser/stack
Releases and CI for eserstack: the shared version of all packages, the release command, the tag-driven build.yml run, JSR and npm publishing, changelog and breaking changes, release recovery, GitHub…
bradygaster/squad
Review and validate claims using counter-hypothesis testing.
bradygaster/squad
How to review PRs for architectural quality — module boundaries, dependency direction, export surface, pattern consistency
bradygaster/squad
Preserve content when moving entries between tracked Squad state files
bradygaster/squad
Checklist and patterns for wiring new CLI commands into cli-entry.ts
bradygaster/squad
Enables squad agents on different machines to share work via git-based task queuing
bradygaster/squad
Validate GitHub Agentic Workflow contracts through compiled artifacts and realistic mutations
Works with
Categories
Defensive CI/CD patterns: semver validation, token checks, retry logic, and draft detection. CI Validation Gates is an agent skill from bradygaster/squad.
CI Validation Gates fits situations like: tasks that involve Error handling; tasks that involve CI/CD.
Run `npx skills add bradygaster/squad --skill ci-validation-gates -a claude-code`. Or copy the skill folder (.copilot/skills/ci-validation-gates in bradygaster/squad) into .claude/skills/ci-validation-gates in your project. Claude Code loads it when a task matches its description.
Run `npx skills add bradygaster/squad --skill ci-validation-gates -a codex`. Or copy the skill folder (.copilot/skills/ci-validation-gates in bradygaster/squad) into .agents/skills/ci-validation-gates in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bradygaster/squad --skill ci-validation-gates -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ci-validation-gates, .gemini/skills/ci-validation-gates, .github/skills/ci-validation-gates and .opencode/skills/ci-validation-gates in your project.
Going by SKILL.md and its folder, CI Validation Gates needs the command-line tools its instructions call (npm, curl and npx) and credentials named NPM_TOKEN. Our summary lists: Node.js; A credential in NPM_TOKEN.
SKILL.md contains no URLs. Its commands use npm, curl and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
CI Validation Gates is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with CI Validation Gates: CI Validation Gates (FritzAndFriends/SharpSite, 145 stars), Repo Hygiene Scan and Fix (QwenLM/qwen-code, 28k stars), Check Deps Sync (Hyk260/PureChat, 546 stars) and npm Release Via GitHub Actions (jmfederico/pi-web, 861 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
bradygaster (a GitHub user) maintains it in bradygaster/squad, which has 3,256 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on October 6, 2026.
Source: bradygaster/squad on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.