N
Nemo
← Back to Home
Back to Commands

ship

Create a new pull request with AI-generated code changes. Describe what you want, and Nemo will write the code and open a PR for review.

Syntax

@Nemo ship <repo> <description>

Examples

Add a new feature
@Nemo ship landing-page add a contact form with validation
Implement API functionality
@Nemo ship api-service implement rate limiting for /api/users
Add UI component
@Nemo ship frontend add dark mode toggle to settings page
Cross-organization repo
@Nemo ship other-org/repo add input validation
With scope constraint
@Nemo 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 preview first for complex changes to verify the approach
  • Use --model opus for architectural changes or complex refactoring
  • Follow up with fix to make iterations based on review feedback