Skip to content

notque/vexjoy-agent / skills/programming/programming

programming

Flagged

Language rules, workflows, and tooling: Go, Python, Rust, Kotlin, Swift, PHP, TypeScript type checks and debugging, OpenStack Python, MCP local-docs servers, Node.js backend APIs.

FileKindSize
SKILL.mdskill md19.3 KB
references/go/code-review.mdmarkdown12.0 KB
references/go/code-review/common-review-comments.mdmarkdown6.6 KB
references/go/concurrency.mdmarkdown11.5 KB
references/go/concurrency/concurrency-patterns.mdmarkdown5.7 KB
references/go/error-handling.mdmarkdown10.8 KB
references/go/error-handling/patterns.mdmarkdown4.2 KB
references/go/google-style-guide/SHA256SUMSother313 B
references/go/google-style-guide/UPSTREAM_REVISIONother41 B
references/go/google-style-guide/best-practices/part-01.mdmarkdown10.0 KB
references/go/google-style-guide/best-practices/part-02.mdmarkdown15.0 KB
references/go/google-style-guide/best-practices/part-03.mdmarkdown14.1 KB
references/go/google-style-guide/best-practices/part-04.mdmarkdown13.5 KB
references/go/google-style-guide/best-practices/part-05.mdmarkdown10.5 KB
references/go/google-style-guide/best-practices/part-06.mdmarkdown14.4 KB
references/go/google-style-guide/best-practices/part-07.mdmarkdown16.1 KB
references/go/google-style-guide/best-practices/part-08.mdmarkdown11.4 KB
references/go/google-style-guide/best-practices/part-09.mdmarkdown13.7 KB
references/go/google-style-guide/best-practices/part-10.mdmarkdown16.9 KB
references/go/google-style-guide/decisions/part-01.mdmarkdown15.0 KB
references/go/google-style-guide/decisions/part-02.mdmarkdown12.5 KB
references/go/google-style-guide/decisions/part-03.mdmarkdown11.5 KB
references/go/google-style-guide/decisions/part-04.mdmarkdown8.4 KB
references/go/google-style-guide/decisions/part-05.mdmarkdown9.8 KB
references/go/google-style-guide/decisions/part-06.mdmarkdown14.7 KB
references/go/google-style-guide/decisions/part-07.mdmarkdown13.3 KB
references/go/google-style-guide/decisions/part-08.mdmarkdown14.3 KB
references/go/google-style-guide/decisions/part-09.mdmarkdown15.3 KB
references/go/google-style-guide/decisions/part-10.mdmarkdown8.3 KB
references/go/google-style-guide/guide/part-01.mdmarkdown16.3 KB
references/go/google-style-guide/guide/part-02.mdmarkdown3.0 KB
references/go/google-style-guide/index.mdmarkdown8.4 KB
references/go/preferred-patterns.mdmarkdown12.5 KB
references/go/preferred-patterns/code-examples.mdmarkdown11.6 KB
references/go/quality-gate.mdmarkdown7.3 KB
references/go/quality-gate/common-lint-errors.jsonconfig7.6 KB
references/go/quality-gate/examples.mdmarkdown11.0 KB
references/go/quality-gate/makefile-targets.jsonconfig5.1 KB
references/go/sapcc-conventions.mdmarkdown34.6 KB
references/go/sapcc-conventions/api-design-detailed.mdmarkdown22.7 KB
references/go/sapcc-conventions/architecture-patterns.mdmarkdown18.6 KB
references/go/sapcc-conventions/build-ci-detailed.mdmarkdown18.7 KB
references/go/sapcc-conventions/error-handling-detailed.mdmarkdown20.1 KB
references/go/sapcc-conventions/extended-patterns.mdmarkdown7.1 KB
references/go/sapcc-conventions/go-bits-philosophy-detailed.mdmarkdown24.5 KB
references/go/sapcc-conventions/library-reference.mdmarkdown14.0 KB
references/go/sapcc-conventions/pr-mining-insights.mdmarkdown17.5 KB
references/go/sapcc-conventions/review-standards.mdmarkdown10.5 KB
references/go/sapcc-conventions/sapcc-code-patterns.mdmarkdown46.2 KB
references/go/testing.mdmarkdown9.7 KB
references/go/testing/go-benchmark-and-concurrency.mdmarkdown5.6 KB
references/go/testing/go-test-patterns.mdmarkdown9.0 KB
references/golang-general.mdmarkdown8.9 KB
references/golang-general/go-modern-code.mdmarkdown17.2 KB
references/golang-general/go-verification-workflow.mdmarkdown5.0 KB
references/golang-general/go-version-idioms.mdmarkdown6.8 KB
references/kotlin-general.mdmarkdown7.5 KB
references/kotlin-general/kotlin-patterns.mdmarkdown7.9 KB
references/kotlin-general/kotlin-security-testing.mdmarkdown4.4 KB
references/kotlin-general/kotlin-security.mdmarkdown11.1 KB
references/kotlin/concurrency-patterns.mdmarkdown5.4 KB
references/kotlin/kotlin-testing.mdmarkdown7.9 KB
references/mcp-local-docs.mdmarkdown6.9 KB
references/mcp-local-docs/mcp-patterns.mdmarkdown9.6 KB
references/mcp-local-docs/mcp-preferred-patterns.mdmarkdown6.9 KB
references/mcp-local-docs/server-templates.mdmarkdown4.4 KB
references/mcp-local-docs/typescript-async-patterns.mdmarkdown8.9 KB
references/nodejs-api.mdmarkdown7.3 KB
references/nodejs-api/auth-patterns.mdmarkdown10.0 KB
references/nodejs-api/middleware-patterns.mdmarkdown10.5 KB
references/nodejs-api/nodejs-security.mdmarkdown12.3 KB
references/nodejs-api/webhook-patterns.mdmarkdown9.9 KB
references/php-general.mdmarkdown4.7 KB
references/php-general/php-behaviors.mdmarkdown5.2 KB
references/php-general/php-conventions.mdmarkdown5.8 KB
references/php/modern-php-features.mdmarkdown4.4 KB
references/php/testing-patterns.mdmarkdown7.5 KB
references/python-general.mdmarkdown7.7 KB
references/python-general/flask-jinja-webapp.mdmarkdown5.7 KB
references/python-general/python-local-gates.mdmarkdown4.4 KB
references/python-general/python-modern-code.mdmarkdown23.1 KB
references/python-openstack.mdmarkdown5.2 KB
references/python-openstack/error-handling.mdmarkdown658 B
references/python-openstack/hacking-rules.mdmarkdown4.1 KB
references/python-openstack/openstack-patterns.mdmarkdown1.2 KB
references/python-openstack/oslo-patterns.mdmarkdown6.4 KB
references/python-openstack/output-format.mdmarkdown2.4 KB
references/python-openstack/preferred-patterns.mdmarkdown1.9 KB
references/python-openstack/rpc-versioning.mdmarkdown5.3 KB
references/rust-general.mdmarkdown8.2 KB
references/rust-general/rust-modern-code.mdmarkdown13.4 KB
references/rust-general/rust-verification-workflow.mdmarkdown5.5 KB
references/rust-general/rust-version-idioms.mdmarkdown7.0 KB
references/swift-general.mdmarkdown5.7 KB
references/swift-general/swift-patterns.mdmarkdown6.7 KB
references/swift-general/swift-security-testing.mdmarkdown6.6 KB
references/swift-general/swift-security.mdmarkdown13.3 KB
references/swift/preferred-patterns.mdmarkdown2.4 KB
references/swift/swift-testing.mdmarkdown6.6 KB
references/swift/task-patterns.mdmarkdown3.6 KB
references/typescript-debugging.mdmarkdown9.3 KB
references/typescript-debugging/debugging-workflows-async-memory.mdmarkdown5.8 KB
references/typescript-debugging/debugging-workflows.mdmarkdown5.6 KB
scripts/bench-compare.shscript7.1 KB
scripts/check-errors.shscript7.1 KB
scripts/check-interface-compliance.shscript6.4 KB
scripts/check-sapcc-auth-ordering.shscript5.5 KB
scripts/check-sapcc-httptest.shscript4.4 KB
scripts/check-sapcc-identify-endpoint.shscript5.8 KB
scripts/check-sapcc-json-strict.shscript4.9 KB
scripts/check-sapcc-time-now.shscript4.2 KB
scripts/check-sapcc-todo-format.shscript4.1 KB
scripts/gen-table-test.shscript4.2 KB
scripts/quality_checker.pyscript16.2 KB
scripts/sync-google-style-guide.pyscript2.5 KB
scripts/validate.pyscript6.3 KB

