一键导入
validate-changes
Run targeted synedgy.PSSqlite validation scopes quickly and safely, then widen validation only when the changed surface requires it.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run targeted synedgy.PSSqlite validation scopes quickly and safely, then widen validation only when the changed surface requires it.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | validate-changes |
| description | Run targeted synedgy.PSSqlite validation scopes quickly and safely, then widen validation only when the changed surface requires it. |
| argument-hint | What files or areas did you change, and how much validation do you want? |
source/Public or source/Private.source/Classes or source/Enum.source/suffix.ps1.source/ScriptsToProcess/PreLoadTypes.ps1, packaged libraries under lib, or synedgy.pssqlite.csproj.build.ps1, build.yaml, .build, .pipelines, or .github/workflows.Every validation command must go through ./build.ps1.
Invoke-Pester directly.Build-Module directly.PSModulePath.output\module:./build.ps1 -Tasks build
Prevent output\module file locks by preferring fresh shells for build and test commands. If you already imported the built module in the current shell, unload it with Remove-Module synedgy.PSSqlite -Force and dispose any open SQLite connections before rebuilding.
If build output is still locked, start a fresh shell, remove output\module, and rerun the build.
If the change is to synedgy.pssqlite.csproj, source\lib, or source\ScriptsToProcess\PreLoadTypes.ps1, refresh SQLite package assets before validation:
dotnet restore .\synedgy.pssqlite.csproj --packages .\output\NuGetPackages
./build.ps1 -Tasks Sync_Sqlite_Package_Assets
./build.ps1 -ResolveDependency -Tasks noop
./build.ps1 -Tasks test -PesterPath '<target_test>' -CodeCoverageThreshold 0
Build first if the changed code is loaded from the built module artifact.
If changes are limited to one public or private function, run the matching unit test file under tests/Unit/Public or tests/Unit/Private.
If source/suffix.ps1, source/Classes, source/Enum, or source/ScriptsToProcess/PreLoadTypes.ps1 changed, run focused tests first, then run the default test workflow:
./build.ps1 -Tasks test
build.ps1, build.yaml, .build, .pipelines, .github/workflows, synedgy.pssqlite.csproj, or lib), run:./build.ps1 -Tasks build
./build.ps1 -Tasks test
./build.ps1 -Tasks pack
For long-running builds or tests, tee output to a log outside output\*:
$logPath = Join-Path -Path $env:TEMP -ChildPath 'synedgy.PSSqlite.validate-test.log'
if (Test-Path $logPath)
{
Remove-Item $logPath -Force
}
./build.ps1 -Tasks test 2>&1 |
Tee-Object -FilePath $logPath
| Select-Object -Last <N> inline with ./build.ps1.Get-Content -Tail or Select-String.CHANGELOG.md contains an Unreleased entry for user-visible or workflow-visible changes.