[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M792P3QPHQ54ZVQFSXXJSSDD":3,"skill-same:01M792P3QPHQ54ZVQFSXXJSSDD":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M792P3QPHQ54ZVQFSXXJSSDD","stack-choice",null,"Evaluate technology options against requirements, team skill, scale and total cost, and record why. Use when evaluating technologies, frameworks, or database trade-offs.","poorvith-mp\u002Fskills-developer","poorvith-mp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F277478855?v=4","01M78Z5K0YH1Z3PX815PGQ96ND","Poorvith M P","01M792ACSFXT45RJ69SSGKTVJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-developer\u002Fblob\u002Fmain\u002Fskills\u002Fstack-choice\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: stack-choice\nlast_reviewed: 2026-09-06\ngroup: Understand and design\ndescription: >-\n  Evaluate technology options against requirements, team skill, scale and total cost, and record\n  why. Use when evaluating technologies, frameworks, or database trade-offs.\n---\n\n# Stack Choice\n\nThe most expensive technical debt is selecting an architectural stack that solves problems you do not yet have. Technology selection must be governed by operational Total Cost of Ownership (TCO), existing team competency, delivery velocity, and irreversible technical constraints, formally documented in an Architectural Decision Record (ADR).\n\n## 1. The 5-Dimension Stack Evaluation Rubric\n\nEvaluate technology candidates across five weighted criteria:\n\n### A. Operational Total Cost of Ownership (TCO)\nCalculate fully-loaded costs across 12 months:\n$$\\text{TCO} = \\text{Infrastructure Bills (Cloud\u002FCompute\u002FDB)} + \\text{Third-Party SaaS Licenses} + \\text{Maintenance Engineering Hours} + \\text{Hiring\u002FOnboarding Cost}$$\n- *Managed vs. Self-Hosted*: A managed database (e.g. AWS RDS Aurora at $150\u002Fmo) is vastly cheaper than self-hosting PostgreSQL on EC2 when factoring in engineer hours for backups, failover patching, and telemetry.\n- *Vendor Lock-In Evaluation*: Distinguish between open standards with hosted vendors (PostgreSQL on Supabase\u002FNeon\u002FRDS) vs proprietary locked APIs (DynamoDB, Firebase).\n\n### B. Team Skill & Onboarding Velocity\n- Prioritize technologies the current engineering team already understands in depth. An unfamiliar \"modern\" framework introduces a 3–6 month velocity penalty while engineers learn its failure modes in production.\n- Default rule: Choose \"boring technology\" (Dan McKinley's Innovation Tokens) for 90% of the stack, spending at most 2 innovation tokens on core product differentiators.\n\n### C. Data Modeling & Database Trade-Off Matrix\n\n| Architecture Pattern | Recommended Technology | When to Choose | When to Avoid |\n|---|---|---|---|\n| **Relational \u002F ACID** | PostgreSQL | 90% of web apps; structured entities, foreign keys, complex joins, financial ledgers | Write-heavy telemetry ingestion >100k events\u002Fsec |\n| **Document \u002F Semi-Structured** | MongoDB \u002F DynamoDB | Rapidly mutating schemas with isolated document access patterns | Relational reporting, multi-table transactions |\n| **Local-First \u002F Edge** | SQLite \u002F Turso \u002F Cloudflare D1 | Single-tenant silos, desktop apps, embedded edge devices, minimal memory footprints | Multi-region simultaneous writes without CRDTs |\n| **In-Memory Cache & Queues** | Redis \u002F Dragonfly | Session caching, token blacklists, pub\u002Fsub, rate limiters | Persistent primary data storage |\n\n### D. Frontend & Application Framework Trade-offs\n- **Next.js \u002F SvelteKit \u002F Nuxt**: Full-stack applications requiring SEO, authenticated dashboards, and server-side rendering (SSR).\n- **Astro \u002F Vite**: Content sites, blogs, and marketing surfaces with zero-JS baseline and client islands.\n- **Go \u002F Rust**: High-throughput microservices, network proxies, or compute-heavy background processing engines.\n- **Node.js \u002F Python**: Rapid API prototyping, data manipulation, LLM orchestrations, and large ecosystem libraries.\n\n## 2. Architectural Decision Record (ADR) Template\n\nEvery significant stack choice must be recorded as an immutable ADR in `docs\u002Fadr\u002F`:\n\n```markdown\n# ADR-004: Adoption of PostgreSQL with Prisma ORM\n\n## Status\nAccepted (2026-09-06)\n\n## Context\nOur application requires multi-tenant data isolation, strict transaction atomicity for billing,\nand support for complex reporting queries. The team is proficient in TypeScript and SQL.\n\n## Decision\nWe choose PostgreSQL 16 (hosted on AWS RDS Aurora) using Prisma ORM for schema migrations\nand typed client generation.\n\n## Consequences & Trade-offs\n- Positive: Guaranteed ACID compliance; strong TypeScript type safety across queries.\n- Positive: Rich ecosystem of extensions (pgvector for semantic search).\n- Negative: Connection pooling requires PgBouncer \u002F RDS Proxy for serverless execution.\n- Risk Mitigation: Configure AWS RDS Proxy immediately to prevent connection exhaustion.\n```\n\n## Critical Rules\n1. Every stack recommendation must explicitly quantify the trade-offs: what capabilities or operational ease is sacrificed for the chosen benefits.\n2. Limit total innovation tokens to two per project; novel databases, novel runtimes, and novel deployment models should not all be adopted simultaneously.\n3. Record all stack decisions in an ADR with context, alternatives considered, and failure criteria.\n\n## Verification Checklist\n- [ ] Requirements decomposed into data shape, read\u002Fwrite ratios, latency, and compliance constraints.\n- [ ] Total Cost of Ownership (TCO) modeled across infrastructure and ongoing maintenance.\n- [ ] Team skill gap assessed with realistic learning-curve latency accounted for.\n- [ ] At least two viable alternatives evaluated with explicit rejection rationales.\n- [ ] ADR drafted detailing context, decision, consequences, and mitigation paths.\n\n## Anti-Patterns\n- NEVER select a database or framework solely because it is trending on social media.\n- NEVER adopt distributed microservices architecture when a modular monolith satisfies scale requirements.\n- NEVER switch production technology without documenting a migration and rollback strategy.\n","# Stack Choice\n\nThe most expensive technical debt is selecting an architectural stack that solves problems you do not yet have. Technology selection must be governed by operational Total Cost of Ownership (TCO), existing team competency, delivery velocity, and irreversible technical constraints, formally documented in an Architectural Decision Record (ADR).\n\n## 1. The 5-Dimension Stack Evaluation Rubric\n\nEvaluate technology candidates across five weighted criteria:\n\n### A. Operational Total Cost of Ownership (TCO)\nCalculate fully-loaded costs across 12 months:\n$$\\text{TCO} = \\text{Infrastructure Bills (Cloud\u002FCompute\u002FDB)} + \\text{Third-Party SaaS Licenses} + \\text{Maintenance Engineering Hours} + \\text{Hiring\u002FOnboarding Cost}$$\n- *Managed vs. Self-Hosted*: A managed database (e.g. AWS RDS Aurora at $150\u002Fmo) is vastly cheaper than self-hosting PostgreSQL on EC2 when factoring in engineer hours for backups, failover patching, and telemetry.\n- *Vendor Lock-In Evaluation*: Distinguish between open standards with hosted vendors (PostgreSQL on Supabase\u002FNeon\u002FRDS) vs proprietary locked APIs (DynamoDB, Firebase).\n\n### B. Team Skill & Onboarding Velocity\n- Prioritize technologies the current engineering team already understands in depth. An unfamiliar \"modern\" framework introduces a 3–6 month velocity penalty while engineers learn its failure modes in production.\n- Default rule: Choose \"boring technology\" (Dan McKinley's Innovation Tokens) for 90% of the stack, spending at most 2 innovation tokens on core product differentiators.\n\n### C. Data Modeling & Database Trade-Off Matrix\n\n| Architecture Pattern | Recommended Technology | When to Choose | When to Avoid |\n|---|---|---|---|\n| **Relational \u002F ACID** | PostgreSQL | 90% of web apps; structured entities, foreign keys, complex joins, financial ledgers | Write-heavy telemetry ingestion >100k events\u002Fsec |\n| **Document \u002F Semi-Structured** | MongoDB \u002F DynamoDB | Rapidly mutating schemas with isolated document access patterns | Relational reporting, multi-table transactions |\n| **Local-First \u002F Edge** | SQLite \u002F Turso \u002F Cloudflare D1 | Single-tenant silos, desktop apps, embedded edge devices, minimal memory footprints | Multi-region simultaneous writes without CRDTs |\n| **In-Memory Cache & Queues** | Redis \u002F Dragonfly | Session caching, token blacklists, pub\u002Fsub, rate limiters | Persistent primary data storage |\n\n### D. Frontend & Application Framework Trade-offs\n- **Next.js \u002F SvelteKit \u002F Nuxt**: Full-stack applications requiring SEO, authenticated dashboards, and server-side rendering (SSR).\n- **Astro \u002F Vite**: Content sites, blogs, and marketing surfaces with zero-JS baseline and client islands.\n- **Go \u002F Rust**: High-throughput microservices, network proxies, or compute-heavy background processing engines.\n- **Node.js \u002F Python**: Rapid API prototyping, data manipulation, LLM orchestrations, and large ecosystem libraries.\n\n## 2. Architectural Decision Record (ADR) Template\n\nEvery significant stack choice must be recorded as an immutable ADR in `docs\u002Fadr\u002F`:\n\n```markdown\n# ADR-004: Adoption of PostgreSQL with Prisma ORM\n\n## Status\nAccepted (2026-09-06)\n\n## Context\nOur application requires multi-tenant data isolation, strict transaction atomicity for billing,\nand support for complex reporting queries. The team is proficient in TypeScript and SQL.\n\n## Decision\nWe choose PostgreSQL 16 (hosted on AWS RDS Aurora) using Prisma ORM for schema migrations\nand typed client generation.\n\n## Consequences & Trade-offs\n- Positive: Guaranteed ACID compliance; strong TypeScript type safety across queries.\n- Positive: Rich ecosystem of extensions (pgvector for semantic search).\n- Negative: Connection pooling requires PgBouncer \u002F RDS Proxy for serverless execution.\n- Risk Mitigation: Configure AWS RDS Proxy immediately to prevent connection exhaustion.\n```\n\n## Critical Rules\n1. Every stack recommendation must explicitly quantify the trade-offs: what capabilities or operational ease is sacrificed for the chosen benefits.\n2. Limit total innovation tokens to two per project; novel databases, novel runtimes, and novel deployment models should not all be adopted simultaneously.\n3. Record all stack decisions in an ADR with context, alternatives considered, and failure criteria.\n\n## Verification Checklist\n- [ ] Requirements decomposed into data shape, read\u002Fwrite ratios, latency, and compliance constraints.\n- [ ] Total Cost of Ownership (TCO) modeled across infrastructure and ongoing maintenance.\n- [ ] Team skill gap assessed with realistic learning-curve latency accounted for.\n- [ ] At least two viable alternatives evaluated with explicit rejection rationales.\n- [ ] ADR drafted detailing context, decision, consequences, and mitigation paths.\n\n## Anti-Patterns\n- NEVER select a database or framework solely because it is trending on social media.\n- NEVER adopt distributed microservices architecture when a modular monolith satisfies scale requirements.\n- NEVER switch production technology without documenting a migration and rollback strategy.\n",{"name":5,"group":24,"description":7,"last_reviewed":25},"Understand and design",1788652800000,"main","f6a053c46d4bf0f779ea766c929b6f6f92c51765","skills\u002Fstack-choice","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-developer","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskillary","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp","poorvithmp.com","Shipping tools for problems people notice too late.","2026-10-02 21:32:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add poorvith-mp\u002Fskills-developer --skill stack-choice",{"tool":41,"command":42},"bunx","bunx skills add poorvith-mp\u002Fskills-developer --skill stack-choice",{"tool":44,"command":45},"pnpm","pnpm dlx skills add poorvith-mp\u002Fskills-developer --skill stack-choice","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-developer\u002Fblob\u002Fmain\u002Fskills\u002Fstack-choice\u002FSKILL.md",true,[49,55],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"evals\u002Frouting.yaml","REFERENCE","参考文档",830,"https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-developer\u002Fblob\u002Fmain\u002Fskills\u002Fstack-choice\u002Fevals\u002Frouting.yaml",{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"stack-choice.skill","OTHER","其他",3426,"https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-developer\u002Fblob\u002Fmain\u002Fskills\u002Fstack-choice\u002Fstack-choice.skill",[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M792Q79X14YD94WXEEJY9GCW","workflow-optimizer","Moved to workflow-mapping in skills-agents. Removed in v4.1.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-developer\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-optimizer\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M792Q387DNC91VKEVM07SJM3","webhooks","Build webhook receivers with signature verification, idempotency, retries and dead letter queues. Use when implementing, verifying, or signing incoming\u002Foutgoing webhooks.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-developer\u002Fblob\u002Fmain\u002Fskills\u002Fwebhooks\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M792PZW0SM71X7V9709ZWHCR","webhook-handler-builder","Moved to webhooks in skills-developer. Removed in v4.1.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-developer\u002Fblob\u002Fmain\u002Fskills\u002Fwebhook-handler-builder\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M792PW7XPB7J9S0QSS52JXZV","voice-ai-integration-engineer","Moved to speech-pipelines in skills-developer. Removed in v4.1.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-developer\u002Fblob\u002Fmain\u002Fskills\u002Fvoice-ai-integration-engineer\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M792PRZ5GSAQ1P2999V9XAJ5","typescript-migrator","Moved to port-code in skills-developer. Removed in v4.1.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-developer\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript-migrator\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M792PQDARKP00V8Z3GYD4QZP","trigger-dev","Moved to trigger-dev in skills-agents. Removed in v4.1.","https:\u002F\u002Fgithub.com\u002Fpoorvith-mp\u002Fskills-developer\u002Fblob\u002Fmain\u002Fskills\u002Ftrigger-dev\u002FSKILL.md",[],[]]