[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79TG7MFBCPNSXBP89B38ND2":3,"skill-same:01M79TG7MFBCPNSXBP89B38ND2":53},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":14,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M79TG7MFBCPNSXBP89B38ND2","javascript-architect",null,"Architect-level JavaScript guidance — module boundaries and load strategy, async and error-flow design, event-loop budgets, immutability and data-shape decisions, and the runtime split between browser and server. Use when designing application structure or diagnosing coupling, not for syntax.","SriAkhilSJ\u002FPulseAIRepo","SriAkhilSJ","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206201543?v=4","01M79RWFD1Q09B89SXTTKKJY6Z","Sri Akhil SJ","01M79RWFE26NPG0BZ1FRNX376H",0,"MIT","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Ffrontend-development-architect\u002Fjavascript-architect\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: javascript-architect\ndescription: Architect-level JavaScript guidance — module boundaries and load strategy, async and error-flow design, event-loop budgets, immutability and data-shape decisions, and the runtime split between browser and server. Use when designing application structure or diagnosing coupling, not for syntax.\nlicense: MIT\ncompatibility: ES2022+, Node 20+ and evergreen browsers\nmetadata:\n  crusor-domain: website-architect\n  crusor-path: website-architect\u002Ffrontend-development-architect\u002Fjavascript-architect\n  crusor-origin: original\n  crusor-sources: \"MDN JavaScript; ECMAScript 2024; Node.js docs\"\n  crusor-triggers: \"javascript, modules, async, event-loop, promises, errors, immutability, bundling, esm, cjs\"\n  crusor-verified-on: \"2026-10-30\"\n---\n\n# JavaScript Architecture\n\nJavaScript failures are almost never syntax. They are **module boundaries,\nasync flow, and error ownership**. Decide those three, and the rest is local.\n\n## When to use\n\n- Splitting an application into modules\u002Fpackages.\n- Designing an async flow or an error contract.\n- Deciding ESM vs CJS, browser vs server runtime.\n- Performance work where the event loop is the suspect.\n\n## When NOT to use\n\n- A local refactor with no boundary change.\n- Type-shape questions (see `typescript-architect`).\n\n## Decision 1 — Module boundaries\n\n- One public entry per module (`index.js`) exposing a deliberate surface; deep\n  imports are private.\n- Dependencies point inward: `app → features → domain → util`. No cycles — a\n  cycle is two modules sharing a concept they have not named.\n- A module owns its data and its invariants; callers ask for behaviour, not for\n  raw state to mutate.\n- Prefer many small pure modules over one \"service\" that knows everything.\n- Runtime split is explicit: browser-only code never imports Node built-ins, and\n  server-only code never reaches a client bundle.\n\n## Decision 2 — Async and error flow\n\n- Every async boundary has an owner: who retries, who cancels, who surfaces.\n- `async\u002Fawait` at the boundary, promise combinators for concurrency:\n  `Promise.all` (fail-fast), `allSettled` (independent), `any` (race) — choose\n  deliberately, they are not interchangeable.\n- Cancellation is part of the contract (`AbortController`); a stale response must\n  not overwrite a fresh one.\n- No floating promises: unhandled rejections are defects.\n- Errors are values at module boundaries and thrown only inside; convert once.\n- Never swallow: `catch {}` is a bug unless a comment states the recovery.\n\n## Decision 3 — Event loop and budgets\n\n- Long tasks (>50 ms) are architecture problems: move parsing, sorting and\n  crypto off the critical path or into a worker.\n- Chatty async is a waterfall: independent work runs in parallel, dependent work\n  is explicit.\n- Avoid per-item timers and per-row listeners; batch, delegate, or observe.\n- Timers are not scheduling: prefer `requestIdleCallback`\u002F`scheduler` semantics\n  for deferrable work.\n\n## Decision 4 — Data shape\n\n- Immutable at boundaries; mutation stays inside one owner's functions.\n- Normalise only when the same entity appears in multiple views; otherwise keep\n  shapes aligned with their producer.\n- Validate at trust boundaries (network, storage, user input); inside the app,\n  trust types.\n\n## Failure modes at scale\n\n- Barrel files making every import pull the world.\n- One global event bus as the integration strategy — boundaries lost, order\n  undefined.\n- Async errors surfacing as a blank screen because nobody owned them.\n- ESM\u002FCJS dual-loading the same dependency, breaking identity checks.\n- `JSON.parse(JSON.stringify(x))` as \"deep clone\" — drops Dates, Maps, undefined.\n\n## Verification receipts\n\n1. Dependency graph has no cycles (madge\u002Fgraph tool, committed output).\n2. `node --experimental` \u002F build passes with strict ESM resolution.\n3. A cancellation test: slow request loses to a newer one.\n4. Bundle analyse: no module pulls a dependency it does not use.\n5. Long-task profile of the primary interaction.\n","# JavaScript Architecture\n\nJavaScript failures are almost never syntax. They are **module boundaries,\nasync flow, and error ownership**. Decide those three, and the rest is local.\n\n## When to use\n\n- Splitting an application into modules\u002Fpackages.\n- Designing an async flow or an error contract.\n- Deciding ESM vs CJS, browser vs server runtime.\n- Performance work where the event loop is the suspect.\n\n## When NOT to use\n\n- A local refactor with no boundary change.\n- Type-shape questions (see `typescript-architect`).\n\n## Decision 1 — Module boundaries\n\n- One public entry per module (`index.js`) exposing a deliberate surface; deep\n  imports are private.\n- Dependencies point inward: `app → features → domain → util`. No cycles — a\n  cycle is two modules sharing a concept they have not named.\n- A module owns its data and its invariants; callers ask for behaviour, not for\n  raw state to mutate.\n- Prefer many small pure modules over one \"service\" that knows everything.\n- Runtime split is explicit: browser-only code never imports Node built-ins, and\n  server-only code never reaches a client bundle.\n\n## Decision 2 — Async and error flow\n\n- Every async boundary has an owner: who retries, who cancels, who surfaces.\n- `async\u002Fawait` at the boundary, promise combinators for concurrency:\n  `Promise.all` (fail-fast), `allSettled` (independent), `any` (race) — choose\n  deliberately, they are not interchangeable.\n- Cancellation is part of the contract (`AbortController`); a stale response must\n  not overwrite a fresh one.\n- No floating promises: unhandled rejections are defects.\n- Errors are values at module boundaries and thrown only inside; convert once.\n- Never swallow: `catch {}` is a bug unless a comment states the recovery.\n\n## Decision 3 — Event loop and budgets\n\n- Long tasks (>50 ms) are architecture problems: move parsing, sorting and\n  crypto off the critical path or into a worker.\n- Chatty async is a waterfall: independent work runs in parallel, dependent work\n  is explicit.\n- Avoid per-item timers and per-row listeners; batch, delegate, or observe.\n- Timers are not scheduling: prefer `requestIdleCallback`\u002F`scheduler` semantics\n  for deferrable work.\n\n## Decision 4 — Data shape\n\n- Immutable at boundaries; mutation stays inside one owner's functions.\n- Normalise only when the same entity appears in multiple views; otherwise keep\n  shapes aligned with their producer.\n- Validate at trust boundaries (network, storage, user input); inside the app,\n  trust types.\n\n## Failure modes at scale\n\n- Barrel files making every import pull the world.\n- One global event bus as the integration strategy — boundaries lost, order\n  undefined.\n- Async errors surfacing as a blank screen because nobody owned them.\n- ESM\u002FCJS dual-loading the same dependency, breaking identity checks.\n- `JSON.parse(JSON.stringify(x))` as \"deep clone\" — drops Dates, Maps, undefined.\n\n## Verification receipts\n\n1. Dependency graph has no cycles (madge\u002Fgraph tool, committed output).\n2. `node --experimental` \u002F build passes with strict ESM resolution.\n3. A cancellation test: slow request loses to a newer one.\n4. Bundle analyse: no module pulls a dependency it does not use.\n5. Long-task profile of the primary interaction.\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":31},{"crusor-path":25,"crusor-domain":26,"crusor-origin":27,"crusor-sources":28,"crusor-triggers":29,"crusor-verified-on":30},"website-architect\u002Ffrontend-development-architect\u002Fjavascript-architect","website-architect","original","MDN JavaScript; ECMAScript 2024; Node.js docs","javascript, modules, async, event-loop, promises, errors, immutability, bundling, esm, cjs","2026-10-30","ES2022+, Node 20+ and evergreen browsers","main","8fa4e240be65b98472c9b2d3a505ade2aea1a5c6","skills\u002Fwebsite-architect\u002Ffrontend-development-architect\u002Fjavascript-architect","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ","Studying in CMR institute of Technology\r\n2024 - 2028","2026-11-13 21:02:23",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add SriAkhilSJ\u002FPulseAIRepo --skill javascript-architect",{"tool":45,"command":46},"bunx","bunx skills add SriAkhilSJ\u002FPulseAIRepo --skill javascript-architect",{"tool":48,"command":49},"pnpm","pnpm dlx skills add SriAkhilSJ\u002FPulseAIRepo --skill javascript-architect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Ffrontend-development-architect\u002Fjavascript-architect\u002FSKILL.md",true,[],[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M79TTAJNACCNXCEN3649CMMD","interaction-patterns-architect","Architect-level interaction design in code — choosing established patterns over invented ones, feedback and latency behaviour, destructive-action safeguards, navigation and overlay conventions, and the state model behind every interactive surface. Use when a screen has to behave, not just look.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Fui-ux-implementation-architect\u002Finteraction-patterns-architect\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M79TT2ESKB1TKZBYY9KYJHV9","design-system-ops-architect","Architect-level operation of a design system in code — token pipelines and versioning, component API and variant policy, the catalogue as the contract, adoption metrics, and the governance that stops a system from forking into three. Use when a component library must survive several teams.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Fui-ux-implementation-architect\u002Fdesign-system-ops-architect\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M79TSV0PWGNK3PRX9P4JDR9N","design-handoff-architect","Architect-level design handoff — what must be specified before implementation starts, tokens over raw values, responsive and content-limit contracts, state matrices, and the review loop that catches drift between design and code. Use when a design is about to become code.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Fui-ux-implementation-architect\u002Fdesign-handoff-architect\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M79TSJS9BFXNP696FMJ9GKDA","content-microcopy-architect","Architect-level UI content — where strings live, voice and terminology consistency, error and empty-state copy as part of the interface, translation-ready authoring, and the content model a product needs before it multiplies screens. Use when the words in the interface matter as much as the pixels.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Fui-ux-implementation-architect\u002Fcontent-microcopy-architect\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M79TSCNBST3N1M68V1KPH9HQ","ui-ux-implementation-architect","Architect-level direction for turning a design into working UI — the handoff contract, component ownership versus screen-level layout, interaction and state conventions, design QA gates, and the review habits that keep an implementation faithful without frozen pixels. Use before any specific UI implementation skill.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Fui-ux-implementation-architect\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M79TS4N6A4D2QQ433VXS5D0R","test-strategy-architect","Architect-level test strategy — allocating assertions across unit, integration, contract and end-to-end layers, designing for testability through dependency boundaries, fixture and data strategy, and the flake and coverage policies that keep a suite trustworthy. Use when defining how a codebase is tested.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Ftesting-and-deployment-architect\u002Ftest-strategy-architect\u002FSKILL.md",[],[]]