[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XC8FGQTPZ0V07D2AG8FR0S":3,"skill-same:01M6XC8FGQTPZ0V07D2AG8FR0S":61},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":13,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":40,"install":41,"resources":54},"01M6XC8FGQTPZ0V07D2AG8FR0S","news-api-integration",null,"Integrate with news APIs (GNews, NewsAPI, etc.) for aggregated news feeds. Covers headline fetching, search, and category filtering.","UF-gzj\u002Fopenspace-claude-evolution","UF-gzj","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F272393507?v=4","01M6XBCZB755P01VVYGQWPYZY3","01M6XBCZFJA5AREA17WGETA3FW",0,"MIT","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fnews-api-integration\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29],"integration","api","api integration","news","news api integration","search","feeds","filtering","integrate","with","news feeds","for","2026-11-10 10:12:30",false,"---\nname: news-api-integration\ndescription: Integrate with news APIs (GNews, NewsAPI, etc.) for aggregated news feeds. Covers headline fetching, search, and category filtering.\n---\n\n# News API Integration\n\nMultiple news APIs available. GNews is recommended for free tier usability.\n\n## Recommended: GNews\n\n- **Docs**: https:\u002F\u002Fgnews.io\u002Fdocs\u002Fv4\n- **Base URL**: `https:\u002F\u002Fgnews.io\u002Fapi\u002Fv4`\n- **Auth**: Query param `token=API_KEY`\n- **Free tier**: 100 requests\u002Fday, 10 articles per request\n- **CORS**: Yes\n\n### Top Headlines\n\n```\nGET \u002Ftop-headlines?category=general&lang=en&max=10&token=API_KEY\n```\n\nCategories: `general`, `world`, `nation`, `business`, `technology`, `entertainment`, `sports`, `science`, `health`\n\n### Search\n\n```\nGET \u002Fsearch?q=artificial+intelligence&lang=en&max=10&token=API_KEY\n```\n\n### Response Shape\n\n```json\n{\n  \"totalArticles\": 1234,\n  \"articles\": [\n    {\n      \"title\": \"Article Title\",\n      \"description\": \"Short description...\",\n      \"content\": \"Full article content (truncated)...\",\n      \"url\": \"https:\u002F\u002Fexample.com\u002Farticle\",\n      \"image\": \"https:\u002F\u002Fexample.com\u002Fimage.jpg\",\n      \"publishedAt\": \"2024-01-15T12:00:00Z\",\n      \"source\": {\n        \"name\": \"CNN\",\n        \"url\": \"https:\u002F\u002Fcnn.com\"\n      }\n    }\n  ]\n}\n```\n\n## Alternative: NewsAPI.org\n\n- **Docs**: https:\u002F\u002Fnewsapi.org\u002Fdocs\n- **Free tier**: 100 requests\u002Fday, for development only\n- **Note**: Free plan does NOT support production use (requires paid plan for CORS from browser)\n\n```\nGET \u002Fv2\u002Ftop-headlines?country=us&apiKey=API_KEY\nGET \u002Fv2\u002Feverything?q=bitcoin&apiKey=API_KEY\n```\n\n## Other Alternatives (from public-apis)\n\n| API | Free Tier | Best For |\n|-----|-----------|----------|\n| **GNews** | 100 req\u002Fday | General news, good free tier |\n| **Currents API** | 600 req\u002Fday | Real-time news, good rate |\n| **NewsData.io** | 200 req\u002Fday | News + crypto news |\n| **The Guardian** | Unlimited (rate limited) | UK\u002Finternational news |\n| **New York Times** | 500 req\u002Fday | US news, archives |\n| **Mediastack** | 500 req\u002Fmonth | Multi-source aggregation |\n| **TheNews API** | 100 req\u002Fday | Simple aggregation |\n| **MarketAux** | 100 req\u002Fday | Financial news with sentiment |\n| **HackerNews** | No limit | Tech\u002Fstartup news (no key needed) |\n\n## Frontend Service Implementation\n\n```typescript\n\u002F\u002F src\u002Fservices\u002Fnews.ts\nimport { createCircuitBreaker } from '@\u002Futils\u002Fcircuit-breaker';\n\nexport interface NewsArticle {\n  title: string;\n  description: string;\n  url: string;\n  source: string;\n  publishedAt: string;\n  image?: string;\n}\n\nconst newsBreaker = createCircuitBreaker\u003CNewsArticle[]>({\n  name: 'News',\n  cacheTtlMs: 5 * 60_000, \u002F\u002F 5 minutes\n});\n\nexport async function fetchNews(category = 'general'): Promise\u003CNewsArticle[]> {\n  return newsBreaker.execute(async () => {\n    const resp = await fetch(`\u002Fapi\u002Fnews?category=${category}`);\n    if (!resp.ok) throw new Error(`HTTP ${resp.status}`);\n    const data = await resp.json();\n    return data.articles || [];\n  }, []);\n}\n\nexport async function searchNews(query: string): Promise\u003CNewsArticle[]> {\n  const resp = await fetch(`\u002Fapi\u002Fnews?q=${encodeURIComponent(query)}`);\n  if (!resp.ok) throw new Error(`HTTP ${resp.status}`);\n  const data = await resp.json();\n  return data.articles || [];\n}\n```\n\n## HackerNews (No API Key Needed)\n\nFor tech news, HackerNews API is free and unlimited:\n\n```typescript\n\u002F\u002F Fetch top 30 stories\nconst topIds = await fetch('https:\u002F\u002Fhacker-news.firebaseio.com\u002Fv0\u002Ftopstories.json').then(r => r.json());\nconst stories = await Promise.all(\n  topIds.slice(0, 30).map((id: number) =>\n    fetch(`https:\u002F\u002Fhacker-news.firebaseio.com\u002Fv0\u002Fitem\u002F${id}.json`).then(r => r.json())\n  )\n);\n\u002F\u002F Each story: { title, url, score, by, time, descendants }\n```\n\n## Panel Rendering Pattern\n\n```typescript\nprivate render(articles: NewsArticle[]): void {\n  const rows = articles.map(a => `\n    \u003Cdiv class=\"news-item\">\n      \u003Ca href=\"${a.url}\" target=\"_blank\" rel=\"noopener\" class=\"news-title\">${escapeHtml(a.title)}\u003C\u002Fa>\n      \u003Cdiv class=\"news-meta\">\n        \u003Cspan class=\"news-source\">${escapeHtml(a.source)}\u003C\u002Fspan>\n        \u003Cspan class=\"news-time\">${formatTime(new Date(a.publishedAt))}\u003C\u002Fspan>\n      \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  `).join('');\n  this.setContent(`\u003Cdiv class=\"news-list\">${rows}\u003C\u002Fdiv>`);\n}\n```\n\nAlways escape user-controlled strings with `escapeHtml()` to prevent XSS.\n\n","# News API Integration\n\nMultiple news APIs available. GNews is recommended for free tier usability.\n\n## Recommended: GNews\n\n- **Docs**: https:\u002F\u002Fgnews.io\u002Fdocs\u002Fv4\n- **Base URL**: `https:\u002F\u002Fgnews.io\u002Fapi\u002Fv4`\n- **Auth**: Query param `token=API_KEY`\n- **Free tier**: 100 requests\u002Fday, 10 articles per request\n- **CORS**: Yes\n\n### Top Headlines\n\n```\nGET \u002Ftop-headlines?category=general&lang=en&max=10&token=API_KEY\n```\n\nCategories: `general`, `world`, `nation`, `business`, `technology`, `entertainment`, `sports`, `science`, `health`\n\n### Search\n\n```\nGET \u002Fsearch?q=artificial+intelligence&lang=en&max=10&token=API_KEY\n```\n\n### Response Shape\n\n```json\n{\n  \"totalArticles\": 1234,\n  \"articles\": [\n    {\n      \"title\": \"Article Title\",\n      \"description\": \"Short description...\",\n      \"content\": \"Full article content (truncated)...\",\n      \"url\": \"https:\u002F\u002Fexample.com\u002Farticle\",\n      \"image\": \"https:\u002F\u002Fexample.com\u002Fimage.jpg\",\n      \"publishedAt\": \"2024-01-15T12:00:00Z\",\n      \"source\": {\n        \"name\": \"CNN\",\n        \"url\": \"https:\u002F\u002Fcnn.com\"\n      }\n    }\n  ]\n}\n```\n\n## Alternative: NewsAPI.org\n\n- **Docs**: https:\u002F\u002Fnewsapi.org\u002Fdocs\n- **Free tier**: 100 requests\u002Fday, for development only\n- **Note**: Free plan does NOT support production use (requires paid plan for CORS from browser)\n\n```\nGET \u002Fv2\u002Ftop-headlines?country=us&apiKey=API_KEY\nGET \u002Fv2\u002Feverything?q=bitcoin&apiKey=API_KEY\n```\n\n## Other Alternatives (from public-apis)\n\n| API | Free Tier | Best For |\n|-----|-----------|----------|\n| **GNews** | 100 req\u002Fday | General news, good free tier |\n| **Currents API** | 600 req\u002Fday | Real-time news, good rate |\n| **NewsData.io** | 200 req\u002Fday | News + crypto news |\n| **The Guardian** | Unlimited (rate limited) | UK\u002Finternational news |\n| **New York Times** | 500 req\u002Fday | US news, archives |\n| **Mediastack** | 500 req\u002Fmonth | Multi-source aggregation |\n| **TheNews API** | 100 req\u002Fday | Simple aggregation |\n| **MarketAux** | 100 req\u002Fday | Financial news with sentiment |\n| **HackerNews** | No limit | Tech\u002Fstartup news (no key needed) |\n\n## Frontend Service Implementation\n\n```typescript\n\u002F\u002F src\u002Fservices\u002Fnews.ts\nimport { createCircuitBreaker } from '@\u002Futils\u002Fcircuit-breaker';\n\nexport interface NewsArticle {\n  title: string;\n  description: string;\n  url: string;\n  source: string;\n  publishedAt: string;\n  image?: string;\n}\n\nconst newsBreaker = createCircuitBreaker\u003CNewsArticle[]>({\n  name: 'News',\n  cacheTtlMs: 5 * 60_000, \u002F\u002F 5 minutes\n});\n\nexport async function fetchNews(category = 'general'): Promise\u003CNewsArticle[]> {\n  return newsBreaker.execute(async () => {\n    const resp = await fetch(`\u002Fapi\u002Fnews?category=${category}`);\n    if (!resp.ok) throw new Error(`HTTP ${resp.status}`);\n    const data = await resp.json();\n    return data.articles || [];\n  }, []);\n}\n\nexport async function searchNews(query: string): Promise\u003CNewsArticle[]> {\n  const resp = await fetch(`\u002Fapi\u002Fnews?q=${encodeURIComponent(query)}`);\n  if (!resp.ok) throw new Error(`HTTP ${resp.status}`);\n  const data = await resp.json();\n  return data.articles || [];\n}\n```\n\n## HackerNews (No API Key Needed)\n\nFor tech news, HackerNews API is free and unlimited:\n\n```typescript\n\u002F\u002F Fetch top 30 stories\nconst topIds = await fetch('https:\u002F\u002Fhacker-news.firebaseio.com\u002Fv0\u002Ftopstories.json').then(r => r.json());\nconst stories = await Promise.all(\n  topIds.slice(0, 30).map((id: number) =>\n    fetch(`https:\u002F\u002Fhacker-news.firebaseio.com\u002Fv0\u002Fitem\u002F${id}.json`).then(r => r.json())\n  )\n);\n\u002F\u002F Each story: { title, url, score, by, time, descendants }\n```\n\n## Panel Rendering Pattern\n\n```typescript\nprivate render(articles: NewsArticle[]): void {\n  const rows = articles.map(a => `\n    \u003Cdiv class=\"news-item\">\n      \u003Ca href=\"${a.url}\" target=\"_blank\" rel=\"noopener\" class=\"news-title\">${escapeHtml(a.title)}\u003C\u002Fa>\n      \u003Cdiv class=\"news-meta\">\n        \u003Cspan class=\"news-source\">${escapeHtml(a.source)}\u003C\u002Fspan>\n        \u003Cspan class=\"news-time\">${formatTime(new Date(a.publishedAt))}\u003C\u002Fspan>\n      \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n  `).join('');\n  this.setContent(`\u003Cdiv class=\"news-list\">${rows}\u003C\u002Fdiv>`);\n}\n```\n\nAlways escape user-controlled strings with `escapeHtml()` to prevent XSS.\n\n",{"name":5,"description":7},"main","0650921d63895de3997bc81f1ff1d0ac67032072","showcase\u002Fskills\u002Fnews-api-integration","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution","https:\u002F\u002Fgithub.com\u002FUF-gzj","2026-04-16 09:31:03",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add UF-gzj\u002Fopenspace-claude-evolution --skill news-api-integration",{"tool":47,"command":48},"bunx","bunx skills add UF-gzj\u002Fopenspace-claude-evolution --skill news-api-integration",{"tool":50,"command":51},"pnpm","pnpm dlx skills add UF-gzj\u002Fopenspace-claude-evolution --skill news-api-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fnews-api-integration\u002FSKILL.md",true,[55],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},".skill_id","OTHER","其他",35,"https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fnews-api-integration\u002F.skill_id",[62,86,102,111,135,151],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":30},"01M6XCCXD3NCM2YKR3WNGBASPC","write-special-chars-ts-check","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, plus a reliable TypeScript type-checking step that filters output to only the newly-written files to avoid being misled by pre-existing errors.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-ts-check\u002FSKILL.md",[],[69,70,71,72,73,74,75,76,29,77,78,79,80,81,82,83,84,85],"check","write","write special chars ts check","typescript","filters","characters","Existing","type-checking","errors","script","output","type","files","only","template","file","python",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":30},"01M6XCCT7E3J922Q345PBGSHPN","write-special-chars-readback","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) using a Python heredoc script, with mandatory post-write verification via read_file and cleanup of \u002Ftmp helper scripts.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-readback\u002FSKILL.md",[],[93,94,70,84,95,85,96,97,98,99,100,83,101,27,74,29,78],"readback","write special chars readback","helper","post","via","scripts","cleanup","read","verification",{"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":30},"01M6XCCMQX1R8B6FECWB3P63T7","write-special-chars-heredoc","Workaround for write_file failures caused by special characters (apostrophes, backticks, template literals) by using a Python heredoc script executed via shell.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fwrite-special-chars-heredoc\u002FSKILL.md",[],[109,70,74,110,78,97,83,84,85,29],"write special chars heredoc","shell",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":30},"01M6XCCG41M994JJEX6VN52PEP","worldmonitor-reference","Curated architecture index of the WorldMonitor open-source dashboard. Reference for extracting patterns — vanilla TypeScript, Panel class hierarchy, service layer, CSS grid, API edge functions, refresh scheduler, and 60+ data source integrations.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fworldmonitor-reference\u002FSKILL.md",[],[118,119,120,121,122,72,123,124,125,126,127,29,128,129,130,131,132,133,19,134],"reference","worldmonitor","worldmonitor reference","architecture","dashboard","css","scheduler","layer","hierarchy","source","extracting","panel","patterns","edge functions","integrations","open","data",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":30},"01M6XCCCHWNKG2W4VH9E6A10HF","virtual-list","Implement efficient virtual scrolling for rendering large lists with DOM recycling, chunk-based rendering, and performance optimizations","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fvirtual-list\u002FSKILL.md",[],[142,143,144,145,29,146,27,147,148,149,150],"virtual list","list","virtual","chunk","dom","rendering","recycling","implement","performance",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":30},"01M6XCC7X8PKMR2DEW91XGHYSV","verify-directory-structure","Diagnose and resolve file access issues by first verifying the directory structure.","https:\u002F\u002Fgithub.com\u002FUF-gzj\u002Fopenspace-claude-evolution\u002Fblob\u002Fmain\u002Fshowcase\u002Fskills\u002Fverify-directory-structure\u002FSKILL.md",[],[158,159,160,161,162,163,84,164,165,166],"directory","verify directory structure","structure","verify","access","first","issues","diagnose","file access"]