Agent skill
streamlit-common-issues
Sub-skill of streamlit: Common Issues.
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/data/analysis/streamlit/common-issues
SKILL.md
Common Issues
Common Issues
Issue: App reruns on every interaction
# Use forms to batch inputs
with st.form("my_form"):
input1 = st.text_input("Input")
submit = st.form_submit_button()
Issue: Slow data loading
# Add caching
@st.cache_data(ttl=3600)
def load_data():
return pd.read_csv("large_file.csv")
Issue: Memory issues with large files
# Use chunking
@st.cache_data
def load_large_file(path, nrows=10000):
return pd.read_csv(path, nrows=nrows)
Issue: Widget state lost on rerun
# Persist in session state
if "value" not in st.session_state:
st.session_state.value = default_value
# Use key parameter
st.text_input("Name", key="user_name")
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?