Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

code-review

Skill by totvs

Reviews AdvPL and TLPP source files for security, performance, documentation, clean code and Protheus framework compliance. Built for developers working on .prw, .tlpp and .prx files.

  • Score 69
  • 180 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install code-review

Built from the published package, never by AI.

git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills /tmp/engpro-advpl-tlpp-skills && mkdir -p ~/.claude/skills && cp -r /tmp/engpro-advpl-tlpp-skills/skills/advpl-tlpp/code-review ~/.claude/skills/code-review

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install code-review in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

code-review is an agent skill that performs a structured review of AdvPL and TLPP source files. It checks security, performance, ProtheusDOC documentation, clean code and TOTVS Protheus framework practices against SonarQube rules and TOTVS engineering standards. It is triggered by requests such as "review this code" or "check this source" on .prw, .tlpp or .prx files.

The skill follows a fixed workflow. It reads the whole file, loads reference files for the relevant categories, and then produces a report. Each finding lists its category, severity, rule ID, location, description and suggested fix. The report ends with an overall assessment of PASS, PASS WITH OBSERVATIONS, NEEDS REVISION or FAIL. It is aimed at developers doing pull request reviews, legacy code audits and Cloud or SmartERP readiness checks.

Written from the project's SKILL.md and checked against it.

What it can do

  • Security reviewChecks for SQL injection, hardcoded credentials and restricted API use.
  • Performance reviewFinds prohibited APIs inside loops, UI calls in transactions and direct SQL.
  • Legacy code reviewFlags deprecated APIs, ISAM access, console output and obsolete includes.
  • Metadata access reviewDetects direct DbSelectArea calls on Protheus SX* system tables.
  • ProtheusDOC reviewChecks that public elements have complete documentation blocks and tags.
  • Clean code reviewChecks variable naming prefixes, variable scope, function size and dead code.
  • TLPP checksVerifies type annotations, namespaces and Try-Catch error handling in .tlpp files.
  • Compilation and encoding reviewChecks syntax, Windows-1252 file encoding and I18N compliance.
  • Structured reportOutputs findings by severity with fix examples and an overall assessment.

Try asking

  • Review this code for security issues and SQL injection
  • Check this source for SonarQube rule violations and legacy APIs
  • Audit this AdvPL/TLPP file and check its ProtheusDOC blocks

Good to know

  • Covers .prw, .tlpp and .prx files only.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/advpl-tlpp/code-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to code-review

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

code-review: common questions

What files does the code review skill cover?

It reviews .prw, .tlpp and .prx source files, covering both AdvPL and TLPP code.

What severity levels does it use?

Findings are rated CRITICAL, MAJOR, MINOR or INFO. Any CRITICAL finding makes the overall assessment FAIL.

Which SonarQube rules does it check?

It references rule groups G1 to G5, including CA2050 for SQL injection and CA1003 for prohibited APIs in loops.

How do I install code-review?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is code-review free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is code-review safe to use?

It scores 69 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to code-review?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

code-review Install

Add to stack

Loading.