W-21198400: (chore): add AI documentation and best practices#853
Merged
iowillhoit merged 3 commits intosalesforcecli:mainfrom Mar 2, 2026
Merged
Conversation
iowillhoit
reviewed
Feb 26, 2026
iowillhoit
reviewed
Feb 26, 2026
iowillhoit
reviewed
Feb 26, 2026
iowillhoit
reviewed
Feb 26, 2026
iowillhoit
reviewed
Feb 26, 2026
iowillhoit
reviewed
Feb 26, 2026
|
|
||
| ### Agent instructions for adding flags | ||
|
|
||
| 1. Tell user to run `sf dev generate flag` from plugin root. |
Contributor
Author
There was a problem hiding this comment.
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.
iowillhoit
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@W-21198400@
What does this PR do?
DEVELOPMENT.mdfor developers adding new template generators and exposing them to the CLIWhat issues does this PR fix or reference?
N/A