setup
/setup
Set up CodeGate in a local Git repository when the user requests it. Detect test and lint commands, vendor the runner, and install per-repository Git pre-commit and pre-push hooks.
- Author
- Relay-harness ↗
- Repository
- codegate ↗
- Licence
- MIT
- Last repository change
- 29.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 29.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Set up CodeGate in a local Git repository when the user requests it. Detect test and lint commands, vendor the runner, and install per-repository Git pre-commit and pre-push hooks.
Original author description
Set up CodeGate in a local Git repository when the user requests it. Detect test and lint commands, vendor the runner, and install per-repository Git pre-commit and pre-push hooks.
How it works
SKILL.md has no level-two headings · 11 lines, 237 words
SKILL.md preview
--- name: setup description: Set up CodeGate in a local Git repository when the user requests it. Detect test and lint commands, vendor the runner, and install per-repository Git pre-commit and pre-push hooks. --- # Set up the repository 1. Resolve the intended repository with `git rev-parse --show-toplevel`. Use an absolute repository path and confirm Python 3.11+ and Git are available. Stop if the local checkout cannot be accessed. 2. Read existing codegate.toml, package scripts, and hook-manager configuration. Explain the detected commands and review them before executing project code. Do not overwrite an existing policy or hook manager. 3. Resolve the bundled `scripts/codegate` launcher from this skill's location: it is at `../../scripts/codegate` relative to this SKILL.md directory. Use its absolute path. Run `sh "/absolute/plugin/scripts/codegate" --repo "/absolute/repository" init --git`. 4. If core.hooksPath is managed by Husky or another manager, use `init` without `--git`, then explain how to call `python3 .codegate/runner.py check --mode commit` and `--mode push` from the existing manager. Do not replace its settings. 5. Show generated codegate.toml. If no checks were found, ask for the project's actual test command and add an argv-array check. Do not report success with an empty policy. Run the gate only after the project commands have been reviewed. 6. Run the bundled launcher's `doctor` and `check` actions for the target repository. In this edition, a missing Claude Bash hook is expected: no agent lifecycle hook is bundled. Verify the requested Git hooks and report the actual quality-check result. 7. Ask the user to review codegate.toml and .codegate/runner.py for committing, unless a commit was already requested. Installation does not itself commit, push, deploy, or authorize shipping.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · Relay-harness/codegate | 86 | MIT |
| HwangSlater/harness-fit | 100 | MIT |
| nesquikm/dev-process-toolkit | 100 | MIT |
| userKael/rastro | 100 | MIT |
| als-apg/osprey | 100 | BSD-3-Clause |
| dedujeong/gemba | 100 | Apache-2.0 |
| eigenwise/eigenwise-toolshed | 100 | MIT |
| awrshift/agent-memory-kit | 100 | MIT |
| lifecycle-innovations-limited/claude-ops | 100 | MIT |
Database snapshot: 13.11.2026 · package version 1635648d926d (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100git-hooks-setup
Use when setting up git hooks (pre-commit, commit-msg, pre-push) with husky or native hooks for linting, formatting, commit conventions, and secret scanning. - 100git-hooks
Set up and configure Git pre-commit hooks for code quality, secrets scanning, and commit message validation. Use when installing git hooks, configuring pre-commit checks, or enforcing code standards. - 95dx-git-hooks-setup
Use when setting up pre-commit and pre-push git hooks on any project (JS/TS, Go, shell scripts, or mixed), auditing whether an existing hook setup meets minimum requirements, or adding new mandatory checks to existing hooks. Triggered by "set up commit hooks", "add pre-commit… - 100pre-commit-hook-setup
Configure pre commit hook setup operations. Auto-activating skill for DevOps Basics. Triggers on: pre commit hook setup, pre commit hook setup Part of the DevOps Basics skill category. Use when working with pre commit hook setup functionality. Trigger with phrases like "pre… - 100kickstart-guardrails
Installs the project's guardrails in enforced or advised mode: pre-commit and pre-push git hooks (secret scanning, lint, tests), CI gates (dependency vulnerabilities, secret scan, tests), repository settings (branch protection, push protection), and agent hooks so Claude Code… - 90git-commit-push
Commit and push repository changes safely. Use when user asks to commit, push, or verify and push current changes.