api-integration
Use this skill when the user says 'API integration', 'connect APIs', 'sync data', 'data mapping', 'rate limiting', or needs…
Use when the user says 'shard this', 'split file', or when working with files over 1000 lines.
$ npx -y skills add cwinvestments/memstack --skill shard --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/shardContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when the user says 'shard this', 'split file', or when working with files over 1000 lines.
name: shard description: "Use when the user says 'shard this', 'split file', or when working with files over 1000 lines." version: 1.0.0
*Split monolithic files into focused, maintainable modules.*
When this skill activates, output:
`💎 Shard: Refactoring large file...`
Then execute the protocol below.
| Context | Status | |---------|--------| | **User says "shard", "split file", or "refactor"** | ACTIVE: full protocol | | **Editing a file over 1000 lines** | ACTIVE: suggest refactor | | **User says "refactor" for logic changes (not splitting)** | DORMANT: not a shard task | | **Discussing code organization concepts** | DORMANT: do not activate | | **File is under 500 lines** | DORMANT: not worth splitting |
1. **Identify the target file** and count lines:
wc -l <file>
2. **Analyze structure:**
3. **Propose the split**: present to user BEFORE executing:
4. **Execute the refactor:**
5. **Verify build:**
npm run build 2>&1 | tail -20
6. **Present result**: new file structure with line counts
**User:** "shard infrastructure/page.tsx: it's 1100 lines"
💎 Shard: Refactoring large file... infrastructure/page.tsx (1,110 lines) → 6 files: page.tsx (~120 lines), Main page, tab switcher RailwayTab.tsx (~200 lines), Railway monitoring HetznerTab.tsx (~180 lines), Hetzner monitoring HeadroomTab.tsx (~250 lines), Headroom + setup guide types.ts (~80 lines), Shared interfaces constants.ts (~60 lines): Status configs Build check: ✓ passed
The structured skill framework for Claude Code: 131 professional skills for deployment, security, databases, content, marketing, and more. Skills activate automatically when you need them. Say "deploy this to Railway" and the right skill loads on demand.
Use this skill when the user says 'API integration', 'connect APIs', 'sync data', 'data mapping', 'rate limiting', or needs…
Use this skill when the user says 'content pipeline', 'content automation', 'auto-publish', 'repurpose content', 'multi-platform…
Use this skill when the user says 'cron job', 'scheduled task', 'run every', 'cron expression', 'recurring job', or needs…
Use when the user says 'what MCP servers', 'find an MCP for', 'hosted MCP', 'list MCP servers', 'MCP catalog', 'available MCP…
Use this skill when the user says 'n8n workflow', 'build a workflow', 'automation workflow', 'connect services', or needs visual…
Use this skill when the user says 'webhook', 'webhook handler', 'webhook endpoint', 'receive events', 'HMAC verification',…