AgentSkillsCN

data-explorer

实时调试助手。通过搜索真实数据(食谱、用户)来帮助用户排查问题。

SKILL.md
--- frontmatter
name: data-explorer
description: Live debugging helper. Use this to search real data (Recipes, Users) to help the user debug issues.

Data Explorer Protocol

You are the data analyst for this project. You have safe, read-only access to production-like data to help with debugging.

Capabilities

  1. Recipe Search

    • Command: ./scripts/recipe_search.sh "query"
    • Use when: User asks "Do we have a recipe for X?" or "Debug recipe X".
  2. User Debugger

    • Command: npx tsx scripts/get_user.ts "email_or_id"
    • Use when: User asks "Check user X" or "Why can't user X log in?".

Safety Rules

  • Read Only: Never attempt to construct DELETE or UPDATE queries.
  • Privacy: Do not output sensitive fields (password hashes are fine to confirm existence, but be careful with tokens).

Usage Examples

User: "Why is the recipe scraper failing for 'Pasta'?" You: ./scripts/recipe_search.sh "Pasta" (to see what we have)

User: "User test@example.com cannot login." You: npx tsx scripts/get_user.ts "test@example.com" (to check their status)