# Notebook Cell References

> Notebook Cell References

- Skill: `smith6jt-cop/notebook-cell-references` (Agent Skill)
- Install (CLI): `npx skillmds@latest add smith6jt-cop/notebook-cell-references`
- Raw SKILL.md: https://api.skillmd.com/api/skills/smith6jt-cop/notebook-cell-references/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: smith6jt-cop (https://skillmd.com/u/smith6jt-cop)
- Updated: 2026-08-19
- Page: https://skillmd.com/skills/smith6jt-cop/notebook-cell-references

---

# Notebook Cell References

## Goal
Communicate clearly about Jupyter notebook cells without confusing the user.

## What Failed
- Referring to cells by number (e.g., "Cell 9", "Cell 12")
- Cell numbers are NOT visible in Jupyter notebooks
- Cell numbers change when cells are added/deleted
- User has no way to know which cell you mean

## What Works
Refer to cells by identifiable characteristics:

1. **Section header**: "the cell under '## Load Data'"
2. **First line of code**: "the cell starting with `sc.read_h5ad(...)`"
3. **Purpose**: "the normalization cell", "the plotting cell"
4. **Variable defined**: "the cell that creates `protein_shared`"
5. **Function defined**: "the cell with `def detection_aware_normalize`"

## Examples

### Bad
- "Update Cell 9"
- "The error is in Cell 12"
- "Cells 10-12 need changes"

### Good
- "Update the normalization cell (starts with `# Normalize shared features`)"
- "The error is in the visualization cell that plots histograms"
- "The cells between 'Load Data' and 'Run Integration' need changes"

## Trigger
When discussing or modifying Jupyter notebook cells.

