[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71FV2ZC8D9307Z7HVX46D28":3,"skill-same:01M71FV2ZC8D9307Z7HVX46D28":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":14,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M71FV2ZC8D9307Z7HVX46D28","go-code-standards",null,"Go code standards enforced across all skills. Loaded by other skills, not invoked directly.","outcomeeng\u002Fplugins","outcomeeng","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F257335685?v=4","01M71FRVRF36XYR3HRSCGFHK2R","Outcome Engineering","01M71FRVS4BZG17DWANFJ7EPNY",1,"MIT","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fgo\u002Fskills\u002Fgo-code-standards\u002FSKILL.md",[],[19,20,21,22,23,24,25,26],"standards","go","code standards","code","go code standards","false","read","across","2026-11-10 10:12:30",false,"---\nname: go-code-standards\nuser-invocable: false\ndescription: >-\n  Go code standards enforced across all skills. Loaded by other skills, not invoked directly.\nallowed-tools: Read\n---\n\n\u003Cobjective>\nThe canonical Go standards every Go skill enforces across implementation, testing, architecture, and review.\n\u003C\u002Fobjective>\n\n\u003Csuccess_criteria>\nGo work follows this standard when `gofmt -l .` prints nothing, `go vet .\u002F...`, the repository's linter (`staticcheck .\u002F...` or `golangci-lint run`), and `go test -race .\u002F...` pass, review finds no row of `\u003Canti_patterns>` present, and the code preserves meaningful type design, wrapped structured errors, explicit package boundaries, justified concurrency with context propagation, testable seams, and documented `unsafe` and cgo invariants, with repo-local overlays applied when present.\n\u003C\u002Fsuccess_criteria>\n\n\u003Creference_note>\nThis is a reference skill. Composing Go skills load these standards explicitly before writing, testing, or auditing. It is not a standalone workflow.\n\u003C\u002Freference_note>\n\n\u003Crepo_local_overlay>\nWhen another skill loads this reference inside a repository, it must also check for `spx\u002Flocal\u002Fgo.md` at the repository root. Read that file after this reference if it exists and apply it as repo-local routing to the product's governing specs and decisions. A local overlay supplements skill behavior; it does not declare product truth.\n\u003C\u002Frepo_local_overlay>\n\n\u003Cstandard_family>\nThis reference is the container; apply it before any specialized Go standard.\n\n| Work area                  | Specialized standard         | Purpose                                                                                    |\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------------------------------ |\n| test code                  | `\u002Fgo-test-standards`         | Go test filenames, levels, evidence rules, doubles, harnesses, fixtures, and examples      |\n| ADRs and architecture docs | `\u002Fgo-architecture-standards` | Go architecture decision structure, testability constraints, and architecture review rules |\n\nKeep examples in standardizing skills. The standardizing family owns reusable policy and concrete examples; workflow and load order belong to task skills.\n\u003C\u002Fstandard_family>\n\n\u003Ctooling_baseline>\n\nGo code follows the repository's actual toolchain. Unless a repo-local overlay states otherwise:\n\n- formatting uses `gofmt` and `goimports`\n- static analysis uses `go vet` and the repository's linter (`staticcheck` or `golangci-lint`)\n- compilation and tests run through `go build` and `go test -race`\n- public APIs and boundaries use explicit, named types\n\nThese standards are enforced by the compiler, vet, lint, and code review together. Passing one tool is not enough if the code still violates the architectural intent below.\n\n\u003C\u002Ftooling_baseline>\n\n\u003Ctype_system>\n\nUse the Go type system to encode meaning and constraints.\n\n- prefer defined types for domain identifiers and validated values\n- use typed constants with `iota` and a `String()` method instead of stringly-typed state\n- return `(T, error)` and check the error at the call site; a zero value plus a `bool` is for lookups, never for failure\n- keep exported signatures explicit and stable\n- make invalid states unrepresentable through constructors that validate and unexported fields that hold the result\n\n```go\n\u002F\u002F preferred\ntype UserID uint64\n\ntype JobStatus int\n\nconst (\n    JobPending JobStatus = iota\n    JobRunning\n    JobFailed\n    JobComplete\n)\n\nfunc (s JobStatus) String() string { \u002F* ... *\u002F }\n\n\u002F\u002F rejected\ntype UserID = uint64\nvar status string = \"running\"\n```\n\n\u003C\u002Ftype_system>\n\n\u003Cconstant_patterns>\n\nChoose the right Go construct for grouped constant values:\n\n| Pattern                                                       | When to use                                                               |\n| ------------------------------------------------------------- | ------------------------------------------------------------------------- |\n| `const Name Type = value`                                     | Simple scalar compile-time constant                                       |\n| typed constants with `iota` and `String()`                    | Closed set of values with type safety — prefer over bare string constants |\n| package-level `var` map initialized once, or `sync.OnceValue` | Map-like constants with complex initialization                            |\n\n```go\n\u002F\u002F ✅ preferred: a typed set for a closed vocabulary\ntype GateStatus string\n\nconst (\n    GatePass    GateStatus = \"pass\"\n    GateFail    GateStatus = \"fail\"\n    GateSkipped GateStatus = \"skipped\"\n)\n\n\u002F\u002F AllGateStatuses is the source-owned enumeration a mapping test iterates.\nvar AllGateStatuses = []GateStatus{GatePass, GateFail, GateSkipped}\n\n\u002F\u002F ✅ preferred: a constant map built once\nvar defaultHeaders = sync.OnceValue(func() map[string]string {\n    return map[string]string{\n        \"Content-Type\": \"application\u002Fjson\",\n        \"Accept\":       \"application\u002Fjson\",\n    }\n})\n\n\u002F\u002F ❌ rejected: scattered bare string constants without a type\nconst StatusPass = \"pass\"\nconst StatusFail = \"fail\"\n```\n\n**No re-export of library constants.** When production code and tests both need an HTTP status code, both import it from the same canonical source (`net\u002Fhttp`). Never create product-local aliases.\n\n```go\n\u002F\u002F ❌ rejected: product-local re-export\nconst HTTPOK = 200\n\n\u002F\u002F ✅ preferred: both production and test code import from the canonical source\nresp.StatusCode == http.StatusOK\n```\n\n\u003C\u002Fconstant_patterns>\n\n\u003Cvalues_pointers_and_sharing>\n\nValue semantics are a design tool. Choose pointer receivers and shared state deliberately.\n\n- use value receivers for small immutable types and pointer receivers when a method mutates or the type carries a mutex or large state; never mix receiver kinds on one type\n- pass `context.Context` as the first parameter of every function that blocks, does I\u002FO, or spawns work; never store it in a struct\n- share mutable state through a channel or a single owning goroutine before reaching for `sync.Mutex`\n- avoid package-level mutable variables; construct state and inject it\n- document long-lived shared state in architecture-level decisions\n\n```go\n\u002F\u002F preferred\nfunc Render(ctx context.Context, cfg *Config) (Output, error) { \u002F* ... *\u002F }\n\n\u002F\u002F suspicious unless justified\nvar globalConfig *Config\n\nfunc Render() Output { return render(globalConfig) }\n```\n\n\u003C\u002Fvalues_pointers_and_sharing>\n\n\u003Cerror_handling>\n\nError handling must preserve structure and intent.\n\n- wrap with `fmt.Errorf(\"...: %w\", err)` so callers can `errors.Is` and `errors.As`\n- define sentinel errors (`var ErrMissing = errors.New(...)`) for conditions callers branch on, and error structs for conditions that carry data\n- reserve `panic` for programmer errors and process-fatal startup requirements; never for expected failures\n- check every error; never discard one with `_` outside a documented, deliberate case\n- include enough context for operators and callers to act\n\n```go\ntype LoadConfigError struct {\n    Path string\n    Err  error\n}\n\nfunc (e *LoadConfigError) Error() string { return \"load config \" + e.Path + \": \" + e.Err.Error() }\nfunc (e *LoadConfigError) Unwrap() error { return e.Err }\n\nvar ErrConfigMissing = errors.New(\"config file missing\")\n```\n\n\u003C\u002Ferror_handling>\n\n\u003Cpackage_boundaries>\n\nUse packages, exported identifiers, and `internal\u002F` to enforce architecture.\n\n- keep struct fields unexported unless external mutation is part of the contract\n- expose constructors and behavior, not arbitrary mutation\n- define interfaces where they are consumed, keep them small, and accept them as parameters; return concrete types\n- keep adapters thin and domain logic isolated from transport, storage, and CLI glue\n- place packages no other module may import under `internal\u002F`\n\n```go\ntype Account struct {\n    balance Money\n}\n\nfunc (a *Account) Credit(amount Money) {\n    a.balance += amount\n}\n```\n\n\u003C\u002Fpackage_boundaries>\n\n\u003Cconcurrency_and_context>\n\nConcurrency choices need justification, and every goroutine has an owner.\n\n- every goroutine has a defined lifetime: it exits on context cancellation, channel close, or `errgroup` completion\n- propagate `context.Context` and honor cancellation in every blocking call\n- do not hold a mutex across a blocking call, channel operation, or callback\n- prefer `errgroup.Group` or a `sync.WaitGroup` plus a results channel over unstructured `go` statements\n- run the race detector in the declared test command\n\n```go\n\u002F\u002F preferred\ng, ctx := errgroup.WithContext(ctx)\nfor _, item := range items {\n    g.Go(func() error { return process(ctx, item) })\n}\nif err := g.Wait(); err != nil {\n    return err\n}\n```\n\n\u003C\u002Fconcurrency_and_context>\n\n\u003Ctesting_seams>\n\nCode supports evidence-rich tests without generated mocks.\n\n- inject external process runners, clocks, and boundary adapters through small interfaces or function parameters\n- use small hand-written fakes when a controlled implementation is needed\n- keep pure logic separable from boundary glue\n- do not make `gomock`, `mockery`, `moq`, a `mock.Mock` embedding, or similar generated or framework mocks the default strategy\n\n```go\ntype Clock interface {\n    Now() time.Time\n}\n\ntype Service struct {\n    clock Clock\n}\n\nfunc NewService(clock Clock) *Service { return &Service{clock: clock} }\n```\n\n\u003C\u002Ftesting_seams>\n\n\u003Cunsafe_and_cgo>\n\n`unsafe` and cgo are last-mile boundaries, not convenience features.\n\n- keep `unsafe` uses narrow and behind a safe wrapper\n- require a `\u002F\u002F SAFETY:` comment tied to the actual invariant at every `unsafe.Pointer` conversion\n- keep cgo calls in one package; convert to Go types at the boundary and free C memory in the same package\n- prefer `encoding\u002Fbinary`, `bytes`, and typed slices over pointer arithmetic\n\n```go\n\u002F\u002F SAFETY: b is a live slice of len bytes the caller keeps reachable for the call's duration.\ns := unsafe.String(unsafe.SliceData(b), len(b))\n```\n\n\u003C\u002Funsafe_and_cgo>\n\n\u003Ctool_preferences>\n\nPrefer Go-native tools and idioms unless a repo-local overlay says otherwise:\n\n- `flag` or `cobra` for CLI parsing\n- `encoding\u002Fjson` for serialization\n- `log\u002Fslog` for structured observability\n- `t.TempDir()` for tempdir-backed tests\n- `os\u002Fexec` against a harness-built binary for CLI tests\n- `pgregory.net\u002Frapid` for property testing\n- `github.com\u002Fgoogle\u002Fgo-cmp\u002Fcmp` for structural diffs in assertions\n- `net\u002Fhttp\u002Fhttptest` for HTTP boundaries\n- `testcontainers-go` for local services\n\n\u003C\u002Ftool_preferences>\n\n\u003Canti_patterns>\n\n| Anti-pattern                                     | Why it is rejected                                |\n| ------------------------------------------------ | ------------------------------------------------- |\n| stringly-typed domain states                     | loses invariants and discoverability              |\n| `context.Context` stored in a struct             | hides lifetime and cancellation from callers      |\n| discarded errors (`_ = f()`) in production paths | turns expected failures into silent corruption    |\n| exported mutable fields by default               | breaks encapsulation and invariant control        |\n| a mutex held across a blocking call              | deadlock and contention risk                      |\n| a goroutine with no exit condition               | leaks and unbounded resource growth               |\n| generated mocks as the default seam              | weakens evidence and severs reality-based testing |\n| `unsafe` used to bypass type design              | replaces clear design with soundness risk         |\n\n\u003C\u002Fanti_patterns>\n","\u003Cobjective>\nThe canonical Go standards every Go skill enforces across implementation, testing, architecture, and review.\n\u003C\u002Fobjective>\n\n\u003Csuccess_criteria>\nGo work follows this standard when `gofmt -l .` prints nothing, `go vet .\u002F...`, the repository's linter (`staticcheck .\u002F...` or `golangci-lint run`), and `go test -race .\u002F...` pass, review finds no row of `\u003Canti_patterns>` present, and the code preserves meaningful type design, wrapped structured errors, explicit package boundaries, justified concurrency with context propagation, testable seams, and documented `unsafe` and cgo invariants, with repo-local overlays applied when present.\n\u003C\u002Fsuccess_criteria>\n\n\u003Creference_note>\nThis is a reference skill. Composing Go skills load these standards explicitly before writing, testing, or auditing. It is not a standalone workflow.\n\u003C\u002Freference_note>\n\n\u003Crepo_local_overlay>\nWhen another skill loads this reference inside a repository, it must also check for `spx\u002Flocal\u002Fgo.md` at the repository root. Read that file after this reference if it exists and apply it as repo-local routing to the product's governing specs and decisions. A local overlay supplements skill behavior; it does not declare product truth.\n\u003C\u002Frepo_local_overlay>\n\n\u003Cstandard_family>\nThis reference is the container; apply it before any specialized Go standard.\n\n| Work area                  | Specialized standard         | Purpose                                                                                    |\n| -------------------------- | ---------------------------- | ------------------------------------------------------------------------------------------ |\n| test code                  | `\u002Fgo-test-standards`         | Go test filenames, levels, evidence rules, doubles, harnesses, fixtures, and examples      |\n| ADRs and architecture docs | `\u002Fgo-architecture-standards` | Go architecture decision structure, testability constraints, and architecture review rules |\n\nKeep examples in standardizing skills. The standardizing family owns reusable policy and concrete examples; workflow and load order belong to task skills.\n\u003C\u002Fstandard_family>\n\n\u003Ctooling_baseline>\n\nGo code follows the repository's actual toolchain. Unless a repo-local overlay states otherwise:\n\n- formatting uses `gofmt` and `goimports`\n- static analysis uses `go vet` and the repository's linter (`staticcheck` or `golangci-lint`)\n- compilation and tests run through `go build` and `go test -race`\n- public APIs and boundaries use explicit, named types\n\nThese standards are enforced by the compiler, vet, lint, and code review together. Passing one tool is not enough if the code still violates the architectural intent below.\n\n\u003C\u002Ftooling_baseline>\n\n\u003Ctype_system>\n\nUse the Go type system to encode meaning and constraints.\n\n- prefer defined types for domain identifiers and validated values\n- use typed constants with `iota` and a `String()` method instead of stringly-typed state\n- return `(T, error)` and check the error at the call site; a zero value plus a `bool` is for lookups, never for failure\n- keep exported signatures explicit and stable\n- make invalid states unrepresentable through constructors that validate and unexported fields that hold the result\n\n```go\n\u002F\u002F preferred\ntype UserID uint64\n\ntype JobStatus int\n\nconst (\n    JobPending JobStatus = iota\n    JobRunning\n    JobFailed\n    JobComplete\n)\n\nfunc (s JobStatus) String() string { \u002F* ... *\u002F }\n\n\u002F\u002F rejected\ntype UserID = uint64\nvar status string = \"running\"\n```\n\n\u003C\u002Ftype_system>\n\n\u003Cconstant_patterns>\n\nChoose the right Go construct for grouped constant values:\n\n| Pattern                                                       | When to use                                                               |\n| ------------------------------------------------------------- | ------------------------------------------------------------------------- |\n| `const Name Type = value`                                     | Simple scalar compile-time constant                                       |\n| typed constants with `iota` and `String()`                    | Closed set of values with type safety — prefer over bare string constants |\n| package-level `var` map initialized once, or `sync.OnceValue` | Map-like constants with complex initialization                            |\n\n```go\n\u002F\u002F ✅ preferred: a typed set for a closed vocabulary\ntype GateStatus string\n\nconst (\n    GatePass    GateStatus = \"pass\"\n    GateFail    GateStatus = \"fail\"\n    GateSkipped GateStatus = \"skipped\"\n)\n\n\u002F\u002F AllGateStatuses is the source-owned enumeration a mapping test iterates.\nvar AllGateStatuses = []GateStatus{GatePass, GateFail, GateSkipped}\n\n\u002F\u002F ✅ preferred: a constant map built once\nvar defaultHeaders = sync.OnceValue(func() map[string]string {\n    return map[string]string{\n        \"Content-Type\": \"application\u002Fjson\",\n        \"Accept\":       \"application\u002Fjson\",\n    }\n})\n\n\u002F\u002F ❌ rejected: scattered bare string constants without a type\nconst StatusPass = \"pass\"\nconst StatusFail = \"fail\"\n```\n\n**No re-export of library constants.** When production code and tests both need an HTTP status code, both import it from the same canonical source (`net\u002Fhttp`). Never create product-local aliases.\n\n```go\n\u002F\u002F ❌ rejected: product-local re-export\nconst HTTPOK = 200\n\n\u002F\u002F ✅ preferred: both production and test code import from the canonical source\nresp.StatusCode == http.StatusOK\n```\n\n\u003C\u002Fconstant_patterns>\n\n\u003Cvalues_pointers_and_sharing>\n\nValue semantics are a design tool. Choose pointer receivers and shared state deliberately.\n\n- use value receivers for small immutable types and pointer receivers when a method mutates or the type carries a mutex or large state; never mix receiver kinds on one type\n- pass `context.Context` as the first parameter of every function that blocks, does I\u002FO, or spawns work; never store it in a struct\n- share mutable state through a channel or a single owning goroutine before reaching for `sync.Mutex`\n- avoid package-level mutable variables; construct state and inject it\n- document long-lived shared state in architecture-level decisions\n\n```go\n\u002F\u002F preferred\nfunc Render(ctx context.Context, cfg *Config) (Output, error) { \u002F* ... *\u002F }\n\n\u002F\u002F suspicious unless justified\nvar globalConfig *Config\n\nfunc Render() Output { return render(globalConfig) }\n```\n\n\u003C\u002Fvalues_pointers_and_sharing>\n\n\u003Cerror_handling>\n\nError handling must preserve structure and intent.\n\n- wrap with `fmt.Errorf(\"...: %w\", err)` so callers can `errors.Is` and `errors.As`\n- define sentinel errors (`var ErrMissing = errors.New(...)`) for conditions callers branch on, and error structs for conditions that carry data\n- reserve `panic` for programmer errors and process-fatal startup requirements; never for expected failures\n- check every error; never discard one with `_` outside a documented, deliberate case\n- include enough context for operators and callers to act\n\n```go\ntype LoadConfigError struct {\n    Path string\n    Err  error\n}\n\nfunc (e *LoadConfigError) Error() string { return \"load config \" + e.Path + \": \" + e.Err.Error() }\nfunc (e *LoadConfigError) Unwrap() error { return e.Err }\n\nvar ErrConfigMissing = errors.New(\"config file missing\")\n```\n\n\u003C\u002Ferror_handling>\n\n\u003Cpackage_boundaries>\n\nUse packages, exported identifiers, and `internal\u002F` to enforce architecture.\n\n- keep struct fields unexported unless external mutation is part of the contract\n- expose constructors and behavior, not arbitrary mutation\n- define interfaces where they are consumed, keep them small, and accept them as parameters; return concrete types\n- keep adapters thin and domain logic isolated from transport, storage, and CLI glue\n- place packages no other module may import under `internal\u002F`\n\n```go\ntype Account struct {\n    balance Money\n}\n\nfunc (a *Account) Credit(amount Money) {\n    a.balance += amount\n}\n```\n\n\u003C\u002Fpackage_boundaries>\n\n\u003Cconcurrency_and_context>\n\nConcurrency choices need justification, and every goroutine has an owner.\n\n- every goroutine has a defined lifetime: it exits on context cancellation, channel close, or `errgroup` completion\n- propagate `context.Context` and honor cancellation in every blocking call\n- do not hold a mutex across a blocking call, channel operation, or callback\n- prefer `errgroup.Group` or a `sync.WaitGroup` plus a results channel over unstructured `go` statements\n- run the race detector in the declared test command\n\n```go\n\u002F\u002F preferred\ng, ctx := errgroup.WithContext(ctx)\nfor _, item := range items {\n    g.Go(func() error { return process(ctx, item) })\n}\nif err := g.Wait(); err != nil {\n    return err\n}\n```\n\n\u003C\u002Fconcurrency_and_context>\n\n\u003Ctesting_seams>\n\nCode supports evidence-rich tests without generated mocks.\n\n- inject external process runners, clocks, and boundary adapters through small interfaces or function parameters\n- use small hand-written fakes when a controlled implementation is needed\n- keep pure logic separable from boundary glue\n- do not make `gomock`, `mockery`, `moq`, a `mock.Mock` embedding, or similar generated or framework mocks the default strategy\n\n```go\ntype Clock interface {\n    Now() time.Time\n}\n\ntype Service struct {\n    clock Clock\n}\n\nfunc NewService(clock Clock) *Service { return &Service{clock: clock} }\n```\n\n\u003C\u002Ftesting_seams>\n\n\u003Cunsafe_and_cgo>\n\n`unsafe` and cgo are last-mile boundaries, not convenience features.\n\n- keep `unsafe` uses narrow and behind a safe wrapper\n- require a `\u002F\u002F SAFETY:` comment tied to the actual invariant at every `unsafe.Pointer` conversion\n- keep cgo calls in one package; convert to Go types at the boundary and free C memory in the same package\n- prefer `encoding\u002Fbinary`, `bytes`, and typed slices over pointer arithmetic\n\n```go\n\u002F\u002F SAFETY: b is a live slice of len bytes the caller keeps reachable for the call's duration.\ns := unsafe.String(unsafe.SliceData(b), len(b))\n```\n\n\u003C\u002Funsafe_and_cgo>\n\n\u003Ctool_preferences>\n\nPrefer Go-native tools and idioms unless a repo-local overlay says otherwise:\n\n- `flag` or `cobra` for CLI parsing\n- `encoding\u002Fjson` for serialization\n- `log\u002Fslog` for structured observability\n- `t.TempDir()` for tempdir-backed tests\n- `os\u002Fexec` against a harness-built binary for CLI tests\n- `pgregory.net\u002Frapid` for property testing\n- `github.com\u002Fgoogle\u002Fgo-cmp\u002Fcmp` for structural diffs in assertions\n- `net\u002Fhttp\u002Fhttptest` for HTTP boundaries\n- `testcontainers-go` for local services\n\n\u003C\u002Ftool_preferences>\n\n\u003Canti_patterns>\n\n| Anti-pattern                                     | Why it is rejected                                |\n| ------------------------------------------------ | ------------------------------------------------- |\n| stringly-typed domain states                     | loses invariants and discoverability              |\n| `context.Context` stored in a struct             | hides lifetime and cancellation from callers      |\n| discarded errors (`_ = f()`) in production paths | turns expected failures into silent corruption    |\n| exported mutable fields by default               | breaks encapsulation and invariant control        |\n| a mutex held across a blocking call              | deadlock and contention risk                      |\n| a goroutine with no exit condition               | leaks and unbounded resource growth               |\n| generated mocks as the default seam              | weakens evidence and severs reality-based testing |\n| `unsafe` used to bypass type design              | replaces clear design with soundness risk         |\n\n\u003C\u002Fanti_patterns>\n",{"name":5,"description":7,"allowed-tools":32,"user-invocable":28},"Read","main","978d51c51d68c99cffb2ba48f7cad9d2f07e5738","src\u002Fplugins\u002Fgo\u002Fskills\u002Fgo-code-standards","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins","https:\u002F\u002Fgithub.com\u002Foutcomeeng","https:\u002F\u002Foutcome.engineering","Spec-driven development for AI-assisted engineering","2026-11-14 20:33:56",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add outcomeeng\u002Fplugins --skill go-code-standards",{"tool":47,"command":48},"bunx","bunx skills add outcomeeng\u002Fplugins --skill go-code-standards",{"tool":50,"command":51},"pnpm","pnpm dlx skills add outcomeeng\u002Fplugins --skill go-code-standards","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fgo\u002Fskills\u002Fgo-code-standards\u002FSKILL.md",true,[],[56,62,89,105,115,123],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":27},"01M71G25RZTPQG9KJ00JCHC1F7","plugin","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Ftemplates\u002Fplugin\u002FSKILL.md",[],[58],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":27},"01M71G23DCX3SV60H63HBBKQ6J","sanitize-powerpoint","ALWAYS invoke this skill when sanitizing, cleaning up, auditing, or aligning a PowerPoint (.pptx) deck — slide-master and layout structure, layout type attributes, stray fonts, non-theme colors, or layout naming. NEVER hand-edit pptx XML without this skill.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fwork\u002Fskills\u002Fsanitize-powerpoint\u002FSKILL.md",[],[69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88],"sanitize powerpoint","powerpoint","sanitize","fonts","type","cleaning","structure","never","attributes","theme","pptx","naming","layout","deck","up","edit","xml","master","invoke","when",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":27},"01M71G21PQKBCDECHGVYSKPJW5","draw-excalidraw","ALWAYS invoke this skill when creating Excalidraw diagrams, visualizing workflows, architectures, or concepts. NEVER generate Excalidraw JSON without this skill.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Fwork\u002Fskills\u002Fdraw-excalidraw\u002FSKILL.md",[],[96,97,98,99,100,76,87,101,102,88,103,104],"draw excalidraw","excalidraw","draw","diagrams","architectures","generate","workflows","concepts","json",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":27},"01M71G1ZMNGFD37RZYM620XM2C","typescript-test-standards","TypeScript test standards enforced across all skills. Loaded by other skills, not invoked directly.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Ftypescript\u002Fskills\u002Ftypescript-test-standards\u002FSKILL.md",[],[112,113,114,19,24,25,26],"typescript","typescript test standards","test",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":27},"01M71G1XBH0X1VCTR7269MDGSY","typescript-code-standards","TypeScript code standards enforced across all skills. Loaded by other skills, not invoked directly.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Ftypescript\u002Fskills\u002Ftypescript-code-standards\u002FSKILL.md",[],[112,22,122,21,19,24,25,26],"typescript code standards",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":27},"01M71G1TQ3VN45SJ75DFMJDB9W","typescript-architecture-standards","TypeScript ADR conventions enforced across architect and auditor skills. Loaded by other skills, not invoked directly.","https:\u002F\u002Fgithub.com\u002Foutcomeeng\u002Fplugins\u002Fblob\u002Fmain\u002Fsrc\u002Fplugins\u002Ftypescript\u002Fskills\u002Ftypescript-architecture-standards\u002FSKILL.md",[],[130,19,131,132,112,133,134,26,25,135,24,136],"architecture standards","typescript architecture standards","architecture","adr","architect","auditor","conventions"]