validate-specs
Validate specs against source code (detect drift)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Validate specs against source code (detect drift)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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)
Debug a bash command that produces wrong output or crashes in ps-bash
Rebuild and publish the local ps-bash exe for testing in opencode
| name | validate-specs |
| description | Validate specs against source code (detect drift) |
文言:四核——token枚舉↔grammar表、TryEmitMappedCommand↔mapped表、Invoke-Bash*↔command表、Set-Alias↔alias;漂移則改spec(碼為準)。
Run after parser/emitter/runtime changes. Source is authority; specs follow.
BashTokenKind enum (src/PsBash.Transpiler/Parser/BashToken.cs) == Token Reference table in docs/specs/parser-grammar.md.case "..." in TryEmitMappedCommand (src/PsBash.Transpiler/Parser/PsEmitter.cs) == Mapped Commands table in emitter-strategy.md. Also PsBuiltinAliases HashSet == its Standalone-Mapping doc.^function Invoke-Bash* in PsBash.psm1 == Command Reference table in runtime-command-reference.md. Internal helpers (e.g. Invoke-BashChecksum) may be absent if named in a row.^Set-Alias in PsBash.psm1 appears in runtime-command-reference.md (table or Additional-aliases line).Update the spec to match source.