redis avatar

Redis Core

Teaches you Redis data modeling fundamentals: picking the right structure for your access pattern and naming keys consistently. Covers when to use Hash versus JSON for objects, why serialized strings are usually a mistake, and the colon-separated naming convention that keeps large keyspaces maintainable. Most useful when you're starting a new Redis-backed feature or cleaning up a messy keyspace where half the keys are camelCase URLs and the other half are random prefixes. The guidance is opinionated but practical, with a clear decision table and real anti-patterns called out. Written by Redis, Inc., so it reflects current best practices rather than outdated Stack Overflow answers.

skills.sh installs
4.4K
GitHub stars
175
last updated
Aug 21, 2026

Install

$ npx -y skills add redis/agent-skills --skill redis-core --agent claude-code

Installs into .claude/skills of the current project.

Files

Redis Core

Foundational guidance for modeling data in Redis. Covers data-type selection and key-name conventions — the two decisions that most directly drive memory, performance, and maintainability.

When to apply

  • Caching objects, sessions, or per-user state.
  • Counters, leaderboards, recent-items lists, unique-membership sets.
  • Reviewing or refactoring Redis key names.
  • Deciding between a Redis Hash and a JSON document for an entity.

1. Choose the right data structure

Pick the type that matches the access pattern, not just the shape of the data.

Sponsors

Details

Repository
github.com/redis/agent-skills
Categories
Backend & APIs, Code Review & Quality, AI & Agent Building, Databases
First seen
Jul 14, 2026

More from redis/agent-skills

All 8
1jeffallan avatargraphql-architectjeffallan/claude-skillsUse when designing GraphQL schemas, implementing Apollo Federation, or building real-time subscriptions. Invoke for schema design, resolvers with DataLoader, qu4.3Kskills.sh installs
2giuseppe-trisciuoglio avatarspring-ai-mcp-server-patternsgiuseppe-trisciuoglio/developer-kitProvides Spring Boot MCP server patterns that create Model Context Protocol servers with Spring AI by defining tool handlers, exposing resources, configuring pr3.9Kskills.sh installs
3giuseppe-trisciuoglio avatarlangchain4j-mcp-server-patternsgiuseppe-trisciuoglio/developer-kitProvides LangChain4j patterns for implementing MCP (Model Context Protocol) servers, creating Java AI tools, exposing tool calling capabilities, and integrating3.8Kskills.sh installs
4apollographql avatargraphql-operationsapollographql/skillsGuide for writing GraphQL operations (queries, mutations, fragments) following best practices. Use this skill when: (1) writing GraphQL queries or mutations, (23.8Kskills.sh installs
5dotnet avatarconvert-blazor-server-to-webappdotnet/skillsGuides conversion of a pre-.NET 8 Blazor Server app into a .NET 8+ Blazor Web App. USE FOR: migrating apps that use AddServerSideBlazor and MapBlazorHub to the 3.7Kskills.sh installs
6android avataredge-to-edgeandroid/skillsUse this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues. Use this skill to fix UI components (lik3.7Kskills.sh installs