Spaces:
Running
Running
feat(agent): add Claude Code-style agent, skills, slash-commands, hooks, todos, sandboxed workspace, and full-stack scaffolding
81aa0b5 verified A newer version of the Gradio SDK is available: 6.19.0
metadata
name: explain
description: Explain how the current codebase or a specific file works
argument-hint: File path or "codebase"
Explain
Target: $ARGUMENTS
Explain the code clearly and concisely.
If target is "codebase" or empty:
- Use
list_dirto map the project structure - Identify the entry point (app.py, main.py, index.js, etc.)
- Read the entry point and key modules
- Produce a high-level architecture summary
If target is a file path:
read_filethe target- Read any files it imports/requires (one level deep)
- Explain:
- What the file does
- Its main functions/classes
- How it fits into the larger project
- Any non-obvious patterns or gotchas
Format your explanation for a developer who is new to this code. Use:
- Short paragraphs for prose
- Code snippets for examples
- A "Key takeaways" list at the end
Don't editorialize — describe what's there, not what should be.