Skip to content

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

fix(router): keep Bash route artifacts in caller project

jhuang-tw9d33e2c5e7f4
diff --git a/skills/scripts/master-route.sh b/skills/scripts/master-route.sh
index 526d961..02023ec 100755
--- a/skills/scripts/master-route.sh
+++ b/skills/scripts/master-route.sh
@@ -44,7 +44,9 @@ if [[ ! -f "$CONFIG_PATH" ]]; then
exit 2
fi
-if [[ -z "$PROJECT_ROOT" ]]; then PROJECT_ROOT="$PACKAGE_ROOT"; fi
+# Match the PowerShell entrypoint: by default, route artifacts belong to the
+# caller's current project rather than the installed reverse-skill package.
+if [[ -z "$PROJECT_ROOT" ]]; then PROJECT_ROOT="$(pwd -P)"; fi
if [[ -z "$OUT_DIR" ]]; then
OUT_DIR="$PROJECT_ROOT/work/master-route-$(date +%Y%m%d-%H%M%S)"
fi