Automated summary
Guides diagnosis and the build/installation steps for the WPP4Delphi Delphi/Lazarus package (TWPP4DelphiCollection.dpk), including the CEF4Delphi and WA-JS dependencies, the per-Delphi-version Library Path and the CEFCurrentVersion directive.
Strengths
- Spells out the non-vendored external dependencies (CEF4Delphi, WA-JS) and explains that a missing unit almost always means a missing dependency rather than a bug in the component.
- Walks through the full install sequence: Library Path entries, opening the .dpk, setting CEFCurrentVersion, Build then Install.
- Provides the mapping between Compilados folders (VD23–VD30, lazarus) and IDE versions, plus the Boss and Lazarus alternatives.
- Includes a troubleshooting section for common failures: package not found, CEF version mismatch, and missing QR Code / Chromium not loading.
Limitations
- No automated build: since the Delphi compiler is assumed unavailable, the skill is purely procedural and manual.
- Running the Demo app is explicitly out of scope, and the reference dependency versions can become outdated.
- Assumes a Windows machine with RAD Studio/Delphi already installed and some familiarity with the Project Manager.
Use when a user asks for help compiling, installing or setting up the build environment for the WPP4Delphi package, or reports a compilation or installation error.
Do not use for application development against the WPP4Delphi API, or for building unrelated Delphi packages.
Security analysis
SafeThe skill is purely instructional documentation for building/installing a Delphi package. It declares no tools and explicitly limits shell use to read-only inspection, with no destructive commands, credential handling, obfuscation, or exfiltration. The external URLs are informational references, not executable instructions.
No concerns found
How this analysis is madeExamples
Ao abrir o TWPP4DelphiCollection.dpk aparece erro dizendo que TChromium não foi encontrado. Como resolvo isso?Estou usando Delphi 11 Alexandria. Quais pastas devo adicionar ao Library Path e qual subpasta de Packages\Compilados corresponde à minha versão?Instalei o CEF4Delphi 121 e o Build do pacote WPP4Delphi falha com erro de compatibilidade de versão. O que preciso configurar antes de compilar?name: wpp-build description: Guiar a compilação e instalação do pacote Delphi/Lazarus WPP4Delphi (TWPP4DelphiCollection.dpk) — dependências CEF4Delphi/WA-JS, Library Path por versão do Delphi (VD23-VD30), diretiva CEFCurrentVersion, setup do app Demo. Use quando o usuário pedir ajuda para compilar, instalar, ou configurar o ambiente de build deste componente, ou relatar erro de compilação/instalação do pacote.
Build / instalação do WPP4Delphi
Não há build CLI nem suíte de testes automatizada neste repositório — é um pacote Delphi/VCL (e uma variante Lazarus) compilado pela IDE. Este skill guia diagnóstico e passos de build/instalação; não tente rodar um "build" via shell além de operações read-only de inspeção (o compilador Delphi (dcc32/dcc64/MSBuild) normalmente não está disponível no ambiente do agente).
Dependências externas obrigatórias (não vendorizadas)
- CEF4Delphi — deve estar instalado e compilado ANTES do WPP4Delphi. Versão de referência: Chromium 109.0.5414.120 (compatível com Windows 7/8/Server 2012+).
- WA-JS — já vendorizado em Source/JS/js.abr, normalmente não precisa reinstalar, mas fica desatualizado com o tempo; a versão mais recente está em
https://raw.githubusercontent.com/wppconnect-team/WPP4Delphi/main/Source/JS/js.abr.
Se o usuário relatar erro de compilação mencionando TChromium, CEF4Delphi, vclFireDAC, IndyIPClient etc. não encontrados, o problema quase sempre é dependência ausente/desinstalada — não é bug no código deste componente.
Passos de instalação (Delphi/RAD Studio)
- Instalar o CEF4Delphi primeiro: abrir o
.dpkdele, Build, "Install". - Adicionar ao Library Path da IDE:
Source\ModelSource\ServicesSource\ViewSource\OtherPackages\Compilados\<VDxx>— a subpasta correspondente à versão do Delphi em uso (ver tabela abaixo).
- Abrir Packages/TWPP4DelphiCollection.dpk.
- Se o CEF4Delphi instalado for versão > 120: definir a diretiva de compilação
CEFCurrentVersionno projeto do pacote ANTES do Build (senão erro de compatibilidade de versão). - Build (Shift+F9) → botão direito no Project Manager → "Install".
- Para rodar o app Demo (fora do escopo padrão de análise deste repo, ver
.claudeignore): compilar uma vez para gerarC:\Executáveis\WPPConnectDemo, copiarConfTWPPConnect.ini(deDemo\BIN) e os binários do CEF (mesma versão) para essa pasta.
Mapeamento de versão do Delphi → pasta Compilados
Packages\Compilados tem uma subpasta por versão do compilador porque .dcu não é compatível entre versões:
| Pasta | Delphi/RAD Studio |
|---|---|
| VD23..VD30 | Ver numeração em https://delphidabbler.com/notes/version-numbers |
| lazarus | Build alternativo para Lazarus (usa .lpk/.lpi, não o .dpk) |
Se o usuário não souber a versão, peça para checar em Help → About na IDE, ou o valor de CompilerVersion/RTLVersion.
Via Boss (gerenciador de pacotes Delphi)
boss install github.com/wppconnect-team/WPP4Delphi
mainsrc = ./Source, projeto do pacote = ./Packages/TWPP4DelphiCollection.dproj (ver boss.json).
Diagnóstico de erros comuns
- "Package not found" / unidade não encontrada ao abrir o
.dpk: falta alguma pasta no Library Path (passo 2) ou a pastaVDxxnão corresponde à versão real da IDE. - Erro de versão de CEF incompatível em runtime (
VersaoCEF4Aceitaretorna falso, ver uTWPPConnect.ConfigCEF.pas): confirmar que os binários do CEF instalados batem com a versão que oCEF4Delphi.pasdesse build espera; para CEF > 120, confirmar queCEFCurrentVersionfoi definida (passo 4). - QR Code não aparece / Chromium não carrega: geralmente binários do CEF (
.dll,locales,swiftshaderetc.) não foram copiados para a pasta do executável — não é um problema do pacote Delphi em si. - Erros de sintaxe após uma edição manual do código-fonte: como não há build CLI, não dá para validar sintaxe fora da IDE — revisar
begin/end/try/finallymanualmente e avisar o usuário que a validação final precisa ser um Build na IDE.
Escopo
Pastas Demo, Demo QrCode e Instalador existem no repositório mas estão listadas em .claudeignore — fora do escopo padrão de análise/edição, mas os passos de setup delas continuam válidos para orientar o usuário verbalmente.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/build-install-wpp4delphi-package-mte1lg50/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/build-install-wpp4delphi-package-mte1lg50' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/build-install-wpp4delphi-package-mte1lg50/download' --output '.skill-downloads/build-install-wpp4delphi-package-mte1lg50/SKILL.md.part' && mv '.skill-downloads/build-install-wpp4delphi-package-mte1lg50/SKILL.md.part' '.skill-downloads/build-install-wpp4delphi-package-mte1lg50/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/build-install-wpp4delphi-package-mte1lg50/SKILL.md' && test -s '.skill-downloads/build-install-wpp4delphi-package-mte1lg50/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/wpp-build' && cp -R '.skill-downloads/build-install-wpp4delphi-package-mte1lg50' '.claude/skills/wpp-build'Cursor
test -f '.skill-downloads/build-install-wpp4delphi-package-mte1lg50/SKILL.md' && test -s '.skill-downloads/build-install-wpp4delphi-package-mte1lg50/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/wpp-build' && cp -R '.skill-downloads/build-install-wpp4delphi-package-mte1lg50' '.cursor/skills/wpp-build'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/build-install-wpp4delphi-package-mte1lg50'openskills read 'build-install-wpp4delphi-package-mte1lg50'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/build-install-wpp4delphi-package-mte1lg50/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.