Linter Runner
Testing & Qualitylinter-runnerLinter Runner is an Agent Skill for testing & quality published in the pilinux/gorest repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Execute repository linters and surface highest-priority issues with minimal, targeted fixes.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/pilinux/gorest/blob/HEAD/.agents/skills/linter-runner/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/linter-runner, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Linter Runner
When to Use
- After formatting and before/after tests or PR creation to ensure linter parity with CI.
Rules
- Use the repository's configured linter commands (see
AGENTS.md). - Prioritize actionable issues: security/correctness > concurrency > API misuse > style.
- Provide minimal code-change suggestions; avoid large refactors unless explicitly requested.
Commands
- Primary:
golangci-lint run --timeout 5m --verbose ./...(CI uses golangci-lint v2.12.2) - Secondary:
revive ./...
Output
- Top findings (5-15) grouped by file and rule.
- One-line fix suggestion per finding.
- Verification steps (re-run lint, run focused tests).
Related Skills
code-formatter,static-analysis,test-runner