Claude Code skills and workflows, optimized for context-efficiency and skill quality. Skills ranging from cloud infrastructure to design to advanced maths.
npx skills add https://github.com/rand/cc-polymath --skill elegant-design使用 CLI 安装这个技能,并在你的工作区中直接复用对应的 SKILL.md 工作流。
Context-efficient development knowledge via progressive skill discovery
Install in 30 seconds:
/plugin marketplace add rand/cc-polymath
/plugin install cc-polymath@cc-polymath
Your first 3 commands:
/skills # See what's recommended for your project
/discover-frontend # Load React, Next.js, TypeScript skills (example)
bash scripts/verify-install.sh # Verify installation
Learn more:
This repository solves a tradeoff problem: how to give Claude Code access to comprehensive development knowledge without overwhelming its context window on boot. The solution is atomic, composable skills organized through a multi-tier discovery system.
Using the default mechanism with many atomic skills yields a dilemma:
This creates an challenging tradeoff between comprehensive coverage and context efficiency.
Each skill is focused, self-contained, and composable:
Why atomic matters: Loading 5 focused skills (1.5K tokens) beats loading one monolithic guide (8K tokens) when you only need specific knowledge. Granularity enables precision.
Tier 1: Gateway Skills (23 auto-discovered Agent Skills)
Lightweight entry points that activate automatically based on keywords:
discover-api → triggers on "REST", "GraphQL", "authentication"discover-database → triggers on "PostgreSQL", "MongoDB", "Redis"discover-zig → triggers on "Zig", "comptime", "allocators"Each gateway is ~200 lines with quick reference and loading commands.
Tier 2: Category Indexes (30 detailed references)
Full skill listings with descriptions, use cases, and workflows:
api/INDEX.md → All 7 API skills with integration patternsdatabase/INDEX.md → All 11 database skills with decision treesTier 3: Individual Skills (on-demand)
Complete implementation guides loaded only when needed:
api/rest-api-design.md → Full REST patternsdatabase/postgres-query-optimization.md → EXPLAIN plans, indexesContext efficiency: 60-84% reduction vs monolithic index
No boot overhead: Claude Code starts with zero skills loaded
Discoverability: Users don't need to know what exists
Languages & Frameworks:
Infrastructure & DevOps:
Data & APIs:
Machine Learning & AI (33 skills):
Rust & PyO3 (19 skills):
Information Retrieval (5 skills):
Programming Language Theory (13 skills):
Formal Methods (10 skills):
Advanced Mathematics (11 skills):
Systems Programming (8 skills):
Collaboration & Process (14 skills):
Real-time & Networking (5 skills):
As Claude Code Plugin (Recommended):
/plugin install https://github.com/rand/cc-polymath
That's it! All 410+ skills and the /skills command are immediately available.
For local development or testing:
/plugin install /Users/rand/src/cc-polymath
Just start working. Claude Code automatically activates relevant gateway skills based on your task keywords.
Example: Mention "REST API with PostgreSQL" → discover-api and discover-database gateways activate automatically.
When you need to browse or plan:
# Browse skills catalog
cat skills/README.md
# View a category
cat skills/api/INDEX.md # All API skills
cat skills/database/INDEX.md # All database skills
# Load a gateway
cat skills/discover-ml/SKILL.md # ML gateway with quick reference
# Load specific skills
cat skills/api/rest-api-design.md
cat skills/database/postgres-query-optimization.md
Skills are designed to combine for complex workflows:
Full-stack web app:
cat skills/api/rest-api-design.md
cat skills/frontend/nextjs-app-router.md
cat skills/database/postgres-schema-design.md
cat skills/caching/redis-caching-patterns.md
cat skills/cicd/github-actions-workflows.md
ML deployment with DSPy:
cat skills/ml/dspy-setup.md
cat skills/ml/dspy-modules.md
cat skills/modal/modal-gpu-workloads.md
cat skills/modal/modal-web-endpoints.md
cat skills/observability/structured-logging.md
Multi-layer caching strategy:
cat skills/caching/caching-fundamentals.md
cat skills/caching/service-worker-caching.md # Browser
cat skills/caching/http-caching.md # HTTP layer
cat skills/caching/cdn-edge-caching.md # CDN edge
cat skills/caching/redis-caching-patterns.md # Application
cat skills/caching/cache-invalidation-strategies.md
iOS app with streaming backend:
cat skills/mobile/swiftui-architecture.md
cat skills/mobile/swift-concurrency.md
cat skills/mobile/swiftdata-persistence.md
cat skills/mobile/ios-networking.md
cat skills/database/redpanda-streaming.md
.
├── CLAUDE.md # Development guidelines & protocols
│ # - Multi-agent orchestration
│ # - Work Plan Protocol (4 phases)
│ # - Language standards (uv, cargo, zig)
│ # - Testing protocols
│ # - Anti-patterns
│
├── README.md # This file
│
└── skills/ # 283 atomic skills, 31 gateways, 30 categories
│
├── README.md # Skills catalog
│
├── Gateway Skills (31 auto-discovered Agent Skills)
│ ├── discover-api/ # REST, GraphQL, authentication
│ ├── discover-database/ # PostgreSQL, MongoDB, Redis
│ ├── discover-frontend/ # React, Next.js, UI components
│ ├── discover-ml/ # Machine learning, models
│ ├── discover-math/ # Mathematics, algorithms
│ ├── discover-plt/ # Programming language theory
│ ├── discover-formal/ # Formal methods, verification
│ ├── discover-cloud/ # Serverless, cloud platforms
│ ├── discover-zig/ # Zig systems programming
│ ├── discover-networking/ # SSH, mTLS, VPN, resilience
│ ├── discover-workflow/ # Beads, context strategies
│ └── ... 20 more gateways
│
├── Category Indexes (30 detailed references)
│ ├── api/INDEX.md # All API skills overview
│ ├── database/INDEX.md # All database skills overview
│ ├── ml/INDEX.md # All ML skills overview
│ └── ... 27 more indexes
│
└── Skills by Category
├── api/ # REST, GraphQL, auth (7)
├── database/ # Postgres, MongoDB, Redis, streaming (11)
├── frontend/ # React, Next.js, performance (8)
├── mobile/ # iOS/Swift, SwiftUI, SwiftData (10)
├── testing/ # Unit, integration, e2e (6)
├── caching/ # Multi-layer caching (7)
├── build-systems/ # Make, CMake, Gradle, Maven, Bazel (8)
├── debugging/ # GDB, LLDB, production, memory (14)
├── cloud/ # AWS, GCP, Modal, serverless (13)
├── containers/ # Docker, Kubernetes (5)
├── cicd/ # GitHub Actions, pipelines (4)
├── observability/ # Logging, metrics, tracing (8)
├── ml/ # DSPy, HuggingFace, LLM, RAG (30)
├── ir/ # Information retrieval (5)
├── math/ # Linear algebra, topology, category theory (19)
├── plt/ # Type systems, verification, typed holes (13)
├── formal/ # SAT/SMT, Lean, CSP (10)
├── wasm/ # WebAssembly (4)
├── ebpf/ # eBPF kernel programming (4)
├── networking/ # SSH, mTLS, VPN, NAT traversal (5)
├── tui/ # Terminal UI: Bubble Tea, Ratatui (5)
├── zig/ # Zig systems programming (6)
├── rust/ # Rust & PyO3: DSPy integration, performance, production (19)
├── workflow/ # Beads task management (4)
├── data/ # ETL, streaming, batch (5)
├── deployment/ # Heroku, Netlify (6)
├── realtime/ # WebSocket, SSE, pub/sub (4)
├── collaboration/ # GitHub, CodeTour (6)
├── product/ # PRD writing (4)
├── engineering/ # RFC writing (4)
├── infrastructure/# Terraform, Cloudflare Workers (6)
│
├── Agent Skills (Root)
│ ├── anti-slop/ # AI slop detection & cleanup
│ ├── elegant-design/ # World-class UI design
│ └── typed-holes-refactor/ # Systematic refactoring
│
└── Meta Skills (Root)
├── skill-repo-discovery.md # Analyze repos for skills
├── skill-prompt-discovery.md # Extract signals from prompts
├── skill-creation.md # Create new skills
└── skill-*-planning.md # Planning workflows
| Domain | Technologies | Skills | Gateway |
|---|---|---|---|
| Backend | Python, Zig, Rust, Go | 18 | discover-backend |
| Frontend | React, Next.js, TypeScript | 9 | discover-frontend |
| Mobile | SwiftUI, Swift, React Native | 10 | discover-mobile |
| Build | Make, CMake, Gradle, Maven, Bazel | 8 | discover-cicd |
| Debug | GDB, LLDB, pdb, DevTools, Valgrind | 14 | discover-debugging |
| Cloud | AWS, GCP, Modal, Vercel, Cloudflare | 27 | discover-infra |
| Database | Postgres, Mongo, Redis, Redpanda, Iceberg | 11 | discover-database |
| Caching | Redis, HTTP, CDN, Service Workers | 7 | discover-database |
| ML/AI | DSPy, HuggingFace, Arize, GraphRAG | 33 | discover-ml |
| Rust/PyO3 | DSPy integration, RAG, agents, async, production | 19 | N/A |
| IR | Elasticsearch, Vector DBs, Ranking | 5 | discover-systems-theory |
| Systems | WebAssembly, eBPF | 8 | discover-wasm, discover-systems-theory |
| Collaboration | GitHub, PRD, RFC | 17 | discover-product, discover-product, discover-engineering |
| Formal | Z3, Lean 4, CSP | 10 | discover-systems-theory |
| Math | Linear algebra, topology, category theory | 19 | discover-math |
| PLT | Lambda calculus, type systems, typed holes | 13 | discover-systems-theory |
| DevOps | GitHub Actions, Terraform, K8s, Docker | 16 | discover-cicd, discover-infra, discover-infra |
| Observability | Prometheus, OpenTelemetry, Grafana | 8 | discover-debugging |
| Networking | SSH, mTLS, VPN, Tailscale, NAT | 5 | discover-networking |
| TUI | Bubble Tea, Ratatui | 5 | discover-frontend |
| Zig | Build systems, C interop, memory management | 6 | discover-zig |
| Workflow | Beads, context strategies | 4 | discover-product |
This repository includes comprehensive development guidelines in CLAUDE.md:
cat skills/ml/dspy-setup.md # Configure DSPy
cat skills/ml/dspy-modules.md # Build RAG pipeline
cat skills/ml/dspy-optimizers.md # Optimize prompts
cat skills/modal/modal-gpu-workloads.md # Deploy on GPU
cat skills/modal/modal-web-endpoints.md # Expose API
cat skills/api/rest-api-design.md # Design contract
cat skills/api/api-rate-limiting.md # Protect endpoint
cat skills/plt/type-systems.md # Type soundness
cat skills/plt/dependent-types.md # Π-types, Σ-types
cat skills/plt/program-verification.md # Hoare logic
cat skills/formal/lean-proof-basics.md # Formalize in Lean
cat skills/formal/z3-solver-basics.md # SMT checking
cat skills/plt/typed-holes-foundations.md # Gradual typing
cat skills/plt/typed-holes-llm.md # LLM integration
cat skills/plt/live-programming-holes.md # Real-time feedback
cat skills/caching/caching-fundamentals.md # Core patterns
cat skills/caching/service-worker-caching.md # Browser layer
cat skills/caching/http-caching.md # HTTP layer
cat skills/caching/cdn-edge-caching.md # CDN layer
cat skills/caching/redis-caching-patterns.md # Application layer
cat skills/caching/cache-invalidation-strategies.md # Invalidation
cat skills/caching/cache-performance-monitoring.md # Monitoring
In Progress: Building comprehensive Level 3 Resources for high-priority skills.
Each skill follows Anthropic's agent skills framework with three progressive levels:
Level 3 Resources transform skills from guides into executable toolkits:
REFERENCE.md (1,500-4,000 lines):
Scripts (3 per skill, 550-800+ lines each):
--help and --json supportExamples (7-10 per skill):
Status: 48/123 HIGH priority skills have Level 3 Resources (39%)
Wave 9 (6 skills, +51,979 lines):
Wave 10 (2 skills, +14,375 lines):
Target: 28 skills across Cryptography, Protocols, Engineering
Progress: 18/28 complete (64%)
Cryptography: 6/7 complete (86%)
Protocols: 6/8 complete (75%)
Engineering: 6/14 complete (43%)
Hybrid Approach: Combines manual quality control with template-based acceleration
Quality Gates (enforced before commit):
Automated validation runs on all resource changes:
See .github/workflows/validate-resources.yml for details.
Next Sessions (tracked in .work/WAVE_10_INCOMPLETE.md):
Long-term: 75+ additional skills need Level 3 Resources to reach comprehensive coverage
This is a personal reference repository maintained through practical development experience. Skills are added when new technologies are mastered, updated when better patterns emerge, and refined based on production use.
Feel free to fork and adapt for your own use. Pull requests welcome.
410+ atomic skills • 23 gateway Agent Skills • 33+ categories • 100% CI-validated