Skip to main content
[COMMANDS]

Command Reference

Every @xor-hardener command on one page. /review, /describe, /ask, /patch_i, /issue_spec, /issue_implement, and more.

Quick reference

9 commands: /review, /describe, /ask, /ask_line, /issue_spec, /issue_implement, /issue_ask, /test_i, /patch_i. All available via natural language or explicit command syntax.

Automatic triggers

Dependabot PR → automatic triage. XOR-labeled PR → /describe + /review. Push to PR branch → configurable re-checks.

9
Commands available
3
Automatic triggers
NL
Natural language supported

Every command. One page.

Mention @xor-hardener followed by a command or a plain-English prompt. Both work. XOR reads your intent, decides which capability applies, and runs it.

Quick reference

CommandWhereWhat it does
/reviewPR commentSecurity-focused code review with inline suggestions
/describePR commentGenerate a structured PR description
/ask [question]PR commentAsk a question about the PR code
/ask_lineLine commentAsk about specific lines in "Files changed"
/issue_specIssue commentGenerate a specification for an issue
/issue_implementIssue commentImplement a solution and open a PR
/issue_ask [question]Issue commentAsk a question about an issue
/test_iPR or issueExtract or generate test cases
/patch_iPR or issueGenerate patches from an issue spec

Natural language prompts

You don't need to memorize commands. Examples:

@xor-hardener Review this PR for security issues.

@xor-hardener This issue describes a bug in our auth flow. Write a spec for fixing it, then open a PR with the fix.

@xor-hardener Pin all actions in this workflow to SHA. Reduce permissions to least-privilege.

@xor-hardener What does this function do? Is it safe to remove the null check on line 42?

Automatic triggers

Dependabot opens a PR

XOR triages automatically with reachability + EPSS/KEV/CVSS

PR labeled with XOR label

XOR runs /describe + /review

Push to PR branch

XOR re-runs configured checks (configurable)

The two-step issue workflow

For larger work items:

Step 1: /issue_spec

XOR reads the issue, researches the codebase, and posts either questions (if it needs context) or a plan (if it has enough information).

Step 2: /issue_implement

XOR reads the approved plan, generates patches, creates a branch, and opens a PR with the fix and updated tests. You approve the plan before code is written.

[NEXT STEPS]

Start using XOR

FAQ

Do I need to use explicit commands?

No. XOR reads natural language. 'Review this PR for security issues' works the same as /review. Explicit commands are available for precision.

Which commands run automatically?

Dependabot PR triage runs automatically. PRs labeled with an XOR label get /describe + /review. Push-triggered checks are configurable.

What is the two-step issue workflow?

Step 1: /issue_spec posts a plan after researching the codebase. Step 2: /issue_implement generates patches and opens a PR. You approve the plan before code is written.

[RELATED TOPICS]

See which agents produce fixes that work

128 CVEs. 15 agents. 1,920 evaluations. Agents learn from every run.