🧩
AI EngineeringShell

ADVPL Code Generation

by thalysjuvenal

ADVPL Code Generation is an AI Engineering skill for Claude Code, published by thalysjuvenal in advpl-specialist.

186 stars37 forkson thalysjuvenal/advpl-specialistAdded 2026/09/06+1% in starsRepository updated 2026/08/21
advpladvpl-projetosadvprclaude-codedevopsiaorientacao-a-objetosprotheussmartxsqltdntirtlpptotvstotvs-protheus
Install in seconds
Install ADVPL Code Generation
Copy ADVPL Code Generation into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/thalysjuvenal/advpl-specialist/tree/main/skills/advpl-code-generation ~/.claude/skills/advpl-code-generation

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/thalysjuvenal/advpl-specialist.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/advpl-code-generation/SKILL.md in thalysjuvenal/advpl-specialist
Installs to
~/.claude/skills/advpl-code-generation
Collection
One of 18 skills cataloged from this repository
Category
AI Engineering3278 skills

What ADVPL Code Generation does

ADVPL Code Generation generates new ADVPL and TLPP code for TOTVS Protheus, including functions, classes, MVC screens, REST/SOAP services, reports, jobs, and workflows. Use it when creating new .prw or .tlpp files with required naming and structure rules.

ADVPL Code Generation is cataloged under AI Engineering on DirSkills. ADVPL Code Generation comes from a repository tagged advpl, advpl-projetos, advpr, claude-code and devops.

Documentation

README

ADVPL/TLPP Code Generation

This skill provides patterns, templates, and mandatory structural rules for generating new ADVPL (.prw) and TLPP (.tlpp) code for TOTVS Protheus. It covers naming conventions (module prefixes, Hungarian notation), the mandatory User Function skeleton with Protheus.doc headers and error handling, variable scope rules, TLPP namespace conventions (custom.<agrupador>.<servico>), and the 8/10/255-character identifier length limits per construct type.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about ADVPL Code Generation

  • What else does thalysjuvenal publish alongside ADVPL Code Generation?

    ADVPL Code Generation is one of 18 skills that DirSkills catalogs from thalysjuvenal/advpl-specialist, the repository it ships in. Its siblings there include ADVPL Code Review, ADVPL Debugging and ADVPL Refactoring. Each one is a separate skill with its own page in this directory, installs the same way ADVPL Code Generation does, and is maintained by thalysjuvenal in that same repository. The rest of the collection is listed on the thalysjuvenal/advpl-specialist page.

  • How does ADVPL Code Generation compare to other AI Engineering skills?

    ADVPL Code Generation ranks #2990 by stars among the 3278 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of ADVPL Code Generation against them. Open each page to compare what they document and how they install.

More from thalysjuvenal/advpl-specialist

ADVPL Code Generation is one of 18 skills cataloged on DirSkills from thalysjuvenal/advpl-specialist.

See all 18 skills
🔍
4h ago

ADVPL Code Review

ADVPL Code Review inspects existing ADVPL/TLPP code for best practices, performance, security, and modernization issues. Use it before merge or deploy, or when checking TLPP migration readiness and TOTVS SonarQube rule alignment.
Quality
18637
🐞
4h ago

ADVPL Debugging

ADVPL Debugging helps diagnose and fix ADVPL/TLPP errors in TOTVS Protheus, including compilation failures, runtime exceptions, locks, slow routines, and AppServer log analysis. Use it when you have an error message, stack trace, or failing routine to investigate.
Quality
18637
🛠️
4h ago

ADVPL Refactoring

ADVPL Refactoring helps restructure existing ADVPL/TLPP code without changing behavior. Use it to extract long functions, simplify nested conditionals, remove dead code, improve naming, and reduce duplication or parameter bloat.
Quality
18637
🛠️
4h ago

ADVPL To TLPP Migration

ADVPL To TLPP Migration converts legacy ADVPL procedural routines into TLPP classes for TOTVS Protheus. Use it when migrating User Functions and Static Functions to namespaced classes while preserving backward-compatible wrappers.
AI Engineering
18637
🧪
4h ago

ADVPR Test Automation

ADVPR Test Automation helps write, run, and troubleshoot automated regression tests for TOTVS Protheus routines with ADVPR. It covers FWTestHelper, TestSuite setup, headless execution, routine preparation, and common patterns like MVC, ExecAuto, reports, webservices, SmartLink, and Smart View.
Quality
18637
📝
4h ago

Changelog Patterns

Changelog Patterns analyzes ADVPL/TLPP diffs or changed-file lists to generate structured changelogs and delivery notes. It classifies changes, estimates business impact, and detects affected database tables for TOTVS Protheus work.
Writing
18637