Workflows
Workflows in Saarthi are sequences of actions defined to automate common development and deployment tasks. They are customizable and bring consistency, guardrails, and speed to your engineering process — from setting up a Godspeed project to deploying on cloud, generating UIs, creating test strategies, or even drafting technical documents.
Just select a workflow from the panel and hit Enter — Saarthi automates the rest.
How to Use
- Open Saarthi in your project environment.
- From the Workflow Tab, select the desired workflow.
- Provide inputs (if prompted).
- Saarthi executes all required steps automatically.
Available Workflows
1. Create Godspeed Project
Description Creates a new Godspeed project with the provided name and offers optional next steps such as installing plugins or setting up a Prisma schema for datastore integration.
Process
- Select the Create Godspeed Project workflow in Saarthi.
- Enter a project name when prompted.
- Choose whether to install plugins.
- Choose whether to set up a Prisma schema.
- Saarthi scaffolds the project with the standard Godspeed structure and optional configurations.
2. Godspeed DB Sync & CRUD Generation
Description Validates the Prisma schema, prepares database synchronization, and generates CRUD APIs for defined models automatically.
Requirements
- A valid database connection string
- Verify your database server is running and accessible
Process
- Validates if
schema.prismaexists in the project. - Sets up
.envwith database URL if not already configured. - Runs
godspeed prisma prepareto sync schema with the database. - Executes
godspeed gen-crud-apito generate CRUD APIs for all models.
3. Generate Dockerfile
Description
Creates or optimizes a Dockerfile for your Godspeed project, ensuring containerization best practices are applied.
Requirements
- Docker installed and running on your machine
Process
- Detects if the current project is a Godspeed service.
- Suggests optimizations for an existing Dockerfile (if present).
- Creates a
.dockerignorefile if missing. - Generates or updates a
Dockerfilewith best practices. - Provides a preview/diff before applying changes.
4. Setup Project on Docker Locally
Description Guides you through setting up and running your Godspeed project in Docker locally.
Requirements
- Docker installed and running
- Valid Godspeed project directory
- Docker Compose (optional, for multi-container setups)
Before You Use
- Ensure Docker is installed (
docker --version) and daemon is running - Verify project compiles locally before containerizing
- Make sure required ports are available (e.g., 3000, 5432)
- Clean up unused containers/images to avoid conflicts
Process
- Checks Docker installation and environment.
- Validates the project structure.
- Runs
docker-compose up --buildor guides manual setup. - Helps troubleshoot common container issues (port conflicts, missing envs).
5. GitHub Issue to PR with Review
Description Converts a GitHub issue into a pull request with automated code review.
Requirements
- GitHub Personal Access Token
- Repository write access
- Git installed and configured locally
- Repo cloned locally and accessible to Saarthi
Process
- Sets up github MCP server, if not already there.
- Fetches issue details.
- Creates a feature branch.
- Implements changes.
- Performs automated code review.
- Opens a PR linked to the issue.
6. Implement Authentication in Godspeed
Description Sets up authentication in your Godspeed microservice using supported auth methods.
Process
- Adds auth configuration in Godspeed project.
- Integrates chosen method (OAuth, JWT, or API Key).
- Updates routes to include auth checks.
7. Download and Run Docker Container
Description Pulls a Docker image and runs a container with custom configuration.
Process
- Confirm Docker is installed and daemon is active
- Prepare environment variables (
.envor inline) - Pulls the specified Docker image (e.g.,
postgres:latest). - Configures ports and env vars.
- Starts container.
- Validates container is running.
8. Godspeed Coaching
Description Provides an interactive learning experience for mastering the Godspeed framework.
Process
- Assesses current skill level (beginner, intermediate, advanced)
- Generates a tailored learning path.
- Assigns hands-on exercises.
- Tracks and reviews progress.
9. Implement Feature from PRD
Description: Implements features step-by-step based on the Product Requirement Document (PRD).
Process:
- Provide PRD path or summary.
- Saarthi parses requirements into feature milestones.
- Generates tasks for each milestone (UI, APIs, integrations).
- Executes via orchestrator with approval checkpoints.
10. Create/Update Test Strategy
Description: Creates or updates a comprehensive test strategy including scope, metrics, and environments.
Process:
- Provide project PRD/TRD or repo path.
- Saarthi drafts test strategy document.
- User reviews suggested test scope and environments.
- Updated strategy stored with versioning in
.saarthi/.
11. Generate Test Cases
Description: Generates detailed test cases (steps, expected results, traceability) from requirements.
Process:
- Provide PRD/TRD or test strategy path.
- Saarthi maps requirements to features.
- Expands each into step-by-step test cases.
- Exports cases in structured format (YAML/JSON/CSV).
12. Update Test Cases in Strategy
Description: Maintains test documentation with version control, impact analysis, and traceability.
Process:
- Load existing test strategy.
- Detect updated/added requirements.
- Generate or modify affected test cases.
- Update test strategy with version history.
13. Deploy to Render
Description: Deploys applications directly to the Render cloud platform.
Process:
- Provide Render API key & app config.
- Saarthi builds deployable artifact.
- Pushes app to Render environment.
- Confirms deployment status + logs.
14. Progress Review
Description: Reviews code, tests, and documentation against defined quality metrics.
Process:
- Point Saarthi to repo/project path.
- Scans codebase for coverage, standards, and docs.
- Generates quality score with insights.
- Outputs improvement suggestions.
15. Create Docker Image
Description: Builds Docker images from Dockerfiles for containerized deployment.
Process:
- Provide Dockerfile path.
- Saarthi validates Dockerfile best practices.
- Builds Docker image locally or in CI.
- Outputs image tag and push instructions.
16. Sprint Plan to Git Issues
Description: Converts sprint planning items into actionable GitHub issues.
Process:
- Provide sprint backlog (document or Jira export).
- Saarthi extracts user stories & tasks.
- Maps tasks into GitHub issues with labels.
- Auto-creates issues in repo via GitHub API.
17. Generate High-Level TRD
Description: Generates a Technical Requirements Document (TRD) with architecture diagrams.
Process:
- Provide PRD or system description.
- Saarthi analyzes features → identifies architecture needs.
- Drafts TRD with modules, APIs, integrations.
- Embeds diagrams (system context, sequence, components).
18. Generate Coding Guidelines
Description: Creates coding standards with best practices, security, and compliance guidelines.
Process:
- Select tech stack (e.g., Node, React, Python).
- Saarthi generates language/framework guidelines.
- Includes formatting, testing, security practices.
- Saves guidelines in repo for team reference.
19. Learning Roadmap
Description: Builds a personalized learning roadmap with exercises, resources, and progress tracking.
Process:
- Provide target role or skill area.
- Saarthi drafts skill breakdown into learning modules.
- Assigns resources (docs, tutorials, exercises).
- Tracks progress in roadmap file.
20. Assign Exercises
Description: Assigns predefined or custom exercises with tracking.
Process:
- Select skill area or upload custom exercise.
- Saarthi maps it to roadmap modules.
- Assigns to user/team with deadlines.
- Tracks completion status.
21. Feedback-Driven Learning Path
Description: Refines the learning experience using feedback, adjusting pace and content.
Process:
- Collect feedback from learners.
- Saarthi evaluates progress vs. goals.
- Adjusts learning roadmap modules and timelines.
- Updates exercises/resources accordingly.