tankpkg

tankpkg

@tankpkg Organization

GitHub
43 Skills
43 Total Stars
March 2026 Joined

Public Skills

@tank/framer-motion

by tankpkg

Motion for React (formerly Framer Motion) animation mastery. Covers the complete API: motion component, AnimatePresence, layout animations, spring physics, scroll-linked animations, gestures, motion values, useAnimate, variants/orchestration, SVG animation, drag, performance optimization, LazyMotion code splitting, and accessibility (reduced motion). Includes production-ready recipes for page transitions, modals, staggered lists, shared element transitions, parallax, and interactive components. Synthesizes Motion.dev documentation (2025-2026), Nabors (Animation at Work), Head (Designing Interface Animation), Saffer (Microinteractions), Kowalski (Animations on the Web), and production patterns from Linear, Vercel, and Notion. Trigger phrases: "framer motion", "motion/react", "motion component", "animate", "AnimatePresence", "exit animation", "layout animation", "layoutId", "shared layout", "spring animation", "spring physics", "useAnimate", "useScroll", "useMotionValue", "useTransform", "useSpring", "scroll animation", "parallax", "whileHover", "whileTap", "whileInView", "whileDrag", "gesture animation", "drag animation", "variants", "staggerChildren", "page transition", "modal animation", "enter animation", "exit animation", "keyframes", "motion value", "LazyMotion", "MotionConfig", "Reorder", "SVG path animation", "pathLength", "reduced motion", "animation performance", "layout animation gotcha", "spring preset", "tween", "easing", "stagger", "orchestration", "animate presence", "motion react", "framer-motion to motion", "motion library react"

Accessibility 1 2mo ago

@tank/llm-app-patterns

by tankpkg

Build production-grade LLM-powered applications — RAG systems, tool-using agents, structured output extraction, streaming responses, and cost optimization. Covers the full engineering stack for apps built on top of foundation models, not model training. Synthesizes Huyen (AI Engineering), Brousseau & Sharp (LLMs in Production), Bouchard & Peters (Building LLMs for Production), Lanham (AI Agents in Action), Arsanjani & Bustos (Agentic Architectural Patterns), Rothman (RAG-Driven Generative AI). Trigger phrases: "RAG", "retrieval-augmented generation", "vector search", "chunking strategy", "embedding", "reranking", "hybrid search", "tool use", "function calling", "tool calling", "agent", "agentic", "multi-agent", "orchestrator", "structured output", "JSON mode", "Instructor", "Pydantic", "streaming", "server-sent events", "SSE", "token streaming", "LLM cost", "model routing", "semantic cache", "prompt caching", "LLM evaluation", "LLM-as-judge", "RAGAS", "hallucination", "faithfulness", "golden dataset", "LLM in production", "LLMOps", "build with LLMs", "LLM application"

Agents 1 2mo ago

@tank/frontend-craft

by tankpkg

