Skip navigation
cursor pro tip: create a global agent rule to run a bash script every time new files are created
0:00 / 1:03

cursor pro tip: create a global agent rule to run a bash script every time new files are created

Ian Nuttall

@iannuttall82K followers

Visit on X
2,184 likesDownloadOriginal post

248,492 views

cursor pro tip: create a global agent rule to run a bash script every time new files are created your file structure will always be up-to-date so claude knows the hierarchy of your app 🔥

11 Comments

Comments from the original post on X (Twitter)

  • Ian Nuttall's profile picture

    @iannuttall

    bash script (via claude/cursor of course)

    47 likes

  • Netwrix's profile picture

    @Netwrix

    In this Free eBook, we’ll walk you through Powershell scripting basics, show you Powershell commands and scripts for performing the most common administrative tasks, and explain how you can schedule your Powershell scripts and сommands. Get your free copy ⬇️

    249 likes

  • Stijn's profile picture

    @StijnSmits

    I think you'll like

    21 likes

  • eric provencher's profile picture

    @pvncher

    lol this is automated in repo prompt

    8 likes

  • Danny Postma's profile picture

    @dannypostmaa

    Severely confused why you were typing on the left for a second

    6 likes

  • Ian Nuttall's profile picture

    @iannuttall

    😂

  • Juanma's profile picture

    @juanmaJMRS

    Since claude3.7 it knows everything without the need of any rule.

    3 likes

  • AGIdevice's profile picture

    @agidevice

    Ian - it’s time - for you to add these amazing videos for cursor in the #1 cursor community on x 🤝

  • Dan's profile picture

    @ShipItDan

    Set this up for migration files a while back. Caused a lot of pain lol.

    1 like

  • Eduardo Borges's profile picture

    @duborges

    jesus, what happened to those inverted sidebars

    1 like

  • John Curtis's profile picture

    @Social_Quotient

    Hey this is fantastic. I merged it with what I’ve been using in bash for tree generation without dependencies. Find here Also if you have not checked it out yet @EastlondonDev is doing some great work on his project which has some unique tools without MCP dependency

    1 like