[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75Q2QJ7556TA03GF5NE3NPD":3,"skill-same:01M75Q2QJ7556TA03GF5NE3NPD":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M75Q2QJ7556TA03GF5NE3NPD","senior-backend",null,"Designs and implements backend systems including REST APIs, microservices, database architectures, authentication flows, and security hardening. Use when the user asks to \"design REST APIs\", \"optimize database queries\", \"implement authentication\", \"build microservices\", \"review backend code\", \"set up GraphQL\", \"handle database migrations\", or \"load test APIs\". Covers Node.js\u002FExpress\u002FFastify development, PostgreSQL optimization, API security, and backend architecture patterns.","TehutiRaEl\u002FTHEHIVE","TehutiRaEl","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F267495122?v=4","01M75N1QQQHT359S3XMYK7NPCB","01M75N1QRAW5P8P43HEHWMXCTE",0,"MIT","https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: \"senior-backend\"\ndescription: Designs and implements backend systems including REST APIs, microservices, database architectures, authentication flows, and security hardening. Use when the user asks to \"design REST APIs\", \"optimize database queries\", \"implement authentication\", \"build microservices\", \"review backend code\", \"set up GraphQL\", \"handle database migrations\", or \"load test APIs\". Covers Node.js\u002FExpress\u002FFastify development, PostgreSQL optimization, API security, and backend architecture patterns.\n---\n\n# Senior Backend Engineer\n\nBackend development patterns, API design, database optimization, and security practices.\n\n---\n\n## Quick Start\n\n```bash\n# Generate API routes from OpenAPI spec\npython scripts\u002Fapi_scaffolder.py openapi.yaml --framework express --output src\u002Froutes\u002F\n\n# Analyze database schema and generate migrations\npython scripts\u002Fdatabase_migration_tool.py --connection postgres:\u002F\u002Flocalhost\u002Fmydb --analyze\n\n# Load test an API endpoint\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fusers --concurrency 50 --duration 30\n```\n\n---\n\n## Tools Overview\n\n### 1. API Scaffolder\n\nGenerates API route handlers, middleware, and OpenAPI specifications from schema definitions.\n\n**Input:** OpenAPI spec (YAML\u002FJSON) or database schema\n**Output:** Route handlers, validation middleware, TypeScript types\n\n**Usage:**\n```bash\n# Generate Express routes from OpenAPI spec\npython scripts\u002Fapi_scaffolder.py openapi.yaml --framework express --output src\u002Froutes\u002F\n# Output: Generated 12 route handlers, validation middleware, and TypeScript types\n\n# Generate from database schema\npython scripts\u002Fapi_scaffolder.py --from-db postgres:\u002F\u002Flocalhost\u002Fmydb --output src\u002Froutes\u002F\n\n# Generate OpenAPI spec from existing routes\npython scripts\u002Fapi_scaffolder.py src\u002Froutes\u002F --generate-spec --output openapi.yaml\n```\n\n**Supported Frameworks:**\n- Express.js (`--framework express`)\n- Fastify (`--framework fastify`)\n- Koa (`--framework koa`)\n\n---\n\n### 2. Database Migration Tool\n\nAnalyzes database schemas, detects changes, and generates migration files with rollback support.\n\n**Input:** Database connection string or schema files\n**Output:** Migration files, schema diff report, optimization suggestions\n\n**Usage:**\n```bash\n# Analyze current schema and suggest optimizations\npython scripts\u002Fdatabase_migration_tool.py --connection postgres:\u002F\u002Flocalhost\u002Fmydb --analyze\n# Output: Missing indexes, N+1 query risks, and suggested migration files\n\n# Generate migration from schema diff\npython scripts\u002Fdatabase_migration_tool.py --connection postgres:\u002F\u002Flocalhost\u002Fmydb \\\n  --compare schema\u002Fv2.sql --output migrations\u002F\n\n# Dry-run a migration\npython scripts\u002Fdatabase_migration_tool.py --connection postgres:\u002F\u002Flocalhost\u002Fmydb \\\n  --migrate migrations\u002F20240115_add_user_indexes.sql --dry-run\n```\n\n---\n\n### 3. API Load Tester\n\nPerforms HTTP load testing with configurable concurrency, measuring latency percentiles and throughput.\n\n**Input:** API endpoint URL and test configuration\n**Output:** Performance report with latency distribution, error rates, throughput metrics\n\n**Usage:**\n```bash\n# Basic load test\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fusers --concurrency 50 --duration 30\n# Output: Throughput (req\u002Fsec), latency percentiles (P50\u002FP95\u002FP99), error counts, and scaling recommendations\n\n# Test with custom headers and body\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Forders \\\n  --method POST \\\n  --header \"Authorization: Bearer token123\" \\\n  --body '{\"product_id\": 1, \"quantity\": 2}' \\\n  --concurrency 100 \\\n  --duration 60\n\n# Compare two endpoints\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers https:\u002F\u002Fapi.example.com\u002Fv2\u002Fusers \\\n  --compare --concurrency 50 --duration 30\n```\n\n---\n\n## Backend Development Workflows\n\n### API Design Workflow\n\nUse when designing a new API or refactoring existing endpoints.\n\n**Step 1: Define resources and operations**\n```yaml\n# openapi.yaml\nopenapi: 3.0.3\ninfo:\n  title: User Service API\n  version: 1.0.0\npaths:\n  \u002Fusers:\n    get:\n      summary: List users\n      parameters:\n        - name: \"limit\"\n          in: query\n          schema:\n            type: integer\n            default: 20\n    post:\n      summary: Create user\n      requestBody:\n        required: true\n        content:\n          application\u002Fjson:\n            schema:\n              $ref: '#\u002Fcomponents\u002Fschemas\u002FCreateUser'\n```\n\n**Step 2: Generate route scaffolding**\n```bash\npython scripts\u002Fapi_scaffolder.py openapi.yaml --framework express --output src\u002Froutes\u002F\n```\n\n**Step 3: Implement business logic**\n```typescript\n\u002F\u002F src\u002Froutes\u002Fusers.ts (generated, then customized)\nexport const createUser = async (req: Request, res: Response) => {\n  const { email, name } = req.body;\n\n  \u002F\u002F Add business logic\n  const user = await userService.create({ email, name });\n\n  res.status(201).json(user);\n};\n```\n\n**Step 4: Add validation middleware**\n```bash\n# Validation is auto-generated from OpenAPI schema\n# src\u002Fmiddleware\u002Fvalidators.ts includes:\n# - Request body validation\n# - Query parameter validation\n# - Path parameter validation\n```\n\n**Step 5: Generate updated OpenAPI spec**\n```bash\npython scripts\u002Fapi_scaffolder.py src\u002Froutes\u002F --generate-spec --output openapi.yaml\n```\n\n---\n\n### Database Optimization Workflow\n\nUse when queries are slow or database performance needs improvement.\n\n**Step 1: Analyze current performance**\n```bash\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL --analyze\n```\n\n**Step 2: Identify slow queries**\n```sql\n-- Check query execution plans\nEXPLAIN ANALYZE SELECT * FROM orders\nWHERE user_id = 123\nORDER BY created_at DESC\nLIMIT 10;\n\n-- Look for: Seq Scan (bad), Index Scan (good)\n```\n\n**Step 3: Generate index migrations**\n```bash\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL \\\n  --suggest-indexes --output migrations\u002F\n```\n\n**Step 4: Test migration (dry-run)**\n```bash\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL \\\n  --migrate migrations\u002Fadd_indexes.sql --dry-run\n```\n\n**Step 5: Apply and verify**\n```bash\n# Apply migration\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL \\\n  --migrate migrations\u002Fadd_indexes.sql\n\n# Verify improvement\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL --analyze\n```\n\n---\n\n### Security Hardening Workflow\n\nUse when preparing an API for production or after a security review.\n\n**Step 1: Review authentication setup**\n```typescript\n\u002F\u002F Verify JWT configuration\nconst jwtConfig = {\n  secret: process.env.JWT_SECRET,  \u002F\u002F Must be from env, never hardcoded\n  expiresIn: '1h',                 \u002F\u002F Short-lived tokens\n  algorithm: 'RS256'               \u002F\u002F Prefer asymmetric\n};\n```\n\n**Step 2: Add rate limiting**\n```typescript\nimport rateLimit from 'express-rate-limit';\n\nconst apiLimiter = rateLimit({\n  windowMs: 15 * 60 * 1000,  \u002F\u002F 15 minutes\n  max: 100,                   \u002F\u002F 100 requests per window\n  standardHeaders: true,\n  legacyHeaders: false,\n});\n\napp.use('\u002Fapi\u002F', apiLimiter);\n```\n\n**Step 3: Validate all inputs**\n```typescript\nimport { z } from 'zod';\n\nconst CreateUserSchema = z.object({\n  email: z.string().email().max(255),\n  name: z.string().min(1).max(100),\n  age: z.number().int().positive().optional()\n});\n\n\u002F\u002F Use in route handler\nconst data = CreateUserSchema.parse(req.body);\n```\n\n**Step 4: Load test with attack patterns**\n```bash\n# Test rate limiting\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Flogin \\\n  --concurrency 200 --duration 10 --expect-rate-limit\n\n# Test input validation\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fusers \\\n  --method POST \\\n  --body '{\"email\": \"not-an-email\"}' \\\n  --expect-status 400\n```\n\n**Step 5: Review security headers**\n```typescript\nimport helmet from 'helmet';\n\napp.use(helmet({\n  contentSecurityPolicy: true,\n  crossOriginEmbedderPolicy: true,\n  crossOriginOpenerPolicy: true,\n  crossOriginResourcePolicy: true,\n  hsts: { maxAge: 31536000, includeSubDomains: true },\n}));\n```\n\n---\n\n## Reference Documentation\n\n| File | Contains | Use When |\n|------|----------|----------|\n| `references\u002Fapi_design_patterns.md` | REST vs GraphQL, versioning, error handling, pagination | Designing new APIs |\n| `references\u002Fdatabase_optimization_guide.md` | Indexing strategies, query optimization, N+1 solutions | Fixing slow queries |\n| `references\u002Fbackend_security_practices.md` | OWASP Top 10, auth patterns, input validation | Security hardening |\n\n---\n\n## Common Patterns Quick Reference\n\n### REST API Response Format\n```json\n{\n  \"data\": { \"id\": 1, \"name\": \"John\" },\n  \"meta\": { \"requestId\": \"abc-123\" }\n}\n```\n\n### Error Response Format\n```json\n{\n  \"error\": {\n    \"code\": \"VALIDATION_ERROR\",\n    \"message\": \"Invalid email format\",\n    \"details\": [{ \"field\": \"email\", \"message\": \"must be valid email\" }]\n  },\n  \"meta\": { \"requestId\": \"abc-123\" }\n}\n```\n\n### HTTP Status Codes\n| Code | Use Case |\n|------|----------|\n| 200 | Success (GET, PUT, PATCH) |\n| 201 | Created (POST) |\n| 204 | No Content (DELETE) |\n| 400 | Validation error |\n| 401 | Authentication required |\n| 403 | Permission denied |\n| 404 | Resource not found |\n| 429 | Rate limit exceeded |\n| 500 | Internal server error |\n\n### Database Index Strategy\n```sql\n-- Single column (equality lookups)\nCREATE INDEX idx_users_email ON users(email);\n\n-- Composite (multi-column queries)\nCREATE INDEX idx_orders_user_status ON orders(user_id, status);\n\n-- Partial (filtered queries)\nCREATE INDEX idx_orders_active ON orders(created_at) WHERE status = 'active';\n\n-- Covering (avoid table lookup)\nCREATE INDEX idx_users_email_name ON users(email) INCLUDE (name);\n```\n\n---\n\n## Common Commands\n\n```bash\n# API Development\npython scripts\u002Fapi_scaffolder.py openapi.yaml --framework express\npython scripts\u002Fapi_scaffolder.py src\u002Froutes\u002F --generate-spec\n\n# Database Operations\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL --analyze\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL --migrate file.sql\n\n# Performance Testing\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fendpoint --concurrency 50\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fendpoint --compare baseline.json\n```\n\n---\n\n## Assumptions and Verifiable Success Criteria (Karpathy discipline)\n\nBefore this skill scaffolds, recommends a pattern, or modifies a schema, the following four assumptions MUST be surfaced. If any are unknown, the skill stops and walks the [Forcing-question library](#forcing-question-library-matt-pocock-grill) instead.\n\n1. **Read\u002Fwrite ratio + one-year p99 QPS** — drives DB, cache, queue, and partitioning choices. Kleppmann, *DDIA* (2017).\n2. **Tenancy model** — single-tenant, shared multi-tenant, isolated multi-tenant. Drives data-access pattern.\n3. **Data sensitivity tier** — public \u002F internal \u002F PII \u002F PHI \u002F PCI. Drives compliance floor.\n4. **SLO + named error-budget consumer** — Google SRE Workbook canon. No SLO = no reliability work prioritization.\n\n**Verifiable success criteria** (Karpathy #4) — every recommendation this skill emits must include:\n\n- Latency targets (p50, p95, p99 in ms)\n- Uptime \u002F SLO target\n- RPO + RTO\n\nIf any of those three is not stated, the recommendation is incomplete — return to Q7 of the forcing-question library.\n\nThe `scripts\u002Fbackend_decision_engine.py` tool encodes these checks: it refuses to recommend a profile without read\u002Fwrite ratio + QPS + tenancy + data sensitivity + pattern preference.\n\n---\n\n## Customization profiles\n\nFour built-in profiles in `profiles\u002F` calibrate every recommendation:\n\n| Profile | When to pick | Pattern | Latency floor (p99) |\n|---|---|---|---|\n| `node-express` | TS team, \u003C 15 eng, customer-facing SaaS | Modular monolith on Postgres | 600ms |\n| `fastapi-python` | Python team, \u003C 20 eng, ML-adjacent | Modular monolith on Postgres (async) | 500ms |\n| `django-monolith` | Content-heavy CRUD + admin, \u003C 25 eng | Modular monolith on Postgres | 800ms |\n| `go-or-rust-microservice` | Extracted service, ≥ 30 eng, platform team, QPS ≥ 1000 | Extracted service | 200ms |\n\nPick a profile via:\n\n```bash\npython scripts\u002Fbackend_decision_engine.py \\\n  --team-size 8 --qps-p99 50 --read-write-ratio 20 \\\n  --tenancy shared-multi-tenant --data-sensitivity pii \\\n  --pattern modular-monolith --language-preference typescript\n```\n\nThe tool returns the best-fit profile, runner-up tradeoff (if within 15%), stack picks, anti-patterns, named approvers, and SLO floor. **This tool never auto-approves.**\n\nTo add a custom profile: copy `profiles\u002Fnode-express.json` to `profiles\u002F\u003Cyour-org>.json` and adjust `constraints` + `success_thresholds` + `named_approver_chain`.\n\n---\n\n## Composition map\n\nThis skill does NOT reimplement scope owned by the POWERFUL-tier specialists. It forks into them. See `references\u002Fcomposition_map.md` for the full routing table. Key forks:\n\n| Concern | Fork into |\n|---|---|\n| API contract \u002F breaking-change risk | `engineering\u002Fskills\u002Fapi-design-reviewer\u002F` |\n| Schema design + ERD + indexing | `engineering\u002Fskills\u002Fdatabase-designer\u002F` |\n| Zero-downtime schema migration | `engineering\u002Fskills\u002Fmigration-architect\u002F` |\n| SLO + SLI + error-budget | `engineering\u002Fslo-architect\u002F` |\n| Observability \u002F golden signals | `engineering\u002Fskills\u002Fobservability-designer\u002F` |\n| CI\u002FCD pipeline | `engineering\u002Fskills\u002Fci-cd-pipeline-builder\u002F` |\n| Security \u002F threat model | `engineering-team\u002Fskills\u002Fsenior-security\u002F`, `adversarial-reviewer` |\n| Compliance evidence (HIPAA \u002F ISO 27001) | `ra-qm-team\u002F` |\n| Pre-commit Karpathy review | `engineering\u002Fkarpathy-coder\u002F` |\n| Pre-flight architecture grill | `engineering\u002Fgrill-me\u002F` |\n\nThe `cs-backend-engineer` agent orchestrates these forks via `context: fork`. Invoke it from another agent with `Agent({subagent_type: \"cs-backend-engineer\", prompt: \"...\"})` or via `\u002Fcs:backend-review \u003Cyour problem>`.\n\n---\n\n## Forcing-question library (Matt Pocock grill)\n\nBefore locking any backend decision, walk the seven forcing questions in `references\u002Fforcing_questions.md`. Discipline:\n\n1. One question per turn. No bundling.\n2. Always recommend the answer with cited canon.\n3. Track answers in `\u002Ftmp\u002Fbackend-grill-\u003Cdate>.md`.\n4. If a kill criterion trips, stop. Don't scaffold around an unresolved gap.\n5. After Q7, run `backend_decision_engine.py` with the seven answers.\n\nSummary:\n\n1. Read\u002Fwrite ratio + p99 QPS forecast?\n2. Tenancy model — single \u002F shared \u002F isolated?\n3. Sync \u002F async \u002F event-driven — default + exceptions?\n4. Data sensitivity tier — PII \u002F PHI \u002F PCI?\n5. Monolith \u002F modular monolith \u002F microservices — team-size justification?\n6. RPO + RTO?\n7. SLO + named error-budget consumer?\n\n---\n\n## Invocation from other agents and skills\n\nThree surfaces:\n\n1. **Slash command:** `\u002Fcs:backend-review \u003Cprompt>` — full grill + decision engine + composition routing.\n2. **Agent subagent:** `Agent({subagent_type: \"cs-backend-engineer\", prompt: \"...\"})` — forks context, returns ≤ 200-word digest.\n3. **Direct tool call:** `python scripts\u002Fbackend_decision_engine.py ...` — deterministic profile match when inputs are known.\n\nSee `agents\u002Fengineering\u002Fcs-backend-engineer.md` for the full invocation contract.\n","# Senior Backend Engineer\n\nBackend development patterns, API design, database optimization, and security practices.\n\n---\n\n## Quick Start\n\n```bash\n# Generate API routes from OpenAPI spec\npython scripts\u002Fapi_scaffolder.py openapi.yaml --framework express --output src\u002Froutes\u002F\n\n# Analyze database schema and generate migrations\npython scripts\u002Fdatabase_migration_tool.py --connection postgres:\u002F\u002Flocalhost\u002Fmydb --analyze\n\n# Load test an API endpoint\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fusers --concurrency 50 --duration 30\n```\n\n---\n\n## Tools Overview\n\n### 1. API Scaffolder\n\nGenerates API route handlers, middleware, and OpenAPI specifications from schema definitions.\n\n**Input:** OpenAPI spec (YAML\u002FJSON) or database schema\n**Output:** Route handlers, validation middleware, TypeScript types\n\n**Usage:**\n```bash\n# Generate Express routes from OpenAPI spec\npython scripts\u002Fapi_scaffolder.py openapi.yaml --framework express --output src\u002Froutes\u002F\n# Output: Generated 12 route handlers, validation middleware, and TypeScript types\n\n# Generate from database schema\npython scripts\u002Fapi_scaffolder.py --from-db postgres:\u002F\u002Flocalhost\u002Fmydb --output src\u002Froutes\u002F\n\n# Generate OpenAPI spec from existing routes\npython scripts\u002Fapi_scaffolder.py src\u002Froutes\u002F --generate-spec --output openapi.yaml\n```\n\n**Supported Frameworks:**\n- Express.js (`--framework express`)\n- Fastify (`--framework fastify`)\n- Koa (`--framework koa`)\n\n---\n\n### 2. Database Migration Tool\n\nAnalyzes database schemas, detects changes, and generates migration files with rollback support.\n\n**Input:** Database connection string or schema files\n**Output:** Migration files, schema diff report, optimization suggestions\n\n**Usage:**\n```bash\n# Analyze current schema and suggest optimizations\npython scripts\u002Fdatabase_migration_tool.py --connection postgres:\u002F\u002Flocalhost\u002Fmydb --analyze\n# Output: Missing indexes, N+1 query risks, and suggested migration files\n\n# Generate migration from schema diff\npython scripts\u002Fdatabase_migration_tool.py --connection postgres:\u002F\u002Flocalhost\u002Fmydb \\\n  --compare schema\u002Fv2.sql --output migrations\u002F\n\n# Dry-run a migration\npython scripts\u002Fdatabase_migration_tool.py --connection postgres:\u002F\u002Flocalhost\u002Fmydb \\\n  --migrate migrations\u002F20240115_add_user_indexes.sql --dry-run\n```\n\n---\n\n### 3. API Load Tester\n\nPerforms HTTP load testing with configurable concurrency, measuring latency percentiles and throughput.\n\n**Input:** API endpoint URL and test configuration\n**Output:** Performance report with latency distribution, error rates, throughput metrics\n\n**Usage:**\n```bash\n# Basic load test\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fusers --concurrency 50 --duration 30\n# Output: Throughput (req\u002Fsec), latency percentiles (P50\u002FP95\u002FP99), error counts, and scaling recommendations\n\n# Test with custom headers and body\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Forders \\\n  --method POST \\\n  --header \"Authorization: Bearer token123\" \\\n  --body '{\"product_id\": 1, \"quantity\": 2}' \\\n  --concurrency 100 \\\n  --duration 60\n\n# Compare two endpoints\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers https:\u002F\u002Fapi.example.com\u002Fv2\u002Fusers \\\n  --compare --concurrency 50 --duration 30\n```\n\n---\n\n## Backend Development Workflows\n\n### API Design Workflow\n\nUse when designing a new API or refactoring existing endpoints.\n\n**Step 1: Define resources and operations**\n```yaml\n# openapi.yaml\nopenapi: 3.0.3\ninfo:\n  title: User Service API\n  version: 1.0.0\npaths:\n  \u002Fusers:\n    get:\n      summary: List users\n      parameters:\n        - name: \"limit\"\n          in: query\n          schema:\n            type: integer\n            default: 20\n    post:\n      summary: Create user\n      requestBody:\n        required: true\n        content:\n          application\u002Fjson:\n            schema:\n              $ref: '#\u002Fcomponents\u002Fschemas\u002FCreateUser'\n```\n\n**Step 2: Generate route scaffolding**\n```bash\npython scripts\u002Fapi_scaffolder.py openapi.yaml --framework express --output src\u002Froutes\u002F\n```\n\n**Step 3: Implement business logic**\n```typescript\n\u002F\u002F src\u002Froutes\u002Fusers.ts (generated, then customized)\nexport const createUser = async (req: Request, res: Response) => {\n  const { email, name } = req.body;\n\n  \u002F\u002F Add business logic\n  const user = await userService.create({ email, name });\n\n  res.status(201).json(user);\n};\n```\n\n**Step 4: Add validation middleware**\n```bash\n# Validation is auto-generated from OpenAPI schema\n# src\u002Fmiddleware\u002Fvalidators.ts includes:\n# - Request body validation\n# - Query parameter validation\n# - Path parameter validation\n```\n\n**Step 5: Generate updated OpenAPI spec**\n```bash\npython scripts\u002Fapi_scaffolder.py src\u002Froutes\u002F --generate-spec --output openapi.yaml\n```\n\n---\n\n### Database Optimization Workflow\n\nUse when queries are slow or database performance needs improvement.\n\n**Step 1: Analyze current performance**\n```bash\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL --analyze\n```\n\n**Step 2: Identify slow queries**\n```sql\n-- Check query execution plans\nEXPLAIN ANALYZE SELECT * FROM orders\nWHERE user_id = 123\nORDER BY created_at DESC\nLIMIT 10;\n\n-- Look for: Seq Scan (bad), Index Scan (good)\n```\n\n**Step 3: Generate index migrations**\n```bash\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL \\\n  --suggest-indexes --output migrations\u002F\n```\n\n**Step 4: Test migration (dry-run)**\n```bash\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL \\\n  --migrate migrations\u002Fadd_indexes.sql --dry-run\n```\n\n**Step 5: Apply and verify**\n```bash\n# Apply migration\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL \\\n  --migrate migrations\u002Fadd_indexes.sql\n\n# Verify improvement\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL --analyze\n```\n\n---\n\n### Security Hardening Workflow\n\nUse when preparing an API for production or after a security review.\n\n**Step 1: Review authentication setup**\n```typescript\n\u002F\u002F Verify JWT configuration\nconst jwtConfig = {\n  secret: process.env.JWT_SECRET,  \u002F\u002F Must be from env, never hardcoded\n  expiresIn: '1h',                 \u002F\u002F Short-lived tokens\n  algorithm: 'RS256'               \u002F\u002F Prefer asymmetric\n};\n```\n\n**Step 2: Add rate limiting**\n```typescript\nimport rateLimit from 'express-rate-limit';\n\nconst apiLimiter = rateLimit({\n  windowMs: 15 * 60 * 1000,  \u002F\u002F 15 minutes\n  max: 100,                   \u002F\u002F 100 requests per window\n  standardHeaders: true,\n  legacyHeaders: false,\n});\n\napp.use('\u002Fapi\u002F', apiLimiter);\n```\n\n**Step 3: Validate all inputs**\n```typescript\nimport { z } from 'zod';\n\nconst CreateUserSchema = z.object({\n  email: z.string().email().max(255),\n  name: z.string().min(1).max(100),\n  age: z.number().int().positive().optional()\n});\n\n\u002F\u002F Use in route handler\nconst data = CreateUserSchema.parse(req.body);\n```\n\n**Step 4: Load test with attack patterns**\n```bash\n# Test rate limiting\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Flogin \\\n  --concurrency 200 --duration 10 --expect-rate-limit\n\n# Test input validation\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fusers \\\n  --method POST \\\n  --body '{\"email\": \"not-an-email\"}' \\\n  --expect-status 400\n```\n\n**Step 5: Review security headers**\n```typescript\nimport helmet from 'helmet';\n\napp.use(helmet({\n  contentSecurityPolicy: true,\n  crossOriginEmbedderPolicy: true,\n  crossOriginOpenerPolicy: true,\n  crossOriginResourcePolicy: true,\n  hsts: { maxAge: 31536000, includeSubDomains: true },\n}));\n```\n\n---\n\n## Reference Documentation\n\n| File | Contains | Use When |\n|------|----------|----------|\n| `references\u002Fapi_design_patterns.md` | REST vs GraphQL, versioning, error handling, pagination | Designing new APIs |\n| `references\u002Fdatabase_optimization_guide.md` | Indexing strategies, query optimization, N+1 solutions | Fixing slow queries |\n| `references\u002Fbackend_security_practices.md` | OWASP Top 10, auth patterns, input validation | Security hardening |\n\n---\n\n## Common Patterns Quick Reference\n\n### REST API Response Format\n```json\n{\n  \"data\": { \"id\": 1, \"name\": \"John\" },\n  \"meta\": { \"requestId\": \"abc-123\" }\n}\n```\n\n### Error Response Format\n```json\n{\n  \"error\": {\n    \"code\": \"VALIDATION_ERROR\",\n    \"message\": \"Invalid email format\",\n    \"details\": [{ \"field\": \"email\", \"message\": \"must be valid email\" }]\n  },\n  \"meta\": { \"requestId\": \"abc-123\" }\n}\n```\n\n### HTTP Status Codes\n| Code | Use Case |\n|------|----------|\n| 200 | Success (GET, PUT, PATCH) |\n| 201 | Created (POST) |\n| 204 | No Content (DELETE) |\n| 400 | Validation error |\n| 401 | Authentication required |\n| 403 | Permission denied |\n| 404 | Resource not found |\n| 429 | Rate limit exceeded |\n| 500 | Internal server error |\n\n### Database Index Strategy\n```sql\n-- Single column (equality lookups)\nCREATE INDEX idx_users_email ON users(email);\n\n-- Composite (multi-column queries)\nCREATE INDEX idx_orders_user_status ON orders(user_id, status);\n\n-- Partial (filtered queries)\nCREATE INDEX idx_orders_active ON orders(created_at) WHERE status = 'active';\n\n-- Covering (avoid table lookup)\nCREATE INDEX idx_users_email_name ON users(email) INCLUDE (name);\n```\n\n---\n\n## Common Commands\n\n```bash\n# API Development\npython scripts\u002Fapi_scaffolder.py openapi.yaml --framework express\npython scripts\u002Fapi_scaffolder.py src\u002Froutes\u002F --generate-spec\n\n# Database Operations\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL --analyze\npython scripts\u002Fdatabase_migration_tool.py --connection $DATABASE_URL --migrate file.sql\n\n# Performance Testing\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fendpoint --concurrency 50\npython scripts\u002Fapi_load_tester.py https:\u002F\u002Fapi.example.com\u002Fendpoint --compare baseline.json\n```\n\n---\n\n## Assumptions and Verifiable Success Criteria (Karpathy discipline)\n\nBefore this skill scaffolds, recommends a pattern, or modifies a schema, the following four assumptions MUST be surfaced. If any are unknown, the skill stops and walks the [Forcing-question library](#forcing-question-library-matt-pocock-grill) instead.\n\n1. **Read\u002Fwrite ratio + one-year p99 QPS** — drives DB, cache, queue, and partitioning choices. Kleppmann, *DDIA* (2017).\n2. **Tenancy model** — single-tenant, shared multi-tenant, isolated multi-tenant. Drives data-access pattern.\n3. **Data sensitivity tier** — public \u002F internal \u002F PII \u002F PHI \u002F PCI. Drives compliance floor.\n4. **SLO + named error-budget consumer** — Google SRE Workbook canon. No SLO = no reliability work prioritization.\n\n**Verifiable success criteria** (Karpathy #4) — every recommendation this skill emits must include:\n\n- Latency targets (p50, p95, p99 in ms)\n- Uptime \u002F SLO target\n- RPO + RTO\n\nIf any of those three is not stated, the recommendation is incomplete — return to Q7 of the forcing-question library.\n\nThe `scripts\u002Fbackend_decision_engine.py` tool encodes these checks: it refuses to recommend a profile without read\u002Fwrite ratio + QPS + tenancy + data sensitivity + pattern preference.\n\n---\n\n## Customization profiles\n\nFour built-in profiles in `profiles\u002F` calibrate every recommendation:\n\n| Profile | When to pick | Pattern | Latency floor (p99) |\n|---|---|---|---|\n| `node-express` | TS team, \u003C 15 eng, customer-facing SaaS | Modular monolith on Postgres | 600ms |\n| `fastapi-python` | Python team, \u003C 20 eng, ML-adjacent | Modular monolith on Postgres (async) | 500ms |\n| `django-monolith` | Content-heavy CRUD + admin, \u003C 25 eng | Modular monolith on Postgres | 800ms |\n| `go-or-rust-microservice` | Extracted service, ≥ 30 eng, platform team, QPS ≥ 1000 | Extracted service | 200ms |\n\nPick a profile via:\n\n```bash\npython scripts\u002Fbackend_decision_engine.py \\\n  --team-size 8 --qps-p99 50 --read-write-ratio 20 \\\n  --tenancy shared-multi-tenant --data-sensitivity pii \\\n  --pattern modular-monolith --language-preference typescript\n```\n\nThe tool returns the best-fit profile, runner-up tradeoff (if within 15%), stack picks, anti-patterns, named approvers, and SLO floor. **This tool never auto-approves.**\n\nTo add a custom profile: copy `profiles\u002Fnode-express.json` to `profiles\u002F\u003Cyour-org>.json` and adjust `constraints` + `success_thresholds` + `named_approver_chain`.\n\n---\n\n## Composition map\n\nThis skill does NOT reimplement scope owned by the POWERFUL-tier specialists. It forks into them. See `references\u002Fcomposition_map.md` for the full routing table. Key forks:\n\n| Concern | Fork into |\n|---|---|\n| API contract \u002F breaking-change risk | `engineering\u002Fskills\u002Fapi-design-reviewer\u002F` |\n| Schema design + ERD + indexing | `engineering\u002Fskills\u002Fdatabase-designer\u002F` |\n| Zero-downtime schema migration | `engineering\u002Fskills\u002Fmigration-architect\u002F` |\n| SLO + SLI + error-budget | `engineering\u002Fslo-architect\u002F` |\n| Observability \u002F golden signals | `engineering\u002Fskills\u002Fobservability-designer\u002F` |\n| CI\u002FCD pipeline | `engineering\u002Fskills\u002Fci-cd-pipeline-builder\u002F` |\n| Security \u002F threat model | `engineering-team\u002Fskills\u002Fsenior-security\u002F`, `adversarial-reviewer` |\n| Compliance evidence (HIPAA \u002F ISO 27001) | `ra-qm-team\u002F` |\n| Pre-commit Karpathy review | `engineering\u002Fkarpathy-coder\u002F` |\n| Pre-flight architecture grill | `engineering\u002Fgrill-me\u002F` |\n\nThe `cs-backend-engineer` agent orchestrates these forks via `context: fork`. Invoke it from another agent with `Agent({subagent_type: \"cs-backend-engineer\", prompt: \"...\"})` or via `\u002Fcs:backend-review \u003Cyour problem>`.\n\n---\n\n## Forcing-question library (Matt Pocock grill)\n\nBefore locking any backend decision, walk the seven forcing questions in `references\u002Fforcing_questions.md`. Discipline:\n\n1. One question per turn. No bundling.\n2. Always recommend the answer with cited canon.\n3. Track answers in `\u002Ftmp\u002Fbackend-grill-\u003Cdate>.md`.\n4. If a kill criterion trips, stop. Don't scaffold around an unresolved gap.\n5. After Q7, run `backend_decision_engine.py` with the seven answers.\n\nSummary:\n\n1. Read\u002Fwrite ratio + p99 QPS forecast?\n2. Tenancy model — single \u002F shared \u002F isolated?\n3. Sync \u002F async \u002F event-driven — default + exceptions?\n4. Data sensitivity tier — PII \u002F PHI \u002F PCI?\n5. Monolith \u002F modular monolith \u002F microservices — team-size justification?\n6. RPO + RTO?\n7. SLO + named error-budget consumer?\n\n---\n\n## Invocation from other agents and skills\n\nThree surfaces:\n\n1. **Slash command:** `\u002Fcs:backend-review \u003Cprompt>` — full grill + decision engine + composition routing.\n2. **Agent subagent:** `Agent({subagent_type: \"cs-backend-engineer\", prompt: \"...\"})` — forks context, returns ≤ 200-word digest.\n3. **Direct tool call:** `python scripts\u002Fbackend_decision_engine.py ...` — deterministic profile match when inputs are known.\n\nSee `agents\u002Fengineering\u002Fcs-backend-engineer.md` for the full invocation contract.\n",{"name":5,"description":7},"main","b4ebd6d8c3b36347a5d435bcb343a5fc1c6f08d1","skills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend","https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE","https:\u002F\u002Fgithub.com\u002FTehutiRaEl","2026-11-15 04:00:21",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add TehutiRaEl\u002FTHEHIVE --skill senior-backend",{"tool":35,"command":36},"bunx","bunx skills add TehutiRaEl\u002FTHEHIVE --skill senior-backend",{"tool":38,"command":39},"pnpm","pnpm dlx skills add TehutiRaEl\u002FTHEHIVE --skill senior-backend","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002FSKILL.md",true,[43,49,53,57,61,65,69,73,77,81,87,91,95],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"profiles\u002Fdjango-monolith.json","REFERENCE","参考文档",2334,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Fprofiles\u002Fdjango-monolith.json",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"profiles\u002Ffastapi-python.json",2515,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Fprofiles\u002Ffastapi-python.json",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"profiles\u002Fgo-or-rust-microservice.json",2995,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Fprofiles\u002Fgo-or-rust-microservice.json",{"path":58,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":59,"sourceHtmlUrl":60},"profiles\u002Fnode-express.json",2523,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Fprofiles\u002Fnode-express.json",{"path":62,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fapi_design_patterns.md",13639,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Freferences\u002Fapi_design_patterns.md",{"path":66,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fbackend_security_practices.md",25480,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Freferences\u002Fbackend_security_practices.md",{"path":70,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fcomposition_map.md",5404,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Freferences\u002Fcomposition_map.md",{"path":74,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fdatabase_optimization_guide.md",13949,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Freferences\u002Fdatabase_optimization_guide.md",{"path":78,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fforcing_questions.md",8594,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Freferences\u002Fforcing_questions.md",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Fapi_load_tester.py","SCRIPT","脚本",19800,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Fscripts\u002Fapi_load_tester.py",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fapi_scaffolder.py",21442,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Fscripts\u002Fapi_scaffolder.py",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Fbackend_decision_engine.py",15663,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Fscripts\u002Fbackend_decision_engine.py",{"path":96,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fdatabase_migration_tool.py",32200,"https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fengineering-team\u002Fskills\u002Fsenior-backend\u002Fscripts\u002Fdatabase_migration_tool.py",[100,107,113,120,127,134],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":18},"01M76XP63XDM4PFPX8MMVYN9JX","preamble-gate","Use BEFORE doing any work in this repo — before the first file edit, commit, push, PR, branch operation, workflow dispatch, scheduled trigger or timer, agent\u002Fsubagent spawn, dependency install, or message sent to an outside service. Forces a plain-language preamble to the founder first: WHAT you are about to do, WHY, HOW, why it is NECESSARY, the PROJECTED IMPROVEMENT, and the COST and RISK — then, for consequential work (governance, security, money, CI\u002Ftriggers, rewriting history, multi-agent fan-out), waits for an explicit go-ahead. Read-only investigation (reading files, grep, git log\u002Fdiff, answering questions) is exempt. Applies to every AI that works in this repo, not just Claude. Founder rule, 2026-11-10, written after an unattended automation ran up cost and froze the hive. Not a substitute for wired-or-not (which governs how completion is CLAIMED); this governs what happens BEFORE work starts.","https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpreamble-gate\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":18},"01M75RAYXC1W361YR9NBXD59AM","visionary-recommender","https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills\u002Fvisionary-recommender\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":18},"01M75RAQN9Q450RD57J2S6FSR4","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":18},"01M75RAG1XMCJMF30HFV5S79AK","research","Default entry point for any research request — a hybrid router that classifies the question deterministically and either delegates to a specialist research skill (pulse for trends\u002Fsentiment, grants for NIH funding, litreview for academic literature, syllabus for course reading, patent for prior-art + IP landscape, dossier for entity research) or runs its own plan-decompose-multi-source-search-synthesize-cite fallback workflow when no specialist matches. Always surfaces the routing decision so users can override. Use when the user makes any research request that doesn't obviously match a more-specific specialist skill (e.g., \"research [topic]\", \"look into [topic]\", \"what do we know about [topic]\", \"investigate [topic]\", \"find me information on [topic]\", \"do some research on [topic]\", \"I need to understand [topic]\"). Output is a markdown briefing (default) or .docx document (on request) with full citations and an audit log.","https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fresearch\u002Fresearch\u002Fskills\u002Fresearch\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":18},"01M75RA8RK2JVWB8MYGRB65V75","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":18},"01M75RA08RXYRFSTNC6EEEX4ZD","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002FTehutiRaEl\u002FTHEHIVE\u002Fblob\u002Fmain\u002Fskills-library\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[]]