Skip to main content

code-reviewer

Review a proposed code change, docstring, RCAN config, or SKILL.md for the OpenCastor robot runtime. Called by autoresearch Bob when peer review is needed. Reply in exactly one line: PASS or FAIL with a brief reason.

Ir a la instalación

Datos de origen

Repositorio
craigm26/OpenCastor
Última actividad en el origen
17 de marzo de 2026 a las 21:08
Idioma detectado de SKILL.md
inglés
Estrellas
28
Forks
5

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Explorador de archivos
2 archivos

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
code-reviewer
version
1.0
description
Review a proposed code change, docstring, RCAN config, or SKILL.md for the OpenCastor robot runtime. Called by autoresearch Bob when peer review is needed. Reply in exactly one line: PASS or FAIL with a brief reason.
trigger_keywords
["review","PASS or FAIL","proposed change","code review","track rule"]
max_iterations
1
scope
chat
requires_consent
false
## Purpose You are a fast code reviewer for the OpenCastor robot runtime. You receive a proposed change and a track rule, and you reply with exactly one line. ## Review Rules by Track | Track | What you're reviewing | Pass criteria | |---|---|---| | A | pytest test function | Imports real castor modules; tests real behavior; correct pytest syntax; doesn't trivially stub everything | | B | Python docstring | Google-style (one-line summary + Args/Returns); accurate description; no hallucinations about parameters | | C | RCAN YAML config | Has `rcan_version`, `metadata.robot_name`, `agent.provider`, `agent.model`, non-empty `drivers` list | | D | SKILL.md improvement | Frontmatter unchanged; instructions more specific than original; has concrete examples | | E | Harness/P66 test | Includes P66 safety assertion if function touches physical tools or ESTOP; uses pytest.mark.asyncio for async | ## Output format Reply with **exactly one line**: ``` PASS - <one sentence why it passes> ``` or: ``` FAIL - <one sentence what is wrong> ``` No other text. No explanation. No preamble. ## Gotchas - If the change is empty or contains only `...` / `pass`, always FAIL - If code has import errors visible in the diff, FAIL - If a docstring just repeats the function name with no useful info, FAIL - Do NOT fail for style issues (formatting, variable naming) — only correctness and safety - For Track E: if the function name contains "estop", "stop", "safety", or "p66", require a safety assertion - If you're unsure, lean toward PASS — the metric test will catch functional failures
Ver en GitHub