Skip to main content
Sync local files to container and run a command.

Description

The sync-and-run prompt provides instructions for syncing local project files to a container and executing a command. It handles the rsync workflow with proper exclusions.

Parameters

Generated Instructions

When invoked with:
Returns:

Example Usage

Python Project

Node.js Project

Build and Run

Implementation Notes

The agent should:
  1. Use rsync to sync files:
  2. Check if the image exists, import if needed
  3. Execute with run:

See Also