name: research
description: Run a research task to generate documentation
argument-hint:
Task
Execute research task: $ARGUMENTS
Instructions
If no argument provided, error: "Usage: /research
" Look for prompt file at
context/research/{$ARGUMENTS}.mdIf not found, error: "Prompt file not found at context/research/{$ARGUMENTS}.md"
Read the prompt file which should contain:
Output: Where to write results (e.g.,
context/content-types.md)Research: What to investigate
Include: Specific details to capture
Sources: What files/tools to use
Execute the research using appropriate tools:
Read files (Prisma schema, constants, components)
Query database via Neon MCP if needed
Search codebase for patterns
Write findings to the specified output location
Summarize what was discovered
Rules
This command produces DOCUMENTATION only
Do NOT modify source code files
Do NOT create branches or commits
Output should go to
/docs/unless otherwise specifiedUse subagents for thorough exploration if needed