sharding-pattern

Define hash-based sharding patterns across four shards with 32 tables.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/taku-o/go-webdb-template --skill sharding-pattern
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sharding-pattern
Source: https://github.com/taku-o/go-webdb-template/tree/main/.claude/skills/sharding-pattern
Command: npx skills add https://github.com/taku-o/go-webdb-template --skill sharding-pattern

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill defines a hash-based sharding pattern across four shards with 32 tables, guiding developers on table naming, shard routing, and cross-shard queries.

Core Features & Use Cases

  • Table naming & routing: GetTableName and GetShardID patterns
  • Cross-shard queries: Cross-table queries across shards
  • Migration guidance: Consistent approach across all shards

Quick Start

Use this pattern when implementing data access that must span multiple shards; Claude will provide a guideline for routing and table selection.