·go-create-cache
</>

go-create-cache

cristiano-pacheco/ai-rules

Generate Go cache implementations following GO modular architechture conventions. Use when creating cache layers in internal/modules/<module>/cache/ - user state caching, session caching, rate limiting data, temporary data storage, or any domain cache that uses Redis for fast data access with TTL support.

7Installs·1Trend·@cristiano-pacheco

Installation

$npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-cache

SKILL.md

The cache uses redis.UniversalClient directly from the Bricks Redis package (github.com/cristiano-pacheco/bricks/pkg/redis).

Always use a helper method to build cache keys consistently:

Define TTL as a range at the package level to prevent cache stampede (multiple entries expiring simultaneously):

Generate Go cache implementations following GO modular architechture conventions. Use when creating cache layers in internal/modules/<module>/cache/ - user state caching, session caching, rate limiting data, temporary data storage, or any domain cache that uses Redis for fast data access with TTL support. Source: cristiano-pacheco/ai-rules.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-cache
Category
</>Dev Tools
Verified
First Seen
2026-02-17
Updated
2026-02-18

Quick answers

What is go-create-cache?

Generate Go cache implementations following GO modular architechture conventions. Use when creating cache layers in internal/modules/<module>/cache/ - user state caching, session caching, rate limiting data, temporary data storage, or any domain cache that uses Redis for fast data access with TTL support. Source: cristiano-pacheco/ai-rules.

How do I install go-create-cache?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/cristiano-pacheco/ai-rules --skill go-create-cache Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/cristiano-pacheco/ai-rules