Agent skill
testing-workflows
Run, debug, and structure tests for this Go project (unit + integration), including generation prerequisites. Use when changing domain logic, repositories, HTTP handlers, or migrations.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/testing-workflows
Metadata
Additional technical details for this skill
- repo
- mjrwtf
- runner
- github-copilot-cli
- version
- 1.3
SKILL.md
Tooling assumptions
- Use a terminal runner with bash and git available.
- Prefer
maketargets when available; fall back to direct CLI commands when needed.
Fast paths
- All tests (runs generation first):
make test
- Unit tests only:
make test-unit
- Integration tests only (HTTP server suite):
make test-integration
Debugging failures
- If you see compile errors for generated packages, run:
make generate
- Re-run the failing package with verbose output:
go test -v ./path/to/pkg
- If the failure is DB-related, confirm
DATABASE_URLis correct and migrations are applied (for integration setups).
What to cover when adding features
- Domain validation (table-driven tests).
- Repository behavior (in-memory SQLite tests).
- HTTP behavior (status codes + auth + schemas).
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?