totvs

33 mods across 1 repository, 125 stars between them.

advpl-tlpp-compile

01

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Compile AdvPL/TLPP sources (.prw, .prg, .prx, .tlpp, .ppx, .ppp, .apw, .aph, .apl, .ahu and resources) inside VS Code using the TOTVS Developer Studio (tds-vscode) extension and the servers.json connection registry. Orchestrates the full flow: verifies the TOTVS.tds-vscode extension is installed (installs it if…

125 18d ago A 214 tokens original MIT

advpl-tlpp-sdd

02

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Plan and implement Protheus projects/features with 4 adaptive phases — Specify, Design, Tasks, Execute. Auto-sizes depth based on complexity. Creates atomic tasks with verification criteria, atomic commits, requirement traceability, and persistent memory across sessions. Specific to AdvPL/TLPP + Protheus. Use when…

125 18d ago A 209 tokens original MIT

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Guide the migration of legacy AdvPL (Advanced Programming Language) code to modern TLPP (TOTVS Language Plus Plus). Covers feature comparison, syntax transformation, include/namespace adoption, typing, Try-Catch, REST migration, long identifiers, JSON inline, named parameters, access modifiers, and StaticCall removal.…

125 18d ago A 102 tokens original MIT

code-review

04

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Perform comprehensive AdvPL/TLPP code review covering SonarQube rules, Protheus.doc documentation, security, performance, clean code, and TOTVS Protheus framework best practices. Use when a user says "review this code", "code review", "check this source", "audit this AdvPL/TLPP", or needs a structured quality…

125 18d ago A 88 tokens original MIT

context-map

05

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Generate a context map of all files relevant to a task before implementing changes. Use when a user says "map the codebase for this change", "what files are affected", "show me dependencies", or before starting implementation to identify files to modify, dependencies, test files, and reference patterns.

125 18d ago A 62 tokens original MIT

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Create machine-readable implementation plan files for features, refactoring, upgrades, design, architecture, or infrastructure. Use when a user says "create implementation plan", "plan this upgrade", "plan this refactor", or needs a structured, phased plan with requirements, constraints, tasks, and validation criteria…

125 18d ago A 72 tokens original MIT

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Query the TOTVS Protheus ERP data dictionary (SX2 tables, SX3 fields, SIX indexes, SX6 parameters, SX5 generic tables, SX7 triggers, SX1 questions, SX9 relationships, SXB standard lookups, SXG/SXA groups). Use when the user asks 'what fields does SA1 have', 'what is the index of SE1', 'parameter MVESTADO', 'generic…

125 18d ago A 153 tokens original MIT

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Generate ProtheusDOC comment blocks for AdvPL and TLPP source code. Use when a user says "document this function", "add ProtheusDOC", "write documentation block", "document this class/method", or needs structured source-code documentation following the Protheus.doc standard for functions, classes, methods.

125 18d ago A 68 tokens original MIT

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Design and document Protheus Entry Points (Pontos de Entrada). Always generates TLPP by default; only generates AdvPL (.prw) when the user explicitly requests AdvPL. Covers User Function signatures, PARAMIXB parameter layouts, return value specifications, and ProtheusDOC documentation. Use when user says 'create entry…

125 18d ago A 105 tokens original MIT

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Generate AdvPL/TLPP code that CONSUMES external REST APIs using the FWRest client class. Covers GET, POST, PUT, DELETE verbs, header construction, query/path parameters, JSON body serialization, authentication (No Auth, HTTP Basic, Bearer Token/JWT, OAuth 2.0), timeout, SSL, status code handling, error treatment, and…

125 18d ago A 136 tokens original MIT

mvc-generator

11

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Generate Protheus MVC (Model-View-Controller) screen structures including ModelDef, ViewDef, MenuDef, and BrowseDef functions. Supports single-entity (Modelo 1) and master-detail (Modelo 3) patterns with FWFormModel, FWFormView, FWFormBrowse, validations, triggers, and entry point hooks. Use when user says 'create MVC…

125 18d ago A 97 tokens original MIT

query-builder

12

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Build optimized and safe SQL queries for Protheus tables. Automatically includes mandatory filters (DELET, branch), suggests appropriate indexes from SIX patterns, generates both Embedded SQL (preferring FWExecStatement) and Workarea (DBSelectArea/DBSeek) versions, and warns about common Protheus SQL pitfalls. Use…

125 18d ago A 100 tokens original MIT

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Refactor given method ${input:methodName} to reduce its cognitive complexity to ${input:complexityThreshold} or below, by extracting helper methods. Use when user says 'reduce complexity', 'simplify method', 'cognitive complexity too high'.

125 18d ago A 60 tokens original MIT

refactor

14

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements. Use when user says…

125 18d ago A 76 tokens original MIT

sql-code-review

15

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

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…

125 18d ago A 86 tokens original MIT

sql-optimization

16

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across SQL databases (PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance. Use when user…

125 18d ago A 72 tokens original MIT

tir-test-generator

17

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Generate TIR (TOTVS Interface Robot) end-to-end test scripts in Python for Protheus SmartClient/Webapp screens. Supports CRUD screen tests, MVC screen tests, grid interaction, report tests, field validation, and message box assertions. Use when a user says "TIR test", "interface test", "e2e test Protheus"…

125 18d ago A 110 tokens original MIT

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Generate TLPP REST endpoints using annotation-based routing (@Get, @Post, @Put, @Patch, @Delete) with the oRest object. Follows TOTVS API standards (TTALK) including pagination, error model, standard headers, and Swagger documentation. Use when user says 'create REST endpoint', 'TLPP REST', '@Get annotation', 'oRest…

125 18d ago A 83 tokens original MIT

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Convert AdvPL/TLPP source files from UTF-8 encoding to Windows-1252 (CP1252) after code generation. The Protheus compiler only supports CP1252 encoded files — any source created or modified by an AI agent will be in UTF-8 and must be converted before compilation. Use when user says 'convert encoding', 'fix encoding'…

125 18d ago A 129 tokens original MIT

brainstorming

20

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

125 18d ago A 37 tokens copy · 95% MIT

executing-plans

22

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Use when you have a written implementation plan to execute in a separate session with review checkpoints.

125 18d ago A 22 tokens copy · 81% MIT

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup.

125 18d ago A 44 tokens copy · 86% MIT

totvs/engpro-advpl-tlpp-skills

Skill Claude CodeCodex

Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation.

125 18d ago A 38 tokens copy · 94% MIT