# Pre-Index Change Checklist

**Last Updated:** 2026-02-12

Use this checklist when modifying `.cursorignore` or `.cursorindexingignore`.

## Before Changes

- [ ] Run `python3 v2/scripts/dev-helpers/analyze-cursor-index.py` and note current counts
- [ ] Backup `.cursorignore` and `.cursorindexingignore` if making major edits

## After Changes

- [ ] Run `python3 v2/scripts/dev-helpers/analyze-cursor-index.py` again and compare counts
- [ ] Run `python3 v2/scripts/dev-helpers/verify-index-config.py` to validate patterns
- [ ] Cursor Settings > Indexing & Docs > **Delete Index** > **Sync**
- [ ] Verify `@docs/content/blog/posts/ratgeber/gastronomie-mindestlohn/data/faq-questions.json` still resolves
- [ ] Update [CURSOR_INDEXING_BASELINE.md](CURSOR_INDEXING_BASELINE.md) with new count

## If Index Still High

- [ ] Run `python3 v2/scripts/dev-helpers/export-cursor-indexed-files.py` (after Sync)
- [ ] Run `python3 v2/scripts/dev-helpers/diff-index-vs-expected.py`
- [ ] Review `docs/development/cursor-index-diff-report.txt` for violations
- [ ] See [CURSOR_INDEXING_DEBUGGING.md](CURSOR_INDEXING_DEBUGGING.md) for full steps

## Related

- [CURSOR_INDEXING_OPTIMIZATION.md](CURSOR_INDEXING_OPTIMIZATION.md) – Troubleshooting
- [CURSOR_INDEXING_DEBUGGING.md](CURSOR_INDEXING_DEBUGGING.md) – Debugging guide
- [CURSOR_INDEXING_SETUP.md](CURSOR_INDEXING_SETUP.md) – Setup and ignore configuration
