- 准入 10 项 installable 技能:agent-reach、dingtalk-api、follow-builders、humanizer-zh、karpathy-guidelines、marketingskills、netease-skills、wecom-cli(原 pin 不变),以及完整 MIT 本地版 ai-news-radar(LearnPrompt/ai-news-radar@689395109cc962a27c369bdd6fa50d1e090eb319)和 ClawHub 1.1.1 完整 ZIP 的 amap-jsapi-skill(sha256 9468743ee18dbe1704e8a98f47f6628d6a4e6acec30a05f0b8f59a07603d011f)。 - 瑞幸、MiniMax 图片/语音、LumaRescue、美团跑腿、Ian 小黑、女娲 继续 listing-only。 - 高德许可按 SKILL.md 的 MIT 声明保守记录,skill-card/ClawHub 写 MIT-0 的差异已在 ADMISSION.md 披露。 - validate、translate 通过;CodeQL 对上游原样 update_news.py 的 5 条告警经 mashagua 确认忽略。
4.1 KiB
V2 Method
Use this reference when AI News Radar work is about product direction, source coverage, or packaging the repo as a reusable Skill.
Method Inputs
- Office Hours style: understand demand, status quo, narrowest wedge, and alternatives before committing to a product direction.
- Superpowers style: turn the chosen direction into a small spec, exact file plan, tests, review, and verification before calling the work complete.
Product Diagnostic
Run this before expanding features:
- User: ordinary AI enthusiast, maintainer, or agent using the Skill?
- Current workaround: noisy timelines, manual site checks, RSS reader, email, or another aggregator?
- Demand evidence: is the user asking for breadth, speed, trust, or fewer choices?
- Narrowest useful default: what can ship without asking a new user to configure keys, inboxes, cookies, or many toggles?
- Advanced escape hatch: what belongs in OPML, GitHub Secrets, or a local adapter instead of the public default?
- Success signal: what should improve in
source-status.json, the Signal view, or the maintainer workflow?
Ask the user only when a missing answer changes the implementation choice. For mobile users, prefer one short multiple-choice question.
Approach Selection
For unclear product choices, compare 2-3 approaches:
- Minimal viable: smallest diff, safest public default, fastest validation.
- Durable architecture: cleaner long-term extension point, better tests or docs, more future-proof source coverage.
- Packaged variant: makes the project easier for Codex/Claude users to fork, customize, and deploy as their own AI news radar.
Recommend one approach and state what evidence would make the recommendation wrong.
Source Coverage Ladder
Use the highest stable rung available:
- Official RSS/Atom/JSON from the source owner.
- Public GitHub-generated feed files produced by a maintained repo.
- Public newsletter archive or archive RSS.
- Public static page with stable timestamps and selectors.
- OPML for personal or niche feeds.
- Optional API adapter with user-owned secrets.
- Private inbox, cookies, browser sessions, or unstable bridges.
Rungs 1-4 can become public defaults if they are useful to most visitors. Rungs 5-7 belong in advanced documentation unless the user explicitly wants a private fork.
GitHub Feed Intake
When given a GitHub repo that collects news:
- Read
README*,.github/workflows/*,config/*, and generated feed files. - Identify whether the repo already uses official APIs or cron jobs centrally.
- Prefer consuming its public raw output instead of copying its crawler.
- Verify schema fields: title/text, canonical URL, source/person, timestamp, stable ID, and generation cadence.
- Add tests around parser behavior before relying on it as a built-in source.
This is the preferred pattern for X-heavy projects such as curated builder feeds: the public repo owns API credentials, this project consumes only public JSON.
Engineering Loop
Keep implementation disciplined:
- Map files before editing.
- For behavior changes, add focused parser/filter tests.
- Implement the smallest code path that passes the test.
- Run
python -m py_compile scripts/update_news.pyandpytest -q. - For Skill changes, run the Skill validator.
- For source changes, run a local generation into
/tmpand inspectsource-status.json. - After push, watch GitHub Actions and Pages deployment when relevant.
Do not claim a source is covered until a fetcher, OPML path, public generated feed path, or optional-secret path is documented and validated.
V2 Definition Of Done
A v2 change is complete when:
- The default page remains simple for ordinary users.
- The first viewport shows source health and coverage as status signals, not a pile of configuration controls.
- Source coverage is documented as public default vs advanced/private.
- New built-in sources have stable timestamps and do not require secrets.
- Failures are visible in
source-status.jsoninstead of silently disappearing. - The Skill tells future agents how to add, reject, or route similar sources.