원클릭으로
add-go-test
Write or extend Go unit tests in this repo. Use when the user asks to add or update Go tests.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Write or extend Go unit tests in this repo. Use when the user asks to add or update Go tests.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Set up a fresh authgear-server development environment from scratch. Use when onboarding a new contributor, setting up a new machine, or when the user says "set up local dev from scratch" / "first-time setup". Covers the asdf + Homebrew install path on macOS; Nix users should follow CONTRIBUTING.md directly.
Audit and fix dependency vulnerabilities in Go and Node.js packages. Runs govulncheck for Go and npm audit for each package.json directory. Commits fixes directory by directory.
Update Authgear email templates using the correct source files, translation files, and commit order. Use when editing email wording, email structure, or subject lines.
Draft or update detailed implementation plans for authgear-server specs, design changes, and docs/plans files. Use when Codex needs to turn a spec or outdated plan into a concrete implementation plan with exact files, exact methods, runtime call flow, compatibility requirements, test coverage, and atomic commit steps.
Write end-to-end (e2e) tests for authgear-server. Use when the user asks to write, add, or create e2e tests. The tests live in e2e/tests/ and are YAML-driven.
Full pipeline for adding a new Site Admin API feature — from OpenAPI spec through implementation plan to working service. Use when adding a new endpoint or filling in real data for an existing stub.
SOC 직업 분류 기준
| name | add-go-test |
| description | Write or extend Go unit tests in this repo. Use when the user asks to add or update Go tests. |
| argument-hint | <package or behavior> |
Follow this skill when adding Go tests.
Always inspect existing *_test.go files in the package first. This repo uses different testing styles in different packages:
Convey (BDD-style): Many packages use github.com/smartystreets/goconvey. Identified by import . "github.com/smartystreets/goconvey/convey" and test structure like:
func TestFoo(t *testing.T) {
Convey("description", func() {
// assertions here
So(result, ShouldEqual, expected)
})
}
Standard testing.T: Some packages use plain *testing.T with manual assertions.
When in doubt, use Convey if the package has any imports of it. Convey provides better error messages and matches the repo's BDD conventions.
*_test.go files first to identify the testing style being used.go test on the affected package. If the change crosses packages or touches shared code, run the narrowest broader test set that proves the change is safe.So() assertions for consistency with the package style, not manual if statements.