Developer Docs
Framework-focused prompting strategies and development patterns for building applications with CodinIT. Each section provides proven patterns, best practices, and ready-to-use prompts tailored to specific technology stacks.
Overview
This library provides targeted prompting strategies for specific development frameworks. Each section contains proven patterns, best practices, and ready-to-use prompts tailored to the unique characteristics of each technology stack.
Pro Tip - These prompts are designed to work with any AI coding assistant. Adapt the examples to your specific project needs and requirements.
Supported Frameworks
Next.js Development
Full-stack React framework with SSR, API routes, and modern tooling for web applications.
React TypeScript Full-Stack
Python Development
Backend services, data processing, and general-purpose application development.
Backend Data Science APIs
Gradio Development
Rapid ML model deployment and interactive data science applications.
ML/AI Interactive Prototyping
Streamlit Development
Data apps and dashboards with Python-first development approach.
Data Apps Dashboards Analytics
Next.js Development
Project Setup & Architecture
Create a new Next.js 14 application with the following specifications:
**Tech Stack:**
- Next.js 14 with App Router
- TypeScript for type safety
- Tailwind CSS for styling
- Prisma with PostgreSQL for database
- NextAuth.js for authentication
**Project Structure:**
- `/app` directory structure with proper layouts
- `/components` for reusable UI components
- `/lib` for utilities and database configuration
- `/types` for TypeScript definitions
**Initial Features:**
- Landing page with hero section and navigation
- User authentication (sign up, login, logout)
- Protected dashboard route
- Responsive design with dark mode support
Set up the basic project structure and create placeholder components.
Design a component architecture for a [describe app type] application:
**Component Categories:**
- UI components (buttons, inputs, cards)
- Layout components (header, sidebar, footer)
- Feature components (user profile, product listing)
- Page components (home, dashboard, settings)
**Requirements:**
- TypeScript interfaces for all props
- Compound component patterns where appropriate
- Accessibility features (ARIA labels, keyboard navigation)
- Consistent styling with Tailwind CSS variants
Include examples of 2-3 components with proper TypeScript typing.
Python Development
API Development
Create a FastAPI application with the following requirements:
**Features:**
- RESTful API with CRUD operations
- User authentication with JWT tokens
- Database integration with SQLAlchemy
- Input validation with Pydantic
- Automated API documentation
**Structure:**
- `/models` for database models
- `/routers` for API endpoints
- `/schemas` for Pydantic models
- `/auth` for authentication logic
Include user registration, login, and protected endpoints.
Build a data processing pipeline that:
**Input Sources:**
- CSV files from uploads
- Database queries
- API endpoints
**Processing Steps:**
- Data cleaning and validation
- Statistical analysis
- Visualization generation
- Export to multiple formats
**Output:**
- Processed datasets
- Summary statistics
- Interactive charts
- Automated reports
Use pandas, numpy, and plotly for implementation.
Gradio Development
Interactive ML Applications
Create a Gradio interface for [ML model type]:
**Interface Components:**
- File upload for input data
- Parameter sliders for model tuning
- Real-time prediction display
- Confidence scores and explanations
- Download results functionality
**Features:**
- Batch processing capabilities
- Model comparison tools
- Performance metrics display
- Error handling and validation
Include examples with sample data and clear instructions.
Build a Gradio dashboard for data exploration:
**Components:**
- Dataset upload and preview
- Interactive charts and plots
- Statistical summary tables
- Filter and search capabilities
- Export functionality
**Visualizations:**
- Distribution plots
- Correlation matrices
- Time series analysis
- Geographic mapping (if applicable)
Make it responsive and user-friendly for non-technical users.
Streamlit Development
Data Dashboards
Create a comprehensive analytics dashboard using Streamlit:
**Data Sources:**
- Multiple data source connections (CSV, database, API)
- Real-time data refresh capabilities
- Data caching for performance
- Error handling for data loading
**Dashboard Layout:**
- Multi-page application structure
- Sidebar navigation and filters
- Responsive grid layout
- Customizable date ranges
- Export functionality
**Visualizations:**
- KPI metrics with st.metric()
- Interactive charts with Plotly
- Data tables with filtering/sorting
- Geographic visualizations
Include caching and performance optimization.
Build a complete ML application with Streamlit:
**Features:**
- Model training interface
- Hyperparameter tuning
- Performance evaluation
- Prediction interface
- Model deployment options
**Components:**
- Data upload and preprocessing
- Model selection and training
- Results visualization
- Model comparison tools
- Export trained models
Include proper error handling and user guidance.
Development Best Practices
Quality Assurance - Follow these practices for professional-grade applications regardless of framework choice.
Code Quality Guidelines
Step 1: Planning & Design
Start with clear requirements and architecture design before implementation.
Step 2: Iterative Development
Build features incrementally with regular testing and validation.
Step 3: Code Review
Implement peer review processes for maintaining code quality standards.
Step 4: Deployment & Monitoring
Set up automated deployment with proper monitoring and error tracking.
Framework Selection Guide
Choose the right framework based on your project requirements:
Framework | Best For | Use Cases |
---|---|---|
Next.js | Full-stack web apps | E-commerce, SaaS, Marketing sites |
Python | Backend services | APIs, Data processing, Automation |
Gradio | ML demos | Model prototyping, Research demos |
Streamlit | Data applications | Analytics dashboards, BI tools |
Getting Started
Ready to start building? Choose your framework and begin with the appropriate prompt templates. Remember to adapt these examples to your specific project needs.
Quick Start Checklist
- Identify your project requirements and constraints
- Choose the appropriate framework for your use case
- Start with a basic project setup prompt
- Iterate with specific feature implementation prompts
- Apply best practices for code quality and security
- Set up proper testing and deployment workflows
Need Help?
These prompts are starting points. Feel free to modify them based on your specific requirements, and don't hesitate to break complex tasks into smaller, more manageable prompts.
Pro Tip: Combine multiple prompts for complex applications, building one feature at a time.