[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F995RVT9X23K8PP1TVAY14":3,"skill-same:01M7F995RVT9X23K8PP1TVAY14":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":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M7F995RVT9X23K8PP1TVAY14","frontend-api-integration-patterns",null,"Production-ready patterns for integrating frontend applications with backend APIs, including race condition handling, request cancellation, retry strategies, error normalization, and UI state management.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Ffrontend-api-integration-patterns\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: frontend-api-integration-patterns\ndescription: \"Production-ready patterns for integrating frontend applications with backend APIs, including race condition handling, request cancellation, retry strategies, error normalization, and UI state management.\"\ncategory: frontend\nrisk: safe\nsource: community\ndate_added: \"2026-04-23\"\nauthor: avij1109\ntags:\n  - frontend\n  - api-integration\n  - javascript\n  - react\n  - async\ntools:\n  - claude\n  - cursor\n  - gemini\n  - codex\n---\n\n# Frontend API Integration Patterns\n\n## Overview\n\nThis skill provides production-ready patterns for integrating frontend applications with backend APIs.\n\nMost frontend issues are not caused by APIs being difficult to call, but by **incorrect handling of asynchronous behavior**—leading to race conditions, stale data, duplicated requests, and poor user experience.\n\nThis skill focuses on **correctness, resilience, and user experience**, not just making API calls work.\n\n---\n\n## When to Use This Skill\n\n* Connecting frontend apps (React, React Native, Vue, etc.) to backend APIs\n* Integrating ML\u002FAI endpoints (`\u002Fpredict`, `\u002Frecommend`)\n* Handling asynchronous data in UI\n* Fixing stale data, flickering UI, or duplicate requests\n* Designing scalable frontend API layers\n\n---\n\n## Core Patterns\n\n### 1. API Layer (Separation of Concerns)\n\nCentralize API logic and normalize errors.\n\n```js id=\"k1m7r2\"\nexport class ApiError extends Error {\n  constructor(message, status, payload = null) {\n    super(message);\n    this.name = \"ApiError\";\n    this.status = status;\n    this.payload = payload;\n  }\n}\n\nexport const apiClient = async (url, options = {}) => {\n  const res = await fetch(url, {\n    headers: { \"Content-Type\": \"application\u002Fjson\" },\n    ...options,\n  });\n\n  if (!res.ok) {\n    let payload = null;\n    try {\n      payload = await res.json();\n    } catch (_) {}\n\n    throw new ApiError(\n      payload?.message || \"Request failed\",\n      res.status,\n      payload\n    );\n  }\n\n  \u002F\u002F handle empty responses safely (e.g. 204 No Content)\n  if (res.status === 204) return null;\n\n  const text = await res.text();\n  return text ? JSON.parse(text) : null;\n};\n```\n\n---\n\n### 2. Race-Safe State Management\n\nPrevent stale responses from overwriting fresh data.\n\n```js id=\"y7p4ha\"\nuseEffect(() => {\n  let cancelled = false;\n\n  const load = async () => {\n    try {\n      setLoading(true);\n      setError(null);\n\n      const result = await getUser();\n\n      if (!cancelled) setData(result);\n    } catch (err) {\n      if (!cancelled) setError(err.message);\n    } finally {\n      if (!cancelled) setLoading(false);\n    }\n  };\n\n  load();\n\n  return () => {\n    cancelled = true;\n  };\n}, []);\n```\n\n> Use a cancellation flag for non-fetch async logic. For network requests, prefer AbortController.\n\n---\n\n### 3. Request Cancellation (AbortController)\n\nCancel in-flight requests to avoid memory leaks and stale updates.\n\n```js id=\"l9x2pw\"\nuseEffect(() => {\n  const controller = new AbortController();\n\n  const load = async () => {\n    try {\n      const data = await getUser({ signal: controller.signal });\n      setData(data);\n    } catch (err) {\n      if (err.name === \"AbortError\") return;\n      setError(err.message);\n    }\n  };\n\n  load();\n  return () => controller.abort();\n}, [userId]);\n```\n\n---\n\n### 4. Retry with Exponential Backoff\n\nRetry only transient failures (5xx or network errors).\n\n```js id=\"8n3zcf\"\nconst sleep = (ms) => new Promise((r) => setTimeout(r, ms));\n\nconst fetchWithBackoff = async (fn, retries = 3, delay = 300) => {\n  try {\n    return await fn();\n  } catch (err) {\n    const isAbort = err.name === \"AbortError\";\n    const isHttpError = typeof err.status === \"number\";\n    const isRetryable = !isAbort && (!isHttpError || err.status >= 500);\n\n    if (retries \u003C= 0 || !isRetryable) throw err;\n\n    const nextDelay = delay * 2 + Math.random() * 100;\n    await sleep(nextDelay);\n\n    return fetchWithBackoff(fn, retries - 1, nextDelay);\n  }\n};\n```\n\n---\n\n### 5. Debounced API Calls\n\nAvoid excessive API calls (e.g., search inputs).\n\n```js id=\"i2r7wq\"\nconst useDebounce = (value, delay = 400) => {\n  const [debounced, setDebounced] = useState(value);\n\n  useEffect(() => {\n    const t = setTimeout(() => setDebounced(value), delay);\n    return () => clearTimeout(t);\n  }, [value, delay]);\n\n  return debounced;\n};\n```\n\n---\n\n### 6. Request Deduplication\n\nPrevent duplicate API calls across components.\n\n```js id=\"x8v4km\"\nconst inFlight = new Map();\n\nexport const dedupedFetch = (key, fn) => {\n  if (inFlight.has(key)) return inFlight.get(key);\n\n  const promise = fn().finally(() => inFlight.delete(key));\n  inFlight.set(key, promise);\n  return promise;\n};\n```\n\n---\n\n## Examples\n\n### Example 1: ML Prediction with Cancellation\n\n```js id=\"n5q2pt\"\nconst controllerRef = useRef(null);\n\nconst handlePredict = async (input) => {\n  controllerRef.current?.abort();\n  controllerRef.current = new AbortController();\n\n  try {\n    const result = await fetchWithBackoff(() =>\n      apiClient(\"\u002Fpredict\", {\n        method: \"POST\",\n        body: JSON.stringify({ text: input }),\n        signal: controllerRef.current.signal,\n      })\n    );\n\n    setOutput(result);\n  } catch (err) {\n    if (err.name === \"AbortError\") return;\n    setError(err.message);\n  }\n};\n```\n\n---\n\n### Example 2: Debounced Search\n\n```js id=\"w4z8yn\"\nconst debouncedQuery = useDebounce(query, 400);\n\nuseEffect(() => {\n  if (!debouncedQuery) return;\n\n  const controller = new AbortController();\n\n  searchAPI(debouncedQuery, { signal: controller.signal })\n    .then(setResults)\n    .catch((err) => {\n      if (err.name !== \"AbortError\") {\n        setError(\"Search failed. Please try again.\");\n      }\n    });\n\n  return () => controller.abort();\n}, [debouncedQuery]);\n```\n\n---\n\n### Example 3: Optimistic UI Update\n\n```js id=\"q2k9hz\"\nconst deleteItem = async (id) => {\n  const previous = items;\n\n  setItems((curr) => curr.filter((item) => item.id !== id));\n\n  try {\n    await apiClient(`\u002Fitems\u002F${id}`, { method: \"DELETE\" });\n  } catch (err) {\n    setItems(previous);\n    setError(\"Delete failed. Please try again.\");\n  }\n};\n```\n\n---\n\n## Best Practices\n\n* ✅ Centralize API logic in a dedicated layer\n* ✅ Normalize errors using a custom error class\n* ✅ Always handle loading, error, and success states\n* ✅ Use AbortController for request cancellation\n* ✅ Retry only transient failures (5xx)\n* ✅ Use debouncing for input-driven APIs\n* ✅ Deduplicate identical requests\n\n---\n\n## Anti-Patterns\n\n* ❌ Retrying 4xx errors\n* ❌ No request cancellation (memory leaks)\n* ❌ Race-condition-prone state updates\n* ❌ Swallowing errors silently\n* ❌ Global loading\u002Ferror state for multiple requests\n* ❌ Calling APIs directly inside components repeatedly\n\n---\n\n## Common Pitfalls\n\n**Problem:** UI shows stale data\n**Solution:** Use cancellation or guard against outdated responses\n\n**Problem:** Too many API calls on input\n**Solution:** Use debouncing + cancellation\n\n**Problem:** Duplicate requests from multiple components\n**Solution:** Use request deduplication\n\n**Problem:** Server overload during retry\n**Solution:** Use exponential backoff\n\n**Problem:** State updates after component unmount\n**Solution:** Use AbortController cleanup\n\n---\n\n## Limitations\n\n* These examples use vanilla JavaScript patterns; adapt them to your framework's data-fetching library when using React Query, SWR, Apollo, Relay, or similar tools.\n* Do not retry non-idempotent mutations unless the backend provides idempotency keys or another duplicate-safe contract.\n* Do not expose privileged API keys in frontend code; proxy sensitive requests through a backend.\n\n---\n\n## Additional Resources\n\n* https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FAPI\u002FAbortController\n* https:\u002F\u002Freact.dev\n* https:\u002F\u002Faxios-http.com\n\n---\n","# Frontend API Integration Patterns\n\n## Overview\n\nThis skill provides production-ready patterns for integrating frontend applications with backend APIs.\n\nMost frontend issues are not caused by APIs being difficult to call, but by **incorrect handling of asynchronous behavior**—leading to race conditions, stale data, duplicated requests, and poor user experience.\n\nThis skill focuses on **correctness, resilience, and user experience**, not just making API calls work.\n\n---\n\n## When to Use This Skill\n\n* Connecting frontend apps (React, React Native, Vue, etc.) to backend APIs\n* Integrating ML\u002FAI endpoints (`\u002Fpredict`, `\u002Frecommend`)\n* Handling asynchronous data in UI\n* Fixing stale data, flickering UI, or duplicate requests\n* Designing scalable frontend API layers\n\n---\n\n## Core Patterns\n\n### 1. API Layer (Separation of Concerns)\n\nCentralize API logic and normalize errors.\n\n```js id=\"k1m7r2\"\nexport class ApiError extends Error {\n  constructor(message, status, payload = null) {\n    super(message);\n    this.name = \"ApiError\";\n    this.status = status;\n    this.payload = payload;\n  }\n}\n\nexport const apiClient = async (url, options = {}) => {\n  const res = await fetch(url, {\n    headers: { \"Content-Type\": \"application\u002Fjson\" },\n    ...options,\n  });\n\n  if (!res.ok) {\n    let payload = null;\n    try {\n      payload = await res.json();\n    } catch (_) {}\n\n    throw new ApiError(\n      payload?.message || \"Request failed\",\n      res.status,\n      payload\n    );\n  }\n\n  \u002F\u002F handle empty responses safely (e.g. 204 No Content)\n  if (res.status === 204) return null;\n\n  const text = await res.text();\n  return text ? JSON.parse(text) : null;\n};\n```\n\n---\n\n### 2. Race-Safe State Management\n\nPrevent stale responses from overwriting fresh data.\n\n```js id=\"y7p4ha\"\nuseEffect(() => {\n  let cancelled = false;\n\n  const load = async () => {\n    try {\n      setLoading(true);\n      setError(null);\n\n      const result = await getUser();\n\n      if (!cancelled) setData(result);\n    } catch (err) {\n      if (!cancelled) setError(err.message);\n    } finally {\n      if (!cancelled) setLoading(false);\n    }\n  };\n\n  load();\n\n  return () => {\n    cancelled = true;\n  };\n}, []);\n```\n\n> Use a cancellation flag for non-fetch async logic. For network requests, prefer AbortController.\n\n---\n\n### 3. Request Cancellation (AbortController)\n\nCancel in-flight requests to avoid memory leaks and stale updates.\n\n```js id=\"l9x2pw\"\nuseEffect(() => {\n  const controller = new AbortController();\n\n  const load = async () => {\n    try {\n      const data = await getUser({ signal: controller.signal });\n      setData(data);\n    } catch (err) {\n      if (err.name === \"AbortError\") return;\n      setError(err.message);\n    }\n  };\n\n  load();\n  return () => controller.abort();\n}, [userId]);\n```\n\n---\n\n### 4. Retry with Exponential Backoff\n\nRetry only transient failures (5xx or network errors).\n\n```js id=\"8n3zcf\"\nconst sleep = (ms) => new Promise((r) => setTimeout(r, ms));\n\nconst fetchWithBackoff = async (fn, retries = 3, delay = 300) => {\n  try {\n    return await fn();\n  } catch (err) {\n    const isAbort = err.name === \"AbortError\";\n    const isHttpError = typeof err.status === \"number\";\n    const isRetryable = !isAbort && (!isHttpError || err.status >= 500);\n\n    if (retries \u003C= 0 || !isRetryable) throw err;\n\n    const nextDelay = delay * 2 + Math.random() * 100;\n    await sleep(nextDelay);\n\n    return fetchWithBackoff(fn, retries - 1, nextDelay);\n  }\n};\n```\n\n---\n\n### 5. Debounced API Calls\n\nAvoid excessive API calls (e.g., search inputs).\n\n```js id=\"i2r7wq\"\nconst useDebounce = (value, delay = 400) => {\n  const [debounced, setDebounced] = useState(value);\n\n  useEffect(() => {\n    const t = setTimeout(() => setDebounced(value), delay);\n    return () => clearTimeout(t);\n  }, [value, delay]);\n\n  return debounced;\n};\n```\n\n---\n\n### 6. Request Deduplication\n\nPrevent duplicate API calls across components.\n\n```js id=\"x8v4km\"\nconst inFlight = new Map();\n\nexport const dedupedFetch = (key, fn) => {\n  if (inFlight.has(key)) return inFlight.get(key);\n\n  const promise = fn().finally(() => inFlight.delete(key));\n  inFlight.set(key, promise);\n  return promise;\n};\n```\n\n---\n\n## Examples\n\n### Example 1: ML Prediction with Cancellation\n\n```js id=\"n5q2pt\"\nconst controllerRef = useRef(null);\n\nconst handlePredict = async (input) => {\n  controllerRef.current?.abort();\n  controllerRef.current = new AbortController();\n\n  try {\n    const result = await fetchWithBackoff(() =>\n      apiClient(\"\u002Fpredict\", {\n        method: \"POST\",\n        body: JSON.stringify({ text: input }),\n        signal: controllerRef.current.signal,\n      })\n    );\n\n    setOutput(result);\n  } catch (err) {\n    if (err.name === \"AbortError\") return;\n    setError(err.message);\n  }\n};\n```\n\n---\n\n### Example 2: Debounced Search\n\n```js id=\"w4z8yn\"\nconst debouncedQuery = useDebounce(query, 400);\n\nuseEffect(() => {\n  if (!debouncedQuery) return;\n\n  const controller = new AbortController();\n\n  searchAPI(debouncedQuery, { signal: controller.signal })\n    .then(setResults)\n    .catch((err) => {\n      if (err.name !== \"AbortError\") {\n        setError(\"Search failed. Please try again.\");\n      }\n    });\n\n  return () => controller.abort();\n}, [debouncedQuery]);\n```\n\n---\n\n### Example 3: Optimistic UI Update\n\n```js id=\"q2k9hz\"\nconst deleteItem = async (id) => {\n  const previous = items;\n\n  setItems((curr) => curr.filter((item) => item.id !== id));\n\n  try {\n    await apiClient(`\u002Fitems\u002F${id}`, { method: \"DELETE\" });\n  } catch (err) {\n    setItems(previous);\n    setError(\"Delete failed. Please try again.\");\n  }\n};\n```\n\n---\n\n## Best Practices\n\n* ✅ Centralize API logic in a dedicated layer\n* ✅ Normalize errors using a custom error class\n* ✅ Always handle loading, error, and success states\n* ✅ Use AbortController for request cancellation\n* ✅ Retry only transient failures (5xx)\n* ✅ Use debouncing for input-driven APIs\n* ✅ Deduplicate identical requests\n\n---\n\n## Anti-Patterns\n\n* ❌ Retrying 4xx errors\n* ❌ No request cancellation (memory leaks)\n* ❌ Race-condition-prone state updates\n* ❌ Swallowing errors silently\n* ❌ Global loading\u002Ferror state for multiple requests\n* ❌ Calling APIs directly inside components repeatedly\n\n---\n\n## Common Pitfalls\n\n**Problem:** UI shows stale data\n**Solution:** Use cancellation or guard against outdated responses\n\n**Problem:** Too many API calls on input\n**Solution:** Use debouncing + cancellation\n\n**Problem:** Duplicate requests from multiple components\n**Solution:** Use request deduplication\n\n**Problem:** Server overload during retry\n**Solution:** Use exponential backoff\n\n**Problem:** State updates after component unmount\n**Solution:** Use AbortController cleanup\n\n---\n\n## Limitations\n\n* These examples use vanilla JavaScript patterns; adapt them to your framework's data-fetching library when using React Query, SWR, Apollo, Relay, or similar tools.\n* Do not retry non-idempotent mutations unless the backend provides idempotency keys or another duplicate-safe contract.\n* Do not expose privileged API keys in frontend code; proxy sensitive requests through a backend.\n\n---\n\n## Additional Resources\n\n* https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FAPI\u002FAbortController\n* https:\u002F\u002Freact.dev\n* https:\u002F\u002Faxios-http.com\n\n---\n",{"name":5,"risk":24,"tags":25,"tools":31,"author":36,"source":37,"category":26,"date_added":38,"description":7},"safe",[26,27,28,29,30],"frontend","api-integration","javascript","react","async",[32,33,34,35],"claude","cursor","gemini","codex","avij1109","community","2026-04-23","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Ffrontend-api-integration-patterns",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill frontend-api-integration-patterns",{"tool":53,"command":54},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill frontend-api-integration-patterns",{"tool":56,"command":57},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill frontend-api-integration-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Ffrontend-api-integration-patterns\u002FSKILL.md",true,[],[62,69,74,81,88,95],{"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},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":70,"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":71,"categories":72,"keywords":73,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]