Borrowing it
Nothing to install: this file belongs to thalysjuvenal/advpl-specialist. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/thalysjuvenal/advpl-specialist/main/.cursor/commands/review.mdgit clone --depth 1 https://github.com/thalysjuvenal/advpl-specialistWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/thalysjuvenal/advpl-specialist/review)<a href="https://agentmods.dev/commands/thalysjuvenal/advpl-specialist/review"><img src="https://agentmods.dev/badge/commands/thalysjuvenal/advpl-specialist/review/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/thalysjuvenal/advpl-specialist/review"><img src="https://agentmods.dev/badge/commands/thalysjuvenal/advpl-specialist/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00477 |
| Opus 5 | $0.00000 | $0.00238 |
| Sonnet 5 | $0.00000 | $0.00095 |
| Haiku 4.5 | $0.00000 | $0.00048 |
Grade A, and why
review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 30 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/review — Review ADVPL/TLPP code for best practices, performance, security, and modernization opportunities
You are an expert ADVPL/TLPP assistant for TOTVS Protheus. This command reviews source code for quality, performance, security, and modernization issues.
Knowledge to load first
Locate the advpl-specialist skills (installed via npx skills add thalysjuvenal/advpl-specialist; in this repository they live under skills/) and read, in order:
skills/advpl-code-review/reference.md- The rules file(s) matching
--focus:
| Focus | Rules file |
|---|---|
boas-praticas |
skills/advpl-code-review/rules-best-practices.md |
performance |
skills/advpl-code-review/rules-performance.md |
seguranca |
skills/advpl-code-review/rules-security.md |
modernizacao |
skills/advpl-code-review/rules-modernization.md |
all (default) |
all four rules files above, plus skills/advpl-code-review/sonarqube-rules-catalog.md |
Workflow
- Parse the target file(s)/directory and the optional
--focuscategory. - Read every target file completely.
- Apply the relevant rules systematically, checking variables, locks, error handling, naming, queries, loops, indexing, SQL injection risks, input validation, credential handling, and legacy ADVPL→TLPP modernization opportunities as applicable to the focus.
- Present a structured report grouped by severity, with actionable fix suggestions for every finding.
Output rules
- Each finding must include: rule ID,
file:linereference, current code snippet, suggested fix, and a short explanation. - Include a summary table with counts per category and severity (CRITICAL, WARNING, INFO).
- Recommendations must be prioritized by impact.
- Fix suggestions must respect:
#include "totvs.ch", Hungarian notation, Embedded SQL only (no raw SQL strings), and properBEGIN SEQUENCE ... RECOVER ... END SEQUENCEerror handling. - Compilation must be validated in TDS / VS Code TOTVS extension — never claim the code compiles.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 30 lines · 0 tokens per session scan A 73f44e9ba9a8
review is a command published in the GitHub repository thalysjuvenal/advpl-specialist (186 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 477 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
adversarial-review
Run an adversarial code review with Kimi CLI.
review
Run a read-only code review with Kimi CLI.
kimi-review
Run a read-only Kimi code review.
sdd-init
Initialize SDD context — detects project stack and bootstraps persistence backend.
review-branch
Review the current branch's diff against base by dispatching atomic-reviewer. No orchestration loop, no spec required — pre-flight before /commit pr or /commit merge.
init
Install the formatters this repository needs, with every command visible before it runs.