references/go/sapcc-conventions/library-reference.md

View on GitHub
# SAP CC Library Reference

Complete dependency map for SAP Converged Cloud Go projects. Extracted from `sapcc/keppel` go.mod, `.golangci.yaml`, and usage analysis. **go-bits inventory refreshed against `sapcc/go-bits@b9734b4` (2026-06-23).**

---

## APPROVED Direct Dependencies (30 total)

### SAP CC Internal (3)

| Library | Version | Files | Purpose | Key Functions/Types |
|---------|---------|-------|---------|---------------------|
| `github.com/sapcc/go-bits` | latest | 23 packages, ~67 src files | Core framework | See go-bits subpackage table below |
| `github.com/sapcc/go-api-declarations` | v1.24.0 | ~20 | Shared API types | `bininfo`, `cadf.Event`, `liquid` |
| `github.com/databus23/goslo.policy` | latest | 1 | OpenStack policy.json enforcement | Policy rule evaluation |

### Related Libraries (2)

| Library | Version | Files | Purpose | Key Pattern |
|---------|---------|-------|---------|-------------|
| `github.com/majewsky/gg/option` | latest | ~45 | `Option[T]` type | Dot-import: `. "github.com/majewsky/gg/option"` |
| `github.com/majewsky/schwift/v2` | v2.0.0 | ~5 | OpenStack Swift client | Storage driver only |

