email-draft
Use when the user asks to draft, polish, translate, or reply to an email. Produces a clean draft with subject line, greeting,…
Hope-native debugging for code failures, regressions, crashes, flaky behavior, and bad output: reproduce or characterize, rank falsifiable hypotheses, fix the smallest root cause, and prove the failing path.
Claude Code
$ npx -y skills add shiwenwen/hope-agent --skill ha-debug --agent claude-code
Codex
$ npx skills add shiwenwen/hope-agent --skill ha-debug -a codex -y
Cursor
$ npx skills add shiwenwen/hope-agent --skill ha-debug -a cursor -y
Gemini CLI
$ npx skills add shiwenwen/hope-agent --skill ha-debug -a gemini-cli -y
GitHub Copilot
$ npx skills add shiwenwen/hope-agent --skill ha-debug -a github-copilot -y
OpenCode
$ npx skills add shiwenwen/hope-agent --skill ha-debug -a opencode -y
Windsurf
$ npx skills add shiwenwen/hope-agent --skill ha-debug -a windsurf -y
name: ha-debug description: "Hope-native debugging for code failures, regressions, crashes, flaky behavior, and bad output: reproduce or characterize, rank falsifiable hypotheses, fix the smallest root cause, and prove the failing path." paths: ["*.rs", "*.ts", "*.tsx", "*.js", "*.jsx", "*.py", "*.go", "*.java", "*.kt", "*.swift", "*.c", "*.cpp", "*.h", "*.rb", "*.php", "*.sh"]
Debug from evidence, not from the first plausible explanation. This is a decision process, not a mandatory four-stage ceremony.
Capture the strongest available evidence:
state.
or timing-sensitive.
If reproduction is unsafe or requires unavailable credentials, characterize it from logs, fixtures, state, and code paths. State the evidence gap explicitly.
Trace the smallest credible path through inputs, state transitions, persistence, concurrency boundaries, and outputs. For multi-component systems, compare what crosses each boundary rather than adding broad instrumentation everywhere.
Common high-value checks:
Keep one or two active hypotheses. For each, write:
Run the discriminating check before editing when practical. If a tiny, obvious fix is itself the cheapest safe experiment, keep it reversible and inspect the result before broadening scope.
as speculative cleanup.
After two failed fix attempts, stop patching variants. Re-read the original evidence, challenge the shared assumption, and narrow the boundary again.
Use `ha-test-strategy` to choose the regression form and `ha-verify` to confirm completion. Prefer a check that would have failed before the fix:
Passing compilation alone does not prove a runtime bug fixed. If the real path cannot be exercised, report the strongest substitute and remaining uncertainty.
Pause and ask for input only when progress requires inaccessible user state, an external system change, destructive action, or a product decision. Do not invent data or mark an unreproduced hypothesis as confirmed.
🦭 A cross-device desktop AI agent with memory, autonomous goals, dynamic workflows, and headless deployment | 会记忆、能持续推进目标、会动态编排多 Agent 的跨端桌面 AI 助手,也可服务化常驻 NAS / 云端
Use when the user asks to draft, polish, translate, or reply to an email. Produces a clean draft with subject line, greeting,…
Use when the user mentions 飞书 / Feishu / Lark workspace operations: docx (云文档) read/write, bitable (多维表格) records / views /…
Hope Agent browser automation — the standard `status → tabs → snapshot → act` loop, stale-ref recovery rules, and what to do when…
Hope-native review of uncommitted, staged, commit, branch, or PR changes: discover concrete regressions, independently verify…
Hope-native baseline for implementing, fixing, refactoring, and maintaining code: inspect the repository first, protect user…
Hope-native implementation planning for non-trivial code changes: ground the plan in repository evidence, order dependencies,…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…