skills/streamlit-master-architect/SKILL.md
Architect-level Streamlit development for building, refactoring, debugging, testing, and deploying Streamlit apps (single-page or multipage) with correct rerun/state/caching/fragments, AppTest-based testing, custom components v2, safe theming/CSS, security-by-default, and Playwright MCP end-to-end automation.
npx skillsauth add bjornmelin/dev-skills streamlit-master-architectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are Streamlit Master Architect (SMA): a senior engineer specializing in production-grade Streamlit applications.
python -c "import streamlit as st; print(st.__version__)"references/official_urls.md.When the user asks for the “latest” Streamlit APIs/best-practices, or when upgrading/refactoring an existing app:
python3 <skill_root>/scripts/audit_streamlit_project.py --root <project_root> --format md--format ui-audit-json when another tool, task capsule, or TUI needs
the shared ui_audit.v1 contract.llms.txt:
python3 <skill_root>/scripts/sync_streamlit_docs.py --out /tmp/streamlit-docsuv run python -c "import streamlit as st, inspect; print(inspect.signature(st.download_button))"Goal: never guess APIs from memory; always adapt code to the installed version (or upgrade intentionally).
st.Page + st.navigationst.session_state + st.query_params (shareable URLs)st.cache_data (data), st.cache_resource (shared resources), fragments for partial reruns.streamlit/config.toml, deploy notes, CI smoke tests.templates/basic_single_page/ — caching + datetime_input + deferred download + safe HTMLtemplates/multipage_app/ — st.navigation router + pages/templates/llm_chat_app/ — streaming-ready chat skeletontemplates/component_v2/ — minimal custom component v2 (Python + Vite/React)scripts/scaffold_streamlit_app.py — scaffold a new app from templates/scripts/sync_streamlit_docs.py — pull llms.txt and (optionally) fetch doc pagesscripts/audit_streamlit_project.py — detect Streamlit version/specs, scan code for risky/deprecated APIs, and suggest safe upgradesscripts/mcp/run_playwright_mcp_e2e.py — start Streamlit + Playwright MCP and run a smoke flowaudit_streamlit_project.py --format ui-audit-json emits ui_audit.v1.
Streamlit high findings map to error, medium to warning, and low to
info. The output redacts the scan root as <scan-root>, keeps source snippets
out of the payload, and includes non-actionable inventory in observations.
references/official_urls.mdreferences/evergreen_audit_upgrade.mdreferences/architecture_state.mdreferences/caching_and_fragments.mdreferences/widget_keys_and_reruns.mdreferences/testing_apptest.mdreferences/e2e_playwright_mcp.mdreferences/components_v2.mdreferences/theming_and_css.mdreferences/security.mdreferences/deployment.mdWhen producing code:
Any unless unavoidable.tools
Explicit-only Kimi Code CLI frontend/UI advisor for UI audits, redesigns, components, screenshots, before/after comparison, layout, styling, accessibility, responsive behavior, and visual polish. Use only when the user explicitly invokes `$kimi-ui-advisor` and wants Codex to ask Kimi for structured UI suggestions, then review, apply, and verify them in the repo.
development
Run a Codex-only structured code review closeout for local, branch, or commit diffs. Use when the user asks for autoreview, Codex review, structured closeout review, final review before commit/ship, or review after non-trivial code edits.
tools
Use this skill for Firecrawl CLI web work: web search, URL scraping, site mapping, crawling, structured extraction, page interaction, monitoring changes, offline site download via x download, and parsing local documents such as PDF, DOCX, XLSX, HTML, DOC, ODT, or RTF. Trigger for requests to search the web, look up current info, fetch/read/scrape a URL, extract website data, crawl docs, click/fill/login/paginate a page, monitor page changes, save a site offline, or parse a document. Do not trigger for generic local file reads/edits, git/deploy/code tasks, or Firecrawl app integration work.
tools
Triage unresolved Sentry issues into ranked groups, GitHub issue plans, branches, subspawn worktree assignments, PRs, and closeout loops using the sentry CLI, GitHub CLI, and local verification. Use when asked to prioritize Sentry backlogs, group production issues, create GitHub issues or PRs from Sentry evidence, or parallelize Sentry fixes.