Skip to content

tanweiping1012-source/travel-planner

travel-planner-mvp

Verified

Create evidence-backed, read-only travel plans using Amap, a community 12306 rail MCP, and approved browser research. Use for 行程规划、路线安排、景点取舍、高铁或机票比较、酒店住宿比价、预算分析、旅行可行性检查,以及中国境内多城市旅行规划(境外目的地降级为浏览器辅助规划)。

FileKindSize
SKILL.mdskill md12.5 KB
agents/openai.yamlconfig344 B
examples/final_plan.jsonconfig2.6 KB
examples/itinerary.jsonconfig1020 B
examples/rail_query.jsonconfig2.9 KB
examples/social_research.jsonconfig1.3 KB
examples/trip_request.jsonconfig1.1 KB
references/browser-use.mdmarkdown14.8 KB
references/client-compatibility.mdmarkdown5.4 KB
references/data-contracts.mdmarkdown26.6 KB
references/intake-template.mdmarkdown4.9 KB
references/rail-mcp.mdmarkdown4.3 KB
references/script-tools.mdmarkdown3.5 KB
references/workflow.mdmarkdown13.3 KB
scripts/audit_release.shexecutablescript3.4 KB
scripts/prepare_release.shexecutablescript1.8 KB
scripts/setup_amap_key.shexecutablescript828 B
scripts/setup_rail_mcp.shexecutablescript3.8 KB
scripts/travel_planner.pyexecutablescript11.8 KB
scripts/validate_skill.pyexecutablescript5.5 KB

scripts/prepare_release.sh

View on GitHub
#!/bin/sh
set -eu

SCRIPT_DIR=$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd)
SKILL_ROOT=$(CDPATH='' cd -- "$SCRIPT_DIR/.." && pwd)
OUTPUT_DIR=${1:-"$SKILL_ROOT/dist/travel-planner-mvp"}

case "$OUTPUT_DIR" in
  "$SKILL_ROOT"|"$SKILL_ROOT/"*)
    case "$OUTPUT_DIR" in
      "$SKILL_ROOT/dist"|"$SKILL_ROOT/dist/"*) ;;
      *)
        echo "Output inside the skill directory is only allowed under dist/." >&2
        exit 1
        ;;
    esac
    ;;
esac

rm -rf "$OUTPUT_DIR"
mkdir -p "$OUTPUT_DIR"

copy_file() {
  source_path="$SKILL_ROOT/$1"
  destination_path="$OUTPUT_DIR/$1"
  if [ ! -f "$source_path" ]; then
    echo "Required release file is missing: $1" >&2
    exit 1
  fi
  mkdir -p "$(dirname "$destination_path")"
  cp "$source_path" "$destination_path"
}

copy_tree() {
  source_path="$SKILL_ROOT/$1"
  destination_path="$OUTPUT_DIR/$1"
  if [ ! -d "$source_path" ]; then
    echo "Required release directory is missing: $1" >&2
    exit 1
  fi
  mkdir -p "$destination_path"
  find "$source_path" -type f \
    ! -name '*.pyc' \
    ! -name '.DS_Store' \
    ! -path '*/__pycache__/*' \
    -print | while IFS= read -r file; do
      relative=${file#"$source_path/"}
      mkdir -p "$destination_path/$(dirname "$relative")"
      cp "$file" "$destination_path/$relative"
    done
}

copy_file ".gitignore"
copy_file ".gitleaks.toml"
copy_file "SKILL.md"
copy_file "README.md"
copy_file "SECURITY.md"
copy_file "THIRD_PARTY_NOTICES.md"
copy_file "LICENSE"

copy_tree "examples"
copy_tree ".github"
copy_tree "agents"
copy_tree "patches"
copy_tree "references"
copy_tree "scripts"
copy_tree "src"
copy_tree "tests"

rm -rf "$OUTPUT_DIR/dist"
chmod +x "$OUTPUT_DIR"/scripts/*.sh "$OUTPUT_DIR"/scripts/*.py

"$OUTPUT_DIR/scripts/audit_release.sh" "$OUTPUT_DIR"

printf 'Release directory created: %s\n' "$OUTPUT_DIR"
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall