Skip to content

fly ai agent skill

refactor: address review suggestions 1, 2, 4

Darkingtail748343f25a31
diff --git a/skills/flyai/SKILL.md b/skills/flyai/SKILL.md
index 0d32aea..639ea18 100644
--- a/skills/flyai/SKILL.md
+++ b/skills/flyai/SKILL.md
@@ -89,19 +89,20 @@ flyai config set FLYAI_API_KEY "your-key"
## Error Handling
1. **Validate** — before running a command, check that the inputs are reasonable.
- - Dates should not be in the past.
+ - Dates should not be in the past and should match the expected format
+ per the command's reference doc.
- Ambiguous or vague parameters (e.g. city names) should be
confirmed with the user before searching.
- Do not guess missing required parameters — ask the user.
2. **Diagnose** — when a command fails or returns unexpected results,
check the output for error messages or status codes.
- - Parameter error → re-read the corresponding `references/` doc,
- fix the parameters, and retry.
+ - Parameter error → re-read the corresponding file in `references/`
+ (see the References table below), fix the parameters, and retry.
- Service or network error → retry the command.
- Quota or permission error → inform the user and guide them
to resolve the access issue.
3. **Adapt** — if the command succeeds but results are empty or insufficient:
- - Broaden the search: relax filters, or try `keyword-search` / `ai-search`
+ - Broaden the search: relax filters, or try `ai-search` / `keyword-search`
with the user's original intent as a natural language query.
- If no alternative yields results, inform the user
and suggest adjusting search criteria.