← スキル一覧に戻る

fetch-rss-api
by paulpham157
cloudFall - tell you when the cloud are falling. A just-for-fun practical problem to compare coding agents.
⭐ 0🍴 0📅 2025年12月22日
SKILL.md
name: fetch-rss-api description: Expert Node.js guidance for fetching and integrating RSS feeds and REST APIs. Use when requests mention Fetch, RSS, API, REST endpoints, Atom feeds, pagination, authentication, rate limits, webhooks, or when building API clients that ingest feed data.
Fetch Rss Api
Overview
Build Node.js clients that fetch RSS or Atom feeds and REST APIs with robust auth, pagination, and error handling. Produce clear, dependency-aware code and explain integration assumptions.
Workflow
- Clarify requirements
- Ask for feed URL(s) or API base URL plus endpoints.
- Ask for auth type (API key, OAuth, Basic) and required headers or scopes.
- Ask for pagination style, rate limits, and update frequency.
- Ask for output shape, sorting, deduping, and storage target.
- Choose approach
- Prefer Node 18+ built-in
fetchandAbortController. - Use
undiciornode-fetchonly if the Node version requires it. - Pick RSS parser; use
rss-parserfor simple RSS or Atom, otherwise parse XML withfast-xml-parser.
- Implement and integrate
- Build a small fetch wrapper with timeout, retries, and JSON or XML parsing.
- Handle 3xx, 4xx, 5xx with clear errors and retry or backoff on 429 or 5xx.
- Normalize feed and API items to a common schema before returning.
- Validate and harden
- Add logging hooks and sample output.
- Include dependency install commands and env var list.
- Provide a quick test command and example response.
Common tasks
Fetch RSS or Atom
- Use
references/rss.mdfor parser choice, caching headers, and item normalization.
Call REST APIs
- Use
references/rest-api.mdfor auth, pagination, rate limits, and retries.
Combine RSS and REST
- Merge by GUID or URL, dedupe by canonical link, and sort by published date.
- Use ETag or Last-Modified to avoid reprocessing.
Output expectations
- Provide runnable Node.js code (ESM by default; note CJS if needed).
- List dependencies and install commands.
- Call out required environment variables and secrets.
References
references/rss.mdfor feed parsing patterns and caching headers.references/rest-api.mdfor REST client patterns and resiliency.
スコア
総合スコア
70/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です