Skip to content

deco-cx/pronto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Pronto - AI-Powered Idea Expansion Platform

πŸ§ͺ Concept Application - This is a proof-of-concept showcasing advanced schema-driven AI architecture with real-time editing capabilities.

Transform simple software ideas into comprehensive development plans with AI. Built on the Deco MCP platform with a modern React + Tailwind CSS frontend.

Image Pronto takes your basic concept and generates detailed, actionable blueprints including architecture, data models, tools, workflows, and implementation phases - ready to paste into your AI development tool.

πŸ“ Development History

This repository uses Specstory to track the history of prompts that were used to code this repo. You can inspect the complete development history in the .specstory/ folder.

✨ Features

πŸ§ͺ Concept Highlights

This application demonstrates cutting-edge patterns for AI-driven development:

  • Schema-Driven Architecture: Centralized, editable JSON schemas that guide AI generation
  • Real-Time Schema Editing: Live preview and validation of AI prompts and structures
  • Developer Feedback Loop: Copy improved schemas back to code for continuous improvement
  • Runtime Schema Injection: Override default schemas without code changes

🧠 AI-Powered Expansion

  • Smart Idea Analysis: Transform simple concepts into comprehensive development plans
  • Structured Generation: JSON schemas ensure consistent, high-quality AI outputs
  • Deco Platform Integration: Leverages enterprise-grade AI capabilities

πŸ—οΈ Complete Development Blueprints

  • Architecture Planning: File structures following Deco MCP template patterns
  • Data Models: Drizzle ORM schemas ready for implementation
  • Tools & Workflows: MCP tools with Zod schemas and Mastra patterns
  • UI/UX Design: React components with modern styling
  • Implementation Phases: Realistic timelines and task breakdowns

🎯 Interactive Experience

  • Enhanced Schema Editor: Form + JSON editing modes with real-time validation
  • Preview System: Test schema changes before applying to database
  • Admin Mode: Edit AI prompts and re-expand individual sections with custom schemas
  • Inline Evaluation: Multi-criteria assessment (ambiguity, market potential, feasibility, innovation)
  • Export System: Copy JSON data, schemas, or ready-to-use development prompts
  • Real-time Updates: See changes immediately with optimistic UI updates

πŸ› οΈ Technical Stack

  • Backend: Cloudflare Workers + Deco MCP runtime
  • Frontend: React + TanStack Router + Tailwind CSS with custom color scheme
  • Database: SQLite with Drizzle ORM and automatic migrations
  • Type Safety: Full TypeScript with auto-generated RPC types
  • AI Integration: Structured object generation with validation

πŸš€ Quick Start

Prerequisites

  • Node.js β‰₯18.0.0
  • Deco CLI: deno install -Ar -g -n deco jsr:@deco/cli

Setup

# Install dependencies
npm install

# Configure your app (set name and workspace)
npm run configure

# Start development server
npm run dev

The app will be available at http://localhost:8787 with both MCP endpoints and React frontend.

Usage

  1. Enter your idea in the input field on the home page
  2. Wait for AI expansion - comprehensive plan generation
  3. Toggle Admin Mode to edit individual sections and AI prompts
  4. Run Evaluation to assess your idea across multiple criteria
  5. Export as JSON data or ready-to-use development prompt

πŸ“ Project Structure

pronto/
β”œβ”€β”€ server/                 # MCP Server (Cloudflare Workers + Deco)
β”‚   β”œβ”€β”€ main.ts            # Entry point with tool/workflow registration
β”‚   β”œβ”€β”€ schema.ts          # Database schema with Drizzle ORM
β”‚   β”œβ”€β”€ db.ts              # Database configuration and migrations
β”‚   β”œβ”€β”€ tools/             # Domain-organized tools
β”‚   β”‚   β”œβ”€β”€ index.ts       # Central export point
β”‚   β”‚   β”œβ”€β”€ ideas.ts       # Idea CRUD operations
β”‚   β”‚   β”œβ”€β”€ admin.ts       # Admin tools and section re-expansion
β”‚   β”‚   β”œβ”€β”€ evaluation.ts  # Multi-criteria idea evaluation
β”‚   β”‚   β”œβ”€β”€ export.ts      # Export functionality
β”‚   β”‚   └── ai.ts          # AI proxy tools
β”‚   β”œβ”€β”€ workflows/         # Multi-step workflows
β”‚   β”‚   └── expansion.ts   # Complete expansion workflow
β”‚   └── drizzle/          # Database migrations
└── view/                 # React Frontend (Vite + Tailwind)
    β”œβ”€β”€ src/
    β”‚   β”œβ”€β”€ routes/       # Application routes
    β”‚   β”‚   β”œβ”€β”€ home.tsx  # Main page with idea input
    β”‚   β”‚   β”œβ”€β”€ expand.tsx # Expansion display with admin mode
    β”‚   β”‚   └── history.tsx # Idea management
    β”‚   β”œβ”€β”€ components/   # UI components
    β”‚   β”‚   β”œβ”€β”€ expansion-display.tsx # Main expansion viewer
    β”‚   β”‚   β”œβ”€β”€ section-editor.tsx    # Inline section editing
    β”‚   β”‚   β”œβ”€β”€ export-modal.tsx      # Export functionality
    β”‚   β”‚   β”œβ”€β”€ inline-evaluation.tsx # Evaluation interface
    β”‚   β”‚   └── ui/                   # shadcn/ui components
    β”‚   β”œβ”€β”€ hooks/        # TanStack Query hooks
    β”‚   β”‚   β”œβ”€β”€ useIdeas.ts     # Idea operations
    β”‚   β”‚   β”œβ”€β”€ useAdmin.ts     # Admin and section editing
    β”‚   β”‚   └── useEvaluation.ts # Evaluation operations
    β”‚   └── lib/rpc.ts    # Typed RPC client
    └── package.json

πŸ› οΈ Development Workflow

Core Commands

  • npm run dev - Start development server with hot reload
  • npm run gen - Generate types for external integrations
  • npm run gen:self - Generate types for your own tools/workflows
  • npm run deploy - Deploy to production
  • npm run db:generate - Generate database migration files

Key Features

  • Admin Mode: Toggle admin mode to edit AI prompts and re-expand sections
  • Section Editing: Click edit on any section to customize AI generation
  • Evaluation: Built-in multi-criteria evaluation with configurable criteria
  • Export: Copy JSON data or development-ready prompts
  • Real-time Updates: Changes reflect immediately with optimistic UI

πŸ’‘ Usage Examples

Basic Workflow

  1. Input: "Create a workshop management system with WhatsApp integration"
  2. AI Expansion: Generates comprehensive plan with architecture, data models, tools, workflows, and implementation phases
  3. Admin Mode: Edit individual sections (e.g., modify "features" prompt to add specific requirements)
  4. Evaluation: Run multi-criteria assessment (ambiguity, market potential, feasibility, innovation)
  5. Export: Copy development prompt and paste into Cursor/Claude for implementation

Development Integration

# After exporting from Pronto:
npm create deco
# Follow setup steps
# Open Cursor/Claude
# Paste the exported development prompt
# AI builds the complete application

πŸ—οΈ Architecture Highlights

Clean Architecture

  • Domain-organized tools with clear separation of concerns
  • Type-safe RPC communication between frontend and backend
  • Automatic database migrations with Drizzle ORM
  • Optimistic UI updates for responsive user experience

AI Integration

  • Structured generation with JSON schema validation
  • Section-level re-expansion for granular control
  • Configurable evaluation criteria for idea assessment
  • Export-ready prompts for seamless development workflow

🌟 Color Scheme

Pronto uses a modern, calming color palette:

  • Primary: #86DEE8 (Light Blue) - Main elements and backgrounds
  • Secondary: #A1C5F9 (Purple-Blue) - Accents and highlights
  • Accent: #FEE38B (Warm Yellow) - Admin mode and interactive elements

πŸ“– Learn More


Transform your ideas into actionable development plans with AI-powered precision.
Ready to build the future? Start with Pronto! πŸš€

About

WIP concept app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages