Back to Commands
ship
Create a new pull request with AI-generated code changes. Describe what you want, and Smart Workflow will write the code and open a PR for review.
Syntax
@Smart Workflow ship <repo> <description>Examples
Add a new feature
@Smart Workflow ship landing-page add a contact form with validationImplement API functionality
@Smart Workflow ship api-service implement rate limiting for /api/usersAdd UI component
@Smart Workflow ship frontend add dark mode toggle to settings pageCross-organization repo
@Smart Workflow ship other-org/repo add input validationWith scope constraint
@Smart Workflow ship my-app add form validation --only "src/components/*"How it works
1
Analyzes repo
Understands your codebase structure
2
Generates code
Writes changes based on description
3
Creates branch
Pushes to a new feature branch
4
Opens PR
Creates PR for team review
5
Suggests tests
Identifies relevant test commands
Key Features
Pattern matching
Follows existing patterns and conventions in your codebase.
Test awareness
Detects your test framework and suggests commands to run.
Smart scoping
Use --only and --exclude flags to limit changes to specific paths.
Example Output
✅Pull request created!
→ PR #42: Add contact form component
3 files changed, 127 insertions
Files modified:
- + src/components/ContactForm.tsx
- + src/components/ContactForm.test.tsx
- ~ src/pages/index.tsx
Suggested test command:
bun test src/components/ContactForm.test.tsx💡 Pro Tips
- •Be specific about what you want—include field names, validation rules, component names
- •Use
previewfirst for complex changes to verify the approach - •Use
--model opusfor architectural changes or complex refactoring - •Follow up with
fixto make iterations based on review feedback