totvstotvsOfficial·32 Agent Skills Included

engpro-advpl-tlpp-skills

Protheus AdvPL/TLPP code generation, review, migration, and testing

Generates, reviews, migrates, and compiles AdvPL and TLPP code for the TOTVS Protheus ERP, including MVC screens, REST endpoints, entry points, and SQL queries. Eliminates manual SonarQube compliance checks, encoding conversion errors, and unsafe SQL by enforcing Protheus conventions automatically. Adds spec-driven planning, TIR interface test generation, and debugging workflows to complete ERP customization projects faster.
npx skills add totvs/engpro-advpl-tlpp-skills --all -g -y
Available:

Equips the agent with mandatory Protheus ecosystem rules — AdvPL/TLPP syntax, naming conventions, type systems, and project structure — so it writes compliant ERP code without repeated explanations.

All Skills in This Repository (32)

Pure Emerald Level Indicators
📦 In Repo
totvstotvs

advpl-to-tlpp-migration

Migrate legacy AdvPL .prw/.prx sources to modern TLPP .tlpp code.

Official
Advanced
📦 In Repo
totvstotvs

utf8-to-cp1252-conversion

Convert AdvPL and TLPP source files from UTF-8 to Windows-1252.

Official
Advanced
📦 In Repo
totvstotvs

code-review

Review AdvPL/TLPP sources for security, performance, and Protheus compliance.

Official
Advanced
📦 In Repo
totvstotvs

create-implementation-plan

Generate machine-readable implementation plan files with phases, requirements, and tasks.

Official
Intermediate
📦 In Repo
totvstotvs

sql-code-review

Review SQL code for security, performance, and maintainability issues.

Official
Advanced
📦 In Repo
totvstotvs

entry-point-designer

Design and document Protheus Entry Points with PARAMIXB and TLPP-first implementation.

Official
Advanced
📦 In Repo
totvstotvs

documentation-writer

Generate ProtheusDOC comment blocks for AdvPL and TLPP source code elements.

Official
Intermediate
📦 In Repo
totvstotvs

refactor-method-complexity-reduce

Refactor AdvPL/TLPP methods by extracting helper functions to reduce cognitive complexity.

Official
Advanced
📦 In Repo
totvstotvs

sql-optimization

Analyze SQL execution plans and indexing strategies to reduce query latency.

Official
Advanced
📦 In Repo
totvstotvs

context-map

Generate a context map of files, dependencies, and tests for Protheus ADVPL/TLPP changes.

Official
Intermediate
📦 In Repo
totvstotvs

tlpp-rest-endpoint-generator

Generate TTALK-compliant TLPP REST endpoints with annotation-based routing.

Official
Advanced
📦 In Repo
totvstotvs

mvc-generator

Generate Protheus ADVPL/TLPP MVC screen structures with ModelDef, ViewDef, MenuDef, and FWFormBrowse integration.

Official
Advanced

Frequently Asked Questions

FAQPage Schema
How to install engpro-advpl-tlpp-skills?

Run `npx skills add totvs/engpro-advpl-tlpp-skills --all -g -y` in your terminal to install all skills globally.

How to migrate AdvPL code to TLPP?

The advpl-to-tlpp-migration skill converts legacy .prw files to modern .tlpp with typing, namespaces, Try-Catch, and REST annotations in 15 guided steps.

Can it generate Protheus MVC screens and REST APIs?

Yes. Dedicated skills generate full MVC screens (ModelDef, ViewDef, MenuDef) and annotation-based TLPP REST endpoints following TOTVS TTALK standards.

Does it work with Claude Code and Cursor?

Yes. All skills follow the open SKILL.md standard and work in Claude Code, Cursor, GitHub Copilot, Windsurf, and other compatible agents.

Why do generated Protheus files fail to compile?

AI-generated files are UTF-8, but the Protheus compiler requires CP1252. The utf8-to-cp1252-conversion skill fixes encoding automatically before compilation.

Related Repositories in Software Engineering

View All in Software Engineering