Reverse Engineering / Authorized Penetration Testing / Security Research Skill Router Pack AI-powered routing + On-demand toolchain bootstrapping + Self-evolving knowledge base Supports Claude Code, Kiro, Cursor, Cline, and other AI coding clients 逆向/渗透/安全技能路由包 - AI 自动路由 + 按需自举工具链 + 自动进化经验库 | 支持 Claude Code / Kiro / Cursor / Cline 等代码 AI 客户端
Shell
Merge pull request #90 from kin9-0rz/main
zhaoxuya520a50eead89aaa
diff --cc skills/scripts/case-init.ps1index c278f9f,fded1a3..447f986--- a/skills/scripts/case-init.ps1+++ b/skills/scripts/case-init.ps1@@@ -146,14 -148,12 +148,14 @@@ if ((Test-Path $routeScript) -and $Hint$tmpBase = if ($env:TEMP) { $env:TEMP } else { [System.IO.Path]::GetTempPath() }$tmp = Join-Path $tmpBase ("case-init-route-" + [guid]::NewGuid().ToString('n'))try {- & powershell -NoProfile -ExecutionPolicy Bypass -File $routeScript -Hint $Hint -OutDir $tmp 2>$null | Out-Null+ & $HostExe -NoProfile -ExecutionPolicy Bypass -File $routeScript -Hint $Hint -OutDir $tmp 2>$null | Out-Null$scopeRoute = Join-Path $tmp 'route-scope.md'if (Test-Path $scopeRoute) {+ . (Join-Path $scriptDir 'lib/RouteScope.ps1')$rt = Get-Content $scopeRoute -Raw -Encoding UTF8- if ($rt -match 'primary_skill:\s*skills/(\S+)') { $primary = $Matches[1] }- if ($rt -match 'primary:\s*(\S+)') { $primaryId = $Matches[1] }+ $parsed = Get-ReverseRouteScopeFields -Text $rt+ if ($parsed.Skill) { $primary = $parsed.Skill }+ if ($parsed.Id) { $primaryId = $parsed.Id }}} finally {Remove-Item -Recurse -Force $tmp -ErrorAction SilentlyContinuediff --cc skills/scripts/test-routing.ps1index 62e2362,d21a792..a7ea8f1--- a/skills/scripts/test-routing.ps1+++ b/skills/scripts/test-routing.ps1@@@ -19,8 -18,11 +19,11 @@@ if (-not $scriptDir) { $scriptDir = Spl$skillsRoot = Split-Path -Parent $scriptDirif (-not $PackageRoot) { $PackageRoot = Split-Path -Parent $skillsRoot }+ . (Join-Path (Join-Path $scriptDir 'lib') 'HostRuntime.ps1')+ $HostExe = Resolve-ReverseHostExe+if ([string]::IsNullOrWhiteSpace($Benchmark)) {- $Benchmark = Join-Path $skillsRoot 'tests\routing-benchmark.json'+ $Benchmark = Join-Path $skillsRoot 'tests/routing-benchmark.json'}if (-not (Test-Path -LiteralPath $Benchmark)) {Write-Host ("ERROR: benchmark not found: {0}" -f $Benchmark) -ForegroundColor Reddiff --cc skills/scripts/verify-routing-coherence.ps1index 392a874,f58c988..8e7b4f3--- a/skills/scripts/verify-routing-coherence.ps1+++ b/skills/scripts/verify-routing-coherence.ps1@@@ -10,8 -10,10 +10,11 @@@ $packageRoot = Split-Path -Parent $skil$masterRoute = Join-Path $scriptDir 'master-route.ps1'$caseInit = Join-Path $scriptDir 'case-init.ps1'$masterDoc = Join-Path $skillsRoot 'MASTER-ROUTING.md'+. (Join-Path $scriptDir 'lib/RouteScope.ps1')+ . (Join-Path (Join-Path $scriptDir 'lib') 'HostRuntime.ps1')+ $HostExe = Resolve-ReverseHostExe+$tmpBase = if ($env:TEMP) { $env:TEMP } else { [System.IO.Path]::GetTempPath() }if (-not $ScratchDir) {$ScratchDir = Join-Path $tmpBase ("rs-verify-{0}" -f (Get-Date -Format 'yyyyMMddHHmmss'))