[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79B4BCEQ6V3D7G2FKGAVREA":3,"skill-same:01M79B4BCEQ6V3D7G2FKGAVREA":82},{"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":36,"commitSha":37,"skillDirectory":38,"forksCount":13,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M79B4BCEQ6V3D7G2FKGAVREA","frontend-api-integration-patterns",null,"Production-ready patterns for frontend API integration: cancellation, retry, debounce, dedup, error normalization with @repo\u002Ferrors. Use when building or reviewing async data fetching in apps\u002Fportal. Anti-trigger: do not duplicate ApiError locally; do not retry 4xx; do not skip AbortController cleanup.","Timothy191\u002Farch-systems-portal","Timothy191","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219252205?v=4","01M79B3963G748F05KS7AH3NJR","01M79B396N88AYYNHK5G2DNP2S",0,"MIT","https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ffrontend-api-integration-patterns\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: frontend-api-integration-patterns\ndescription: >-\n  Production-ready patterns for frontend API integration: cancellation, retry,\n  debounce, dedup, error normalization with @repo\u002Ferrors. Use when building\n  or reviewing async data fetching in apps\u002Fportal. Anti-trigger: do not\n  duplicate ApiError locally; do not retry 4xx; do not skip AbortController cleanup.\nrisk: safe\nsource: community\ntags:\n  - frontend\n  - api-integration\n  - typescript\n  - react\n  - async\ntools:\n  - claude\n  - cursor\n  - gemini\n  - codex\n---\n\n# Frontend API Integration Patterns\n\nCorrectness-first async patterns for the Arch Systems portal. Load references as needed — do not inline duplicate error types.\n\n## When to use\n\n- New hooks or components fetching from APIs\n- Reviewing race conditions, stale data, or retry logic\n- Normalizing errors across portal and API\n\n## Workflow\n\n1. Read [`references\u002Frepo-mapping.md`](references\u002Frepo-mapping.md) — use existing `@repo\u002Ferrors`, never redefine\n2. Apply patterns from [`references\u002Fcore-patterns.md`](references\u002Fcore-patterns.md)\n3. Check [`references\u002Fanti-patterns.md`](references\u002Fanti-patterns.md) before merge\n4. See [`references\u002Fexamples.md`](references\u002Fexamples.md) for full implementations\n\n## References\n\n| File                                                           | Content                                         |\n| -------------------------------------------------------------- | ----------------------------------------------- |\n| [`references\u002Frepo-mapping.md`](references\u002Frepo-mapping.md)     | This repo's modules and imports                 |\n| [`references\u002Fcore-patterns.md`](references\u002Fcore-patterns.md)   | API layer, cancellation, retry, debounce, dedup |\n| [`references\u002Fexamples.md`](references\u002Fexamples.md)             | Prediction, search, optimistic UI               |\n| [`references\u002Fbest-practices.md`](references\u002Fbest-practices.md) | Practices and pitfalls tables                   |\n| [`references\u002Fanti-patterns.md`](references\u002Fanti-patterns.md)   | SAP violations to avoid                         |\n| [`references\u002Flimitations.md`](references\u002Flimitations.md)       | React Query \u002F idempotency notes                 |\n\n## Assets\n\nNo static templates required — patterns are TypeScript reference implementations in `references\u002F`.\n","# Frontend API Integration Patterns\n\nCorrectness-first async patterns for the Arch Systems portal. Load references as needed — do not inline duplicate error types.\n\n## When to use\n\n- New hooks or components fetching from APIs\n- Reviewing race conditions, stale data, or retry logic\n- Normalizing errors across portal and API\n\n## Workflow\n\n1. Read [`references\u002Frepo-mapping.md`](references\u002Frepo-mapping.md) — use existing `@repo\u002Ferrors`, never redefine\n2. Apply patterns from [`references\u002Fcore-patterns.md`](references\u002Fcore-patterns.md)\n3. Check [`references\u002Fanti-patterns.md`](references\u002Fanti-patterns.md) before merge\n4. See [`references\u002Fexamples.md`](references\u002Fexamples.md) for full implementations\n\n## References\n\n| File                                                           | Content                                         |\n| -------------------------------------------------------------- | ----------------------------------------------- |\n| [`references\u002Frepo-mapping.md`](references\u002Frepo-mapping.md)     | This repo's modules and imports                 |\n| [`references\u002Fcore-patterns.md`](references\u002Fcore-patterns.md)   | API layer, cancellation, retry, debounce, dedup |\n| [`references\u002Fexamples.md`](references\u002Fexamples.md)             | Prediction, search, optimistic UI               |\n| [`references\u002Fbest-practices.md`](references\u002Fbest-practices.md) | Practices and pitfalls tables                   |\n| [`references\u002Fanti-patterns.md`](references\u002Fanti-patterns.md)   | SAP violations to avoid                         |\n| [`references\u002Flimitations.md`](references\u002Flimitations.md)       | React Query \u002F idempotency notes                 |\n\n## Assets\n\nNo static templates required — patterns are TypeScript reference implementations in `references\u002F`.\n",{"name":5,"risk":23,"tags":24,"tools":30,"source":35,"description":7},"safe",[25,26,27,28,29],"frontend","api-integration","typescript","react","async",[31,32,33,34],"claude","cursor","gemini","codex","community","main","44656ee607735b31d88e298752f574936b85af75",".github\u002Fskills\u002Ffrontend-api-integration-patterns","https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal","https:\u002F\u002Fgithub.com\u002FTimothy191","2026-07-24 02:57:18",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add Timothy191\u002Farch-systems-portal --skill frontend-api-integration-patterns",{"tool":48,"command":49},"bunx","bunx skills add Timothy191\u002Farch-systems-portal --skill frontend-api-integration-patterns",{"tool":51,"command":52},"pnpm","pnpm dlx skills add Timothy191\u002Farch-systems-portal --skill frontend-api-integration-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ffrontend-api-integration-patterns\u002FSKILL.md",true,[56,62,66,70,74,78],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fanti-patterns.md","REFERENCE","参考文档",965,"https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ffrontend-api-integration-patterns\u002Freferences\u002Fanti-patterns.md",{"path":63,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fbest-practices.md",1254,"https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ffrontend-api-integration-patterns\u002Freferences\u002Fbest-practices.md",{"path":67,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fcore-patterns.md",3263,"https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ffrontend-api-integration-patterns\u002Freferences\u002Fcore-patterns.md",{"path":71,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fexamples.md",484,"https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ffrontend-api-integration-patterns\u002Freferences\u002Fexamples.md",{"path":75,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Flimitations.md",432,"https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ffrontend-api-integration-patterns\u002Freferences\u002Flimitations.md",{"path":79,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Frepo-mapping.md",921,"https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ffrontend-api-integration-patterns\u002Freferences\u002Frepo-mapping.md",[83,89,95,102,109,116],{"skillNo":84,"name":85,"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":86,"categories":87,"keywords":88,"publishedAt":18},"01M79BVF4ZP6Z3GH36Y7BAAZHE","escape-skill","https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002Fagent-harnesses\u002Fclaude-code-harness\u002Ftests\u002Ffixtures\u002Fskills\u002Fzz-review-escape\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"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":92,"categories":93,"keywords":94,"publishedAt":18},"01M79BVE0FF9QC71P53B18GCQ8","zz-review-empty","https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002Fagent-harnesses\u002Fclaude-code-harness\u002Ftests\u002Ffixtures\u002Fskills\u002Fzz-review-empty\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M79BVAB0TARBFRF4MCQ1T8AG","workflow-guide","Explicit helper for Cursor PM ↔ Claude Code two-agent workflow guidance. Do NOT load for: solo implementation, workflow setup, handoff execution, or general process coaching.","https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002Fagent-harnesses\u002Fclaude-code-harness\u002Fskills\u002Fworkflow-guide\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":18},"01M79BV634WBDSVR8DXAHMHA19","vibecoder-guide","Explicit helper for non-technical VibeCoder coaching: what to ask next, how to describe work, and how to stay safe. Do NOT load for: direct implementation, technical review, or Cursor\u002FPM workflow.","https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002Fagent-harnesses\u002Fclaude-code-harness\u002Fskills\u002Fvibecoder-guide\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":18},"01M79BV2G6901RYQGBT3QWDK64","ui","Explicit helper for UI components, hero sections, forms, feedback, and contact surfaces. Do NOT load for: authentication, backend implementation, database work, or business logic.","https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002Fagent-harnesses\u002Fclaude-code-harness\u002Fskills\u002Fui\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":18},"01M79BTW2QT48HNNS9NCKE8PAH","session","Unified session management window. Handles initialization, memory, state all-in-one. Explicit \u002Fsession invocation only — sub-skills handle auto-delegation. Use when managing Claude Code sessions, \u002Fsession command. Do NOT load for: app user sessions, login state, authentication features.","https:\u002F\u002Fgithub.com\u002FTimothy191\u002Farch-systems-portal\u002Fblob\u002Fmain\u002Fagent-harnesses\u002Fclaude-code-harness\u002Fskills\u002Fsession\u002FSKILL.md",[],[]]