一键导入
update-rss
Update the RSS feed XML file with new entries. Use when asked to update the rss feed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update the RSS feed XML file with new entries. Use when asked to update the rss feed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | update-rss |
| description | Update the RSS feed XML file with new entries. Use when asked to update the rss feed. |
| user-invocable | true |
| disable-model-invocation | false |
pubDate decisions.This workflow is fully scripted except for one critical decision: classifying changes as minor or substantive. All other steps—identifying changed entries, extracting source paths, diffing files, restoring dates, and re-sorting—are automated.
diff-rss.ts, diff-file-from-last-build-date.ts, and apply-rss-date-overrides.ts.pubDate; style/grammar fixes do not.lastBuildDate from HEAD (git show HEAD:public/rss.xml | grep -n "lastBuildDate") and use that value as the baseline for this run only. Never reuse a date remembered from a former run.npm run build to update public/rss.xml. Stop if the build fails.node .github/skills/update-rss/diff-rss.ts to detect:
pubDate, no review neededpubDate) → these need your classificationFor each CHANGED entry, you decide: minor or substantive?
To make this decision:
node .github/skills/update-rss/diff-file-from-last-build-date.ts <sourceFile> to see what changed since the last build date.Classification rules:
pubDate): grammar/style fixes, formatting, link updates, readability rewrites, paragraph reshuffling, or clarifications that don't change recommendations or facts.pubDate): new/removed features, changed API semantics, changed compatibility statements, changed recommended patterns, new constraints, or teaches new techniques/capabilities.Once you classify all CHANGED entries, record the GUIDs you marked as minor.
node .github/skills/update-rss/apply-rss-date-overrides.ts <guid> <guid> ...node .github/skills/update-rss/apply-rss-date-overrides.ts --guid-file /tmp/minor-guids.txt (one GUID per line)pubDate.node .github/skills/update-rss/diff-rss.ts → confirm only substantive entries appear under CHANGEDdiff-rss.ts already reports the source file path.https://vtbag.dev/<path>/ → src/content/docs/<path>.mdx (or .md)https://vtbag.dev prefix to get the relative path.