travel-planning-workflow
Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.
- License 许可
- MIT
- 最近更新
- 2026-10-02
- Stars
- ★ 93
- Forks
- 7
01 前言 Front Matter
- name
- travel-planning-workflow
- description
- Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.
03 SKILL.md 正文
Overview
This skill provides a travel planning workflow. It is important to follow this workflow. IMPORTANT:Do not forget to perform final validation and refinement.
Travel Planning Workflow
Step 1: User Preference and Constraint Analysis
Extract the user's requirements and implicit preferences, including: Trip duration, Number of travelers, Budget constraints, Transportation constraints (e.g., no flights), Special requirements (e.g., pet-friendly accommodations), Food preferences (e.g., American, Mediterranean, Chinese, Italian)
Default assumption: If not explicitly specified, each day should include at least one activity (i.e., no empty days).
Step 2: Global Planning and Sequential Scheduling
2.1 Global Skeleton Construction
- Select candidate cities based on user constraints and dataset availability
- Construct a preliminary travel route (considering distance and feasibility)
- Allocate the total number of days across selected cities as a draft plan
2.2 Sequential Day-by-Day Planning
Generate the itinerary in chronological order:
Using the provided tools, and for each day:
- Assign one attraction per day, unless the user explicitly indicates that they do not want to go out.
- Assign meals based on cuisine preferences
- Assign accommodation (must satisfy constraints such as pet-friendly)
2.3 Iterative Adjustment and Backtracking
During planning, continuously validate feasibility. For example:
- If a city does not have enough attractions → reduce its allocated days
- If all cities combined still lack sufficient attractions → reselect cities
- If constraints are violated (budget, accomodations, etc.) → adjust previous steps
This step introduces a feedback loop, allowing the system to revise earlier decisions.
Step 3: Important!! Final Validation and Refinement
Before returning the final itinerary, the agent must perform an explicit final validation pass. The validation should check:
- All user constraints must be satisfied, including transportation constraints (e.g., no flights), special requirements (e.g., pet-friendly accommodations, which should be explicitly reflected using keywords such as pet or animal), and food preferences (e.g., American, Mediterranean, Chinese, and Italian cuisines).
- Each day includes at least one attraction, including both the first day and last day (unless the user explicitly indicates that they do not want to go out.)
- Travel transitions between cities are feasible
- The itinerary format is complete and consistent, with no missing or contradictory information.
Please refine the itinerary if any violations or inconsistencies are detected
04 同仓库更多 Skills
object_counter
Count occurrences of an object in the image using computer vision algorithm.
bundled-dataset-search-tool
invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.
glm-output
Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final /root/metrics.json.
glm-calibration
Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.
glm-basics
A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.
d3js-visualization
Build deterministic, verifiable data visualizations with D3.js (v6). Generate standalone HTML/SVG (and optional PNG) from local data files without external network dependencies. Use when tasks require charts, plots, axes/scales, legends, tooltips, or data-driven SVG output.