Skip to content

Added conditional generation of IDE & LLM specific files#15

Open
DevoidSloth wants to merge 1 commit into
superdesigndev:mainfrom
DevoidSloth:feature/conditional-ide-files
Open

Added conditional generation of IDE & LLM specific files#15
DevoidSloth wants to merge 1 commit into
superdesigndev:mainfrom
DevoidSloth:feature/conditional-ide-files

Conversation

@DevoidSloth
Copy link
Copy Markdown

I noticed the current way of generating all the files for cursor, windsurf, and claude code was somewhat clunky so I added a couple conditional statements to check if those tools are in use.

As far as logic goes

  • Checks names of open apps to see if cursor or windsurf is open
  • For claude code it checks for the command with which claude or, if on windows, wsl which claude

@DevoidSloth DevoidSloth deleted the feature/conditional-ide-files branch July 12, 2025 18:42
@DevoidSloth DevoidSloth restored the feature/conditional-ide-files branch July 12, 2025 18:45
@DevoidSloth DevoidSloth reopened this Jul 12, 2025
@hbmartin
Copy link
Copy Markdown

@DevoidSloth I added these commits to my fork, hope you don't mind! (But if you do I'll remove it.)

https://github.com/hbmartin/secure-design/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants