rsshub-route-authoring-skill

Solid

Author PR-ready RSSHub routes — namespace.ts, route handler, Radar rules and PR description — that survive code review. Distilled from 2,727 route PRs. Use when asked to write, fix or review an RSSHub route, add an RSS feed for a website via RSSHub, contribute a route to DIYgod/RSSHub, or when working with cheerio selectors, cache.tryGet, parseDate, Radar rules, or the RSSHub PR template. Trigger on RSSHub, RSS route, RSS feed for X, 给 X 做 RSS 订阅, namespace.ts, DataItem. Do not use for deploying RSSHub, debugging runtime errors, tuning cache/config, or non-RSSHub scraping.

API & Backend 17 stars 0 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
42
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# RSSHub route authoring Produces route code that can be merged into [DIYgod/RSSHub](https://github.com/DIYgod/RSSHub). Two rules decide almost everything: 1. **Every defensive construct needs a number.** `.first()`, `.last()`, `.trim()`, `?? ''`, a custom `User-Agent`, a fallback date, a pagination parameter — prove it with a count or delete it. 2. **Read the project's own rules first.** They supersede anything remembered from training data, and they change over time. In this order: - `AGENTS.md` in the working directory — the contributor guide, 49 numbered rules - `.github/prompts/pr_review_rules.md` in the RSSHub repo — the 26 rules the auto-review bot enforces: ```bash gh api repos/DIYgod/RSSHub/contents/.github/prompts/pr_review_rules.md ``` - <https://docs.rsshub.app/joinus/> — the narrative docs ## Workflow ### 0. Environment - Work inside an RSSHub checkout (a fork is fine). Nothing here works standalone. - Install dependencies, then start the dev server on port 1200: `pnpm i` followed by `pnpm dev`. - `pnpm` is the package manager. Install it however suits your platform — `npm i -g pnpm`, `brew install pnpm`, `winget install --id pnpm.pnpm`, `scoop install pnpm`, or the standalone install script. If your shell cannot execute `pnpm` directly (a common case is a script execution policy on Windows PowerShell), invoke the binary by its full name instead — `pnpm.cmd` on Windows. - Ver...

Details

Author
AboutRSS
Repository
AboutRSS/rsshub-route-authoring-skill
Created
2 weeks ago
Last Updated
1 weeks ago
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category