PR Commands & Review Skills
Developers interact with CodeSpider directly inside Gitea pull request conversation threads or inline review threads.
Interactive @codespider Commands
Section titled “Interactive @codespider Commands”In this table, read-only means the agent cannot edit or push source files. The bot can still post findings, replies and commit statuses to the forge.
| Command | Capability Gate | Behavior |
|---|---|---|
@codespider /review |
Read-only | Forces a fresh agentic review on the current head commit SHA. |
@codespider /summary |
Read-only | Generates a structured PR architecture and risk walkthrough. |
@codespider /redteam |
Read-only | Runs an adversarial Red-Team/Blue-Team security audit pass. |
@codespider /ci |
Read-only | Inspects failing Gitea commit statuses and correlates them with diff changes. |
@codespider /fix <instructions> |
Write-gated (enable_write + collaborator) |
Proposes or commits minimal fixes when write mode is explicitly enabled. |
@codespider /pause |
Collaborator only | New. Pauses automatic reviews and reconciliation for this PR (persisted in state.json). /review and /redteam still run on demand. |
@codespider /resume |
Collaborator only | New. Clears the pause and reviews the current head commit unless it was already reviewed. |
@codespider /resolve |
Collaborator only | New. Resolves the open inline review threads the bot authored, up to 200 per command, through POST /repos/{owner}/{repo}/pulls/comments/{id}/resolve. Older Gitea servers may not provide that endpoint; failures are reported in the reply. |
@codespider /help |
Read-only (zero LLM tokens) | Replies immediately with the supported command reference. |
The three commands shipped in v1.1.0 and require the slash form. A question that starts with “resume” or “resolve” is not treated as a command. See the recorded Gitea release run for the commands exercised on one test PR.

Built-In Review Skills (skills/*/SKILL.md)
Section titled “Built-In Review Skills (skills/*/SKILL.md)”Skills are loaded from agent.skills_dir into the agent prompt and can be hot-reloaded with SIGHUP:
| Skill | Investigation Focus |
|---|---|
security |
Auth boundaries, injection sinks, SSRF, secret exposure, and unsafe patterns |
code-quality |
Maintainability, error handling, resource lifecycles, and contract clarity |
testing |
Missing regression tests, weak assertions, and edge-case coverage |
performance |
N+1 I/O, unbounded memory growth, hot-path allocations, and lock contention |
concurrency |
Data races, goroutine/timer leaks, deadlocks, and shared state safety |
chaos-resilience |
Timeout propagation, retry backoff, failure modes, and idempotency |
Create custom team skills by adding <skills_dir>/<name>/SKILL.md and listing <name> under agent.default_skills or base-branch .codespider.yaml.