·incremental-fetch
</>

incremental-fetch

shipshitdev/library

從 API 構建彈性數據攝取管道。在創建從外部 API(Twitter、交易所、任何 REST API)獲取分頁數據的腳本並需要跟踪進度、避免重複、處理速率限制以及支持增量更新和歷史回填時使用。觸發器:“從 API 獲取數據”、“拉推文”、“獲取歷史數據”、“從 X 同步”、“構建數據管道”、“獲取而不重新下載”、“恢復下載”、“回填舊數據”。不適用於:簡單的一次性 API 調用、Websocket/流連接、文件下載或沒有分頁的 API。

34安裝·0熱度·@shipshitdev

安裝

$npx skills add https://github.com/shipshitdev/library --skill incremental-fetch

SKILL.md

Build data pipelines that never lose progress and never re-fetch existing data.

Track TWO cursors to support both forward and backward fetching:

| newestid | Fetch new data since last run | sinceid | | oldestid | Backfill older data | untilid |

從 API 構建彈性數據攝取管道。在創建從外部 API(Twitter、交易所、任何 REST API)獲取分頁數據的腳本並需要跟踪進度、避免重複、處理速率限制以及支持增量更新和歷史回填時使用。觸發器:“從 API 獲取數據”、“拉推文”、“獲取歷史數據”、“從 X 同步”、“構建數據管道”、“獲取而不重新下載”、“恢復下載”、“回填舊數據”。不適用於:簡單的一次性 API 調用、Websocket/流連接、文件下載或沒有分頁的 API。 來源:shipshitdev/library。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/shipshitdev/library --skill incremental-fetch
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 incremental-fetch?

從 API 構建彈性數據攝取管道。在創建從外部 API(Twitter、交易所、任何 REST API)獲取分頁數據的腳本並需要跟踪進度、避免重複、處理速率限制以及支持增量更新和歷史回填時使用。觸發器:“從 API 獲取數據”、“拉推文”、“獲取歷史數據”、“從 X 同步”、“構建數據管道”、“獲取而不重新下載”、“恢復下載”、“回填舊數據”。不適用於:簡單的一次性 API 調用、Websocket/流連接、文件下載或沒有分頁的 API。 來源:shipshitdev/library。

如何安裝 incremental-fetch?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/shipshitdev/library --skill incremental-fetch 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/shipshitdev/library