debug-transpile
Debug a bash command that produces wrong output or crashes in ps-bash
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Debug a bash command that produces wrong output or crashes in ps-bash
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Run the release-blocking Pester gate (tests/PsBash.Tests.ps1) the reliable way — build cmdlets, refresh beside-module DLLs, isolate PSModulePath from a stale installed PsBash, run Invoke-Pester.
Use (or extend) the shared PsBuild PowerShell-text builder and the OS-interface FileSystemHelpers/RunChildProcess helpers instead of hand-rolling PS strings or platform branches
Add a new bash command to the ps-bash transpiler and runtime
Add new grammar production to the bash parser (new token, AST node, or syntax)
Rebuild and publish the local ps-bash exe for testing in opencode
Audit one bash feature against the QA rubric and write its section into docs/testing/interactive-parity-audit.md
| name | debug-transpile |
| description | Debug a bash command that produces wrong output or crashes in ps-bash |
文言:觀PSBASH_DEBUG之transpiled;以源module試;清快取;pwsh直測函數;查引號(花括/逗號/$);查多行BashText;改前先寫回歸測試。
Debug transpile issue for: $ARGUMENTS
PSBASH_DEBUG=1 dotnet run --project src/PsBash.Shell -- -c '<cmd>' → stderr [ps-bash] transpiled:.PSBASH_MODULE=./src/PsBash.Module/PsBash.psd1 dotnet run … -c '<cmd>'. Works only with it → embedded module stale.rm -rf "$TEMP/ps-bash/module-*".pwsh -NoProfile -Command "Import-Module ./src/PsBash.Module/PsBash.psd1 -DisableNameChecking; <test>".{} → scriptblock; , → array sep (both need NeedsPassthroughQuoting); $ → var expansion (single vs double quotes).