check

Run pre-push quality checks (vet + lint + tests with race detector). Use before pushing code.

12 stars

Best use case

check is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Run pre-push quality checks (vet + lint + tests with race detector). Use before pushing code.

Teams using check should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/check/SKILL.md --create-dirs "https://raw.githubusercontent.com/PeterBooker/veloria/main/.claude/skills/check/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/check/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How check Compares

Feature / AgentcheckStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Run pre-push quality checks (vet + lint + tests with race detector). Use before pushing code.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Pre-Push Quality Checks

Run the full quality gate: vet, lint, and tests with race detection. Stops at the first failure category.

## Usage

- `/check` - Check all packages
- `/check ./internal/repo/...` - Check specific package

## Steps

1. **Run go vet**
   ```bash
   go vet $ARGUMENTS 2>&1
   ```
   If no arguments: `go vet ./... 2>&1`

   If vet fails, report errors and stop.

2. **Run golangci-lint**
   ```bash
   golangci-lint run $ARGUMENTS 2>&1
   ```
   If no arguments: `golangci-lint run ./... 2>&1`

   If lint fails, report errors and stop.

3. **Run tests with race detector**
   ```bash
   go test -race -timeout 5m $ARGUMENTS 2>&1
   ```
   If no arguments: `go test -race -timeout 5m ./... 2>&1`

4. **Report results**
   ```
   ## Pre-Push Check Results

   | Step | Status |
   |------|--------|
   | go vet | pass/fail |
   | golangci-lint | pass/fail |
   | go test -race | pass/fail |

   ### Issues
   - [details of any failures]
   ```

## CI Alignment

This mirrors what CI runs on every push. Running `/check` locally before pushing avoids CI failures and saves time.

Related Skills

We are still matching the closest adjacent skills for this page. In the meantime, continue through the full directory.