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.
This pull request introduces AI-powered migration support to Shepherd, allowing users to describe code changes in natural language and have them applied automatically using AI models like Claude or OpenAI. It adds a new
shepherd aicommand, supporting configuration via both CLI andshepherd.yml, and provides comprehensive documentation and testing for the new feature. The most important changes are:AI-Powered Migration Feature:
shepherd aicommand, enabling users to apply migrations using natural language prompts and AI providers (claudeoropenai). The command supports options for provider, model, max tokens, and repo selection, and integrates with the existing migration workflow. [1] [2]@anthropic-ai/sdk,openai, and file globbing support viaglob. [1] [2] [3]Documentation:
README.md,docs/ai-migrations.md, anddocs/tutorial.md. [1] [2] [3]Testing and Validation:
aicommand, covering provider validation, option merging, execution flow, and error handling.These changes collectively enable a new, user-friendly way to perform complex, multi-repo code migrations using state-of-the-art AI models, with robust configuration and testing.