This file bootstraps Claude (or other LLMs) to provide interactive assistance with smite (Single Molecule Imaging Toolbox Extraordinaire).
You are now assisting with smite, a MATLAB package for fluorescence single molecule imaging analysis (SMLM and SPT).
If you have filesystem access:
- Entry point:
doc/llm-guide/index.md(in this repository) - Catalog:
doc/llm-guide/manifest.json
If using URLs:
- Entry point:
https://raw.githubusercontent.com/LidkeLab/smite/main/doc/llm-guide/index.md - Catalog:
https://raw.githubusercontent.com/LidkeLab/smite/main/doc/llm-guide/manifest.json
- Read the index first: Load
doc/llm-guide/index.mdto understand available documentation - Load specific documents based on user questions:
- Installation →
getting-started/installation.md - Architecture →
core-concepts/architecture.md - SMLM workflow →
workflows/smlm-analysis.md - Examples →
examples/basic-localization.md
- Installation →
- Provide working code - All examples are tested MATLAB code
- Follow cross-references - Documents link to related topics
This documentation was generated by Claude Sonnet 4.5 and has not been extensively reviewed by human domain experts.
For users: If you find errors, unclear explanations, or missing content, please open a GitHub issue.
With documentation loaded, you can:
- ✅ Answer questions about smite installation, usage, and architecture
- ✅ Explain SMF/SMD data structures
- ✅ Guide users through SMLM and SPT workflows
- ✅ Provide working code examples
- ✅ Troubleshoot common issues
- ✅ Help tune parameters and optimize performance
If you have write access to files:
- ✅ Create/modify analysis scripts
- ✅ Update configuration files
- ✅ Generate test data
- ✅ Fix bugs in user code
doc/llm-guide/
├── index.md # START HERE
├── manifest.json # Document catalog
│
├── getting-started/ # Installation & first steps
├── core-concepts/ # SMF/SMD architecture
├── workflows/ # Complete SMLM & SPT pipelines
├── how-to/ # Task-based guides
└── examples/ # Runnable code examples
Coverage: Phase 1 complete (12 docs, ~19k words). Phase 2 planned (40+ additional docs).
✅ Best for: Active development, writing code, file manipulation
What You Get:
- Claude can read AND write your files (create scripts, fix code, modify data)
- Works offline
- Always uses your latest local changes
- Faster than URL access
Setup Steps:
-
Open Claude Desktop
-
Go to File → Settings → Extensions
-
Add the Filesystem extension:
- Click to add/enable the Filesystem extension
- You'll be prompted to add a folder
-
Add your smite folder:
- Browse to your smite repository location
- Example:
C:\Users\klidke\Documents\MATLAB\smite - Click to add/allow access
-
Done! Claude now has read/write access to your smite folder
-
Verify: Look for 🔨 hammer icon in the chat input showing filesystem tools available
Usage:
Start any conversation with:
Read the file: C:/Users/klidke/Documents/MATLAB/smite/LLM_DOCS.md
Claude will bootstrap from this file, load the documentation, and you can then discuss smite naturally.
Example session:
You: Read the file: C:/Users/klidke/Documents/MATLAB/smite/LLM_DOCS.md
Claude: [reads file and loads documentation]
You: How do I install smite?
Claude: [provides installation guide from getting-started/installation.md]
You: Create a script to localize molecules in test data
Claude: [writes a working MATLAB script to your smite directory]
✅ Best for: Quick questions, learning, browsing
What You Get:
- No setup required
- Works with any LLM (web-based or desktop)
- Always shows latest from main branch
- Works anywhere with internet
Usage:
After pushing to GitHub, start any conversation with:
Read this URL: https://raw.githubusercontent.com/LidkeLab/smite/main/LLM_DOCS.md
Claude will fetch and load the documentation.
Example session:
You: Read this URL: https://raw.githubusercontent.com/LidkeLab/smite/main/LLM_DOCS.md
Claude: [fetches and reads documentation]
You: Show me SMLM workflow step-by-step
Claude: [provides detailed workflow from workflows/smlm-analysis.md]
You: Give me code for basic localization
Claude: [provides working MATLAB example from examples/basic-localization.md]
If you just want to read the docs yourself:
Local: Open doc/llm-guide/index.md in any markdown viewer or IDE
Online: https://github.com/LidkeLab/smite/blob/main/doc/llm-guide/index.md
Once Claude has loaded the documentation:
Installation & Setup:
- "How do I install smite?"
- "What MATLAB toolboxes do I need?"
- "How do I set up GPU acceleration?"
- "Help me compile mex files"
Understanding smite:
- "Explain the SMF structure"
- "What's the difference between SMLM and SPT?"
- "How does smite's architecture work?"
- "What are the main namespaces?"
Running Analysis:
- "Walk me through SMLM analysis step-by-step"
- "How do I load .h5 data files?"
- "Show me drift correction workflow"
- "How do I do frame connection?"
Writing Code: (requires filesystem access)
- "Create a script to localize molecules"
- "Write batch processing code for all my datasets"
- "Generate a complete SMLM analysis pipeline"
- "Fix this error in my script"
Optimization:
- "How do I tune localization parameters?"
- "My results look wrong, what should I check?"
- "How can I improve precision?"
- "Speed up my analysis"
Troubleshooting:
- "I'm getting GPU errors"
- "Why are my localizations scattered?"
- "Help me debug this MATLAB error"
- "Explain this warning message"
Claude Desktop (with filesystem MCP setup):
Read the file: /path/to/smite/LLM_DOCS.md
Any LLM (via URL after pushing to GitHub):
Read this URL: https://raw.githubusercontent.com/LidkeLab/smite/main/LLM_DOCS.md
Then just talk naturally about smite!
For contributors using Claude Code, documentation is maintained using slash commands:
/smite_docs_status- Check documentation status and health/smite_update_llm_docs- Update docs after code changes/smite_validate_llm_docs- Validate documentation quality/smite_build_llm_docs- Build Phase 2+ documentation
See .claude/README.md for the complete documentation build system.
If you encounter problems with the documentation:
- Missing information? Create an issue: https://github.com/LidkeLab/smite/issues
- Incorrect content? The docs track source files - check if code changed
- Outdated? Run
/smite_update_llm_docsto refresh
Ready to get started? Tell Claude to read this file (local or URL) and start asking questions! 🔬