debugging-streamlit
Skill by streamlit
Debugs Streamlit frontend and backend changes using make debug with hot-reload. Built for developers who test code changes, investigate bugs, check UI behavior, or need screenshots of a running app.
Install debugging-streamlit
Built from the published package, never by AI.
git clone --depth 1 https://github.com/streamlit/streamlit /tmp/streamlit && mkdir -p ~/.claude/skills && cp -r /tmp/streamlit/.claude/skills/debugging-streamlit ~/.claude/skills/debugging-streamlitRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/streamlit/streamlit /tmp/streamlit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/streamlit/.claude/skills/debugging-streamlit ~/.gemini/antigravity-cli/skills/debugging-streamlitAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install debugging-streamlit in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides an AI assistant through debugging a Streamlit app in the Streamlit repository. Running make debug with an app script starts the Python backend and the Vite and React frontend together with hot-reload. The app URL is printed on startup, and each session writes backend and frontend logs to a per-session directory under work-tmp/debug/. The skill explains how to add debug output with print or console.log and how to search the logs with rg.
The skill also covers screenshots and UI checks. It describes a quick Playwright CLI workflow and custom temporary Playwright scripts that use helpers from e2e_playwright. It is aimed at developers and contributors working on Streamlit who want to test changes against a live app.
Written from the project's SKILL.md and checked against it.
What it can do
- Hot-reload debug sessionRuns backend and frontend together with make debug and applies code changes automatically.
- Log inspectionWrites backend.log and frontend.log per session and explains how to search them with rg.
- Debug outputShows how to add print statements in Python and console.log calls in TypeScript or React.
- Playwright screenshotsTakes full-page or element screenshots of the running app with the Playwright CLI or Python scripts.
- Automated UI interactionRuns temporary Playwright scripts that fill inputs, click buttons, and verify visible text.
- Port selectionLets several debug sessions run at once by picking a free frontend port, typically in the 3001-3100 range.
What you need
- Streamlit repository with the make debug target
- uv for running Playwright scripts
- Yarn and frontend devDependencies for the Playwright CLI
Try asking
- Start make debug on my app and check the logs for errors.
- Take a full-page screenshot of the running Streamlit app.
- Write a Playwright script that fills the Name field and checks the greeting.
Good to know
- Only changes to the app script trigger a backend rerun.
- Changes to lib/streamlit/ require restarting make debug.
- Port 3000 is reserved for manual make frontend-dev sessions.
- The latest log symlink can move when several sessions start or stop.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/debugging-streamlit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to debugging-streamlit
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
debugging-streamlit: common questions
How do I debug a Streamlit app with hot-reload?
Run make debug with your app file. The skill says frontend changes apply within seconds, and app script changes trigger a rerun.
Where are Streamlit debug logs stored?
Logs are written to a per-session directory under work-tmp/debug/, with backend.log and frontend.log. They are cleared at the start of each session and kept after exit.
Can an AI assistant take screenshots of a Streamlit app?
Yes. The skill describes a Playwright CLI workflow and custom Playwright scripts that save full-page or element screenshots to work-tmp/debug/.
How do I install debugging-streamlit?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is debugging-streamlit free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is debugging-streamlit safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to debugging-streamlit?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
