advpl-fundamentals

Community

Write correct ADVPL with safe naming.

AuthorJoniPraia
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents subtle, hard-to-debug Protheus issues caused by incorrect ADVPL/TLPP conventions, especially broken variable naming and identifier limits that can silently collide in .prw files.

Core Features & Use Cases

  • Identifier naming safety: enforces the húngara notation (1-letter type prefix + PascalCase) and highlights high-risk cases like .prw 10-char truncation and silent collisions.
  • Scoping correctness: clarifies when to use Local, Static, Private, and Public and warns about shadowing reserved framework variables (e.g., cFilAnt, cEmpAnt, PARAMIXB).
  • Function naming conventions: covers User Function client-prefix practices, optional TLPP namespace conventions, and when to check “restricted” functions before use.

Quick Start

Ask the AI to review your planned ADVPL/TLPP identifiers and scoping choices, then have it confirm whether any variable or symbol name risks truncation/collision or shadowing reserved Protheus variables.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: advpl-fundamentals
Download link: https://github.com/JoniPraia/plugadvpl/archive/main.zip#advpl-fundamentals

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.