SQL Code Review
github/awesome-copilot
Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle).
Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across SQL databases (PostgreSQL, SQL Server, Oracle).
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill sql-code-review -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install totvs/engpro-advpl-tlpp-skills sql-code-review --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/advpl-tlpp/sql-code-review .claude/skills/sql-code-review && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sql-code-review" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/sql-code-review into .claude/skills/sql-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sql-code-review", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/sql-code-reviewType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill sql-code-review -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install totvs/engpro-advpl-tlpp-skills sql-code-review --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/advpl-tlpp/sql-code-review .agents/skills/sql-code-review && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sql-code-review" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/sql-code-review into .agents/skills/sql-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sql-code-review", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill sql-code-review -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install totvs/engpro-advpl-tlpp-skills sql-code-review --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/advpl-tlpp/sql-code-review .cursor/skills/sql-code-review && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sql-code-review" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/sql-code-review into .cursor/skills/sql-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sql-code-review", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/totvs/engpro-advpl-tlpp-skills.git --path skills/advpl-tlpp/sql-code-review--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill sql-code-review -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install totvs/engpro-advpl-tlpp-skills sql-code-review --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/advpl-tlpp/sql-code-review .gemini/skills/sql-code-review && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sql-code-review" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/sql-code-review into .gemini/skills/sql-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sql-code-review", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install totvs/engpro-advpl-tlpp-skills sql-code-reviewInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill sql-code-review -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/advpl-tlpp/sql-code-review .github/skills/sql-code-review && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sql-code-review" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/sql-code-review into .github/skills/sql-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sql-code-review", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add totvs/engpro-advpl-tlpp-skills --skill sql-code-review -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install totvs/engpro-advpl-tlpp-skills sql-code-review --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/totvs/engpro-advpl-tlpp-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/advpl-tlpp/sql-code-review .opencode/skills/sql-code-review && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sql-code-review" agent skill from https://github.com/totvs/engpro-advpl-tlpp-skills/tree/main/skills/advpl-tlpp/sql-code-review into .opencode/skills/sql-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sql-code-review", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sql-code-reviewUniversal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across SQL databases (PostgreSQL, SQL Server, Oracle).
SQL Code Review is an agent skill from totvs/engpro-advpl-tlpp-skills. Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across SQL databases (PostgreSQL, SQL Server, Oracle). Focuses on SQL injection prevention, access control, code standards, and anti-pattern detection. Complements SQL optimization prompt for complete development coverage. Use when user says "review SQL", "SQL security audit", "SQL anti-patterns", "check SQL quality".
Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/database-specific-best-practices.md`, `references/sql-performance-and-quality-patterns.md` and `references/sql-security-patterns.md`).
It sits in Databases, covering SQL, Code review and Code quality. It works with SQL, Microsoft SQL Server and PostgreSQL. The repository describes itself as: Repositório contendo skills para orientar desenvolvimento ADVPL/TLPP com agentes de IA. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3908e4e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are advpl and sql).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
SQL Code Review loads about 3.5k tokens when it runs, and up to ~6.5k if it reads all its reference files. Until then it costs about 113 tokens; SKILL.md has 1,044 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from totvs/engpro-advpl-tlpp-skills at commit 3908e4e, republished under its MIT licence (© totvs). 1,044 words, ~3,520 tokens.
.claude/skills/sql-code-review/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Perform a thorough SQL code review of ${selection} (or entire project if no selection) focusing on security, performance, maintainability, and database best practices.
SELECT * on sensitive tables, enforce audit logging and data maskingSELECT DISTINCT *, prefer explicit JOINs over comma-separated FROMProtheus note: Use
ChangeQuery()to automatically translate SQL syntax to the active database dialect. BeginSQL/EndSQL callsChangeQuery()automatically.
This skill uses progressive disclosure. The SKILL.md body covers the review workflow, category definitions, checklist, and output format. Detailed code examples, anti-patterns, and database-specific best practices are in the references/ directory — read them on demand based on the scenario:
| Reference File | When to Read | Content |
|---|---|---|
| references/sql-security-patterns.md | Reviewing security concerns — SQL injection, access control, data protection, or dynamic SQL | Injection examples, parameterization patterns, access control checklist, data masking examples |
| references/sql-performance-and-quality-patterns.md | Reviewing query performance, code style, anti-patterns, or testing strategies | Query optimization examples, JOIN/aggregation patterns, N+1 and DISTINCT anti-patterns, formatting standards, data integrity checks |
| references/database-specific-best-practices.md | Reviewing SQL targeting a specific database (PostgreSQL, SQL Server, Oracle) or cross-database portability | ANSI SQL cross-database patterns, PostgreSQL (JSONB, GIN), SQL Server (NVARCHAR, COLUMNSTORE), Oracle (sequences, VARCHAR2) |
Also refer to references/sonarqube-rules-reference.md for the complete SonarQube rules reference shared across skills.
Determine from the user's request:
Based on the review focus and database, read the appropriate reference files:
Walk through each category in the checklist below. For each finding, classify priority as CRITICAL, HIGH, MEDIUM, or LOW.
Use the Issue Template (below) for each finding. Group findings by category and sort by priority.
## [PRIORITY] [CATEGORY]: [Brief Description]
**Location**: [Table/View/Procedure name and line number if applicable]
**Issue**: [Detailed explanation of the problem]
**Security Risk**: [If applicable - injection risk, data exposure, etc.]
**Performance Impact**: [Query cost, execution time impact]
**Recommendation**: [Specific fix with code example]
**Before**:
```sql
-- Problematic SQLAfter:
-- Improved SQLExpected Improvement: [Performance gain, security benefit]
### Summary Assessment
- **Security Score**: [1-10] - SQL injection protection, access controls
- **Performance Score**: [1-10] - Query efficiency, index usage
- **Maintainability Score**: [1-10] - Code quality, documentation
- **Schema Quality Score**: [1-10] - Design patterns, normalization
### Top 3 Priority Actions
1. **[Critical Security Fix]**: Address SQL injection vulnerabilities
2. **[Performance Optimization]**: Add missing indexes or optimize queries
3. **[Code Quality]**: Improve naming conventions and documentation
Focus on providing actionable, database-agnostic recommendations while highlighting platform-specific optimizations and best practices.
> **Cross-Database Review Tip:** When reviewing Protheus SQL, verify the query is compatible with all three supported databases (PostgreSQL, MSSQL, Oracle). Use `ChangeQuery()` for automatic SQL dialect translation, or `TCGetDB()` for runtime DB detection when DB-specific logic is unavoidable.
---
## Protheus SQL Patterns
When reviewing SQL in the TOTVS Protheus ecosystem — whether embedded SQL (preferring `FWExecStatement`, with legacy `TCQuery` / `TCSqlExec` calls), Workarea-based access, or standalone queries — apply the following additional checks.
### Table and Field Naming Conventions
Protheus uses standardized short-name tables and fields managed through the data dictionary:
| Alias | Module | Description |
|-------|--------|-------------|
| SA1 | All | Customers |
| SA2 | All | Suppliers |
| SB1 | SIGAEST | Products |
| SC5 | SIGAFAT | Sales Orders (header) |
| SC6 | SIGAFAT | Sales Orders (items) |
| SD1 | SIGACOM | Purchase document items |
| SD2 | SIGAFAT | Sales document items |
| SE1 | SIGAFIN | Accounts Receivable |
| SE2 | SIGAFIN | Accounts Payable |
| SF1 | SIGACOM | Incoming invoices (header) |
| SF2 | SIGAFAT | Outgoing invoices (header) |
| SX2 | System | Table dictionary |
| SX3 | System | Field dictionary |
| SIX | System | Index dictionary |
Fields follow the pattern `<prefix>_<name>`, e.g., `A1_COD` (customer code), `A1_NOME` (customer name), `D1_DOC` (document number).
### Mandatory Filters for Protheus Tables
Every query against a Protheus table **must** include these filters unless there is an explicit reason to omit them:
```sql
-- BAD: Missing mandatory filters — returns deleted records and all branches
SELECT A1_COD, A1_NOME FROM SA1010
-- GOOD: Proper Protheus query with mandatory filters
SELECT A1_COD, A1_NOME
FROM SA1010
WHERE D_E_L_E_T_ = ' '
AND A1_FILIAL = '01'| Filter | Purpose |
|---|---|
D_E_L_E_T_ = ' ' | Excludes logically deleted records (soft delete). Always required. |
<prefix>_FILIAL = cFilAnt | Multi-branch filter (tenant isolation). Required unless deliberately querying across branches. |
| Scenario | Recommended Approach |
|---|---|
| Single-record lookup by index key | Workarea (DbSelectArea / DbSetOrder / DbSeek) |
| Sequential processing of a filtered set | Workarea with While loop |
| Complex joins across multiple tables | Embedded SQL via FWExecStatement |
| Aggregate queries (SUM, COUNT, AVG) | Embedded SQL via FWExecStatement (use :ExecScalar() for single values) |
| Bulk INSERT/UPDATE/DELETE operations | FWExecStatement + TCSqlExec(oStatement:GetFixQuery()) |
| Reports with heavy filtering | Embedded SQL via FWExecStatement, or temporary tables via TCSqlExec |
// GOOD: Complete workarea access pattern
DbSelectArea("SA1")
DbSetOrder(1) // Set the index defined in SIX
If DbSeek(FWxFilial("SA1") + cCodCli)
// process record...
EndIfDbSelectArea() called before any workarea operationDbSetOrder() set to the correct SIX indexDbSeek() includes branch prefix via FWxFilial()RecLock() / MsUnlock()While loops include !Eof() and SA1->(DbSkip()) pattern// GOOD: Parameterized embedded SQL via FWExecStatement (DB-side bind, cacheable)
Local cQuery as Character
Local oExec as Object
Local cAlias as Character
cQuery := "SELECT A1_COD, A1_NOME "
cQuery += "FROM " + RetSqlName("SA1") + " SA1 "
cQuery += "WHERE D_E_L_E_T_ = ? "
cQuery += "AND A1_FILIAL = ? "
cQuery += "AND A1_COD = ? "
oExec := FWExecStatement():New(ChangeQuery(cQuery))
oExec:SetString(1, ' ')
oExec:SetString(2, FWxFilial("SA1"))
oExec:SetString(3, cCodCli)
cAlias := oExec:OpenAlias("QRY_CLI")
// ... consume (cAlias)->A1_COD / A1_NOME ...
(cAlias)->(DbCloseArea())
oExec:Destroy()RetSqlName() to get the physical table name (handles company suffix)D_E_L_E_T_ = ' ' filterFWxFilial()QRY_CLI->(DbCloseArea()))FWExecStatement — no raw user input concatenated)| Anti-Pattern | Problem | Fix |
|---|---|---|
Missing D_E_L_E_T_ filter | Returns deleted records | Always add D_E_L_E_T_ = ' ' |
SELECT * on Protheus tables | Protheus tables have many system fields; wastes bandwidth | Select only needed columns |
| Full table scan on SD1/SD2/SE1/SE2 | These transactional tables can have millions of rows | Use indexed columns in WHERE clause |
Missing %nolock% on SQL Server | Causes lock escalation on read queries | Add %nolock% hint: FROM SA1010 WITH (%nolock%) — the %nolock% DBAccess macro translates to WITH (NOLOCK) on MSSQL and is silently ignored on PostgreSQL/Oracle (MVCC) |
| Concatenating user input into SQL | SQL injection vulnerability | Use FWExecStatement or TcGenQry2 to parameterize queries |
| Not closing temporary aliases | Resource leak, workarea pollution | Always QRY->(DbCloseArea()) after use |
Hardcoding table suffix (e.g., SA1010) | Breaks in multi-company environments | Use RetSqlName("SA1") |
| Creating procedures directly in source | Prohibited — violates SonarQube rules | Use SPManager for procedure management |
| Direct queries without evaluation (Cloud) | Queries may not be Cloud-compatible | Evaluate Cloud impact; prefer framework APIs where available |
| Using SE5 table directly | SE5 is deprecated | Use FKx family functions + ExecAuto |
| Using IIF in SQL or AdvPL expressions | Prohibited for clean code | Replace with CASE WHEN (SQL) or If/Else/EndIf (AdvPL) |
Protheus indexes are defined in the SIX dictionary. When writing queries or using workareas:
DbSetOrder() — using the wrong order leads to full scansA1_FILIAL + A1_COD + A1_LOJA)WHERE clauses matching left-to-right column orderFWExecStatement or TcGenQry2 for parameterized queriesFWExecView for user-facing queries when possible (respects field-level security)Refer to references/sonarqube-rules-reference.md for the complete SonarQube rules reference.
© totvs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in skills/advpl-tlpp/sql-code-review of totvs/engpro-advpl-tlpp-skills.
Open the folder on GitHubat commit 3908e4e
SQL Code Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| SQL Code Review this skilltotvs/engpro-advpl-tlpp-skills | 141 | — | ~3.5k | Automated safety check: Pass | MIT | |
| SQL Code Reviewgithub/awesome-copilot | 40k | 1 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Query Builderthalysjuvenal/advpl-specialist | 185 | — | ~594 | Automated safety check: Pass | MIT | |
| Azure MigrateMicrosoftDocs/Agent-Skills | 775 | — | ~5.2k | Automated safety check: Pass | CC-BY-4.0 | |
| Database Migrations SQL Migrationsrmyndharis/antigravity-skills | 1.7k | 2 repos | ~577 | Automated safety check: Notes | MIT | |
| Ron Databasebionic-gpt/bionic-gpt | 2.4k | — | ~721 | Automated safety check: Pass | Apache-2.0 |
github/awesome-copilot
Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle).
thalysjuvenal/advpl-specialist
A skill your agent uses when the user needs to build, choose the pattern for, or optimize a SQL query against Protheus ERP tables -- covering Workarea (DbSelectArea/DbSeek) vs Embedded SQL vs…
MicrosoftDocs/Agent-Skills
Expert knowledge for Azure Migrate development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations &…
rmyndharis/antigravity-skills
SQL database migrations with zero-downtime strategies for PostgreSQL, MySQL, SQL Server
bionic-gpt/bionic-gpt
Manage PostgreSQL migrations, typed SQL queries, generated Rust bindings, and database authorization in Rust on Nails applications.
Jeffallan/claude-skills
Optimizes SQL queries and designs schemas using CTEs, window functions, covering indexes and EXPLAIN ANALYZE, with notes on dialect differences between major databases.
totvs/engpro-advpl-tlpp-skills
Converts AdvPL and TLPP source files from UTF-8 to Windows-1252 in place after code generation, because the Protheus compiler accepts only CP1252 files.
totvs/engpro-advpl-tlpp-skills
Compiles AdvPL and TLPP sources from VS Code with the TOTVS Developer Studio extension, handling server setup, connection and compile result reporting.
totvs/engpro-advpl-tlpp-skills
Plans and builds Protheus AdvPL/TLPP features through Specify, Design, Tasks and Execute phases whose depth scales with the size of the change.
totvs/engpro-advpl-tlpp-skills
Reviews AdvPL and TLPP source against SonarQube rules, ProtheusDOC requirements, security, performance and Protheus conventions, and reports findings by severity.
totvs/engpro-advpl-tlpp-skills
Queries the TOTVS Protheus ERP data dictionary for tables, fields, indexes, parameters, triggers and lookups, including impact checks during refactoring.
totvs/engpro-advpl-tlpp-skills
Generates Protheus MVC screens in ADVPL/TLPP, with ModelDef, ViewDef, MenuDef and Browse functions for single-entity and master-detail layouts.
Works with
Categories
Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across SQL databases (PostgreSQL, SQL Server, Oracle). SQL Code Review is an agent skill from totvs/engpro-advpl-tlpp-skills. Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across SQL databases (PostgreSQL, SQL Server, Oracle).
SQL Code Review fits situations like: user says review SQL; SQL security audit; SQL anti-patterns; check SQL quality.
Run `npx skills add totvs/engpro-advpl-tlpp-skills --skill sql-code-review -a claude-code`. Or copy the skill folder (skills/advpl-tlpp/sql-code-review in totvs/engpro-advpl-tlpp-skills) into .claude/skills/sql-code-review in your project. Claude Code loads it when a task matches its description.
Run `npx skills add totvs/engpro-advpl-tlpp-skills --skill sql-code-review -a codex`. Or copy the skill folder (skills/advpl-tlpp/sql-code-review in totvs/engpro-advpl-tlpp-skills) into .agents/skills/sql-code-review in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add totvs/engpro-advpl-tlpp-skills --skill sql-code-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sql-code-review, .gemini/skills/sql-code-review, .github/skills/sql-code-review and .opencode/skills/sql-code-review in your project.
SKILL.md names no scripts, command-line tools or credentials: SQL Code Review is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
SQL Code Review is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with SQL Code Review: SQL Code Review (github/awesome-copilot, 40k stars), Query Builder (thalysjuvenal/advpl-specialist, 185 stars), Azure Migrate (MicrosoftDocs/Agent-Skills, 775 stars) and Database Migrations SQL Migrations (rmyndharis/antigravity-skills, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
totvs (a GitHub organization) maintains it in totvs/engpro-advpl-tlpp-skills, which has 141 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 5, 2026.
Source: totvs/engpro-advpl-tlpp-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.