Expert frontend craft for building apps that make users go "wow, this is fast and easy." Covers micro-interactions, perceived performance, premium component patterns, visual polish, state choreography, component architecture, and shadcn registry discovery via the CLI. Synthesizes Saffer (Microinteractions), Wathan/Schoger (Refactoring UI), Krug (Don't Make Me Think), Yablonski (Laws of UX), Nabors (Animation at Work), Tidwell (Designing Interfaces), plus production patterns from Linear, Vercel, Notion, and the external component ecosystem. Trigger phrases: "micro-interaction", "make it feel fast", "loading state", "skeleton screen", "optimistic update", "framer motion", "animation", "command palette", "data table", "TanStack Table", "toast notification", "sonner", "cmdk", "shadcn", "UI polish", "wow factor", "delightful UI", "premium feel", "perceived performance", "empty state", "page transition", "error state", "form UX", "modal pattern", "visual polish", "spring animation", "aceternity", "aceternity ui", "3d card", "parallax scroll", "text effect", "animated background", "hero section", "spotlight effect", "aurora background", "bento grid", "card hover", "typewriter effect", "text generate", "floating navbar", "background beams", "lamp effect", "sparkles", "shadcn space", "shadcnspace", "dashboard blocks", "marketing blocks", "landing page blocks", "pricing section", "testimonials", "feature section", "animated button", "animated component", "21st.dev", "21st dev", "react bits", "reactbits", "fancy components", "fancycomponents", "physics animation", "variable font", "letter swap", "gravity effect", "elastic line", "scramble text", "pixel trail", "css buttons", "neumorphism"

Design 1 2mo ago

@tank/notion

by tankpkg

"Query, create, and update Notion pages, databases, and blocks through the Notion API. Covers database CRUD with typed properties (select, relation, rollup, formula), compound filters, page content as block trees, search across workspaces, and pagination patterns. Triggers: notion, database, page, block, query, filter, property, relation, rollup, block tree, Notion API, workspace, toggle, callout, create page, update page."

Auth 1 2mo ago

@tank/bdd-e2e-testing

by tankpkg

"BDD end-to-end testing against real systems. Covers web apps (Playwright), libraries (pytest-bdd + Docker), APIs, CLIs, message queues. Gherkin writing, step definitions, Page Objects, Screenplay, 3-layer architecture, CI/CD, multi-language (TypeScript, Python, Java, .NET). Triggers: BDD test, Gherkin, Cucumber, feature file, Given When Then, playwright-bdd, pytest-bdd, Behave, Cucumber-JVM, Serenity BDD, Reqnroll, Example Mapping, Three Amigos, living documentation, BDD setup, BDD architecture."

API Dev 1 2mo ago

@tank/github-issues

by tankpkg

Expert management of GitHub Issues via the gh CLI and GitHub platform. Covers the full issue lifecycle: creating, triaging, editing, closing, and linking issues to PRs. Includes issue templates (classic .md and modern YAML forms), search and filtering, label taxonomy design, milestones, Projects v2 integration, gh api scripting for bulk operations, GitHub Actions automation (stale, labeler, auto-assign, welcome bot), and issue-driven development workflows. Synthesizes GitHub CLI documentation, GitHub REST/GraphQL API reference, GitHub Actions marketplace, and production OSS issue management patterns. Trigger phrases: "github issue", "gh issue", "create issue", "close issue", "issue template", "issue form", "ISSUE_TEMPLATE", "triage issue", "label issue", "milestone", "stale issues", "bulk close issues", "search issues", "gh search issues", "issue automation", "config.yml blank issues", "issue-driven", "sub-issues", "gh issue develop", "gh label", "issue workflow", "gh api issues", "bulk operations issues", "issue forms yaml", "closing keywords fixes closes resolves"

Code Gen 1 2mo ago

@tank/opencode-agent-creator

by tankpkg

Create specialized OpenCode agents that assume specific roles — frontend architect, DevOps SRE, database specialist, code reviewer, or any domain expert. Covers agent anatomy (markdown and JSON formats), role design (persona, expertise, behavioral directives), system prompt engineering, tool permissions, oh-my-opencode integration (categories, skill injection, delegation wiring), and converting existing Tank skills into standalone agents. Synthesizes OpenCode source (sst/opencode), oh-my-opencode v3.x agent system, and production agent analysis. Trigger phrases: "create agent", "opencode agent", "new agent", "convert skill to agent", "make an agent", "agent from skill", "custom agent", "specialized agent", "agent template", "agent for", "agent configuration", "agent role", "create a specialist", "build agent", ".opencode/agent"

Agents 1 2mo ago

@tank/bdd-issue-fixer

by tankpkg

Resolve GitHub issues using BDD — read the issue, write a behavioral test, confirm it fails (RED), fix the code, confirm it passes (GREEN), open a PR with test + fix as proof. Covers issue triage (bug vs feature vs invalid vs duplicate), issue-to-Gherkin translation, the relentless RED-GREEN fix cycle, fix verification, PR submission with evidence, and related issue detection. Synthesizes Smart/Molak (BDD in Action), Beck (TDD By Example), Nicieja (Writing Great Specifications), SWE-bench (Princeton NLP), and Sweep.dev patterns. Trigger phrases: "fix this issue", "resolve issue", "fix GitHub issue", "BDD fix", "issue to test", "write test for issue", "red green fix", "triage issue", "duplicate issue", "related issues", "fix and PR", "issue fixer", "auto-fix issue", "resolve bug report"

Code Review 1 2mo ago

@tank/gmail

by tankpkg

"Send, read, search, label, and manage email through the Gmail API. Covers composing (plain text, HTML, attachments), thread-aware replies, Gmail search query syntax (from:, to:, has:attachment, after:), label management, filter automation, and draft workflows. Triggers: gmail, email, send email, read email, search email, attachment, label, filter, thread, draft, Gmail API, compose, reply, forward, inbox, MIME."

Auth 1 2mo ago

@tank/opencode-config-mastery

by tankpkg

Expert OpenCode configuration for any project. Covers opencode.json schema, MCP server setup (local STDIO, remote HTTP, OAuth), provider and model configuration (75+ providers, custom/local models), plugin management (oh-my-opencode, morph, wakatime), agent wiring in config, custom slash commands, rules/instructions files, keybinds, permission system, and security best practices for MCP servers. Includes trusted MCP server catalog and context budget management strategies. Synthesizes OpenCode source (sst/opencode), official docs, MCP specification, OWASP MCP security guidelines, and community ecosystem analysis. Trigger phrases: "opencode.json", "opencode config", "configure opencode", "MCP server", "mcp setup", "add mcp", "mcp config", "mcp oauth", "opencode provider", "add provider", "custom provider", "local model", "ollama opencode", "LM Studio", "opencode plugin", "oh-my-opencode", "opencode permission", "permission config", "bash permission", "slash command", "custom command", "opencode command", ".opencode", "instructions file", "rules file", "AGENTS.md", ".cursorrules", "opencode keybind", "keybinds", "context budget", "too many tools", "MCP security", "tool poisoning", "opencode setup", "configure model", "small_model", "enabled_providers", "disabled_providers", "opencode agent config", "watcher ignore", "opencode share", "opencode theme", "opencode lsp", "opencode formatter", "variable substitution", "{env:}", "{file:}", "/connect", "auth.json", "mcp-auth.json"

CLI Tools 1 2mo ago

@tank/google-calendar

by tankpkg

"Create, query, update, and manage Google Calendar events and availability. Covers event CRUD, free/busy queries, recurring events with RRULE, Google Meet conferencing, attendee management, multi-calendar operations, and incremental sync. Triggers: calendar, event, meeting, schedule, availability, free busy, recurring event, RRULE, Google Meet, attendee, reminder, timezone, booking, appointment, Google Calendar."

Auth 1 2mo ago

@tank/google-docs

by tankpkg

"Create, edit, format, and collaborate on Google Docs programmatically. Covers document creation, batch updates, text manipulation with character indexes, paragraph styling, table operations, inline images, headers/footers, sharing permissions, and export to PDF/DOCX. Triggers: google docs, document, create document, edit document, format text, batch update, paragraph style, table, export PDF, share document, comments, Google Docs API."

API Dev 1 2mo ago

@tank/google-sheets

by tankpkg

"Read, write, format, and analyze spreadsheet data through the Google Sheets API. Covers cell and range operations (A1 notation), batch updates, conditional formatting, data validation, chart creation, named ranges, sheet management, and formula support. Triggers: google sheets, spreadsheet, cell, range, formula, chart, conditional formatting, data validation, batch update, append rows, named range, Google Sheets API, CSV, pivot table."

API Dev 1 2mo ago

@tank/idd-bdd-pack

by tankpkg

Orchestrator pack combining Intent-Driven Development (IDD) with BDD end-to-end testing. Installs both @tank/idd and @tank/bdd-e2e-testing, then provides the bridge workflow for using .idd/ and .bdd/ folders together. Does not stand alone — requires both dependencies. Trigger phrases: "IDD BDD", "intent and behavior", "intent to BDD", "BDD from intent", "intent verified testing", "intent behavior pack", "combine IDD BDD", "IDD BDD orchestrator", "intent driven BDD", "intent plus BDD", "full testing workflow", ".idd .bdd together"

Auth 1 2mo ago

@tank/planning

by tankpkg

Comprehensive planning methodology for complex software tasks. Covers task decomposition (WBS, micro-tasks), plan writing (zero-context specs), plan execution (batched with checkpoints), prioritization (RICE, MoSCoW, ICE), estimation, risk assessment, and persistent context management. Synthesized from: Shape Up (Basecamp), Agile Estimating and Planning (Cohn), obra/superpowers planning methodology, ReAct/Plan-and-Solve AI patterns. Trigger phrases: "plan", "planning", "break down", "decompose", "task breakdown", "prioritize", "estimate", "risk assessment", "project plan", "implementation plan", "work breakdown", "what order", "dependencies", "scope", "how to approach", "complex task", "multi-step"

Automation 1 2mo ago

@tank/idd

by tankpkg

Intent-Driven Development: define what and why before writing how. AI writes code; humans write intent. Covers the full IDD lifecycle — structured interviewing, design critique, section locking, phased TDD execution, and code-intent drift detection. Opinionated synthesis of ArcBlock/idd, Praxis, and FORGE (all MIT). Trigger phrases: "IDD", "intent driven development", "intent file", "INTENT.md", "intent interview", "intent critique", "intent review", "intent plan", "intent build", "intent sync", "intent check", "intent audit", "intent init", "intent driven", "implementation last", "AI native development", "intent standard", "intent approval", "drift detection", "convergence check", ".idd folder"

Code Review 1 2mo ago

@tank/figma-plugin

by tankpkg

"Guidance for building Figma plugins. Covers architecture, Plugin API (nodes, styles, variables, components), UI development, Dev Mode codegen, widgets, publishing, and monetization. Triggers: figma plugin, figma API, plugin development, figma widget, Dev Mode, codegen, figma node, figma styles, figma variables, iframe, message passing, plugin UI, figma publish, figma marketplace."

Processing 1 2mo ago

@tank/skill-creator

by tankpkg

Create skills that extend AI agent capabilities with synthesized domain expertise. Covers skill anatomy, progressive disclosure, research workflow (books + web), writing conventions, and ecosystem patterns. Trigger phrases: "create a skill", "new skill", "build a skill", "skill about", "make a skill for", "update skill", "improve skill", "write a skill"

Agents 1 2mo ago

@tank/slack

by tankpkg

"Send messages, manage channels, search conversations, and automate workflows in Slack. Covers messaging (threads, ephemeral, scheduled), Block Kit (sections, buttons, select menus, modals), channel management, file uploads, user lookups, and mrkdwn formatting. Triggers: slack, message, channel, thread, Block Kit, modal, button, select menu, mrkdwn, emoji, file upload, search, DM, ephemeral, Slack API, webhook, bot."

Embeddings 1 2mo ago

@tank/tdd-workflow

by tankpkg

"Test-Driven Development: RED-GREEN-REFACTOR cycle, three laws of TDD, test-first patterns, and practical workflows. Covers test doubles, testing pyramids, property-based testing, and mutation testing. Triggers: TDD, test-driven development, red green refactor, test first, unit test, failing test, test double, mock, stub, spy, test pyramid, property-based testing, mutation testing, test coverage, testing strategy, write tests."

Refactoring 1 2mo ago

@tank/figma-to-code

by tankpkg

Use when implementing UI from Figma designs with pixel-perfect fidelity. Covers the complete Figma-to-code pipeline: extracting design specs via Figma MCP tools (get_design_context, get_screenshot, get_variable_defs), translating every visual property to exact CSS (fonts, colors, spacing, shadows, gradients, border-radius, opacity), building design token systems, mapping Auto Layout to Flexbox/Grid, converting component variants to props, and verifying implementation against Figma screenshots. Requires: Figma desktop MCP (figma-desktop) for design extraction. Synthesizes Figma Dev Mode API (2024-2025), CSS Specifications (Color L4, Flexbox, Grid, Container Queries), WAI-ARIA Authoring Practices, Google Fonts Best Practices, and Playwright Visual Testing. Trigger phrases: "implement this Figma", "Figma to code", "pixel perfect", "match the design", "copy the Figma", "design implementation", "implement this design", "build from Figma", "Figma handoff", "translate design to code", "code this component from Figma", "design to HTML", "design to React", "design to Tailwind", "match Figma exactly", "implement UI from design", "Figma screenshot", "convert design", "make it look like Figma", "same as design", "design specs", "implement mockup", "from Figma file"

Accessibility 1 2mo ago

@tank/token-redaction

by tankpkg

"Detect and redact API tokens, keys, bearer values, and JWTs in local OpenCode SQLite session stores. Covers backup-first workflow, pattern matching for common token formats, dry-run verification, database integrity checks, and session cleanup. Triggers: redact, token, API key, secret, JWT, bearer, session store, SQLite, cleanup, sensitive data, credential leak, key rotation, security."

Analytics 1 2mo ago

@tank/tank-package-publisher

by tankpkg

Package lifecycle specialist for Tank directory publishing. Use when users ask to publish a skill to Tank, run tank publish, fix publish failures, validate skills.json, bump versions, or verify releases. Handles dry-run-first workflow, manifest validation, and publish error remediation.

Auth 1 2mo ago

@tank/tank-project-setup

by tankpkg

Auto-detect project stack and integrate Tank skills into any repository. Scans for framework indicators (package.json, pyproject.toml, angular.json, tsconfig.json, etc.), recommends relevant Tank skills, creates project-level skills.json, runs tank install, and sets up CI/CD pipelines (GitHub Actions, GitLab CI) so skills install automatically — like npm ci for agent skills. Trigger phrases: "set up tank", "add tank to project", "tank init project", "install tank skills", "detect project type", "tank ci/cd", "tank cicd", "configure tank for this repo", "add skills to project", "tank install setup", "integrate tank", "set up agent skills", "project skills setup", "add tank to ci", "tank github action"

CI/CD 1 2mo ago

@tank/web-analytics-consent

by tankpkg

"Privacy-compliant web analytics and cookie consent. Covers tool selection

Analytics 1 2mo ago

@tank/sublime-package-dev

by tankpkg

Create, develop, test, and publish Sublime Text packages. Covers the full lifecycle: Python plugin API (commands, events, views, settings), package structure (all file formats), syntax definitions (.sublime-syntax YAML), color schemes, UI themes, snippets, completions, build systems, local development workflow, debugging, and publishing to Package Control. Synthesizes official Sublime Text documentation, Package Control docs, sublimehq/Packages repository patterns, and popular package analysis (SublimeLinter, GitGutter, BracketHighlighter). Trigger phrases: "sublime text package", "sublime plugin", "sublime text plugin", "create sublime package", "sublime-syntax", "sublime syntax definition", "color scheme", "sublime theme", "sublime snippet", "sublime completions", "sublime build system", "package control", "submit to package control", "sublime text command", "TextCommand", "WindowCommand", "EventListener", "ViewEventListener", "sublime API", ".sublime-settings", ".sublime-keymap", ".sublime-commands", ".sublime-menu", ".sublime-color-scheme", ".sublime-theme", ".sublime-build", "tmLanguage", "scope naming"

Processing 1 3mo ago

@tank/vector-graphics-gen

by tankpkg

Generate vector graphics (SVG) for websites and apps using AI APIs. Primary platforms: QuiverAI Arrow (highest quality, #1 SVG Arena) and fal.ai with Recraft V4 for native SVG generation, plus image-to-SVG conversion. Covers text-to-vector generation, image vectorization, prompt engineering for clean vector output, SVG optimization (SVGO), and web integration patterns (React, Vue, sprites, dark mode). Synthesizes QuiverAI documentation, fal.ai documentation, Recraft AI documentation, SVGO docs, and SVG specification. Trigger phrases: "vector graphic", "generate SVG", "SVG icon", "vector illustration", "AI vector", "fal.ai", "FAL_KEY", "recraft", "recraft v4", "text to SVG", "image to SVG", "quiver", "quiverai", "arrow model", "vectorize image", "SVG generation", "vector logo", "AI illustration", "icon generation", "SVG for web", "vector art API", "fal-ai/recraft", "generate icon", "web illustration", "SVG background", "vector pattern", "clean SVG", "production SVG", "text-to-vector"

Embeddings 1 3mo ago

@tank/vercel

by tankpkg

Vercel deployment and project management using the CLI. Covers all CLI commands (deploy, build, dev, pull, env, domains, dns, logs, promote, rollback), vercel.json configuration (redirects, rewrites, headers, functions, crons, images, regions), CI/CD workflows (GitHub Actions, GitLab CI, preview and production pipelines), environment variable management, domain and DNS setup, serverless and edge functions, and troubleshooting. Synthesizes Vercel CLI docs (2026), vercel.json schema, and production deployment patterns. Trigger phrases: "vercel", "vercel deploy", "vercel cli", "vercel build", "vercel dev", "vercel pull", "vercel env", "vercel domains", "vercel dns", "vercel logs", "vercel promote", "vercel rollback", "vercel.json", "deployment", "preview deployment", "production deployment", "CI/CD vercel", "serverless function", "edge function", "cron job vercel", "vercel monorepo", "vercel turborepo", "vercel domain", "vercel certificate", "deploy to vercel", "vercel environment variables", "vercel preview", "vercel production"

CI/CD 1 3mo ago

@tank/rust-discord-bot

by tankpkg

Build high-performance Discord bots in Rust using serenity, poise, and twilight. Covers framework selection (serenity vs poise vs twilight), project scaffolding (workspace, Cargo.toml, feature flags), slash commands and prefix commands (poise macros, parameters, autocomplete, cooldowns, subcommands), message components (buttons, select menus, modals), embeds, gateway intents and event handling, state management and database integration (sqlx, DashMap, moka caching), voice and audio (Songbird), performance optimization (tokio tuning, sharding, zero-copy, Cargo release profiles), and deployment (Docker, systemd, tracing). Synthesizes serenity-rs v0.12.5 docs, poise v0.6.1 docs, twilight-rs v0.17.1 docs, Discord API reference (2026), and production patterns from Discord-TTS, robbb, Bathbot, and rustbot. Trigger phrases: "discord bot rust", "rust discord", "serenity-rs", "serenity bot", "poise discord", "poise command", "twilight discord", "twilight-rs", "discord bot", "rust bot", "slash command rust", "discord gateway", "discord intents", "songbird voice", "discord music bot", "discord interaction rust", "discord embed rust", "discord button rust", "discord modal rust", "discord select menu", "poise framework", "serenity event handler", "discord sharding rust", "discord sqlx", "discord deployment rust", "discord bot docker", "discord bot systemd"

CLI Tools 1 3mo ago

@tank/party-game-dev

by tankpkg

Build real-time multiplayer party games (Jackbox-style) with full-stack TypeScript. Covers host-player architecture (TV + phones), VIP role (player with elevated control), Socket.IO networking, game state machines, room/lobby management, voting and scoring systems, content safety (profanity filtering, family mode, VIP censoring), and BDD testing with multiple browser contexts. Synthesizes patterns from Jackbox Games, Drawphone, Rocketcrab, Fishbowl, Socket.IO docs, and Playwright multi-context testing. Trigger phrases: "party game", "jackbox", "multiplayer game", "real-time game", "game room", "lobby system", "room code", "socket.io game", "websocket game", "game state machine", "voting game", "drawing game", "trivia game", "quiplash", "drawful", "host screen", "player controller", "VIP", "game VIP", "room owner", "kick player", "ban player", "multiplayer testing", "game server", "party game backend", "prompt and response game", "audience voting", "game lobby", "turn-based multiplayer", "phone controller game", "content moderation", "profanity filter", "family friendly", "test multiplayer", "BDD game testing"

Game Dev 1 3mo ago

@tank/desktop-app-dev

by tankpkg

Build, convert, and ship cross-platform desktop applications from web projects using Electron, Tauri v2, or Wails. Covers framework selection and automatic project detection, architecture and IPC patterns, native desktop APIs (menus, tray, notifications, file system, dialogs, shortcuts, clipboard), packaging and distribution (installers, code signing, notarization, auto-update), migration patterns (web-to-desktop conversion, Electron-to-Tauri migration), and CI/CD build pipelines. Synthesizes Electron v40 docs, Tauri v2 docs, Wails v2/v3 docs, and 2025-2026 ecosystem research. Trigger phrases: "Electron", "Tauri", "Wails", "desktop app", "desktop application", "web to desktop", "convert to desktop app", "cross-platform app", "native app", "electron-builder", "electron-forge", "electron-vite", "tauri command", "system tray", "auto-update", "code signing", "notarize", "DMG", "MSI", "AppImage", "package desktop app", "IPC", "main process", "preload script", "BrowserWindow", "wails build", "desktop wrapper", "ship desktop app", "distribute app", "Electron to Tauri", "migrate from Electron", "wrap web app"

CI/CD 1 3mo ago

@tank/react

by tankpkg

"Expert React patterns for production apps. Covers linting with React Doctor. Triggers: react, component, hook, useState, useEffect, useReducer, useMemo, useCallback, context, render, JSX, props, state, state management, server state, TanStack Query, suspense, memo, performance, testing, React 19, server component, react-doctor, linter, health score, dead code."

Processing 1 3mo ago

@tank/api-design-mastery

by tankpkg

REST, GraphQL, and tRPC API design for backend engineers. Covers endpoint design (resource modeling, HTTP methods, status codes), API versioning strategies (URL path, header, media type, deprecation), error contracts (RFC 7807/9457 Problem Details, field validation errors), pagination (offset, cursor, keyset, GraphQL Relay connections), filtering and sorting, authentication patterns (API keys, JWT, OAuth 2.0 flows with PKCE, Client Credentials), and authorization (RBAC, scopes, rate limiting). Synthesizes Lauret (The Design of Web APIs), Giroux (Production-Ready GraphQL), Madden (API Security in Action), Richer & Sanso (OAuth 2.0 in Action), tRPC v11 documentation, RFC 7807/9457, and Relay connections spec. Trigger phrases: "REST API", "GraphQL schema", "tRPC", "API design", "endpoint design", "API versioning", "deprecate API", "error response", "problem details", "RFC 7807", "API errors", "pagination", "cursor pagination", "offset pagination", "GraphQL connections", "Relay spec", "API auth", "API keys", "JWT", "OAuth 2.0", "PKCE", "Client Credentials", "rate limiting", "RBAC", "API security", "HTTP status codes", "REST resource", "GraphQL N+1", "DataLoader", "tRPC middleware", "tRPC context", "tRPC procedures", "breaking changes", "backward compatible", "Sunset header", "field validation", "filter API", "sort API", "API contract"

API Dev 1 3mo ago

@tank/system-design

by tankpkg

Practical system design for production distributed systems. Covers scalability patterns (load balancing, horizontal scaling, CDN, auto-scaling), data layer design (database selection, replication, sharding, consistency models, CAP theorem applied), caching strategies (cache-aside, write-through, invalidation, stampede prevention), messaging and async patterns (queues vs streams, event-driven architecture, CQRS, saga pattern, delivery guarantees), reliability (circuit breakers, bulkheads, retries, rate limiting, timeouts, chaos engineering), service architecture (monolith vs microservices, API gateway, service mesh, distributed transactions), and capacity planning (back-of-envelope estimation, SLOs/SLIs, monitoring, distributed tracing). Synthesizes Kleppmann (Designing Data-Intensive Applications), Vitillo (Understanding Distributed Systems), Newman (Building Microservices), Ford et al. (Software Architecture: The Hard Parts), Nygard (Release It!), Petrov (Database Internals), Richards & Ford (Fundamentals of Software Architecture), and Beyer et al. (Site Reliability Engineering). Trigger phrases: "system design", "distributed systems", "scalability", "load balancing", "horizontal scaling", "vertical scaling", "database sharding", "database replication", "caching strategy", "cache invalidation", "message queue", "event-driven", "Kafka", "RabbitMQ", "pub/sub", "circuit breaker", "rate limiting", "bulkhead", "retry strategy", "microservices", "monolith", "API gateway", "service mesh", "CAP theorem", "eventual consistency", "strong consistency", "CQRS", "event sourcing", "saga pattern", "back-of-envelope", "SLO", "SLI", "capacity planning", "distributed tracing", "back pressure", "cache stampede", "thundering herd", "how should I scale", "which database", "when to use microservices"

Caching 1 3mo ago

@tank/auth-patterns

by tankpkg

Authentication and authorization patterns for any language or framework. Covers JWT internals (structure, algorithms, attacks, validation), OAuth2 grant types (Authorization Code, PKCE, Client Credentials, Device Code), session management (cookies, expiry, fixation, distributed), RBAC/ABAC/ReBAC (role modeling, authorization policies, Zanzibar), OpenID Connect and social login (ID tokens, account linking, provider patterns), MFA (TOTP, WebAuthn/passkeys, backup codes, step-up auth), and authentication security (XSS/CSRF, token storage, credential stuffing, rate limiting). Synthesizes RFC 6749, RFC 7519, RFC 6238, W3C WebAuthn Level 2, NIST SP 800-63B, and OWASP Authentication/CSRF cheat sheets. Trigger phrases: "JWT", "OAuth2", "OAuth 2.0", "session management", "RBAC", "ABAC", "role-based access", "authorization model", "OpenID Connect", "OIDC", "social login", "MFA", "multi-factor authentication", "TOTP", "WebAuthn", "passkeys", "refresh token", "access token", "PKCE", "auth flow", "implement authentication", "implement auth", "sign in with", "cookie security", "HttpOnly", "SameSite", "token storage", "XSS auth", "CSRF protection", "credential stuffing", "account linking", "backup codes", "permission system", "login security", "password hashing"

Auth 1 3mo ago

@tank/github-docs

by tankpkg

Write excellent GitHub documentation for libraries and developer tools. Covers README anatomy (hero, features, quick start, API reference), all GitHub Markdown features (alerts, mermaid, badges, collapsible, dark/light mode, math, footnotes), code example best practices, visual design for scannable docs, and supporting files (CHANGELOG, CONTRIBUTING, migration guides). Includes copy-paste templates for libraries, CLIs, APIs, and applications. Optimized for Gen-Z developers: front-loaded value, visual-first, scannable, instant gratification. Synthesized from: Google Developer Documentation Style Guide, Diataxis framework, top library READMEs (React, tRPC, Got, Bun, Drizzle, Biome), GitHub GFM spec, shields.io, awesome-readme patterns. Trigger phrases: "README", "documentation", "docs", "write docs", "library docs", "package docs", "GitHub docs", "improve docs", "project documentation", "getting started guide", "API docs", "contributing guide", "changelog", "badges", "mermaid diagram", "quick start", "document this library", "write a README", "make docs better", "doc structure"

API Dev 1 3mo ago

@tank/clean-code

by tankpkg

Reusable, modular, performant, readable code — guided by KISS, SOLID, and pragmatic design. Covers code smell detection, refactoring recipes, function design, KISS/YAGNI decision frameworks, modularity (coupling, cohesion, boundaries), performance-aware patterns, and readability through cognitive load management. Synthesizes Martin (Clean Code), Ousterhout (A Philosophy of Software Design), Fowler (Refactoring), Metz (Practical OOD), Hickey (Simple Made Easy), Beck (Implementation Patterns), grugbrain.dev. Trigger phrases: "clean code", "refactor", "code smell", "code review", "code quality", "KISS", "keep it simple", "SOLID", "single responsibility", "DRY", "YAGNI", "over-engineered", "too complex", "simplify", "modularity", "coupling", "cohesion", "dependency", "reusable", "modular", "performance", "readability", "cognitive load", "naming", "function design", "extract method", "technical debt", "maintainability", "is this too abstract", "should I abstract", "N+1", "data structure"

Performance 1 3mo ago

@tank/relational-db-mastery

by tankpkg

Relational database performance optimization for PostgreSQL and MySQL. Covers indexing strategies (B-tree, GIN, GiST, BRIN, partial, expression, covering, composite), query optimization (JOINs, CTEs, pagination, N+1), EXPLAIN ANALYZE interpretation, schema design for performance, PostgreSQL tuning (VACUUM, autovacuum, connection pooling, pg_stat_statements), MySQL/InnoDB tuning, and monitoring diagnostics. Synthesizes Winand (SQL Performance Explained), Petrov (Database Internals), Karwin (SQL Antipatterns), Schwartz (High Performance MySQL), Kleppmann (Designing Data-Intensive Applications), and PostgreSQL/MySQL documentation. Trigger phrases: "slow query", "query optimization", "database performance", "index", "indexing strategy", "EXPLAIN ANALYZE", "query plan", "schema design", "normalization", "denormalization", "B-tree", "GIN index", "composite index", "covering index", "partial index", "N+1 query", "pagination", "keyset pagination", "cursor pagination", "connection pool", "PgBouncer", "VACUUM", "autovacuum", "table bloat", "dead tuples", "cache hit ratio", "PostgreSQL tuning", "MySQL tuning", "InnoDB", "foreign key index", "missing index", "over-indexing", "database schema", "data types", "partitioning", "pg_stat_statements", "slow query log", "JOINs", "subquery vs CTE", "query rewriting", "database optimization", "SQL performance", "database design", "relational database"

Code Review 1 3mo ago

@tank/python

by tankpkg

"Modern Python (3.10+) patterns for production applications."

Code Gen 1 3mo ago

@tank/tailwind

by tankpkg

"Production Tailwind CSS patterns and component recipes for responsive, accessible UI."

Accessibility 1 3mo ago

@tank/typescript

by tankpkg

"Advanced TypeScript patterns for type-safe applications. Triggers: typescript, TS, type, interface, generic, union, discriminated union, branded type, utility type, conditional type, mapped type, template literal, infer, satisfies, as const, tsconfig, strict mode, type guard, type narrowing, type-safe."

Email 1 3mo ago

@tank/nextjs

by tankpkg

"Expert Next.js App Router execution guide for server-first rendering, caching, routing, and deployment. Triggers: nextjs, next.js, app router, server component, client component, server action, route handler, middleware, SSR, SSG, ISR, caching, revalidation, streaming, suspense, parallel routes, intercepting routes, next/image, metadata, layout."

Caching 1 3mo ago

@tank/node-express

by tankpkg

"Production-grade Node.js/Express patterns for API servers. Triggers: node, node.js, express, express.js, api server, rest api, backend, middleware, route handler, router, endpoint, request validation, zod, jwt, session auth, oauth, rate limiting, error handling, logging, graceful shutdown, prisma, drizzle, postgres, mysql, mongodb, http server, health check."

API Dev 1 3mo ago