validation

Register and run named shell commands as repeatable CI-style validation checks.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/SaberAloui/agri-hub --skill validation-saberaloui
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: validation
Source: https://github.com/SaberAloui/agri-hub/tree/main/.local/skills/validation
Command: npx skills add https://github.com/SaberAloui/agri-hub --skill validation-saberaloui

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually re-running lint, test, and typecheck commands after every code change is repetitive and error-prone, and there is no consistent way to track which checks passed or failed. This Skill lets you register shell commands as named validation steps and run them as monitored, CI-style checks with structured results. ## Core Features & Use Cases - Named Validation Commands: Register shell commands like npm run lint or pytest under short names (lint, test, typecheck) with upsert behavior, and list or remove them anytime. - Monitored Validation Runs: Execute one or more registered commands in a single run and receive per-command status, exit codes, durations, log file paths, and an LLM-generated failure summary with log line citations. - Run Management: Stop running validations gracefully or forcefully, and query the status of current or past runs by ID. - Use Case: After implementing a feature in a Node.js project, register lint, test, and typecheck commands, run them together, and read the generated run summary to understand exactly what failed without digging through full logs. ## Quick Start Register lint and test as validation commands for my project, then run them and tell me what failed.

Frequently Asked Questions about validation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up CI-style checks for my project?▼

Register each check as a named validation command, such as lint mapped to npm run lint and test mapped to npm test. Then start a validation run with those command names to execute them together and receive structured pass/fail results.

How to run lint and test commands together and see results?▼

Register both commands with setValidationCommand, then call startValidationRun with their names. The run returns per-command status, exit codes, durations, log file paths, and a generated summary explaining any failures.

What validation commands should I use for Python or Go projects?▼

Common conventions are ruff check for lint, pytest for test, and mypy for typecheck in Python; golangci-lint run, go test ./..., and go vet ./... in Go. Use short lowercase names like lint, test, and typecheck regardless of stack.

Can I stop a validation run that is taking too long?▼

Yes, call stopValidationRun with the run ID to halt an in-progress run. It stops gracefully by default, but you can pass graceful as false to force an immediate stop.

When should I not use named validation commands?▼

Skip this approach for one-off test runs, where invoking the shell directly is simpler, and for deployment workflows, which belong to a deployment skill. It is designed for repeatable, named quality gates rather than ad-hoc commands.