Skip to main content

ai_agent/commands/
claude.rs

1// Source: /data/home/swei/claudecode/openclaudecode/src/services/api/claude.ts
2use super::Command;
3
4pub fn create_good_claude_command() -> Command {
5    Command::prompt("good-claude", "Find good Claude behavior patterns")
6}
7
8pub fn create_bughunter_command() -> Command {
9    Command::local("bughunter", "Run bug hunting").argument_hint("[<target>]")
10}
11
12pub fn create_break_cache_command() -> Command {
13    Command::local("break-cache", "Break context cache")
14}
15
16pub fn create_backfill_sessions_command() -> Command {
17    Command::local("backfill-sessions", "Backfill session data")
18}
19
20pub fn create_autofix_pr_command() -> Command {
21    Command::local("autofix-pr", "Auto-fix PR").argument_hint("<pr-number>")
22}