[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ETM2Y032R3C6WGYEFMRSM1":3,"skill-same:01M7ETM2Y032R3C6WGYEFMRSM1":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"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":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7ETM2Y032R3C6WGYEFMRSM1","ams-microservices-pro",null,"TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-microservices-pro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: microservices-pro\ndescription: Design and operate microservices: decomposition, inter-service communication, data ownership, and operational maturity. Use when decomposing systems or reviewing service architectures.\ncategory: development\n---\n\n# Microservices Pro\n\n## Overview\n\nMicroservices trade **one complex deployable for many simpler ones** — buying independent scaling\nand team autonomy at the price of distributed-systems problems (network failures, eventual\nconsistency, observability complexity). Professional microservices work means decomposing along the\nright seams, owning data per service, communicating deliberately, and operating with the maturity\ndistributed systems demand.\n\nThe through-line: microservices are an organizational scaling pattern with a distributed-systems\ntax — pay it only when the organization needs it.\n\n## When to use\n\n- Decomposing a monolith (or deciding not to).\n- Designing service boundaries, APIs, and data ownership.\n- Choosing inter-service communication (sync vs async).\n- Reviewing a microservices architecture for coupling or operational gaps.\n- Debugging distributed issues (cascading failures, consistency, tracing).\n\n## Core concepts\n\n- **Decompose by bounded context, not by layer.** Services own business capabilities (orders,\n  payments, inventory) — not technical layers (a \"database service\" or \"UI service\"). Each service\n  owns its data, its logic, and its deployment. If two services always deploy together, they're\n  one service.\n- **Data ownership is absolute.** Each service owns its database; no shared tables, no direct\n  cross-service DB reads. Integration via APIs or events. Shared databases are the fastest way to\n  build a distributed monolith.\n- **Communication, chosen per interaction.** Synchronous (REST\u002FgRPC) for queries needing immediate\n  answers — with timeouts, retries, circuit breakers. Asynchronous (events\u002Fmessage broker) for\n  state changes others react to — with idempotent consumers, schema versioning, dead-letter queues.\n  Default to async for cross-domain updates; sync creates temporal coupling.\n- **Design for failure.** Every remote call can fail, hang, or return garbage. Bulkheads (isolate\n  failure), circuit breakers (fail fast when downstream is down), timeouts + retry budgets,\n  graceful degradation (what does the user see when recommendations are down? the page, minus\n  recommendations).\n- **Observability is mandatory, not nice.** Distributed tracing (trace IDs across services),\n  correlated structured logs, per-service golden signals, and dependency maps. Debugging without\n  tracing is archaeology.\n- **Independent deployability is the test.** If you can't deploy service A without coordinating\n  with teams B, C, D, you have a distributed monolith — all of the pain, none of the benefit.\n  Backward-compatible API evolution (expand-contract) preserves independence.\n\n## Practical workflow\n\n1. **Start from the monolith (usually).** Build the modular monolith first with clean internal\n   boundaries; extract services when a boundary shows independent scaling, team, or failure-domain\n   needs. Premature distribution is the costliest mistake.\n2. **Draw the service map.** Bounded contexts → candidate services; for each: owned data, public\n   API\u002Fevents, team owner. Challenge every service: what justifies its network boundary?\n3. **Define contracts first.** API schemas (OpenAPI\u002FProtobuf) and event schemas (with versioning\n   policy) reviewed like code. Breaking changes go through expand-contract migration.\n4. **Build the platform basics.** Service discovery\u002Fregistry, centralized config, secret management,\n   CI\u002FCD per service (build once, deploy independently), and the observability stack (tracing,\n   metrics, logs) *before* the service count grows.\n5. **Harden each service.** Timeouts on every outbound call, circuit breakers, bulkheads, retry\n   budgets with jitter, health checks (liveness vs readiness), graceful shutdown, and runbooks.\n6. **Operate as a system.** Chaos testing (kill services in staging, verify degradation),\n   end-to-end tracing reviews, dependency audits, and blameless postmortems for cross-service\n   incidents.\n\nService readiness checklist:\n\n```text\n[ ] Owns its data; no shared DB access with other services\n[ ] API versioned; backward-compatible changes only (or expand-contract plan)\n[ ] Timeouts + retries + circuit breaker on every outbound call\n[ ] Emits\u002Fconsumes versioned events idempotently; DLQ configured\n[ ] Distributed tracing + correlated logs + golden-signal dashboards\n[ ] Deploys independently; rollback tested; health checks wired\n[ ] Runbook exists: failure modes, degradation behavior, escalation\n```\n\n## Common pitfalls\n\n- **Distributed monolith.** Services sharing a database, deploying in lockstep, and calling each\n  other synchronously in deep chains — all the operational cost, none of the autonomy.\n- **Chatty synchronous chains.** Service A → B → C → D per request: latency adds up, and one\n  slow service cascades. Async events and denormalized read models break the chains.\n- **No data ownership.** \"Just read their table, it's faster\" — until their migration breaks you\n  at 2am. APIs and events are the contract; the database is private.\n- **Eventual consistency surprises.** Assuming immediate consistency across services (read-your-\n  write across boundaries). Design UX for it (optimistic UI, \"processing\" states) or choose\n  sync where strong consistency is truly required.\n- **Missing distributed tracing.** Debugging a slow request across 8 services via 8 separate log\n  systems. Trace IDs from edge to database, or you're flying blind.\n- **Versioning neglect.** Breaking API changes deployed without coordination — the \"independent\n  deployability\" was fictional. Expand-contract; deprecate with timelines.\n- **Too many services too soon.** 40 services for a 5-person team — each service has fixed\n  operational overhead. Service count should roughly track team topology (Conway, constructively).\n","# Microservices Pro\n\n## Overview\n\nMicroservices trade **one complex deployable for many simpler ones** — buying independent scaling\nand team autonomy at the price of distributed-systems problems (network failures, eventual\nconsistency, observability complexity). Professional microservices work means decomposing along the\nright seams, owning data per service, communicating deliberately, and operating with the maturity\ndistributed systems demand.\n\nThe through-line: microservices are an organizational scaling pattern with a distributed-systems\ntax — pay it only when the organization needs it.\n\n## When to use\n\n- Decomposing a monolith (or deciding not to).\n- Designing service boundaries, APIs, and data ownership.\n- Choosing inter-service communication (sync vs async).\n- Reviewing a microservices architecture for coupling or operational gaps.\n- Debugging distributed issues (cascading failures, consistency, tracing).\n\n## Core concepts\n\n- **Decompose by bounded context, not by layer.** Services own business capabilities (orders,\n  payments, inventory) — not technical layers (a \"database service\" or \"UI service\"). Each service\n  owns its data, its logic, and its deployment. If two services always deploy together, they're\n  one service.\n- **Data ownership is absolute.** Each service owns its database; no shared tables, no direct\n  cross-service DB reads. Integration via APIs or events. Shared databases are the fastest way to\n  build a distributed monolith.\n- **Communication, chosen per interaction.** Synchronous (REST\u002FgRPC) for queries needing immediate\n  answers — with timeouts, retries, circuit breakers. Asynchronous (events\u002Fmessage broker) for\n  state changes others react to — with idempotent consumers, schema versioning, dead-letter queues.\n  Default to async for cross-domain updates; sync creates temporal coupling.\n- **Design for failure.** Every remote call can fail, hang, or return garbage. Bulkheads (isolate\n  failure), circuit breakers (fail fast when downstream is down), timeouts + retry budgets,\n  graceful degradation (what does the user see when recommendations are down? the page, minus\n  recommendations).\n- **Observability is mandatory, not nice.** Distributed tracing (trace IDs across services),\n  correlated structured logs, per-service golden signals, and dependency maps. Debugging without\n  tracing is archaeology.\n- **Independent deployability is the test.** If you can't deploy service A without coordinating\n  with teams B, C, D, you have a distributed monolith — all of the pain, none of the benefit.\n  Backward-compatible API evolution (expand-contract) preserves independence.\n\n## Practical workflow\n\n1. **Start from the monolith (usually).** Build the modular monolith first with clean internal\n   boundaries; extract services when a boundary shows independent scaling, team, or failure-domain\n   needs. Premature distribution is the costliest mistake.\n2. **Draw the service map.** Bounded contexts → candidate services; for each: owned data, public\n   API\u002Fevents, team owner. Challenge every service: what justifies its network boundary?\n3. **Define contracts first.** API schemas (OpenAPI\u002FProtobuf) and event schemas (with versioning\n   policy) reviewed like code. Breaking changes go through expand-contract migration.\n4. **Build the platform basics.** Service discovery\u002Fregistry, centralized config, secret management,\n   CI\u002FCD per service (build once, deploy independently), and the observability stack (tracing,\n   metrics, logs) *before* the service count grows.\n5. **Harden each service.** Timeouts on every outbound call, circuit breakers, bulkheads, retry\n   budgets with jitter, health checks (liveness vs readiness), graceful shutdown, and runbooks.\n6. **Operate as a system.** Chaos testing (kill services in staging, verify degradation),\n   end-to-end tracing reviews, dependency audits, and blameless postmortems for cross-service\n   incidents.\n\nService readiness checklist:\n\n```text\n[ ] Owns its data; no shared DB access with other services\n[ ] API versioned; backward-compatible changes only (or expand-contract plan)\n[ ] Timeouts + retries + circuit breaker on every outbound call\n[ ] Emits\u002Fconsumes versioned events idempotently; DLQ configured\n[ ] Distributed tracing + correlated logs + golden-signal dashboards\n[ ] Deploys independently; rollback tested; health checks wired\n[ ] Runbook exists: failure modes, degradation behavior, escalation\n```\n\n## Common pitfalls\n\n- **Distributed monolith.** Services sharing a database, deploying in lockstep, and calling each\n  other synchronously in deep chains — all the operational cost, none of the autonomy.\n- **Chatty synchronous chains.** Service A → B → C → D per request: latency adds up, and one\n  slow service cascades. Async events and denormalized read models break the chains.\n- **No data ownership.** \"Just read their table, it's faster\" — until their migration breaks you\n  at 2am. APIs and events are the contract; the database is private.\n- **Eventual consistency surprises.** Assuming immediate consistency across services (read-your-\n  write across boundaries). Design UX for it (optimistic UI, \"processing\" states) or choose\n  sync where strong consistency is truly required.\n- **Missing distributed tracing.** Debugging a slow request across 8 services via 8 separate log\n  systems. Trace IDs from edge to database, or you're flying blind.\n- **Versioning neglect.** Breaking API changes deployed without coordination — the \"independent\n  deployability\" was fictional. Expand-contract; deprecate with timelines.\n- **Too many services too soon.** 40 services for a 5-person team — each service has fixed\n  operational overhead. Service count should roughly track team topology (Conway, constructively).\n",{},"main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-microservices-pro",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill ams-microservices-pro",{"tool":37,"command":38},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill ams-microservices-pro",{"tool":40,"command":41},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill ams-microservices-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-microservices-pro\u002FSKILL.md",true,[],[46,53,61,68,75,82],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":57,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]