dwsim-api-verification
Verifies DWSIM API usage by cross-referencing against the local source code in libs/dwsim_src.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Verifies DWSIM API usage by cross-referencing against the local source code in libs/dwsim_src.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Verifies DWSIM API usage by cross-referencing against the local source code in libs/dwsim_src.
Directs agents to avoid bad C# practices like magic strings and poor architecture.
Enforces Enerflow's specific Enterprise Worker architecture and DWSIM integration rules.
Directs agents to avoid bad C# practices like magic strings and poor architecture.
| name | dwsim-api-verification |
| description | Verifies DWSIM API usage by cross-referencing against the local source code in libs/dwsim_src. |
| license | MIT |
| compatibility | opencode |
| metadata | {"project":"enerflow","type":"verification"} |
Enerflow.Worker actually exist in the local DWSIM source code (libs/dwsim_src).CalculateFlowsheet2) and suggest the correct alternatives (e.g., RequestCalculation).DWSIM.* namespaces.MethodNotFoundException or MissingMemberException occurs related to DWSIM.Since libs/dwsim_src contains the authoritative source code, use grep and read to validate your assumptions.
Do not guess where a class is. Find it.
# Example: Finding the Flowsheet class
grep -r "class Flowsheet" libs/dwsim_src/DWSIM.FlowsheetBase
Once you know the file, read it to check the method arguments.
# Example: Checking RequestCalculation arguments
grep -A 5 "public void RequestCalculation" libs/dwsim_src/path/to/Flowsheet.vb
DWSIM uses many Enums (e.g., PropertyPackageType). Verify the exact spelling.
grep -r "Enum PropertyPackageType" libs/dwsim_src
flowsheet.CalculateFlowsheet2(...) (Often void or deprecated in patched binaries)flowsheet.RequestCalculation(...)DWSIM.GlobalSettings.Settings.AutomationMode = true must be set.DWSIM.GlobalSettings/Settings.vb to confirm the property exists if you are unsure.Task.Run wraps direct DWSIM calls without a lock, although the Worker architecture handles this via ConcurrentMessageLimit = 1.