[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KGHSV7HV5SBK34XQGT7R75":3,"skill-same:01M6KGHSV7HV5SBK34XQGT7R75":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":6,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M6KGHSV7HV5SBK34XQGT7R75","setting-up-streamlit-environment",null,"Setting up Python environments for Streamlit apps. Use when creating a new project or managing dependencies. Covers uv for dependency management and running apps.","legout\u002Fpi-config","legout","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1469563?v=4","01M6KGERP7E8TF4XARRKPFJ6HQ","Volker L.","01M6KGERT1FYD049PP1WW923TZ",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fdeveloping-with-streamlit\u002Fskills\u002Fsetting-up-streamlit-environment\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"environment","up","streamlit","setting up streamlit environment","python","new project","management","dependency management","use","dependency","uv","dependencies","project","apps","environments","for","2026-11-10 10:12:30",false,"---\nname: setting-up-streamlit-environment\ndescription: Setting up Python environments for Streamlit apps. Use when creating a new project or managing dependencies. Covers uv for dependency management and running apps.\nlicense: Apache-2.0\n---\n\n# Streamlit environment\n\nUse whatever dependency management the project already has (pip, poetry, conda, etc.). If starting fresh and uv is available, it's a good default—fast, reliable, and creates isolated environments automatically.\n\nIf uv is not installed, ask the user before installing it.\n\n## CRITICAL: Always Use Latest Streamlit\n\n**Always specify `streamlit>=1.53.0`** (or latest) in dependencies. Many Streamlit features and patterns in these skills require recent versions. Older streamlit versions will cause errors with:\n- Material icons (`:material\u002Ficon_name:`)\n- `st.pills()`, `st.segmented_control()`\n- Modern caching decorators\n- Navigation APIs\n\nWhen setting up a new project or fixing an existing one, **always check and update the streamlit version**.\n\n## Using uv\n\nIf uv is available, here's how to set up a Streamlit project.\n\n### Quick start (venv only)\n\nFor simple apps, just create a virtual environment:\n\n```bash\nuv venv\nsource .venv\u002Fbin\u002Factivate  # or .venv\\Scripts\\activate on Windows\nuv pip install streamlit\n```\n\nRun with:\n\n```bash\nstreamlit run streamlit_app.py\n```\n\n## Full project setup\n\nFor larger projects or when you need reproducible builds:\n\n```bash\nuv init my-streamlit-app\ncd my-streamlit-app\nuv add streamlit\n```\n\nThis creates:\n- `pyproject.toml` with dependencies\n- `uv.lock` for reproducible builds\n- `.venv\u002F` virtual environment\n\nRun with:\n\n```bash\nuv run streamlit run streamlit_app.py\n```\n\n## With options\n\nAvoid setting options unless you have a specific reason:\n\n```bash\nstreamlit run streamlit_app.py --server.headless true  # Only for automated\u002FCI environments\n```\n\n## Add dependencies\n\n```bash\n# With venv approach\nuv pip install plotly snowflake-connector-python\n\n# With full project (uv init)\nuv add plotly snowflake-connector-python\n```\n\n## Project structure\n\nKeep it simple. For most apps:\n\n```\nmy-streamlit-app\u002F\n├── .venv\u002F\n└── streamlit_app.py\n```\n\nOnly add more when needed:\n- `app_pages\u002F` → Only for multi-page apps\n- `.streamlit\u002Fconfig.toml` → Only if customizing theme or settings\n- `.streamlit\u002Fsecrets.toml` → Only if using secrets (add to `.gitignore`)\n- `pyproject.toml` → Only if using `uv init` for reproducible builds\n\n## Convention\n\nName your main file `streamlit_app.py` for consistency. This is what Streamlit expects by default.\n\n**What goes in the main module:**\n- When using navigation: it's a router that defines pages and runs them\n- When there's no navigation: it's the home page with your main content\n\n## pyproject.toml Example\n\n```toml\n[project]\nname = \"my-streamlit-app\"\nversion = \"0.1.0\"\nrequires-python = \">=3.11\"\ndependencies = [\n    \"streamlit>=1.53.0\",\n    \"plotly>=5.0.0\",\n    \"snowflake-connector-python>=3.0.0\",\n]\n\n[tool.uv]\ndev-dependencies = [\n    \"pytest>=8.0.0\",\n]\n```\n\n## References\n\n- [uv documentation](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F)\n- [Streamlit installation](https:\u002F\u002Fdocs.streamlit.io\u002Fget-started\u002Finstallation)\n","# Streamlit environment\n\nUse whatever dependency management the project already has (pip, poetry, conda, etc.). If starting fresh and uv is available, it's a good default—fast, reliable, and creates isolated environments automatically.\n\nIf uv is not installed, ask the user before installing it.\n\n## CRITICAL: Always Use Latest Streamlit\n\n**Always specify `streamlit>=1.53.0`** (or latest) in dependencies. Many Streamlit features and patterns in these skills require recent versions. Older streamlit versions will cause errors with:\n- Material icons (`:material\u002Ficon_name:`)\n- `st.pills()`, `st.segmented_control()`\n- Modern caching decorators\n- Navigation APIs\n\nWhen setting up a new project or fixing an existing one, **always check and update the streamlit version**.\n\n## Using uv\n\nIf uv is available, here's how to set up a Streamlit project.\n\n### Quick start (venv only)\n\nFor simple apps, just create a virtual environment:\n\n```bash\nuv venv\nsource .venv\u002Fbin\u002Factivate  # or .venv\\Scripts\\activate on Windows\nuv pip install streamlit\n```\n\nRun with:\n\n```bash\nstreamlit run streamlit_app.py\n```\n\n## Full project setup\n\nFor larger projects or when you need reproducible builds:\n\n```bash\nuv init my-streamlit-app\ncd my-streamlit-app\nuv add streamlit\n```\n\nThis creates:\n- `pyproject.toml` with dependencies\n- `uv.lock` for reproducible builds\n- `.venv\u002F` virtual environment\n\nRun with:\n\n```bash\nuv run streamlit run streamlit_app.py\n```\n\n## With options\n\nAvoid setting options unless you have a specific reason:\n\n```bash\nstreamlit run streamlit_app.py --server.headless true  # Only for automated\u002FCI environments\n```\n\n## Add dependencies\n\n```bash\n# With venv approach\nuv pip install plotly snowflake-connector-python\n\n# With full project (uv init)\nuv add plotly snowflake-connector-python\n```\n\n## Project structure\n\nKeep it simple. For most apps:\n\n```\nmy-streamlit-app\u002F\n├── .venv\u002F\n└── streamlit_app.py\n```\n\nOnly add more when needed:\n- `app_pages\u002F` → Only for multi-page apps\n- `.streamlit\u002Fconfig.toml` → Only if customizing theme or settings\n- `.streamlit\u002Fsecrets.toml` → Only if using secrets (add to `.gitignore`)\n- `pyproject.toml` → Only if using `uv init` for reproducible builds\n\n## Convention\n\nName your main file `streamlit_app.py` for consistency. This is what Streamlit expects by default.\n\n**What goes in the main module:**\n- When using navigation: it's a router that defines pages and runs them\n- When there's no navigation: it's the home page with your main content\n\n## pyproject.toml Example\n\n```toml\n[project]\nname = \"my-streamlit-app\"\nversion = \"0.1.0\"\nrequires-python = \">=3.11\"\ndependencies = [\n    \"streamlit>=1.53.0\",\n    \"plotly>=5.0.0\",\n    \"snowflake-connector-python>=3.0.0\",\n]\n\n[tool.uv]\ndev-dependencies = [\n    \"pytest>=8.0.0\",\n]\n```\n\n## References\n\n- [uv documentation](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F)\n- [Streamlit installation](https:\u002F\u002Fdocs.streamlit.io\u002Fget-started\u002Finstallation)\n",{"name":5,"license":15,"description":7},"main","3efae68c898153694a2f4aad309c7ff9847b5602","installed-skills\u002Fdeveloping-with-streamlit\u002Fskills\u002Fsetting-up-streamlit-environment",0,"https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config","https:\u002F\u002Fgithub.com\u002Flegout","2026-04-28 16:32:33",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add legout\u002Fpi-config --skill setting-up-streamlit-environment",{"tool":53,"command":54},"bunx","bunx skills add legout\u002Fpi-config --skill setting-up-streamlit-environment",{"tool":56,"command":57},"pnpm","pnpm dlx skills add legout\u002Fpi-config --skill setting-up-streamlit-environment","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fdeveloping-with-streamlit\u002Fskills\u002Fsetting-up-streamlit-environment\u002FSKILL.md",true,[],[62,87,109,122,135,156],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":35},"01M6KGW7MYKZ8MWFKN1V8ZJ2EG","visual-explainer","Generate beautiful, self-contained HTML pages that visually explain systems, code changes, plans, and data. Use when the user asks for a diagram, architecture overview, diff review, plan review, project recap, comparison table, or any visual explanation of technical concepts. Also use proactively when you are about to render a complex ASCII table (4+ rows or 3+ columns) — present it as a styled HTML page instead.","MIT","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-explainer\u002FSKILL.md",[],[70,71,72,73,74,75,76,77,78,27,79,31,80,81,82,83,84,85,86,34],"visual explainer","explainer","visual","image","architecture","generate","plan","table","view","files","present","as","ascii table","ascii","you","concepts","surf",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":35},"01M6KGTMTJR6RXXC8AF29MQQW5","table-extractor",">","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Ftable-extractor\u002FSKILL.md",[],[77,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108],"table extractor","PDF","MCP","gpt","extraction","office","data","parsing","extract","en","zh","camelot","sonnet","opus","tables",{"skillNo":110,"name":111,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":35},"01M6KGSWF2R22Z63PAY5NT6GRY","smart-ocr","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fsmart-ocr\u002FSKILL.md",[],[115,116,95,96,117,97,98,99,101,118,102,103,104,119,120,106,107,121],"ocr","smart ocr","support","text","multilingual","processing","paddleocr",{"skillNo":123,"name":124,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":35},"01M6KGMKKFNC1PRNX2W3E243DR","html-slides","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fhtml-slides\u002FSKILL.md",[],[128,129,130,131,96,132,97,99,103,104,133,134,106,107],"slides","html","html slides","pptx","web","revealjs","presentation",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":35},"01M6KGJGVM0TWW632Y6VQQV2WN","using-streamlit-session-state","Using st.session_state to manage state across Streamlit reruns. Use when persisting data, handling widget state, implementing callbacks, or debugging state issues. Covers initialization patterns, widget-state association, and common gotchas.","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fdeveloping-with-streamlit\u002Fskills\u002Fusing-streamlit-session-state\u002FSKILL.md",[],[142,143,21,144,145,146,147,100,148,27,149,150,151,152,153,154,155],"state","session","session state","using streamlit session state","debugging","issues","common","manage","patterns","across","widget","Callbacks","implementing","initialization",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":35},"01M6KGJD12GJB7W0ZG66JK00F6","using-streamlit-markdown","Covers all Markdown features in Streamlit including GitHub-flavored syntax plus Streamlit extensions like colored text, badges, Material icons, and LaTeX. Use when formatting text, labels, tooltips, or any text-rendering element.","https:\u002F\u002Fgithub.com\u002Flegout\u002Fpi-config\u002Fblob\u002Fmain\u002Finstalled-skills\u002Fdeveloping-with-streamlit\u002Fskills\u002Fusing-streamlit-markdown\u002FSKILL.md",[],[163,21,164,165,166,167,118,168,27,169,170,171,172,173,174,175],"markdown","using streamlit markdown","github","icons","LaTeX","syntax","formatting","element","material","rendering","extensions","features","labels"]