**gg/option usage patterns**:
```go
// Model fields
NextBlobSweepedAt Option[time.Time] `db:"next_blob_sweep_at"`
ExternalPeerURL   Option[string]    `json:"external_peer_url,omitzero"`

// Constructing
val := Some("hello")
empty := None[string]()

// Unpacking
if v, ok := opt.Unpack(); ok {
    use(v)
}
v := opt.UnwrapOr("default")
```

### Infrastructure / Cloud (3)

| Library | Version | Files | Purpose |
|---------|---------|-------|---------|
| `github.com/gophercloud/gophercloud/v2` | v2.12.0 | ~15 | OpenStack SDK (Keystone, Swift) |
| `github.com/prometheus/client_golang` | v1.23.2 | ~20 | Prometheus metrics |
| `github.com/redis/go-redis/v9` | v9.18.0 | ~10 | Redis client |

### OCI / Container (4)

| Library | Version | Files | Purpose |
|---------|---------|-------|---------|
| `github.com/containers/image/v5` | latest | ~10 | OCI/Docker manifest parsing |
| `github.com/opencontainers/go-digest` | latest | ~15 | Content-addressable digests |
| `github.com/opencontainers/image-spec` | v1.1.1 | ~10 | OCI image spec types |
| `github.com/opencontainers/distribution-spec` | latest | ~4 | Distribution error codes |

### Web / HTTP (3)

| Library | Version | Files | Purpose |
|---------|---------|-------|---------|
| `github.com/gorilla/mux` | v1.8.1 | ~20 | HTTP routing |
| `github.com/rs/cors` | v1.11.1 | 1 | CORS middleware |
| `github.com/timewasted/go-accept-headers` | latest | 1 | Accept header parsing |

### Database (3)

| Library | Version | Files | Purpose |
|---------|---------|-------|---------|
| `github.com/go-gorp/gorp/v3` | v3.1.0 | ~15 | SQL ORM (PostgreSQL) |
| `github.com/dlmiddlecote/sqlstats` | latest | 2 | SQL pool metrics for Prometheus |
| `github.com/go-redis/redis_rate/v10` | v10.0.1 | 4 | Redis-based rate limiting |

### Security / Crypto (1)

| Library | Version | Files | Purpose |
|---------|---------|-------|---------|
| `github.com/golang-jwt/jwt/v5` | v5.3.1 | 2 | JWT token handling |

### CLI (1)

| Library | Version | Files | Purpose |
|---------|---------|-------|---------|
| `github.com/spf13/cobra` | v1.10.2 | ~10 | CLI framework |

### Utility (3)

| Library | Version | Files | Purpose |
|---------|---------|-------|---------|
| `github.com/gofrs/uuid/v5` | latest | 4 | UUID generation |
| `github.com/hashicorp/golang-lru/v2` | latest | 1 | LRU cache (validation cache) |
| `github.com/google/cel-go` | latest | 2 | CEL for validation rules |

### Testing (1)

| Library | Version | Files | Purpose |
|---------|---------|-------|---------|
| `github.com/alicebob/miniredis/v2` | latest | 1 | In-memory Redis for tests |

