From e3a25937815a515161458631ba0811e108d9a4ce Mon Sep 17 00:00:00 2001 From: BruceChen Date: Sun, 22 Mar 2026 15:30:42 +0800 Subject: [PATCH] feat: add cursor indexing ignore rules for SpecStory files - Introduced a new `.cursorindexingignore` file to prevent indexing of SpecStory auto-save files while allowing explicit context inclusion via @ references. - Updated `.gitignore` to exclude the entire `.specstory/` directory and `.vscode/settings.json`, ensuring these files are not tracked by Git. These changes help streamline project management by excluding unnecessary files from indexing and version control. --- .cursorindexingignore | 3 +++ .gitignore | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 .cursorindexingignore diff --git a/.cursorindexingignore b/.cursorindexingignore new file mode 100644 index 00000000..953908e7 --- /dev/null +++ b/.cursorindexingignore @@ -0,0 +1,3 @@ + +# Don't index SpecStory auto-save files, but allow explicit context inclusion via @ references +.specstory/** diff --git a/.gitignore b/.gitignore index 7553592d..df83a1de 100644 --- a/.gitignore +++ b/.gitignore @@ -430,3 +430,7 @@ FodyWeavers.xsd /mcc_input.txt /MinecraftClient.ini /MinecraftClient.backup.ini + +# SpecStory files +/.specstory/ +/.vscode/settings.json