Write the Astro .mdx documentation for a hook (English + zh-Hans + zh-Hant), following the website-astro content schema and live-demo convention, then regenerate scripts/hook-registry.json. Triggers on "document this hook", "add docs for useXxx", "write the…
Scaffold a new React hook in @reactuses/core with the repo's real conventions (interface.ts + multilingual JSDoc, SSR-safe browser access, shared-util reuse, 3-part public export). Triggers on "add a hook", "new hook", "scaffold a hook", "create a useXxx", or…
通过 IndexNow 协议主动通知 Bing / Copilot / Yandex / Naver 重新抓取一批 URL。当用户说"ping indexnow"、"通知索引"、"提交到 indexnow"、"通知必应",或在写完一篇博客后请求"通知搜索引擎更新"时触发;也用于一次性把全站推到 IndexNow(`--all`)。
把博客文章发布到 Hashnode (reactuse.hashnode.dev),canonical URL 指回 reactuse.com。默认走 opencli 浏览器自动化(GraphQL API 已转付费)。当用户说"发到 hashnode"、"推送 hashnode"、"cross-post to hashnode"、"publish to hashnode",或在写完/commit 了一篇新博客后说"发出去"、"同步发布"、"把这篇发了"、"publish the latest…
把博客文章发布到 Medium(@wul55267),通过 opencli 浏览器自动化。Medium 编辑器是富文本,不吃裸 markdown,所以用 pandoc 把正文转 HTML,再模拟一次 paste 事件灌进去。当用户说"发到 medium"、"推送 medium"、"publish to medium"、"cross-post to medium",或在写完/commit 了一篇新博客后说"发出去"、"同步发布"、"把这篇发了"时触发;也用于多平台分发流程(dev.to + Medium +…
把博客文章发布到掘金(juejin.cn),通过 opencli 浏览器自动化。掘金编辑器是 ByteMD(CodeMirror 内核的 markdown 编辑器),直接吃 markdown,比 Medium 好搞。发的是简体中文版(juejin.md)。当用户说"发到掘金"、"推送掘金"、"publish to juejin"、"把这篇发掘金",或在写完/commit 了一篇新博客后说"发出去"、"同步发布"、"推平台"时触发;也用于多平台分发流程的一环。
Write and run jest tests for a hook in @reactuses/core, following the repo's conventions (co-located index.spec.ts, renderHook/act, fake timers, the .test/ helpers, and the SSR jest-environment pragma). Triggers on "write a test", "add test coverage", "fix…
Generate a commit message or PR description for ReactUse in the repo's conventional-commit style, derived from the actual git diff. Triggers on "write the PR description", "draft a commit message", "describe this change", or before opening a PR.