Files
archy/aiui/.claude/skills/trace/SKILL.md
T
archipelago 7ba3109b6d Add 'aiui/' from commit 'e30ac1d1069532fb6d652d87e2d4a2fe9d1b4773'
git-subtree-dir: aiui
git-subtree-mainline: 0c4826f8cc
git-subtree-split: e30ac1d106
2026-08-03 15:07:11 -04:00

1.6 KiB

name, description, allowed-tools
name description allowed-tools
trace End-to-end trace of a query through prompt, extraction, tabs, and rendering Bash(*), Read, Glob, Grep, Agent

Trace how a specific user query flows through the entire AIUI pipeline. The user will provide a sample query (e.g., "best nostr apps", "recommend some films", "bitcoin news").

Trace each stage:

  1. Query classifiers: Run the query through each classifier in contentFiltering.ts:

    • isNewsQuery(), isMusicQuery(), isBookQuery(), isTVQuery(), isImageQuery(), isPlaceQuery(), isRecipeQuery(), isCodeQuery(), isNostrQuery(), isAppQuery(), isWebsitesQuery()
    • Report which ones return true
  2. Preferred tab: What does preferredFirstTab() return for this query?

  3. System prompt: What would buildSystemPrompt() include? Read useAI.ts and trace all dynamic sections.

  4. Expected AI response: Based on the system prompt instructions, what tags would the AI likely use? Construct a realistic sample response.

  5. Extraction: Run the sample response through each extraction function and report what gets found:

    • extractAllFilms(), extractAllSongs(), extractAllPodcasts(), extractAllBooks(), extractAllTVSeries(), extractAllImages(), extractAllPlaces(), extractApps(), extractCodeBlocks(), extractRecipes()
  6. Tab filtering: What tabs would filterTabsByContext() return? In what order?

  7. Rendering: Which grid component would render? Trace through ContentPanel.vue and/or ContentGridView.vue.

  8. Report: Complete flow diagram showing: Query -> Classifiers -> Prompt -> Expected Response -> Extraction -> Tabs -> Grid