本文へ移動
cccskills
無料GitHub で公開

nauthilus-redis-runtime

Use for Nauthilus Redis client, Redis Cluster/Sentinel/topology behavior, Redis-backed token/session/flow/cache/bruteforce state, Lua Redis scripts, `NOSCRIPT` recovery, script upload/retry behavior, redismock tests, local cache coordination, and fail-closed runtime state changes.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Nauthilus Redis Runtime

Expertise Lens

  • Work as a Redis and distributed-runtime reliability engineer for authentication state.
  • Optimize for fail-closed semantics, explicit Redis ownership, cluster-safe key design, Lua script resilience, redismock coverage, and production recovery behavior.
  • Treat NOSCRIPT, stale script handles, CROSSSLOT hazards, ambiguous Redis errors, real-Redis unit tests, and secret-bearing keys as reliability or security findings.

Sources To Read

  • AGENTS.md
  • POLICY.md
  • README_REDIS_CLUSTER.md
  • server/rediscli/
  • server/lualib/redislib/
  • server/localcache/
  • touched state owners under server/idp/, server/bruteforce/, server/core/, or server/policy/

Redis Rules

  • Use Redis as the explicit production state authority only for the state the code owns.
  • Keep Redis client initialization centralized in server/rediscli.
  • Avoid real Redis in unit tests; prefer redismock and rediscli.NewTestClient.
  • Preserve TLS, auth, Cluster, Sentinel, read/write routing, and timeout behavior when touching client setup.
  • For Lua scripts, keep script identity and source available for reload/retry paths.
  • On NOSCRIPT, re-upload once and retry the intended operation without hiding persistent failures.
  • Keep keys, metrics, and errors free of raw secrets.

Implementation Workflow

  1. Add a focused reproducer for the failing Redis or script behavior.
  2. Model runtime ambiguity explicitly: decide retry, fail-closed, or fallback based on the owning state semantics.
  3. Keep retry and script-upload logic shared instead of copied per command.
  4. Add redismock expectations and ExpectationsWereMet checks where useful.
  5. Consider Cluster hash-slot behavior when Lua scripts touch multiple keys.

Validation

  • Run focused tests with GOEXPERIMENT=runtimesecret.
  • Run Redis Lua package tests when server/lualib/redislib changes.
  • Run GOEXPERIMENT=runtimesecret make test and git diff --check.
  • Run make guardrails before commit or pull request.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use for Nauthilus OpenAPI, generated management or IdP clients, route contract tests, gRPC protobuf generation, HTTP route registration, management API authentication, public discovery API, `server/openapi`, `server/router`, `server/grpcapi`, `server/grpcclient`, and API-boundary client work.

日本語の概要は準備中です。原文の説明を表示しています。

croessner/nauthilus62026年10月12日 更新

Use for Nauthilus authentication and identity-provider work touching OIDC, OAuth2, SAML, MFA, TOTP, WebAuthn, recovery codes, LDAP-backed identity, browser login and consent flows, token/session/flow state, `private_key_jwt`, introspection, discovery metadata, endpoint-specific client authentication, and security-sensitive auth tests.

日本語の概要は準備中です。原文の説明を表示しています。

croessner/nauthilus62026年10月12日 更新

Use for Nauthilus configuration loading, config schema and defaults, Viper-backed config formats, config dump behavior, vim syntax generation, template validation, prompt guideline sync, documentation under README/IDP/server docs, config converters, and generated documentation or syntax artifacts.

日本語の概要は準備中です。原文の説明を表示しています。

croessner/nauthilus62026年10月12日 更新

Use for Nauthilus Lua plugins, Lua callback tests, policy compiler and registry work, Lua environment and subject sources, Lua actions, hooks, backend scripts, policy facts, obligation targets, `server/lualib`, `server/lua-plugins.d`, `server/policy`, and JSON fixtures under `testdata/lua`.

日本語の概要は準備中です。原文の説明を表示しています。

croessner/nauthilus62026年10月12日 更新

Use for Nauthilus native Go plugin API design or implementation, `pluginapi/v1`, plugin loader, plugin registry, plugin runtime, reload integration, plugin config, extension-point parity with Lua, capability-based host services, lifecycle semantics, and the working draft under `server/docs/go_plugin_api_working_draft.md`.

日本語の概要は準備中です。原文の説明を表示しています。

croessner/nauthilus62026年10月12日 更新

Use for Nauthilus validation, guardrails, dependency patch refreshes, vendoring, generated-output checks, `make release-guardrails`, govulncheck-sensitive publishing, structured commits, branch/tag choreography, website-doc side effects, and final clean-state reporting.

日本語の概要は準備中です。原文の説明を表示しています。

croessner/nauthilus62026年10月12日 更新

croessner のスキルをすべて見る

このスキルの問題を報告する