---

## go-bits Subpackage Usage

Inventory verified against `sapcc/go-bits@b9734b4` (2026-06-23). 23 packages total. "Files" column counts approximate downstream usage in `sapcc/keppel`.

| Subpackage | Files | Purpose | Key Functions/Types |
|------------|-------|---------|---------------------|
| `logg` | 48 | Logging | `Info()`, `Error()`, `Fatal()`, `Debug()`, `ShowDebug` |
| `assert` | 27 (tests) | Test assertions — **thin forwarder to `go.xyrillian.de/gg/assert`** as of 2026-06 | `Equal[V]()`, `ErrEqual()`, `DeepEqual[V]()` |
| `must` | 30 | Fatal error shorthand | `Succeed`, `Return`, `SucceedT`, `ReturnT`, `BeOK`, `BeOKT`, `NotBeOK`, `NotBeOKT` |
| `sqlext` | 18 | SQL helpers | `ForeachRow()`, `WithPreparedStatement()`, `RollbackUnlessCommitted()`, `SimplifyWhitespace()` |
| `respondwith` | 17 | HTTP responses | `JSON()`, `ErrorText()`, `ObfuscatedErrorText()`, `CustomStatus()`, `CustomHeader()` |
| `httpapi` | 20 | HTTP API framework | `Compose()`, `IdentifyEndpoint()`, `IdentifyUser()`, `SkipRequestLog()` |
| `httptest` | (tests) | Method-chaining HTTP test framework | `Handler`, `RespondTo`, `Response.ExpectBody`, `Response.ExpectHeader`, `Response.CaptureJSON`, `Response.CaptureHeader`, `MergeRequestOptions` |
| `errext` | 15 | Error handling | `ErrorSet`, `As[T]()`, `IsOfType[T]()`, `JoinedError` |
| `osext` | 11 | Environment access | `MustGetenv()`, `NeedGetenv()`, `GetenvBool()`, `GetenvOrDefault()`, `MissingEnvError` |
| `jobloop` | 10 | Background workers | `Job` (iface), `CronJob`, `ProducerConsumerJob[T]`, `TxGuardedJob`, `DefaultJitter`, `NoJitter` |
| `httpext` | 9 | HTTP server | `ListenAndServeContext()`, `ListenAndServeTLSContext()`, `ContextWithSIGINT()` |
| `easypg` | 7 | PostgreSQL setup | `Configuration{}`, `Connect()`, `Init()`, `WithTestDB()`, `AssertDBContent()`, `Tracker`, `TableSnapshot` |
| `audittools` | 13 | CADF audit events via RabbitMQ | `NewAuditor()`, `Auditor`, `MockAuditor`, `Observer`, `MockAuditor.ExpectEvents` (MIME-aware JSON diffs) |
| `pluggable` | 8 | Driver plugins | `Registry[T]`, `Plugin` interface, `PluginTypeID` |
| `regexpext` | 5 | Regex config types | `PlainRegexp`, `BoundedRegexp`, `ConfigSet[K,V]`, `Pick`, `Option` |
| `gophercloudext` | 3 | OpenStack auth (lightweight `gophercloud/utils` alternative) | `NewProviderClient()`, `GetProjectIDFromTokenScope()`, `UnpackError` |
| `gopherpolicy` | 1 | Keystone authZ | `Token.Check`, `Token.Require`, `Token.Enforce` (error-returning, 2026-05+), `TokenValidator`, `SerializeCompactContextToJSON`, `DeserializeCompactContextFromJSON` |
| `mock` | 1 | Test doubles | `Clock`, `NewClock()`, `StepBy()`, `AddListener` |
| `syncext` | 1 | Concurrency | `Semaphore`, `Run()`, `RunFallible()`, `NewSemaphore()` |
| `liquidapi` | (server) | LIQUID API server runtime + fair-distribution helpers | `NewClient`, `Client`, `GetInfo`, `DistributeFairly`, `DistributeDemandFairly` |
| `promquery` | — | Simplified Prometheus query interface, bulk caching | `NewBulkQueryCache`, `Client.GetVector`, `Get` |
| `secrets` | — | Auth credentials + env-var binding for secret fields | `FromEnv`, `UnmarshalJSON`, `UnmarshalYAML` |
| `vault` | — | HashiCorp Vault helpers | `CreateClient` |

### go-bits changes since 2026-01 (worth flagging in review)

