Skip to content

W-21198400: (chore): add AI documentation and best practices#853

Merged
iowillhoit merged 3 commits intosalesforcecli:mainfrom
AndrewLPetersonSF:chore/template-docs
Mar 2, 2026
Merged

W-21198400: (chore): add AI documentation and best practices#853
iowillhoit merged 3 commits intosalesforcecli:mainfrom
AndrewLPetersonSF:chore/template-docs

Conversation

@AndrewLPetersonSF
Copy link
Contributor

@AndrewLPetersonSF AndrewLPetersonSF commented Feb 20, 2026

@W-21198400@

What does this PR do?

  • W-21198400
  • Adding human-readable DEVELOPMENT.md for developers adding new template generators and exposing them to the CLI
  • Adding AI-first documentation/skills for Claude, Cursor, and Windsurf

What issues does this PR fix or reference?

N/A

@AndrewLPetersonSF AndrewLPetersonSF requested a review from a team as a code owner February 20, 2026 19:55

### Agent instructions for adding flags

1. Tell user to run `sf dev generate flag` from plugin root.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @iowillhoit, I put up a separate PR on plugin-dev to allow for this command to work based on the command structure of this repo. Updated it to look for both path/to/command.ts and path/to/command/index.ts.

Also fixed the message file resolution by looking at where the current command is loading the messages from. If you're not feeling great about the regexp, I get it and am happy to remove that and just allow messages to be added to the wrong message file for now.

@AndrewLPetersonSF AndrewLPetersonSF changed the title chore: add AI documentation and best practices W-21198400 chore: add AI documentation and best practices Feb 27, 2026
@AndrewLPetersonSF AndrewLPetersonSF changed the title W-21198400 chore: add AI documentation and best practices @W-21198400@ chore: add AI documentation and best practices Feb 27, 2026
@AndrewLPetersonSF AndrewLPetersonSF changed the title @W-21198400@ chore: add AI documentation and best practices W-21198400: (chore): add AI documentation and best practices Feb 27, 2026
@iowillhoit iowillhoit merged commit 372bcda into salesforcecli:main Mar 2, 2026
3 of 5 checks passed
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.

3 participants