Quality Gates
andymai/brepjs
This skill should be used when a local brepjs quality gate or npm run validate step fails and the specific rule's fix or escape hatch is needed — ESLint errors like "no-explicit-any" or "Direct .oc…
Scaffold deterministic quality gates per WORKFLOW.md §11 — pre-commit (lint, format, secret-scan), pre-push (build, unit, integration).
$ npx skills add CorridorTech/PoseCap --skill ad-hooks -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install CorridorTech/PoseCap ad-hooks --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/CorridorTech/PoseCap.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ad-hooks .claude/skills/ad-hooks && 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 "ad-hooks" agent skill from https://github.com/CorridorTech/PoseCap/tree/main/.claude/skills/ad-hooks into .claude/skills/ad-hooks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ad-hooks", 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/CorridorTech/PoseCap/tree/main/.claude/skills/ad-hooksType 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 CorridorTech/PoseCap --skill ad-hooks -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install CorridorTech/PoseCap ad-hooks --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/CorridorTech/PoseCap.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/ad-hooks .agents/skills/ad-hooks && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ad-hooks" agent skill from https://github.com/CorridorTech/PoseCap/tree/main/.claude/skills/ad-hooks into .agents/skills/ad-hooks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ad-hooks", 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 CorridorTech/PoseCap --skill ad-hooks -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install CorridorTech/PoseCap ad-hooks --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/CorridorTech/PoseCap.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/ad-hooks .cursor/skills/ad-hooks && 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 "ad-hooks" agent skill from https://github.com/CorridorTech/PoseCap/tree/main/.claude/skills/ad-hooks into .cursor/skills/ad-hooks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ad-hooks", 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/CorridorTech/PoseCap.git --path .claude/skills/ad-hooks--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 CorridorTech/PoseCap --skill ad-hooks -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install CorridorTech/PoseCap ad-hooks --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/CorridorTech/PoseCap.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/ad-hooks .gemini/skills/ad-hooks && 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 "ad-hooks" agent skill from https://github.com/CorridorTech/PoseCap/tree/main/.claude/skills/ad-hooks into .gemini/skills/ad-hooks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ad-hooks", 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 CorridorTech/PoseCap ad-hooksInstalls 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 CorridorTech/PoseCap --skill ad-hooks -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/CorridorTech/PoseCap.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/ad-hooks .github/skills/ad-hooks && 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 "ad-hooks" agent skill from https://github.com/CorridorTech/PoseCap/tree/main/.claude/skills/ad-hooks into .github/skills/ad-hooks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ad-hooks", 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 CorridorTech/PoseCap --skill ad-hooks -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install CorridorTech/PoseCap ad-hooks --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/CorridorTech/PoseCap.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/ad-hooks .opencode/skills/ad-hooks && 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 "ad-hooks" agent skill from https://github.com/CorridorTech/PoseCap/tree/main/.claude/skills/ad-hooks into .opencode/skills/ad-hooks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ad-hooks", 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.
ad-hooksScaffold deterministic quality gates per WORKFLOW.md §11 — pre-commit (lint, format, secret-scan), pre-push (build, unit, integration).
Ad Hooks is an agent skill from CorridorTech/PoseCap. Scaffold deterministic quality gates per WORKFLOW.md §11 — pre-commit (lint, format, secret-scan), pre-push (build, unit, integration). Detects the project's stack and recommends a hook runner (Husky / lefthook / pre-commit / native), scaffolds the runner config, and updates AGENTS.md Quality Gates. Use when the user wants to wire hooks, configure pre-commit / pre-push, set up quality gates, prevent --no-verify bypass, or close the WORKFLOW §11 advisory-vs-deterministic gap. Opt-in skill; not auto-installed in…
Its SKILL.md is about 2.4k 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 Testing & QA, covering Quality gates, Project scaffolding and Agent instruction files. It works with npm. The licence is Apache-2.0.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 626701b. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteGlobBashFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmgitleakscargonpxruffgoblackpytestnodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm 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 no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ad Hooks loads about 2.4k tokens when it runs. Until then it costs about 136 tokens; SKILL.md has 1,178 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 noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Read, Write, Glob, BashAutomated 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 CorridorTech/PoseCap at commit 626701b, republished under its Apache-2.0 licence (© CorridorTech). 1,178 words, ~2,432 tokens.
.claude/skills/ad-hooks/SKILL.md (or your agent's skills folder).Scaffolds the deterministic gates WORKFLOW.md §11 names. The skill writes config files for a hook runner and updates AGENTS.md Quality Gates; it does not execute install scripts. The user is responsible for the runner's one-time bootstrap (e.g., npx husky init, lefthook install, pre-commit install) — the skill says exactly which command to run.
WORKFLOW.md §11 names two tiers:
--no-verify; keep it under ~5s.Confirm both tiers are in scope for this project. If the user wants only one tier, scaffold only that tier — do not add gates the user did not ask for.
Visual / E2E for UI projects (Cypress, Playwright, Claude in Chrome) are mentioned by §11 but live in CI, not pre-push. Out of scope for this skill.
Read the repo signals in this order:
.husky/ → Husky present. lefthook.yml or .lefthook.yml → lefthook present. .pre-commit-config.yaml → pre-commit present. .git/hooks/ with non-sample scripts → native hooks present.package.json → Node-rooted; recommend Husky (most common in Node ecosystem) or lefthook (cross-language fit). pyproject.toml → Python-rooted; recommend pre-commit. go.mod → Go-rooted; recommend lefthook. Cargo.toml → Rust-rooted; recommend lefthook. Multiple stacks → recommend lefthook (cross-language by default)..git/hooks/ only as fallback. Warn the user that native hooks are not portable across clones (every contributor has to run a setup script).If multiple runners are present, surface the conflict and ask the user before scaffolding. Never silently pick.
For the chosen runner, propose the per-tier command set:
package.json present): lint = npm run lint (fall back to npx eslint . if no lint script); format check = npm run format:check (fall back to npx prettier --check .); secret-scan = gitleaks detect --no-banner (cite the install instruction); build = npm run build (skip if no script); test = npm test.pyproject.toml present): lint = ruff check .; format check = ruff format --check . or black --check .; secret-scan = gitleaks detect --no-banner; test = pytest -q.go.mod present): lint = golangci-lint run; format check = gofmt -d .; secret-scan = gitleaks detect --no-banner; build = go build ./...; test = go test ./....Cargo.toml present): lint = cargo clippy -- -D warnings; format check = cargo fmt --check; secret-scan = gitleaks detect --no-banner; build = cargo build; test = cargo test.Offer to swap any default. Confirm before writing.
Write the runner-specific config file. Below are the canonical shapes; adapt to the user's tier choices.
Husky — .husky/pre-commit and .husky/pre-push (shell scripts). Plus a prepare script in package.json ("prepare": "husky"). User runs npm install once to bootstrap.
lefthook — lefthook.yml at the repo root with pre-commit and pre-push commands keyed by stage. User runs lefthook install once.
pre-commit (pre-commit.com) — .pre-commit-config.yaml referencing the canonical hooks for the stack (e.g., pre-commit/mirrors-eslint, psf/black, astral-sh/ruff-pre-commit). User runs pre-commit install and pre-commit install --hook-type pre-push.
Native .git/hooks/ — .git/hooks/pre-commit and .git/hooks/pre-push plus a setup-hooks.sh script the user runs after every clone (since .git/ is not committed). Document the setup-script invocation in AGENTS.md.
AGENTS.md Quality Gates sectionAppend (or refresh, if a Quality Gates section already exists) the following content:
## Quality Gates
Deterministic enforcement — agent cannot skip.
- Pre-commit hook (fast): <stack-specific lint, format, secret-scan commands>
- Pre-push hook (thorough): <stack-specific build, unit, integration commands>
- Hook runner: <Husky | lefthook | pre-commit | native>; config at <path>
- Bootstrap: <one-line setup command>
- CI blocks on: <list — skip if CI not yet wired>
- Never bypass: no `--no-verify`, no skipped hooks, no deleted failing tests. WORKFLOW §11 is binding.Honor the existing managed-skills / managed-quality-gates markers if ad-bootstrap already wrote a Quality Gates section. The skill refreshes the section in place; user content outside the markers is preserved.
Local gates must mirror what CI runs — same commands, same matrix. WORKFLOW §11: "CI failure is a local gate gap." Read the CI config and compare.
.github/workflows/*.yml (GitHub Actions), .gitlab-ci.yml (GitLab CI), .circleci/config.yml (Circle), azure-pipelines.yml (Azure), .buildkite/pipeline.yml (Buildkite). If none, note the gap and stop this step — the mirror check has no target.run: / script: steps from the CI config. Focus on test / lint / typecheck / build invocations; ignore checkout, setup, cache, publish steps.ubuntu-latest, macos-latest), feature flags. These become the pre-push matrix requirement when they change the failure surface.CI runs <cmd> — pre-push does not. Add to pre-push or CI will catch what local won't. For each matrix dimension CI covers that pre-push does not (e.g., pre-push runs Node 22 only, CI runs 20 + 22), warn: CI matrix <dim>=<values>, pre-push runs <value>. Failures under <missing-value> will only surface in CI.Node --version iteration, feature-flag pass). Ask the user before writing — matrix mirroring can be expensive; the user picks.The mirror check runs after Step 4 wrote the config, so gap edits layer on top of a working scaffold. If the CI surface is absent, note: "No CI config detected — pre-push is the only gate. Add CI so contributors cannot bypass via --no-verify and re-run this skill to re-mirror."
After writing the config, output exactly the bootstrap command the user must run (e.g., npm install for Husky, lefthook install for lefthook, pre-commit install for pre-commit). The skill does not execute the bootstrap — that is the user's call.
If the user is wiring CI alongside hooks (GitHub Actions / GitLab CI / Circle), point them at the existing .github/workflows/, .gitlab-ci.yml, or .circleci/ directory. CI scaffolding is a separate skill's responsibility (deferred — not this one).
Filesystem changes:
.husky/pre-commit, lefthook.yml, .pre-commit-config.yaml).AGENTS.md Quality Gates section (or appended if absent), naming the runner, the gates wired, the bootstrap command, and the no-bypass policy.setup-hooks.sh script the user runs after every clone.The skill does not execute the runner's install command. The skill does not write CI config. The skill does not configure agent-side hooks (.claude/settings.json Stop / PreToolUse / PostToolUse) — that is a different surface; future ADR may cover it.
A narrative document, so the documentation discipline rules apply at write time:
npm install, lefthook install, pre-commit install)..github/workflows/, GitLab CI, or equivalent) so contributors cannot bypass via --no-verify. WORKFLOW §11 binding./ad-drift periodically to confirm hooks stay wired as the project evolves.© CorridorTech, Apache-2.0. 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 .claude/skills/ad-hooks of CorridorTech/PoseCap.
Open the folder on GitHubat commit 626701b
Ad Hooks 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 |
|---|---|---|---|---|---|---|
| Ad Hooks this skillCorridorTech/PoseCap | 224 | — | ~2.4k | Automated safety check: Notes | Apache-2.0 | |
| Quality Gatesandymai/brepjs | 114 | — | ~3.2k | Automated safety check: Pass | Apache-2.0 | |
| Django Verification Loopaffaan-m/ECC | 275k | 7 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Npx CLIjwynia/agent-skills | 166 | — | ~2.4k | Automated safety check: Pass | None | |
| Create Saleor Packagesaleor/apps | 162 | — | ~608 | Automated safety check: Pass | Custom licence | |
| Deno Runtime and Package Managerdenoland/skills | 100 | — | ~2.7k | Automated safety check: Pass | MIT |
andymai/brepjs
This skill should be used when a local brepjs quality gate or npm run validate step fails and the specific rule's fix or escape hatch is needed — ESLint errors like "no-explicit-any" or "Direct .oc…
affaan-m/ECC
Runs a phased pre-PR and pre-deploy check on a Django project: environment, linting, migrations, tests with coverage, security scans and settings review.
jwynia/agent-skills
Build and publish npx-executable CLI tools using Bun as the primary toolchain with npm-compatible output.
saleor/apps
Scaffold a new shared package in the saleor-apps monorepo under ./packages/.
denoland/skills
Guides writing, running and configuring Deno 2.9+ projects: installing npm and JSR dependencies, permissions, config file precedence and the built-in fmt, lint, test and compile toolchain.
codsen/codsen
Keep the repository's linted Markdown passing npm run lint:markdown.
CorridorTech/PoseCap
Draft a new ADR (Architecture Decision Record) at doc/adr/NNNN-<short-title.md, using Michael Nygard's Context/Decision/Consequences/Alternatives pattern.
CorridorTech/PoseCap
Generate ARCHITECTURE.md at the repo root by scanning the code first, pre-filling layers/patterns/observability/deployment from observed signals, then asking only the genuine gaps.
CorridorTech/PoseCap
Hard-delete completed plan files (tasks Status:done, specs Status:shipped, PRDs Status:superseded, ADRs Status:superseded or deprecated) via git rm, leaving git history as the only ledger.
CorridorTech/PoseCap
Read-only drift audit — compare AGENTS.md, ARCHITECTURE.md, ADR statuses, feature specs in doc/specs/, and documentation discipline against what the code actually does.
CorridorTech/PoseCap
Survey the project's state across the six-layer artifact stack and recommend prioritized next actions, modeled on flutter doctor.
CorridorTech/PoseCap
Generate AGENTS.md at the repo root by scanning the codebase first, pre-filling placeholders from observed signals, and asking only the genuine gaps.
Works with
Categories
Scaffold deterministic quality gates per WORKFLOW.md §11 — pre-commit (lint, format, secret-scan), pre-push (build, unit, integration). Ad Hooks is an agent skill from CorridorTech/PoseCap.md §11 — pre-commit (lint, format, secret-scan), pre-push (build, unit, integration).
Ad Hooks fits situations like: the user wants to wire hooks; configure pre-commit / pre-push; set up quality gates; prevent --no-verify bypass.
Run `npx skills add CorridorTech/PoseCap --skill ad-hooks -a claude-code`. Or copy the skill folder (.claude/skills/ad-hooks in CorridorTech/PoseCap) into .claude/skills/ad-hooks in your project. Claude Code loads it when a task matches its description.
Run `npx skills add CorridorTech/PoseCap --skill ad-hooks -a codex`. Or copy the skill folder (.claude/skills/ad-hooks in CorridorTech/PoseCap) into .agents/skills/ad-hooks 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 CorridorTech/PoseCap --skill ad-hooks -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ad-hooks, .gemini/skills/ad-hooks, .github/skills/ad-hooks and .opencode/skills/ad-hooks in your project.
Going by SKILL.md and its folder, Ad Hooks needs the command-line tools its instructions call (npm, gitleaks, cargo, npx, ruff and go). Our summary lists: Python 3; Node.js. Its frontmatter pre-approves these tools: Read, Write, Glob, Bash.
SKILL.md contains no URLs. Its commands use npm 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 notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Ad Hooks is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.7k 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 Ad Hooks: Quality Gates (andymai/brepjs, 114 stars), Django Verification Loop (affaan-m/ECC, 275k stars), Npx CLI (jwynia/agent-skills, 166 stars) and Create Saleor Package (saleor/apps, 162 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
CorridorTech (a GitHub organization) maintains it in CorridorTech/PoseCap, which has 224 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 7, 2026.
Source: CorridorTech/PoseCap on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.