From plugadvpl
Runs plugadvpl lint on ADVPL/TLPP files (42 rules), with optional --target-build for Protheus build-specific checks (BUILD-001). Reports findings with severity, rule ID, and fix suggestions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/plugadvpl:lintarquivoThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Roda lint plugadvpl em um arquivo ADVPL/TLPP, aplicando o catalogo de regras configurado.
/plugadvpl:lintRoda lint plugadvpl em um arquivo ADVPL/TLPP, aplicando o catalogo de regras configurado.
/plugadvpl:lint <arquivo> [--severity error|warn|info] [--regra <id>] [--target-build <build>]
--severity <nivel> — filtra por severidade minima (error, warn, info)--regra <id> — roda apenas a regra com este id (ex: --regra BP-001)--target-build <build> — inclui findings BUILD-001: uso de metodo FW*/Ms*/FWBrowse ausente na build Protheus alvo (ex: 24.3.0.5, a RELEASE Protheus — nao a build do AppServer), via catalogo apis_por_build. Use quando o cliente roda uma build especifica. Persiste no indice: depois de passar a flag uma vez, o lint (sem a flag) ja roda o build-check automatico com essa build.uvx [email protected] --format md lint $ARGUMENTS
Para agente IA: prefira
--format md(ou--format jsonse for parsear achados). Defaulttabletrunca a colunasugestao_fixem terminais estreitos. Flag eh global, vem antes do subcomando.
Cobertura inclui:
/plugadvpl:status para catalogo completo carregado)/plugadvpl:lint src/matxxx.prw — lint completo/plugadvpl:lint src/matxxx.prw --severity error — so erros bloqueantes/plugadvpl:lint src/matxxx.prw --rule reclock-without-msunlock — uma regra soPara cada finding:
/plugadvpl:arch <arquivo> — entender contexto do arquivo/plugadvpl:reindex <arquivo> — apos correcao, reindex para validarnpx claudepluginhub jonipraia/plugadvpl --plugin plugadvplApplies 38 automated code review rules for ADVPL/TLPP sources using regex, AST, and cross-file analysis. Use after generating/editing ADVPL code, before marking tasks complete, or when asked to review code.
Runs custom Python lints enforcing taste invariants like file size limits, naming conventions (snake_case Python, kebab-case YAML), function complexity, with agent-readable remediation instructions. Use when writing or reviewing code.
Enforces custom lints for file size limits, naming conventions (snake_case Python, kebab-case YAML/skills, PascalCase PowerShell), function complexity, and skill size with agent-readable remediation instructions. Use when writing, reviewing, or preparing code for PRs.