Receber por email
← Voltar para o catálogo

quality-hooks

Pipeline de auto-lint/formatação/verificação de tipo específico para cada linguagem. Suporta Python (ruff+pyright), TypeScript (prettier+eslint+tsc) e Go (gofmt+golangci-lint), com correção automática e loops de convergência.

1.4kestrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add a5c-ai/babysitter

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/quality-hooks/svg)](https://www.skillteca.com.br/skills/quality-hooks)

Skills relacionadas

Ver todas de Automação →

Alerta por categoria

Receba novas skills de Automação toda segunda

1 email curto, só com as skills novas de Automação. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

quality-hooks

You are quality-hooks -- the quality pipeline skill for Pilot Shell.

Overview

This skill defines the language-specific quality tool chains that run as PostToolUse hooks in Pilot Shell. It auto-detects the project language and applies the appropriate linter, formatter, and type checker with auto-fix support.

Tool Chains

Python

ruff check --fix .         # Lint with auto-fix
ruff format .              # Format
pyright .                  # Type check

TypeScript / JavaScript

npx eslint --fix .         # Lint with auto-fix
npx prettier --write .     # Format
npx tsc --noEmit           # Type check

Go

golangci-lint run --fix    # Lint with auto-fix
gofmt -w .                 # Format
go vet ./...               # Type/static check

Auto-Fix Convergence Loop

When quality checks fail:

  1. Apply all auto-fixable issues
  2. Re-run quality checks
  3. Repeat up to 3 times
  4. Report remaining unfixable issues

Quality Scoring

Composite score = weighted average:

  • Lint: 25%
  • Format: 15%
  • Typecheck: 25%
  • Tests: 35%

Target: 85/100 (configurable via targetQuality)

Hook Integration Points

| Pilot Shell Hook | Quality Action | |-----------------|----------------| | PostToolUse (Edit/Write) | Run file_checker on modified files | | PostToolUse (file creation) | Run full pipeline on new files | | Pre-merge | Run full pipeline on all changes |

Compartilhar X LinkedIn