| Change | Commit (short) | Effect on consumer code |
|--------|----------------|-------------------------|
| `assert` package becomes a thin wrapper around `go.xyrillian.de/gg/assert` | 90af602 | Existing imports still compile; prefer `gg/assert` directly in NEW code in keppel/limes; deprecation deferred. |
| `assert.HTTPRequest{}` removed | 8b79638 | Migrate HTTP tests to `httptest.Handler` + `RespondTo` + `Response.ExpectBody`/`ExpectHeader`/`CaptureJSON` method chain. |
| `respondwith.CustomHeader` added | ef7eeca | Combine with `CustomStatus` to attach headers to error responses. |
| `httpapi.IdentifyUser` added | f63acfb | Attaches user identity (opaque string) to the REQUEST log line; pair with `IdentifyEndpoint`. |
| `must.BeOK` / `BeOKT` / `NotBeOK` / `NotBeOKT` added | 89cf13f, 0e5c058 | New shorthand for `(value, ok)` pairs and inverse — analogue of `must.Return` for the comma-ok idiom. |
| `gopherpolicy.Token.Enforce` (error-returning) | 2026-05 | Compose with `respondwith.ErrorText`/`CustomStatus` for clean 401/403 flow. |
| `audittools.MockAuditor.ExpectEvents` MIME-aware diffs | 42a3e06 | Diffs of nested JSON inside `application/json` attachments now use structural compare. |
| `audittools.AuditorOpts.QueueDurable` removed | 7cd042d | Durability is now determined by queue name; `dataplaneAuditQueueName` is durable, others transient. |
| `testing.T` → `testing.TB` in public signatures | 6042f07 | Broadens compatibility for custom test-helper types. |
| Minimum Go version raised to 1.26 | — | Consumer go.mod must match. |

---

## Replaced Libraries

### By golangci-lint forbidigo

| Pattern | Reason | Use Instead |
|---------|--------|-------------|
| `ioutil.*` | Deprecated since Go 1.16 | `os` and `io` packages |
| `http.DefaultServeMux` | Global mutable state; packages silently add handlers | `http.NewServeMux()` |
| `http.Handle()` / `http.HandleFunc()` | Registers on DefaultServeMux | Use router directly |
| `gopkg.in/square/go-jose.v2` (entire pkg) | Archived, has CVEs | `gopkg.in/go-jose/go-jose.v2` |
| `github.com/coreos/go-oidc` (entire pkg) | Depends on archived go-jose | `github.com/coreos/go-oidc/v3` |
| `github.com/howeyc/gopass` (entire pkg) | Archived | `golang.org/x/term` |

### By Convention (not in linter, but will fail review)

| Library | Reason | Use Instead |
|---------|--------|-------------|
| `testify` (assert/require/mock) | SAP CC has own testing framework | `go-bits/assert` (forwarder to `gg/assert`) + `go-bits/must` |
| `zap` / `zerolog` / `slog` | SAP CC standardized on simple logging | `go-bits/logg` |
| `logrus` | Only present as transitive dep | `go-bits/logg` |
| `gin` / `echo` / `fiber` | SAP CC uses stdlib + gorilla/mux | `go-bits/httpapi` + `gorilla/mux` |
| `gorm` / `sqlx` / `ent` | Lightweight ORM preference | `go-gorp/gorp/v3` + `go-bits/sqlext` |
| `google/uuid` / `satori/uuid` | Different UUID library chosen | `gofrs/uuid/v5` |
| `viper` | No config files; env-var-only | `go-bits/osext` + `os.Getenv` |
| `chi` / `httprouter` / stdlib `mux` | gorilla/mux established | `gorilla/mux` |
| `gophercloud/utils` | Too many dependencies | `go-bits/gophercloudext` |
| `testcontainers` | Different test approach | `go-bits/easypg` + `miniredis` |
| `gomock` / `mockery` | Manual mocks preferred | Hand-written test doubles |

---

## PREFERRED Patterns (Use This, Not That)

