Why was this question closed?
The official reason How to script Cursor Pro AI assistant was "Closed. This question is not about programming or software development. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. You can edit the question so it's on-topic or see if it can be answered on another Stack Exchange site, but be sure to read the on-topic page for a site before posting there."
However, it seems implausible that implementing a 5-step ui-automation algorithm isn't a "programming problem" AND cursor-ide/VScode aren't "software tools primarily used by programmers". Indeed, neither of these tags comes with such a warning. This may be the closest option available in the dropdown, and the actual rule broken is elsewhere.
The only comment suggested that it was because it related to automating "AI prompts". However, I cannot find any rule against asking AI-related questions on Stack Overflow. The question of how automating AI prompts for the purposes of software development relates to programming seemed sufficiently obvious that I presumed it was rhetorical. I did not understand what they were getting at, so I answered but did not get a response.
Thus, I am at a loss as to which rule the question is meant to be breaking. Asking for a "better" solution than the one I suggested may be a little subjective, which can be banned (see: https://stackoverflow.com/help/dont-ask), but it is explicitly mentioned that Constructive Subjective questions are allowed. My question seems to fall under that category.
Now it could be argued that by asking a question about cursor-ide I am asking for customer service with a third-party service, which is banned by "4. Questions asking for customer support with third-party services (such as App Stores) are off-topic for Stack Overflow. Instead, please direct your questions to the relevant company/organisation's technical support team." -- https://stackoverflow.com/help/on-topic
However, looking more closely, we see that the rule is only concerned with asking questions about customer service, such as:
- How do I get my Facebook developer account confirmation code?
- Will Apple approve my app, and under what conditions?
- Where can I download the developer kit?
- When will [some new feature] be released?
- Why is [some service] not (working / taking my login / giving me API credentials)? --https://meta.stackoverflow.com/questions/255745/why-cant-i-ask-customer-service-related-questions-on-stack-overflow
This clarification makes more sense. It would be strange to say that "you can ask about software development tools, except that you can't, because asking about tools is essentially asking for customer service".
After a couple of hours of reading the Stack Overflow rules in detail, I am no closer to figuring out which rule I am meant to have broken.