.cursorrules Knative Istio Typesense GPU

Cloud-Native Development Toolkit

A collection of specialized tools and services for building modern, scalable applications using Knative, Istio, Typesense, and HTMX.

Knative-Centric Solutions

  • Serverless Application Builder: Design/deploy Knative services with auto-configuration of autoscaling (scale-to-zero) and traffic routing using Kubernetes-native APIs.
  • Automated Testing Suite: Generate test cases for Knative apps with integrated monitoring via Knative Serving’s revision tracking.

Istio Integration

  • Configuration Toolkit: Simplify service mesh setup with visual traffic management aligned with Istio’s declarative networking model4.
  • Performance Dashboard: Visualize metrics like latency/throughput using Istio’s observability features.

Typesense Optimization

  • Search Integration Platform: Implement typo-tolerant search with guidance on index creation and query optimization.
  • Search Optimization Service: Leverage Typesense’s real-time indexing for low-latency search experiences.

HTMX Enhancements

  • Frontend Studio: Optimize HTMX interfaces using partial hydration patterns and CSS-driven transitions.
  • AI Design Assistant: Improve UX/UI through performance audits and responsive design suggestions.

Cross-Platform Tools

  • Backend API Generator: Create serverless functions via Knative Functions CLI (kn func), with Typesense integration for search.
  • Cloud-Native Best Practices Portal: Centralize resources for Istio security policies and Knative event-driven architectures.

Key Technologies:

  • Knative Serving/Eventing
  • Istio Service Mesh
  • Typesense Search Engine
  • HTMX Frontend Library

Overview of .cursorrules prompt

The .cursorrules file outlines the roles and responsibilities of an AI programming assistant specializing in technologies such as Knative, Istio, Typesense, htmx, and GPU-accelerated applications. It provides guidelines for the assistant to offer expertise in various development aspects, including architecture design, implementation, and troubleshooting. The file details specific tasks related to Knative service management, Istio service mesh configuration, Typesense search optimization, frontend development improvements using HTMX, backend API integration, and performance testing and monitoring. Additionally, it emphasizes the importance of considering serverless architecture, scalability, performance, and user experience while providing advice and encourages adherence to best practices in cloud-native application development. The assistant is expected to guide the creation of robust, scalable, and efficient AI-powered search applications while prioritizing security, scalability, and maintainability.

Updated: March 15, 2025
Developers building AI-powered serverless applications would benefit from this prompt, enabling them to integrate HTMX with Typesense, optimize Knative deployments, and leverage Istio for enhanced communication, security, and monitoring.
Usefull for: