foryourhealth111-pixel/Vibe-Skills
vibe
VerifiedVibe Code Orchestrator (VCO) is a governed runtime entry that freezes requirements, bounds execution, and enforces verification and phase cleanup.
scripts/research/build-eval-slicing-catalog.ps1
View on GitHubparam(
[switch]$WriteArtifacts,
[string]$PolicyPath,
[string]$OutputDirectory
)
$ErrorActionPreference = 'Stop'
function Read-JsonFile {
param([string]$Path)
return (Get-Content -LiteralPath $Path -Raw -Encoding UTF8 | ConvertFrom-Json)
}
function New-MarkdownReport {
param([object]$Catalog)
$lines = New-Object System.Collections.Generic.List[string]
$lines.Add('# Eval Slicing Catalog')
$lines.Add('')
$lines.Add(('- Generated: {0}' -f $Catalog.generated_at))
$lines.Add(('- Source policy: `{0}`' -f $Catalog.policy_path))
$lines.Add('')
$lines.Add('## Summary')
$lines.Add('')
$lines.Add(('- Slice count: `{0}`' -f $Catalog.summary.slice_count))
$lines.Add(('- Planes: `{0}`' -f ($Catalog.summary.planes -join ', ')))
$lines.Add(('- Decision horizons: `{0}`' -f ($Catalog.summary.horizons -join ', ')))
$lines.Add('')
$lines.Add('## Slices')
$lines.Add('')
$lines.Add('| Slice | Plane | Evidence mode | Horizon | Default surface change |')
$lines.Add('| --- | --- | --- | --- | --- |')
foreach ($slice in @($Catalog.slices)) {
$lines.Add(('| `{0}` | `{1}` | `{2}` | `{3}` | `{4}` |' -f $slice.id, $slice.plane, $slice.evidence_mode, $slice.decision_horizon, $slice.default_surface_change))
}
return ($lines -join [Environment]::NewLine)
}
$repoRoot = Resolve-Path (Join-Path $PSScriptRoot '..\..')
if (-not $PolicyPath) { $PolicyPath = Join-Path $repoRoot 'config\eval-slicing-policy.json' }
if (-not $OutputDirectory) { $OutputDirectory = Join-Path $repoRoot 'outputs\governance\eval-slicing' }
$policy = Read-JsonFile -Path $PolicyPath
$slices = @($policy.slices)
$catalog = [pscustomobject]@{
generated_at = (Get-Date).ToString('s')
policy_path = $PolicyPath
summary = [pscustomobject]@{
slice_count = $slices.Count
planes = @($slices | Group-Object plane | ForEach-Object { $_.Name })
horizons = @($slices | Group-Object decision_horizon | ForEach-Object { $_.Name })
}
slices = $slices
}
$catalog | ConvertTo-Json -Depth 8
if ($WriteArtifacts) {
New-Item -ItemType Directory -Force -Path $OutputDirectory | Out-Null
$jsonPath = Join-Path $OutputDirectory 'eval-slicing-catalog.json'
$mdPath = Join-Path $OutputDirectory 'eval-slicing-catalog.md'
($catalog | ConvertTo-Json -Depth 8) | Set-Content -LiteralPath $jsonPath -Encoding UTF8
(New-MarkdownReport -Catalog $catalog) | Set-Content -LiteralPath $mdPath -Encoding UTF8
Write-Host ('Wrote {0}' -f $jsonPath) -ForegroundColor Green
Write-Host ('Wrote {0}' -f $mdPath) -ForegroundColor Green
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |