← Back to list

testing-workflows
by matt-riley
Personal URL shortening service - Entirely written by Copilot
⭐ 0🍴 0📅 Jan 23, 2026
SKILL.md
name: testing-workflows description: Run, debug, and structure tests for this Go project (unit + integration), including generation prerequisites. Use when changing domain logic, repositories, HTTP handlers, or migrations. license: MIT compatibility: Requires bash, git, Go, and make. metadata: repo: mjrwtf runner: github-copilot-cli version: 1.3 allowed-tools: Bash(git:) Bash(make:) Bash(go:*) Read
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).
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon