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.prisma
exists in the project. - Sets up
.env
with database URL if not already configured. - Runs
godspeed prisma prepare
to sync schema with the database. - Executes
godspeed gen-crud-api
to 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
.dockerignore
file if missing. - Generates or updates a
Dockerfile
with 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 --build
or 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. Figma to UI Generation
Description: Convert your Figma designs into responsive UI components and pages.
Pre-requirements:
- Figma file URL
- Figma Personal Access Token
Process:
- Select Workflow – Choose
Figma to UI Generation
from workflows dropdown. - Provide Figma Details – Enter Figma URL + Access Token.
- Extract Components – Saarthi generates component hierarchy with
gs-nodegen-figma
. - Generate Scaffolding – Creates project scaffolding + imports Godspeed UI components.
- Integrate APIs (optional) – Provide Swagger spec → generates API slices with Redux.
- Run Strategy – Orchestrator executes milestones → pages & components built step-by-step.
8. Prompt to UI Generation
Description: Generate UI pages and components directly from a text prompt, if you don't have PRD, TRD, or Figma designs. Saarthi automates strategy creation, component scaffolding, API integration, and responsive UI development — all inside your workspace.
Requirements:
- Prepare your PRD/TRD files simply give a text prompt.
- Project brief (you’ll be prompted for this if PRD/TRD are missing)
- If using API integration, have a Swagger/OpenAPI spec JSON ready.
Process:
- Provide Project Brief – If no PRD/TRD found, Saarthi asks for a short description of the project.
- Scan Components – Reads
components/gs-ui
andcomponents-list.txt
to detect available components. - Finalize Components – User helps confirm components and their variants.
- Generate Strategy – Pages and components are mapped into milestones & steps.
- Run Strategy – Orchestrator executes the plan, building responsive pages with integrated APIs (if provided).
9. 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 (
.env
or inline) - Pulls the specified Docker image (e.g.,
postgres:latest
). - Configures ports and env vars.
- Starts container.
- Validates container is running.
10. 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.
11. 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.
12. 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/
.
13. 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).
14. 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.
15. 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.
16. 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.
17. 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.
18. 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.
19. 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).
20. 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.
21. 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.
22. 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.
23. 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.