mirror of
https://github.com/streamlit/agent-skills.git
synced 2026-09-14 15:29:04 +08:00
859bb0c124
## Summary - Backports ~30 commits of improvements from the internal `cortex-code-skills` repo - Adds 2 new skills: `deploying-streamlit-to-snowflake` (snow CLI workflow) and `customizing-streamlit-theme` (config.toml theming) - Rewrites root `developing-with-streamlit/SKILL.md` with cortex's improved 4-step workflow, routing table, and template references - Copies full `templates/` directory: 9 dashboard app templates + 8 theme templates with bundled fonts - Adds v1 ban section to CCv2 skill with explicit banned APIs/patterns/packages - Updates 5 existing skills with safety improvements, deployment guidance, and best practices ## Changes by file | Change | Files | |--------|-------| | **Root skill rewrite** | `developing-with-streamlit/SKILL.md` — 4-step workflow, routing table with all 19 skills, template references | | **CCv2 safety** | `skills/building-streamlit-custom-components-v2/SKILL.md` — v1 ban section, removed `compatibility` field, safety reminders in inline/packaged sections | | **Dashboard templates** | `skills/building-streamlit-dashboards/SKILL.md` — added template reference table | | **Snowflake connection** | `skills/connecting-streamlit-to-snowflake/SKILL.md` — CRITICAL account/host notes, `externalbrowser` auth, Python 3.12+ caveat | | **Environment setup** | `skills/setting-up-streamlit-environment/SKILL.md` — "Always Use Latest Streamlit" section, version bump to `>=1.53.0` | | **Data display** | `skills/displaying-streamlit-data/SKILL.md` — `use_container_width=True` on altair/dataframe examples | | **New: Snowflake deploy** | `skills/deploying-streamlit-to-snowflake/SKILL.md` — full deployment workflow with snow CLI | | **New: Theme customization** | `skills/customizing-streamlit-theme/SKILL.md` — config.toml theming, CSS targeting, theme templates | | **Templates** | `templates/apps/` (9 dashboards) + `templates/themes/` (8 themes with bundled fonts) | | **README** | New skills in table + templates section | ## Preserved (not overwritten) These agent-skills-exclusive sections were intentionally kept: - `building-streamlit-multipage-apps` — "Share elements between pages", "Programmatic navigation" - `optimizing-streamlit-performance` — caching anti-patterns, unbounded cache growth, large data, multithreading - `using-streamlit-layouts` — tabs, expanders, empty/placeholders, popover - `displaying-streamlit-data` — data editor, JSON display, sparklines, choosing display elements - `creating-streamlit-themes` — comprehensive design guide (coexists with the new simpler `customizing-streamlit-theme`) ## Test plan - [ ] Verify all 19 skill directories exist under `developing-with-streamlit/skills/` - [ ] Verify root SKILL.md routing table references all 19 skills - [ ] Verify README.md skill table lists all 19 skills - [ ] Confirm `templates/` has `apps/` (9 templates) and `themes/` (8 themes) subdirectories - [ ] Spot-check comprehensive sections preserved in multipage-apps, optimizing-performance, using-layouts, displaying-data - [ ] Confirm v1 ban section exists in building-streamlit-custom-components-v2 🤖 Generated with [Claude Code](https://claude.com/claude-code)