Agent skill
go-development-loop
Follow an opinionated Go feedback loop with targeted tests, linting, local CI, security scans, dependency audits, coverage, benchmarking, generation, and migrations. Use when Codex is modifying Go code, setting up repeatable repo scripts, or tightening validation after a Go change.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/go-development-loop
SKILL.md
Go Development Loop
Run the helper scripts from the target repo root. They live under this skill's scripts/ directory and can either be executed in place or copied into the target repo if the user wants a permanent local workflow.
Defaults
- Prefer small, compilable changes.
- Write table-driven tests for behavior changes.
- Keep interfaces narrow.
- Use context-aware APIs and explicit error wrapping.
Core Loop
- Bootstrap tools if needed with
scripts/bootstrap-go-tools.sh. - Run the fast loop with
scripts/test-fast.sh [base-ref]. - Run the standard loop with
scripts/lint.sh. - Run the full loop with
scripts/ci-local.sh.
If a targeted test fails, isolate one failing test and switch to $go-debug-breakpoints or scripts/debug-test.sh.
Extended Loops
- Security:
scripts/security-scan.shandscripts/gosec-scan.sh - Dependencies:
scripts/deps-check.shandscripts/deps-upgrade.sh - Coverage:
scripts/coverage-report.sh [threshold] - Performance:
scripts/bench-run.shandscripts/bench-profile.sh - Generation:
scripts/generate.sh [path] - Migrations:
scripts/migrate.sh ... - Failure triage:
scripts/triage-failure.sh <logfile>
Review Rubric
Check for:
- correctness under edge cases
- concurrency safety
- error clarity and observability
- regression coverage for the changed path
Notes
scripts/test-fast.shfalls back to./...when it cannot find changed packages.scripts/ci-local.shlayers lint, race, coverage, and vulnerability checks.- Use
references/command-mapping.mdto translate the original Claude plugin commands into Codex usage.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?