clarioncom-webview2-deploy
Generates deployment artifacts for WebView2 COM controls including wwwroot handling and WebView2 runtime documentation
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generates deployment artifacts for WebView2 COM controls including wwwroot handling and WebView2 runtime documentation
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Analyze Clarion code generation traces to find recurring failure patterns. Uses evidence-gating (2+ occurrences) to identify real issues. Suggests improvements for the /clarion skill. Triggers on '/clarion-analyze', 'analyze clarion traces', 'what mistakes am I making'.
Benchmark Clarion code generation quality by running test prompts and scoring the output. Measures improvement over time. Triggers on '/clarion-benchmark', 'benchmark clarion', 'test clarion code quality'.
Convert a Clarion dictionary from one file driver to another (e.g., TopSpeed to SQLite). Exports the dictionary to .dctx, transforms driver settings, regenerates GUIDs, creates a new .dct from blank template, and prepares for import. User must perform the final import manually in the IDE.
Create Clarion IDE addins with proper project structure, templates, and SharpDevelop integration. Use when creating new IDE tools, pads, embeditor toolbar buttons, or menu commands for the Clarion IDE.
Clarion language programming reference with syntax rules, data types, control structures, Windows API integration patterns, and template-authoring gotchas (#AT,
Compile C# COM projects for Clarion using MSBuild with correct paths, error handling, and build verification. Supports public releases with changelog management. Auto-applies for building .NET Framework COM components. Verification steps use parallel execution.
| name | clarioncom-webview2-deploy |
| description | Generates deployment artifacts for WebView2 COM controls including wwwroot handling and WebView2 runtime documentation |
| version | 1.0.0 |
powershell -ExecutionPolicy Bypass -Command "& ([Environment]::GetFolderPath('ApplicationData') + '\ClarionCOM\scripts\clarioncom-env.ps1') home"
This skill generates deployment artifacts for WebView2-based COM controls, with special handling for the wwwroot folder and WebView2 runtime requirements.
Generate comprehensive documentation including:
# [ProjectName] - WebView2 COM Control
## IMPORTANT: WebView2 Runtime Required
This control requires the **Microsoft Edge WebView2 Runtime** to be installed on the target machine.
**Download:** https://developer.microsoft.com/microsoft-edge/webview2/
Choose the **Evergreen Bootstrapper** for automatic updates.
## COM Information
- **ProgID:** `Namespace.ControlName`
- **CLSID:** `{class-guid}`
## Files Required for Deployment
Copy ALL of the following to your application folder:
### DLL Files
- `ProjectName.dll` - Main control
- `ProjectName.manifest` - COM manifest (REQUIRED)
- `Microsoft.Web.WebView2.Core.dll` - WebView2 core
- `Microsoft.Web.WebView2.WinForms.dll` - WebView2 WinForms integration
- `WebView2Loader.dll` - WebView2 native loader
- `Newtonsoft.Json.dll` - JSON serialization
- [Database DLL if applicable]
### wwwroot Folder
The entire `wwwroot/` folder must be copied to your application folder.
## Properties
[List properties from interface]
## Methods
[List methods from interface]
## Events
[List events from events interface]
## Integration Steps
1. Copy all DLL files to your application folder
2. Copy the `wwwroot` folder to your application folder
3. Ensure WebView2 Runtime is installed on target machines
4. Add an OLE control to your Clarion window
5. Set the ProgID to: `Namespace.ControlName`
Generate with wwwroot verification:
@echo off
REM WebView2 COM Control Manifest and Dependency Test
echo.
echo ========================================
echo WebView2 COM Control Validation
echo ========================================
echo.
set ERRORS=0
REM Check DLL
if exist "ProjectName.dll" (
echo [OK] ProjectName.dll
) else (
echo [MISSING] ProjectName.dll
set /a ERRORS+=1
)
REM Check Manifest
if exist "ProjectName.manifest" (
echo [OK] ProjectName.manifest
) else (
echo [MISSING] ProjectName.manifest
set /a ERRORS+=1
)
REM Check WebView2 Dependencies
if exist "Microsoft.Web.WebView2.Core.dll" (
echo [OK] Microsoft.Web.WebView2.Core.dll
) else (
echo [MISSING] Microsoft.Web.WebView2.Core.dll
set /a ERRORS+=1
)
if exist "WebView2Loader.dll" (
echo [OK] WebView2Loader.dll
) else (
echo [MISSING] WebView2Loader.dll
set /a ERRORS+=1
)
REM Check wwwroot folder
echo.
echo --- wwwroot Folder ---
if exist "wwwroot" (
echo [OK] wwwroot folder exists
) else (
echo [MISSING] wwwroot folder
set /a ERRORS+=1
)
echo.
echo ========================================
if %ERRORS%==0 (
echo All checks passed!
) else (
echo %ERRORS% issue(s) found.
)
echo ========================================
pause
Same as standard COM, checks for .NET Framework 4.8+
Same as standard COM - validates manifest and DLL files for RegFree COM setup.
Note: Batch files stay in project folder for debugging, they are not copied to Clarion installation.
The project uses the accessory/bin/resources layout that mirrors the Clarion installation structure:
ProjectName/Clarion/
└── accessory/ ← Drag & drop this entire folder!
├── bin/
│ ├── ProjectName.dll
│ ├── Microsoft.Web.WebView2.Core.dll
│ ├── Microsoft.Web.WebView2.WinForms.dll
│ ├── WebView2Loader.dll
│ └── Newtonsoft.Json.dll
└── resources/
├── ProjectName.manifest
├── ProjectName.header
├── *.details, *.events, *.methods
├── readme_ProjectName.html
├── TestManifests.bat
├── CheckDotNetVersion.bat
└── wwwroot/
├── css/
│ ├── styles.css
│ └── dx.light.css (if DevExtreme)
├── js/
│ ├── dx-config.js
│ ├── dx.all.js (if DevExtreme)
│ └── jquery.min.js (if DevExtreme)
└── controls/
└── {controlname}/
├── index.html
└── app.js
When deployed using copy-to-clarion.ps1:
C:\Clarion12\accessory\
bin\
ProjectName.dll
Microsoft.Web.WebView2.Core.dll
Microsoft.Web.WebView2.WinForms.dll
WebView2Loader.dll
Newtonsoft.Json.dll
resources\
ProjectName.manifest
ProjectName.header
*.details, *.events, *.methods
wwwroot\
(entire folder structure)
Extract Information
Generate Files
Verify wwwroot
Verify DevExtreme Files (if using DevExtreme)
powershell -ExecutionPolicy Bypass -File "$CLARIONCOM_HOME\scripts\copy-devextreme.ps1" -DestinationFolder "ProjectPath\Clarion\wwwroot"
Report