| Category | Use This | Not This | Reason |
|----------|----------|----------|--------|
| Logging | `go-bits/logg` | `zap`, `zerolog`, `logrus`, `slog` | SAP CC standard |
| Test assertions | `go-bits/assert` (or `gg/assert` directly) | `testify/assert`, `testify/require` | Generics-based; `go-bits/assert` is a thin wrapper around `gg/assert` since 2026-06 |
| HTTP responses | `go-bits/respondwith` | manual `json.Marshal` + `w.Write` | `respondwith.JSON()`, `ObfuscatedErrorText()`, `CustomStatus()` + `CustomHeader()` |
| HTTP test helpers | `go-bits/httptest` | `httptest.NewRecorder` boilerplate, removed `assert.HTTPRequest{}` | `Handler` + `RespondTo` + `Response.ExpectBody`/`ExpectHeader`/`CaptureJSON` method chain |
| HTTP lifecycle | `go-bits/httpext` | manual signal handling | `ListenAndServeContext()` with graceful shutdown |
| HTTP framework | `go-bits/httpapi` | gin, echo, fiber | Middleware with logging, metrics |
| Fatal errors | `go-bits/must` | manual `if err != nil { log.Fatal }` | `must.Succeed(err)`, `must.Return(val, err)` |
| Env vars | `go-bits/osext` | manual `os.Getenv` | `MustGetenv()`, `GetenvBool()` |
| SQL helpers | `go-bits/sqlext` | manual row iteration | `ForeachRow()`, `SimplifyWhitespace()` |
| DB setup | `go-bits/easypg` | manual migration setup | PostgreSQL init + test DB |
| Background jobs | `go-bits/jobloop` | manual goroutine loops | `CronJob`, `ProducerConsumerJob` |
| Error collections | `go-bits/errext` | manual error slices | `ErrorSet` with `Add()`, `Join()` |
| Plugin registry | `go-bits/pluggable` | manual factory maps | `Registry[T]` for driver patterns |
| OpenStack auth | `go-bits/gophercloudext` | `gophercloud/utils` | Lightweight `NewProviderClient()` |
| Optional values | `gg/option` (`Option[T]`) | `*T` pointers | `Some(v)` / `None[T]()` |
| UUID | `gofrs/uuid/v5` | `google/uuid` | SAP CC standard |
| HTTP router | `gorilla/mux` | `chi`, `httprouter` | Established choice |
| CLI | `spf13/cobra` | `urfave/cli` | `AddCommandTo()` pattern |
| ORM | `go-gorp/gorp/v3` | `gorm`, `sqlx`, `ent` | Lightweight mapping |

---

## Import Grouping Rules

Enforced by `goimports -local github.com/sapcc/keppel`:

```go
import (
    // Group 1: Standard library
    "context"
    "database/sql"
    "encoding/json"
    "fmt"
    "net/http"

    // Group 2: External (includes sapcc/go-bits, NOT local project)
    imageManifest "github.com/containers/image/v5/manifest"
    "github.com/go-gorp/gorp/v3"
    . "github.com/majewsky/gg/option"              // dot-import (ONLY gg/option)
    "github.com/opencontainers/go-digest"
    "github.com/sapcc/go-bits/errext"               // sapcc/* sorts with external
    "github.com/sapcc/go-bits/logg"

    // Group 3: Local project imports
    "github.com/sapcc/keppel/internal/keppel"
    "github.com/sapcc/keppel/internal/models"
)
```

Key rules:
- `sapcc/go-bits` and `sapcc/go-api-declarations` sort in Group 2 (external), NOT Group 3 (local)
- Only `gg/option` uses dot-import
- Side-effect imports use blank identifier: `_ "github.com/sapcc/keppel/internal/drivers/openstack"`
- Package aliases for clarity: `imageManifest`, `keppelv1`, `registryv2`

---

## Dot-Import Whitelist (staticcheck)

Only these packages may be dot-imported:
- `github.com/majewsky/gg/option`
- `github.com/onsi/ginkgo/v2`
- `github.com/onsi/gomega`

---

## errcheck Excluded Functions

These return values may be safely ignored:
- `encoding/json.Marshal` -- only fails on unmarshalable types (programmer error)
- `(net/http.ResponseWriter).Write` -- errors handled by HTTP server
- `(*github.com/spf13/cobra.Command).Help` -- writes to stdout

---

## Dependency License Allowlist

From `.license-scan-rules.json`:

```
Apache-2.0, BSD-2-Clause, BSD-2-Clause-FreeBSD, BSD-3-Clause,
EPL-2.0, ISC, MIT, MPL-2.0, Unlicense, Zlib
```

Any new dependency must have one of these licenses or be added to `.license-scan-overrides.jsonl`.
rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).Stars: 197kUpdated Claude CodeCodexUnverifiedInstall
doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.Stars: 197kUpdated Claude CodeCodexVerifiedInstall