From c9045eab8e980cf50753bdf0fa2e38c9df257a36 Mon Sep 17 00:00:00 2001 From: Tony Date: Sat, 14 Feb 2026 01:16:57 +0800 Subject: [PATCH] chore: update radar rules for target parameter clarification --- .github/prompts/pr_review_rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/prompts/pr_review_rules.md b/.github/prompts/pr_review_rules.md index 206248019..a162ccec9 100644 --- a/.github/prompts/pr_review_rules.md +++ b/.github/prompts/pr_review_rules.md @@ -9,7 +9,7 @@ Only report **clear and actionable** violations in changed lines/files. Do not r 1. `example` must start with `/` and be a working RSSHub route path. 2. Route name must not repeat namespace name. 3. In radar rules, `source` must be a relative host/path (no `https://`, no hash/query matching). -4. In radar rules, `target` must match the route path and declared params. +4. In radar rules, `target` may be empty; if present, it must match the route path and its parameters. 5. Namespace `url` should not include protocol prefix. 6. Use a single category in `categories`. 7. `parameters` keys must match real path parameters.