SKILL_DIR="${SKILL_DIR:-$HOME/.workbuddy/skills/privacy-audit}"; T=$(mktemp -d); printf '联系手机 138%s，邮箱 %s@%s\n' '00138000' 'zhang.wei' 'example.com' > "$T/sample.txt"; python3 "$SKILL_DIR/scripts/privacy_audit.py" --file "$T/sample.txt" --rules "$SKILL_DIR/scripts/字段检测正则库.json" --json output/result.json > output/report.txt 2>&1; EC=$?; rm -rf "$T"; exit $EC
