prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub
p

pooria bahrami

@mirm14354

19prompts
0bots
0teams
0upvotes received
0contributions
Joined about 6 hours ago
19 contributions in the last year
Dec
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
M
W
F
Less
More
Model UI
Text

Model UI is a lightweight, reliable AI chat interface where users type English prompts and interact with connected AI models through a clean, fast, and customizable UI.

PROJECT: Model UI

ROLE:
Act as a senior software architect, full-stack developer, UI/UX designer, AI integration engineer, QA engineer, DevOps engineer, and security engineer.

GOAL:
Build a complete, production-ready AI chat and model-interface application called Model UI.

TARGET USERS:
Developers, AI enthusiasts, teams, and businesses that want a simple, stable, and customizable interface to chat with AI models through API-connected providers without relying on a complex or buggy alternative.

BUSINESS CONTEXT:
Model UI provides a clean web interface for interacting with AI models. Users type English prompts, select a connected model, send messages, receive responses, manage conversations, and configure AI providers securely. The platform focuses on reliability, performance, simplicity, and extensibility.

CORE FEATURES:
1. User registration, login, logout, password reset, profile management, and multi-device session management.
2. Create, rename, search, pin, archive, delete, and restore chat conversations.
3. Send English prompts to connected AI models and receive streaming responses.
4. Select AI model, provider, temperature, max tokens, top_p, system prompt, and response format before sending a message.
5. Support multiple AI providers through a provider-agnostic API integration layer, including OpenAI, Anthropic, Google Gemini, Azure OpenAI, Ollama, LM Studio, vLLM, and custom OpenAI-compatible endpoints.
6. Store and manage API keys securely with encryption, masking, expiration, usage limits, and provider health checks.
7. Create and manage reusable prompt templates with variables, categories, tags, and favorites.
8. Conversation history with message editing, regeneration, copy, export, branching, and deletion.
9. Attach files to chats, including images, PDFs, text files, Markdown files, and code files, where the selected model supports them.
10. Code block rendering with syntax highlighting, copy button, language label, and download option.
11. Markdown rendering for headings, lists, tables, links, images, blockquotes, and inline code.
12. Real-time streaming responses with stop generation, retry, regenerate, and error recovery.
13. Token usage, cost estimation, response latency, and model information displayed for each response.
14. Offline draft saving so users do not lose typed prompts if the connection is interrupted.
15. Keyboard shortcuts for new chat, search, send message, stop generation, and switch models.
16. Dark mode, light mode, system theme, custom accent color, and font-size accessibility settings.
17. Import and export conversations as JSON, Markdown, or plain text.
18. Admin dashboard for user management, provider management, usage analytics, model availability, and abuse monitoring.
19. Audit logs for login events, provider configuration changes, API key access, model calls, and administrative actions.

USER STORIES:
- As a user, I want to type an English prompt and receive an AI response so that I can complete my task quickly.
- As a user, I want to choose between different AI models so that I can use the best model for my needs.
- As a developer, I want to connect my own AI provider API so that I can use my preferred model.
- As a user, I want to save prompt templates so that I can reuse common instructions.
- As a user, I want to view conversation history so that I can continue previous discussions.
- As a user, I want to export a conversation so that I can save or share important results.
- As an admin, I want to manage providers and API keys so that I can maintain secure and reliable AI access.

TECH STACK:
- Frontend: Next.js + TypeScript + Tailwind CSS
- Backend: Node.js + NestJS + TypeScript
- Database: PostgreSQL with Prisma ORM
- Cache and rate limiting: Redis
- Authentication: JWT authentication with refresh tokens
- AI provider integration: OpenAI-compatible API client with provider abstraction
- Streaming: Server-Sent Events or WebSockets
- File storage: AWS S3, Cloudflare R2, or MinIO
- Validation: Zod
- Testing: Vitest, Supertest, and Playwright
- Deployment: Docker, docker-compose, GitHub Actions, and a cloud platform such as Vercel, Railway, Render, or AWS

ARCHITECTURE:
- Use a clean, modular, scalable architecture.
- Separate UI, chat service, provider integration layer, model registry, prompt-template service, file service, usage tracking, and administration.
- Use a provider-agnostic adapter pattern so new AI providers can be added without changing the core chat engine.
- Use streaming responses to display AI output progressively.
- Store conversations, messages, model settings, and usage metadata in a relational database.
- Use Redis for session caching, rate limiting, and temporary streaming state.
- Use centralized error handling, structured logs, distributed tracing, and correlation IDs.
- Make the application maintainable, testable, and production-ready.

USER INTERFACE:
- Build a modern, clean, fast, responsive, and accessible UI.
- Create a sidebar with conversation list, search, pinned chats, archived chats, and new-chat button.
- Create a main chat area with message bubbles, streaming indicator, model selector, settings panel, and input box.
- Build a prompt input with multiline support, file attachment, prompt-template insertion, token counter, and send/stop buttons.
- Build a message actions menu with copy, regenerate, edit, delete, branch, and export.
- Build a settings page for AI providers, API keys, default model, appearance, shortcuts, privacy, and data export.
- Build an admin dashboard with users, providers, models, usage, errors, and audit logs.
- Include empty states, loading states, error states, offline indicators, and retry actions.
- Support dark mode, light mode, and system theme.
- Ensure keyboard navigation, screen-reader support, and accessible color contrast.

SECURITY & PRIVACY:
- Never hardcode API keys, provider tokens, passwords, or secrets.
- Store AI provider API keys encrypted at rest using a secure key-management approach.
- Use environment variables for infrastructure configuration and provide a .env.example file.
- Mask API keys, tokens, authorization headers, and sensitive fields in UI, logs, API responses, and audit logs.
- Validate and sanitize all user input on both client and server.
- Sanitize rendered Markdown and HTML to prevent XSS attacks.
- Protect against SQL injection, CSRF, clickjacking, prompt injection abuse, and insecure file uploads.
- Hash passwords using bcrypt or Argon2.
- Implement role-based access control and server-side authorization for conversations, providers, API keys, and administrative actions.
- Require explicit confirmation before deleting conversations, API keys, providers, or account data.
- Do not expose sensitive data, stack traces, tokens, internal provider errors, or internal system details in logs or API responses.
- Apply rate limiting to authentication, chat requests, file uploads, and provider API calls.
- Use secure cookies, token expiration, refresh-token rotation, and device-session revocation.
- Allow users to control whether their conversations are stored, used for analytics, or shared with administrators.

DATA MODEL:
- User: id, name, email, passwordHash, avatarUrl, role, organizationId, emailVerified, createdAt, updatedAt.
- Organization: id, name, ownerId, plan, createdAt, updatedAt.
- OrganizationMember: id, organizationId, userId, role, joinedAt.
- AiProvider: id, organizationId, name, providerType, baseUrl, apiVersion, status, isDefault, createdAt, updatedAt.
- AiCredential: id, organizationId, aiProviderId, name, encryptedApiKey, keyVersion, usageLimit, lastUsedAt, status, createdBy, createdAt, updatedAt.
- AiModel: id, aiProviderId, modelId, displayName, contextWindow, supportsStreaming, supportsFiles, supportsTools, isActive, createdAt, updatedAt.
- Conversation: id, userId, organizationId, title, modelId, systemPrompt, temperature, maxTokens, topP, isPinned, isArchived, createdAt, updatedAt, deletedAt.
- Message: id, conversationId, role, content, modelId, providerId, tokenUsage, latencyMs, status, createdAt, updatedAt.
- MessageAttachment: id, messageId, uploaderId, fileUrl, fileName, fileSize, mimeType, checksum, createdAt.
- PromptTemplate: id, userId, organizationId, title, content, variablesJson, category, tags, isFavorite, createdAt, updatedAt.
- UsageRecord: id, userId, organizationId, providerId, modelId, conversationId, promptTokens, completionTokens, totalTokens, estimatedCost, createdAt.
- AuditLog: id, organizationId, userId, action, resourceType, resourceId, metadata, ipAddress, createdAt.

BUSINESS RULES:
- Users must be able to type and send prompts in English.
- The interface must clearly display the selected model, provider, temperature, max tokens, and response status.
- A message must not be sent if no active provider or model is selected.
- Streaming must be cancellable at any time.
- If a provider request fails, the user must see a clear error and be able to retry or regenerate.
- API keys must never be returned in plain text after creation.
- Deleted conversations must use soft delete with recovery support.
- Only authorized users can access their own conversations and provider configurations.

TESTING & QUALITY:
- Write unit tests for provider adapters, prompt validation, token usage calculation, streaming state, markdown sanitization, and settings validation.
- Write integration tests for authentication, conversation CRUD, message sending, streaming, provider selection, file upload, and usage tracking.
- Write end-to-end tests for registration, login, creating a chat, sending an English prompt, receiving a streamed response, regenerating a response, exporting a chat, and deleting a conversation.
- Include tests for invalid input, unauthorized access, expired API keys, provider failures, streaming interruption, XSS attempts, and destructive actions.
- Ensure the project passes linting, type checking, build, and all tests.

DELIVERABLES:
- Complete source code with no placeholders or unfinished features.
- Frontend source code for the chat interface.
- Backend source code for authentication, conversations, AI provider integration, streaming, usage tracking, and administration.
- README with project overview, setup, environment variables, database setup, run commands, and deployment instructions.
- Configuration files for development, testing, and production.
- Database migrations and optional seed data.
- API documentation or endpoint reference.
- Docker and docker-compose configuration.
- CI/CD pipeline or deployment instructions.
- Test suite and instructions to run tests.

IMPLEMENTATION RULES:
- Build real working features, not mockups or placeholder code.
- Implement every required feature completely.
- Handle errors gracefully with meaningful user-facing messages.
- Use clean, modular, maintainable, and well-organized code.
- Avoid deprecated libraries, insecure patterns, and unnecessary dependencies.
- If information is missing, state assumptions clearly before implementing.
- Do not claim that a feature works unless it is implemented and verified through tests or a runnable flow.
- If the task is too large for one response, create a phased implementation plan first, then implement phase by phase.

OUTPUT:
1. Start with a short architecture plan, technology decisions, and project structure.
2. Then implement the application phase by phase.
3. After each phase, summarize what was completed and what remains.
4. At the end, provide:
   - Completed features
   - Files created
   - Database schema
   - API endpoints
   - AI provider integration design
   - Tests run
UIAI Agent
P@mirm14354
0
ModelForge
Text

ModelForge is an AI-powered model-building platform that connects to AI providers through API keys, accepts a user prompt, and automatically designs, generates, validates, and deploys a custom machine-learning model inside the system.

PROJECT: ModelForge

ROLE:
Act as a senior software architect, full-stack developer, machine-learning engineer, MLOps engineer, UI/UX designer, QA engineer, DevOps engineer, and security engineer.

GOAL:
Build a complete, production-ready AI model-building platform called ModelForge.

TARGET USERS:
Developers, data scientists, product teams, startups, and businesses that want to create custom machine-learning models by describing their goal in natural language, connecting an AI provider through an API, and letting the system build, train, evaluate, and deploy the model.

BUSINESS CONTEXT:
ModelForge removes the complexity of building machine-learning models. A user provides a prompt describing the desired model, uploads or connects a dataset, selects an AI provider API, and the platform automatically generates a model plan, training pipeline, code, evaluation report, and deployable model endpoint.

CORE FEATURES:
1. User registration, login, logout, password reset, profile management, and organization/workspace management.
2. Role-based access control with Owner, Admin, Data Scientist, Developer, and Viewer roles.
3. Connect AI providers through secure API integrations, including OpenAI, Anthropic, Google Gemini, Azure OpenAI, Hugging Face, and custom OpenAI-compatible endpoints.
4. Store and manage API keys securely with encryption, secret masking, key rotation, usage limits, and provider health checks.
5. Create a model-building request by entering a natural-language prompt, such as: “Build a model that predicts customer churn from my CSV dataset.”
6. AI-assisted model planning that converts the user prompt into a structured model specification including problem type, target variable, features, preprocessing steps, model candidates, evaluation metrics, and deployment requirements.
7. Dataset upload and connection supporting CSV, Excel, JSON, Parquet, SQL databases, Google Sheets, and cloud storage.
8. Automated dataset profiling including missing values, data types, duplicates, outliers, class imbalance, correlations, and data-quality warnings.
9. Automated data preprocessing including missing-value handling, encoding, scaling, feature engineering, train/validation/test splitting, and data leakage prevention.
10. Automatic model selection and training for classification, regression, clustering, time-series forecasting, recommendation, anomaly detection, and text classification.
11. Support traditional ML models such as Logistic Regression, Random Forest, XGBoost, LightGBM, and SVM, with optional deep-learning workflows.
12. Hyperparameter tuning using grid search, random search, or Bayesian optimization.
13. Model evaluation with accuracy, precision, recall, F1 score, ROC-AUC, confusion matrix, RMSE, MAE, R2 score, and custom metrics.
14. Model comparison dashboard showing performance, training time, feature importance, and recommended best model.
15. Automatic generation of training code, preprocessing pipeline, model card, evaluation report, and deployment configuration.
16. Model versioning with training history, dataset version, parameters, metrics, artifacts, and reproducibility metadata.
17. Model deployment as a REST API endpoint with authentication, rate limiting, input validation, monitoring, and rollback support.
18. Batch prediction through file upload and asynchronous job processing.
19. Real-time prediction API with request/response logging, latency tracking, and error monitoring.
20. Model monitoring for data drift, prediction drift, accuracy degradation, latency, error rate, and usage.
21. Human-in-the-loop review before production deployment.
22. Audit logs for prompt submissions, AI provider calls, dataset access, model training, deployments, and secret usage.

USER STORIES:
- As a business user, I want to describe my goal in plain language so that I can create a machine-learning model without writing code.
- As a data scientist, I want to upload a dataset and receive preprocessing suggestions so that I can improve model quality.
- As a developer, I want to connect an AI provider API so that the platform can generate a model-building plan and training pipeline.
- As a user, I want to compare model performance so that I can select the best model for my task.
- As a developer, I want to deploy the selected model as an API so that my application can use it.
- As an admin, I want to monitor model health and API usage so that I can maintain reliability and control costs.
- As a security officer, I want API keys and datasets to remain protected so that sensitive information is not exposed.

TECH STACK:
- Frontend: Next.js + TypeScript + Tailwind CSS
- Backend: Node.js + NestJS + TypeScript
- Machine-learning service: Python + FastAPI
- ML libraries: scikit-learn, XGBoost, LightGBM, pandas, NumPy, and joblib
- Optional deep learning: PyTorch
- Database: PostgreSQL with Prisma ORM
- Queue and background jobs: Celery with Redis or BullMQ with Redis
- Object storage: AWS S3, MinIO, or Cloudflare R2
- AI provider integration: OpenAI-compatible API client with provider abstraction
- Authentication: JWT authentication with refresh tokens
- Validation: Zod for TypeScript and Pydantic for Python
- Testing: Vitest, Supertest, Playwright, pytest, and Great Expectations
- Observability: OpenTelemetry, Prometheus, Grafana, and structured logging
- Deployment: Docker, docker-compose, GitHub Actions, and Kubernetes-ready configuration

ARCHITECTURE:
- Use a clean, modular, scalable architecture.
- Separate UI, API gateway, AI orchestration service, dataset service, preprocessing service, training service, evaluation service, model registry, deployment service, and monitoring service.
- Use an event-driven architecture with queues for dataset processing, AI planning, training, evaluation, and deployment jobs.
- Use a provider-agnostic AI integration layer so multiple AI APIs can be connected without changing the core system.
- Store AI-generated plans, generated code, training runs, metrics, artifacts, and deployment configurations as versioned records.
- Use sandboxed execution for AI-generated training code to prevent unsafe operations.
- Use a model registry to track model versions, artifacts, metrics, datasets, and deployment status.
- Use centralized error handling, structured logs, distributed tracing, and correlation IDs.
- Make the system horizontally scalable, observable, reproducible, and production-ready.

USER INTERFACE:
- Build a modern, clean, responsive, and accessible UI.
- Include desktop, tablet, and mobile layouts.
- Create a dashboard with active models, recent training jobs, model health, API usage, and alerts.
- Build a model creation wizard with prompt input, dataset selection, AI provider selection, target variable selection, problem type, constraints, and review step.
- Build a dataset profiling page with data-quality insights, charts, missing-value analysis, distributions, and preprocessing recommendations.
- Build a training page with real-time job status, logs, progress, metrics, and cancellation support.
- Build a model comparison page with metric tables, charts, feature importance, confusion matrix, and model recommendation.
- Build a deployment page with endpoint configuration, authentication, rate limits, environment selection, and rollback controls.
- Build a monitoring page with prediction volume, latency, error rate, data drift, and model performance trends.
- Include modals, toast notifications, empty states, loading states, and error states.
- Support dark mode and light mode.
- Ensure keyboard navigation, screen-reader support, and accessible color contrast.

SECURITY & PRIVACY:
- Never hardcode API keys, provider tokens, passwords, database credentials, or secrets.
- Store AI provider API keys encrypted at rest using a secure key-management approach.
- Use environment variables for infrastructure configuration and provide a .env.example file.
- Mask API keys, tokens, authorization headers, and sensitive fields in UI, logs, API responses, and execution history.
- Validate and sanitize all user input on both client and server.
AI AgentAPIMachine Learning
P@mirm14354
0
CrossNote
Text

CrossNote is a cross-platform note-taking and knowledge-management application that runs on Android, iOS, Windows, and Linux, with installable executable files for desktop and mobile platforms.

PROJECT: CrossNote

ROLE:
Act as a senior software architect, cross-platform full-stack developer, UI/UX designer, desktop/mobile engineer, QA engineer, DevOps engineer, and security engineer.

GOAL:
Build a complete, production-ready cross-platform note-taking and knowledge-management application called CrossNote.

TARGET USERS:
Students, writers, developers, researchers, and professionals who need to capture notes, organize knowledge, sync content across devices, and access their notes offline on Android, iOS, Windows, and Linux.

BUSINESS CONTEXT:
CrossNote helps users capture ideas, organize notes into notebooks and tags, search content quickly, attach files, sync securely across devices, and work offline. It provides native-feeling applications for mobile and desktop with installable executable files.

CORE FEATURES:
1. User registration, login, logout, password reset, profile management, and multi-device session management.
2. Create, edit, delete, restore, duplicate, archive, and pin notes.
3. Organize notes into notebooks, folders, tags, favorites, and trash.
4. Rich-text note editor with headings, lists, checkboxes, code blocks, tables, links, images, and file attachments.
5. Markdown support with live preview and Markdown import/export.
6. Full-text search across note titles, content, tags, and attachments.
7. Offline-first architecture: users can create and edit notes without an internet connection.
8. Secure cloud synchronization with conflict detection, merge resolution, and version history.
9. End-to-end encryption option for private notes.
10. File attachments including images, PDFs, documents, audio, and videos.
11. Note sharing through secure links with optional password protection and expiration date.
12. Collaboration on shared notebooks with role-based permissions.
13. Reminders, due dates, checklists, and task-style notes.
14. Dark mode, light mode, custom themes, and font-size accessibility settings.
15. Global keyboard shortcuts, command palette, and quick-capture window on desktop.
16. Import notes from Markdown, plain text, HTML, and Evernote-compatible export files.
17. Export notes to Markdown, PDF, HTML, plain text, and JSON.
18. Automatic backups and local encrypted backup export.
19. Cross-platform sync status indicator showing synced, pending, conflicted, and offline items.
20. Admin dashboard for user management, storage usage, subscription plans, and abuse monitoring.

USER STORIES:
- As a student, I want to organize notes into notebooks and tags so that I can find information quickly.
- As a writer, I want to write notes offline so that I can continue working without an internet connection.
- As a professional, I want to sync notes across Android, iOS, Windows, and Linux so that my content is always up to date.
- As a privacy-focused user, I want to encrypt my private notes so that only I can read them.
- As a team member, I want to collaborate on shared notebooks so that we can work together efficiently.
- As a desktop user, I want an installable executable file so that I can install CrossNote on Windows or Linux.
- As a mobile user, I want installable Android and iOS applications so that I can access my notes on my phone.

TECH STACK:
- Cross-platform application: Flutter + Dart
- Desktop packaging: Flutter Windows executable and Linux AppImage, DEB, or RPM
- Mobile packaging: Android APK/AAB and iOS IPA/App Store deployment package
- Backend: Node.js + NestJS + TypeScript
- Database: PostgreSQL with Prisma ORM
- Local database: SQLite with Drift
- Authentication: JWT authentication with refresh tokens
- File storage: AWS S3 or Cloudinary
- Real-time sync: WebSockets or Socket.IO
- Background sync: WorkManager for Android, Background Tasks for iOS, and system scheduler for desktop
- State management: Riverpod
- Validation: Freezed and custom validators
- Testing: Flutter test, integration_test, and Patrol
- Deployment: GitHub Actions, Fastlane, Docker, and cloud platform such as Railway, Render, or AWS

ARCHITECTURE:
- Use a clean, modular, scalable architecture.
- Separate UI, presentation logic, domain models, repositories, local data source, remote data source, sync engine, encryption layer, and external integrations.
- Use offline-first design with local SQLite as the source of truth.
- Use background synchronization with conflict detection and deterministic merge rules.
- Use a repository pattern to abstract local and remote data sources.
- Use versioned sync records and timestamps to prevent data loss.
- Use dependency injection for testability and maintainability.
- Make the application scalable, maintainable, and production-ready.

USER INTERFACE:
- Build a modern, clean, responsive, and platform-adaptive UI.
- Create a mobile layout with bottom navigation, note list, note editor, search, and settings.
- Create a desktop layout with sidebar navigation, multi-pane view, command palette, keyboard shortcuts, and resizable panels.
- Build a notebook and tag management screen.
- Build a rich-text editor with formatting toolbar, Markdown preview, attachments, checkboxes, and search within note.
- Build a sync status screen showing pending changes, conflicts, last sync time, and sync errors.
- Build a settings screen for account, appearance, sync, encryption, backups, storage, and shortcuts.
- Include empty states, loading states, error states, and offline indicators.
- Support dark mode, light mode, and system theme.
- Ensure accessibility, large-text support, keyboard navigation, and screen-reader compatibility.

SECURITY & PRIVACY:
- Never hardcode API keys, passwords, tokens, encryption keys, or secrets.
- Use secure environment configuration and provide a .env.example file.
- Store sensitive data using platform secure storage: Android Keystore, iOS Keychain, Windows Credential Manager, and Linux Secret Service where available.
- Encrypt local databases and sensitive files at rest.
- Use end-to-end encryption for optional private notes.
- Validate and sanitize all user input on client and server.
- Protect against SQL injection, XSS, CSRF, insecure file uploads, and malicious attachment handling.
- Hash passwords using bcrypt or Argon2.
- Implement role-based access control and server-side authorization checks.
- Require explicit confirmation before deleting notes, notebooks, attachments, backups, or account data.
- Do not expose sensitive data, stack traces, tokens, encryption keys, or internal errors in logs or API responses.
- Apply rate limiting to authentication and file-upload endpoints.
- Use secure cookies, token expiration, refresh-token rotation, and device-session revocation.
- Scan uploaded files for malicious content where applicable.

DATA MODEL:
- User: id, name, email, passwordHash, avatarUrl, plan, emailVerified, createdAt, updatedAt.
- Device: id, userId, deviceName, platform, appVersion, lastSyncAt, isActive, createdAt.
- Notebook: id, ownerId, title, description, color, icon, isShared, createdAt, updatedAt, deletedAt.
- Note: id, ownerId, notebookId, title, content, contentType, isPinned, isArchived, isEncrypted, createdAt, updatedAt, deletedAt, lastModifiedDeviceId, syncVersion.
- Tag: id, ownerId, name, color, createdAt, updatedAt.
- NoteTag: id, noteId, tagId.
- Attachment: id, noteId, uploaderId, fileUrl, localFilePath, fileName, fileSize, mimeType, checksum, createdAt.
- NoteVersion: id, noteId, versionNumber, snapshotJson, createdBy, createdAt.
- SharedNotebook: id, notebookId, userId, role, invitedBy, joinedAt.
- ShareLink: id, noteId, notebookId, slug, passwordHash, expiresAt, viewCount, createdBy, createdAt.
- Reminder: id, noteId, userId, remindAt, repeatRule, status, createdAt.
- SyncConflict: id, userId, noteId, localSnapshot, remoteSnapshot, resolutionStatus, createdAt, resolvedAt.
- Backup: id, userId, fileUrl, size, checksum, createdAt.
- AuditLog: id, userId, action, resourceType, resourceId, metadata, ipAddress, createdAt.

PLATFORM BUILD REQUIREMENTS:
- Build a Windows executable installer for x64 and ARM64 where applicable.
- Build a Linux AppImage, DEB package, and RPM package.
- Build an Android APK for direct installation and an Android App Bundle for Google Play.
- Build an iOS IPA package and provide App Store deployment instructions.
- Ensure the application works on Android, iOS, Windows, and Linux.
- Include platform-specific permissions, icons, splash screens, and app metadata.
- Provide signed build instructions and release configuration.
- Include automatic update support for desktop applications where feasible.
- Ensure offline functionality works without requiring a backend connection.

TESTING & QUALITY:
- Write unit tests for note CRUD, sync logic, conflict resolution, encryption, Markdown parsing, search, and backup/export.
- Write integration tests for authentication, notebooks, notes, attachments, sharing, reminders, and synchronization.
- Write end-to-end tests for creating notes offline, editing notes, syncing across devices, sharing notes, restoring deleted notes, and exporting notes.
- Include tests for invalid input, unauthorized access, sync conflicts, weak passwords, expired share links, corrupted attachments, and destructive actions.
- Ensure the project passes linting, type checking, build, and all tests.

DELIVERABLES:
- Complete source code with no placeholders or unfinished features.
- Flutter client source code for Android, iOS, Windows, and Linux.
- Backend source code for authentication, synchronization, sharing, storage, and administration.
- README with project overview, setup, environment variables, database setup, run commands, and deployment
iOSAndroidLinux+1
P@mirm14354
0
RouterMesh
Text

RouterMesh is an API orchestration and integration platform that connects multiple routers, APIs, internal tools, and services into unified, secure, and observable workflows.

PROJECT: RouterMesh

ROLE:
Act as a senior software architect, full-stack developer, backend engineer, UI/UX designer, QA engineer, DevOps engineer, and security engineer.

GOAL:
Build a complete, production-ready API integration and orchestration platform called RouterMesh.

TARGET USERS:
Developers, integration engineers, platform teams, and technical businesses that need to connect multiple APIs, routers, internal tools, and third-party services without building custom integration code for every connection.

BUSINESS CONTEXT:
RouterMesh allows teams to visually or programmatically connect APIs and routers to each other, transform request and response data, apply authentication, route traffic, retry failures, and trigger actions in internal tools. It reduces integration complexity and creates a centralized control plane for service-to-service communication.

CORE FEATURES:
1. User registration, login, logout, password reset, profile management, and organization/workspace management.
2. Role-based access control with Owner, Admin, Developer, Integrator, and Viewer roles.
3. Register and manage API endpoints, including REST, GraphQL, Webhook, and internal service APIs.
4. Configure API connections with base URL, authentication method, headers, query parameters, timeouts, retry policy, rate limits, and environment variables.
5. Support API keys, Bearer tokens, OAuth 2.0, Basic Auth, HMAC signatures, and custom authentication headers.
6. Create visual workflow builder to connect routers, APIs, internal tools, transformations, conditions, loops, and error handlers.
7. Create router-to-router connections where the output of one API can become the input of another API.
8. Create API-to-tool connections that send data to internal tools such as databases, queues, email services, CRMs, analytics platforms, and custom internal services.
9. Data mapping and transformation engine using JSONPath, JavaScript expressions, templates, field mapping, and conditional logic.
10. Request/response transformation, header manipulation, query rewriting, payload enrichment, filtering, and response validation.
11. Conditional routing based on HTTP status, response payload, headers, user roles, time, rate limits, or custom business rules.
12. Retry failed requests with exponential backoff, circuit breaker behavior, dead-letter queue, and fallback routes.
13. Webhook receiver and outbound webhook dispatcher with signature verification, retries, and event delivery logs.
14. Scheduled workflows using cron expressions and one-time scheduled executions.
15. Execution history with request/response snapshots, status, duration, retries, error messages, and trace ID.
16. Real-time monitoring dashboard showing API health, latency, success rate, error rate, throughput, active workflows, and failed executions.
17. Alerting through email, Slack, webhook, or internal notification when an API fails, latency exceeds a threshold, or a workflow repeatedly fails.
18. API mocking and sandbox environment for testing workflows before production deployment.
19. Import/export workflows and connection configurations as JSON.
20. Audit logs for configuration changes, secret access, workflow execution, and administrative actions.

USER STORIES:
- As a developer, I want to register an external API so that I can securely connect it to my workflows.
- As an integrator, I want to connect the response of one API to the request of another API so that I can automate multi-step processes.
- As a platform engineer, I want to route requests conditionally so that traffic goes to the correct service based on business rules.
- As a developer, I want to transform API responses so that downstream tools receive data in the required format.
- As an operations engineer, I want to monitor API failures and latency so that I can respond to incidents quickly.
- As an admin, I want to manage secrets and access permissions so that only authorized users can modify integrations.
- As a user, I want to view execution logs so that I can debug failed workflows.

TECH STACK:
- Frontend: Next.js + TypeScript + Tailwind CSS
- Workflow builder: React Flow
- Backend: Node.js + NestJS + TypeScript
- API Gateway and routing: Express or Fastify with a custom routing layer
- Database: PostgreSQL with Prisma ORM
- Queue and background jobs: BullMQ with Redis
- Real-time updates: Socket.IO or WebSockets
- Caching: Redis
- Authentication: JWT authentication with refresh tokens
- Secret management: HashiCorp Vault, AWS Secrets Manager, or encrypted database storage
- Validation: Zod
- Testing: Vitest, Supertest, and Playwright
- Observability: OpenTelemetry, Prometheus, Grafana, and structured logging
- Deployment: Docker, docker-compose, GitHub Actions, and Kubernetes-ready configuration

ARCHITECTURE:
- Use a clean, modular, scalable architecture.
- Separate UI, workflow engine, API gateway, connector layer, transformation engine, queue workers, monitoring, and data access.
- Use event-driven architecture for asynchronous workflows, retries, webhooks, and scheduled jobs.
- Use a queue-based execution model so long-running or failing workflows do not block API requests.
- Store workflow definitions as versioned JSON documents.
- Execute workflows through a deterministic, sandboxed engine with timeouts and resource limits.
- Use a connector abstraction so new API, router, and internal-tool integrations can be added without changing the core engine.
- Use centralized error handling, structured logs, distributed tracing, and correlation IDs.
- Make the system horizontally scalable, observable, and production-ready.

USER INTERFACE:
- Build a modern, clean, responsive, and accessible UI.
- Include desktop, tablet, and mobile layouts.
- Create a dashboard with API health, workflow success rate, latency charts, recent executions, and active alerts.
- Build a visual workflow canvas using React Flow with draggable nodes, connections, zoom, pan, undo/redo, and validation indicators.
- Provide node types for API Request, Router, Condition, Transformation, Delay, Loop, Webhook, Internal Tool, Error Handler, and End.
- Build an API connection manager with forms for base URL, authentication, headers, timeouts, retries, rate limits, and environment selection.
- Build an execution history page with filters, trace IDs, status, request/response viewer, error details, and retry action.
- Build a monitoring page with charts, health indicators, error breakdowns, latency percentiles, and alert configuration.
- Include modals, toast notifications, empty states, loading states, and error states.
- Support dark mode and light mode.
- Ensure keyboard navigation, screen-reader support, and accessible color contrast.

SECURITY & PRIVACY:
- Never hardcode API keys, passwords, tokens, client secrets, certificates, or any other credentials.
- Store secrets encrypted at rest using a secure key-management approach.
- Use environment variables for infrastructure configuration and provide a .env.example file.
- Mask secrets, tokens, authorization headers, and sensitive fields in UI, logs, API responses, and execution history.
- Validate and sanitize all user input on both client and server.
- Protect against SSRF, SQL injection, XSS, CSRF, clickjacking, insecure deserialization, and unsafe JavaScript execution.
- Restrict outbound requests with an allowlist or policy engine to prevent SSRF and unauthorized internal-network access.
- Implement role-based access control and server-side authorization for every workflow, connection, secret, and execution action.
- Require explicit confirmation before deleting connections, workflows, secrets, execution history, or production configurations.
- Use secure sandboxing or restricted execution for user-defined JavaScript transformations.
- Apply rate limiting, request timeouts, payload-size limits, retry limits, and circuit breakers.
- Sign outbound webhooks and verify inbound webhook signatures.
- Use secure cookies, token expiration, refresh-token rotation, and audit logging.
- Do not expose sensitive data, stack traces, tokens, internal IPs, or internal errors in logs or API responses.

DATA MODEL:
- User: id, name, email, passwordHash, avatarUrl, role, organizationId, emailVerified, createdAt, updatedAt.
- Organization: id, name, ownerId, plan, createdAt, updatedAt.
- OrganizationMember: id, organizationId, userId, role, joinedAt.
- ApiConnection: id, organizationId, name, type, baseUrl, authType, authConfigRef, headers, defaultQueryParams, timeoutMs, retryPolicy, rateLimit, environment, status, createdBy, createdAt, updatedAt.
- Secret: id, organizationId, name, encryptedValue, keyVersion, createdBy, lastAccessedAt, createdAt, updatedAt.
- Router: id, organizationId, name, description, routePath, httpMethod, status, version, createdBy, createdAt, updatedAt.
- RouterRule: id, routerId, priority, condition, targetConnectionId, targetPath, transformationId, fallbackConnectionId, isActive.
- Workflow: id, organizationId, name, description, status, currentVersion, createdBy, createdAt, updatedAt.
- WorkflowVersion: id, workflowId, versionNumber, definitionJson, createdBy, createdAt.
- WorkflowNode: id, workflowVersionId, nodeType, name, configurationJson, positionX, positionY.
- WorkflowEdge: id, workflowVersionId, sourceNodeId, targetNodeId, condition, label.
- InternalTool: id, organizationId, name, type, connectionConfig, status, createdBy, createdAt, updatedAt.
- Execution: id, organizationId, workflowId, workflowVersionId, triggerType, status, startedAt, finishedAt, durationMs, traceId, error, inputSnapshot, outputSnapshot.
- ExecutionStep: id, executionId, nodeId, name, status, requestSnapshot, responseSnapshot, startedAt, finishedAt, durationMs, retryCount, error.
- WebhookEndpoint: id, organizationId, name, url, secretRef, events, isActive, createdAt, updatedAt.
- WebhookDelivery: id, webhookEndpointId, eventId, payload, status, attempts, responseStatus, lastAttemptAt, nextRetryAt, createdAt.
- AlertRule: id, organizationId, name, condition, channel, recipients, isActive, createdAt, updatedAt.
- AuditLog: id, organizationId, userId, action, resourceType, resourceId, metadata, ipAddress, createdAt.

TESTING & QUALITY:
- Write unit tests for routing rules, transformations, authentication handling, retry logic, condition evaluation, and workflow validation.
- Write integration tests for API connection CRUD, workflow CRUD, execution, webhooks, secrets, permissions, and internal-tool integrations.
- Write end-to-end tests for creating a workflow, connecting two APIs, transforming data, executing the workflow, viewing logs, and handling failures.
- Include tests for invalid input, unauthorized access, expired credentials, SSRF attempts, webhook signature failures, timeouts, retries, and destructive actions.
- Ensure the project passes linting, type checking, build, and all tests.

DELIVERABLES:
- Complete source code with no placeholders or unfinished features.
- README with project overview, architecture, setup, environment variables, database setup, run commands, and deployment instructions.
- Configuration files for development, testing, and production.
- Database migrations and optional seed data.
- API documentation or endpoint reference.
- Docker and docker-compose configuration.
- Kubernetes manifests or deployment instructions.
- CI/CD pipeline configuration.
- Observability setup with logging, metrics, and tracing.
- Test suite and instructions to run tests.

IMPLEMENTATION RULES:
- Build real working features, not mockups or placeholder code.
- Implement every required feature completely.
- Handle errors gracefully with meaningful user-facing messages.
- Use clean, modular, maintainable, and well-organized code.
- Avoid deprecated libraries, insecure patterns, and unnecessary dependencies.
- If information is missing, state assumptions clearly before implementing.
- Do not claim that a feature works unless it is implemented and verified through tests or a runnable flow.
- If the task is too large for one response, create a phased implementation plan first, then implement phase by phase.

OUTPUT:
1. Start with a short architecture plan, technology decisions, and project structure.
2. Then implement the application phase by phase.
3. After each phase, summarize what was completed and what remains.
4. At the end, provide:
   - Completed features
   - Files created
   - Database schema
   - API endpoints
   - Workflow engine design
   - Tests run
   - Setup instructions
AI AgentRoutingAPI
P@mirm14354
0
MealPlan
Text

MealPlan is a smart meal-planning application that helps users create weekly meal plans, discover recipes, generate shopping lists, and track nutrition goals.

PROJECT: MealPlan

ROLE:
Act as a senior software architect, full-stack developer, UI/UX designer, QA engineer, and security engineer.

GOAL:
Build a complete, production-ready web application called MealPlan.

TARGET USERS:
Busy individuals, families, fitness enthusiasts, and people who want to plan healthy meals, save time on grocery shopping, and track their nutrition.

BUSINESS CONTEXT:
MealPlan helps users reduce decision fatigue around food, avoid food waste, eat healthier, and shop more efficiently. It turns recipes into organized weekly meal plans and automatically generated shopping lists.

CORE FEATURES:
1. User registration, email verification, login, logout, password reset, and profile management.
2. Create and manage personal recipes with ingredients, instructions, servings, preparation time, images, and tags.
3. Browse, search, filter, and favorite recipes by cuisine, diet, meal type, preparation time, calories, and ingredients.
4. Create weekly meal plans with breakfast, lunch, dinner, and snacks for each day.
5. Automatically generate a shopping list from selected recipes, combining duplicate ingredients and allowing manual edits.
6. Track pantry items, mark purchased ingredients, and receive low-stock reminders.
7. Calculate nutrition information for recipes and daily meal plans, including calories, protein, carbohydrates, and fat.
8. Set personal nutrition goals and dietary preferences, such as vegetarian, vegan, gluten-free, keto, or high-protein.
9. Generate recipe suggestions based on available pantry ingredients, dietary preferences, and nutrition goals.
10. Share recipes and meal plans through public read-only links.
11. Import recipes from a URL and parse basic recipe information.
12. Admin dashboard for managing reported recipes, users, and content quality.

USER STORIES:
- As a busy user, I want to create a weekly meal plan so that I do not have to decide what to cook every day.
- As a user, I want to generate a shopping list from my meal plan so that I can buy only what I need.
- As a health-conscious user, I want to see nutrition information so that I can align meals with my goals.
- As a user with dietary restrictions, I want to filter recipes by diet so that I can find suitable meals.
- As a user, I want to save favorite recipes so that I can quickly reuse them in future meal plans.
- As a user, I want to share a meal plan with my family so that everyone knows what will be cooked.

TECH STACK:
- Frontend: Next.js + TypeScript + Tailwind CSS
- Backend: Node.js + NestJS + TypeScript
- Database: PostgreSQL with Prisma ORM
- Authentication: JWT authentication with refresh tokens
- File storage: AWS S3 or Cloudinary
- Email service: Resend or SendGrid
- State management: React Query and Zustand
- Validation: Zod
- Testing: Vitest, Supertest, and Playwright
- Deployment: Docker, GitHub Actions, and a cloud platform such as Vercel, Railway, or Render

ARCHITECTURE:
- Use a clean, modular, scalable architecture.
- Separate UI, application/business logic, data access, domain models, and external integrations.
- Use a clear folder structure and consistent naming conventions.
- Use typed models, DTOs, validation schemas, and centralized error handling.
- Design REST APIs with clear request and response contracts.
- Use database transactions for multi-step operations.
- Make the application maintainable, testable, and production-ready.

USER INTERFACE:
- Build a modern, clean, responsive, and accessible UI.
- Include desktop, tablet, and mobile layouts.
- Create a dashboard with today’s meals, weekly plan overview, nutrition progress, and quick actions.
- Build a recipe library with cards, filters, search, ratings, tags, and favorites.
- Build a weekly calendar view for meal planning with drag-and-drop recipe assignment.
- Build a shopping-list page with categories, checkboxes, quantities, and editable items.
- Build a recipe detail page with ingredients, steps, nutrition facts, servings, and related recipes.
- Include modals, toast notifications, empty states, loading states, and error states.
- Support dark mode and light mode.
- Ensure keyboard navigation, screen-reader support, and accessible color contrast.

SECURITY & PRIVACY:
- Never hardcode API keys, passwords, tokens, or secrets.
- Use environment variables and provide a .env.example file.
- Validate and sanitize all user input on both client and server.
- Protect against SQL injection, XSS, CSRF, clickjacking, and insecure file uploads.
- Hash passwords using bcrypt or Argon2.
- Implement role-based access control and server-side authorization checks.
- Require explicit confirmation before deleting recipes, meal plans, shopping lists, or account data.
- Do not expose sensitive data, stack traces, tokens, or internal errors in logs or API responses.
- Apply rate limiting to authentication, recipe import, and public sharing endpoints.
- Use secure cookies, token expiration, and refresh-token rotation.

DATA MODEL:
- User: id, name, email, passwordHash, avatarUrl, dietaryPreferences, nutritionGoals, emailVerified, createdAt, updatedAt.
- Recipe: id, ownerId, title, description, imageUrl, servings, preparationTime, cookingTime, instructions, isPublic, createdAt, updatedAt.
- Ingredient: id, name, category, defaultUnit, nutritionPer100g.
- RecipeIngredient: id, recipeId, ingredientId, quantity, unit, optional.
- Tag: id, name, type.
- RecipeTag: id, recipeId, tagId.
- MealPlan: id, ownerId, title, startDate, endDate, isPublic, createdAt, updatedAt.
- MealPlanEntry: id, mealPlanId, date, mealType, recipeId, servings.
- ShoppingList: id, mealPlanId, ownerId, title, status, createdAt, updatedAt.
- ShoppingListItem: id, shoppingListId, ingredientId, name, quantity, unit, category, isPurchased, notes.
- PantryItem: id, userId, ingredientId, quantity, unit, expirationDate, createdAt, updatedAt.
- NutritionLog: id, userId, date, calories, protein, carbohydrates, fat, createdAt.
- ShareLink: id, resourceType, resourceId, slug, createdBy, expiresAt, viewCount, createdAt.

TESTING & QUALITY:
- Write unit tests for shopping-list generation, ingredient merging, nutrition calculations, meal-plan validation, and recipe search.
- Write integration tests for authentication, recipe CRUD, meal-plan CRUD, shopping lists, pantry items, and sharing.
- Write end-to-end tests for registration, login, recipe creation, meal-plan creation, shopping-list generation, sharing, and deletion.
- Include tests for invalid input, unauthorized access, expired share links, duplicate ingredients, and destructive actions.
- Ensure the project passes linting, type checking, build, and all tests.

DELIVERABLES:
- Complete source code with no placeholders or unfinished features.
- README with project overview, setup, environment variables, database setup, run commands, and deployment instructions.
- Configuration files for development, testing, and production.
- Database migrations and optional seed data.
- API documentation or endpoint reference.
- Docker and docker-compose configuration.
- CI/CD pipeline or deployment instructions.
- Test suite and instructions to run tests.

IMPLEMENTATION RULES:
- Build real working features, not mockups or placeholder code.
- Implement every required feature completely.
- Handle errors gracefully with meaningful user-facing messages.
- Use clean, modular, maintainable, and well-organized code.
- Avoid deprecated libraries, insecure patterns, and unnecessary dependencies.
- If information is missing, state assumptions clearly before implementing.
- Do not claim that a feature works unless it is implemented and verified through tests or a runnable flow.
- If the task is too large for one response, create a phased implementation plan first, then implement phase by phase.

OUTPUT:
1. Start with a short architecture plan, technology decisions, and project structure.
2. Then implement the application phase by phase.
3. After each phase, summarize what was completed and what remains.
4. At the end, provide:
   - Completed features
   - Files created
   - Database schema
   - API endpoints
   - Tests run
   - Setup instructions
   - Known limitations
   - Recommended next improvements
Planning
P@mirm14354
0
DevBoard
Text

DevBoard is a collaborative project-management platform that helps development teams plan work, track tasks, manage sprints, and monitor delivery progress in one place.

PROJECT: DevBoard

ROLE:
Act as a senior software architect, full-stack developer, UI/UX designer, QA engineer, and security engineer.

GOAL:
Build a complete, production-ready web application called DevBoard.

TARGET USERS:
Software development teams, product managers, and freelancers who need to organize projects, assign tasks, track progress, manage deadlines, and collaborate efficiently.

BUSINESS CONTEXT:
DevBoard helps teams replace scattered task lists and manual coordination with a centralized project-management system. It improves visibility into work status, accountability, deadlines, and team productivity.

CORE FEATURES:
1. User registration, email verification, login, logout, password reset, and profile management.
2. Create and manage workspaces, projects, teams, and members.
3. Role-based access control with Owner, Admin, Member, and Viewer roles.
4. Create projects with descriptions, deadlines, status, tags, and project members.
5. Create tasks with title, description, assignee, priority, labels, due date, estimate, and attachments.
6. Kanban board with customizable columns and drag-and-drop task movement.
7. Task detail page with comments, mentions, activity history, checklists, and file attachments.
8. Sprint planning with sprint start/end dates, backlog, active sprint, and completed sprint views.
9. Dashboard with project progress, overdue tasks, workload distribution, and upcoming deadlines.
10. Notifications for task assignment, mentions, comments, status changes, and approaching deadlines.
11. Global search across projects, tasks, comments, and members.
12. Export project tasks and reports to CSV or PDF.
13. Public read-only project sharing link with optional expiration date.

USER STORIES:
- As a team owner, I want to create a workspace and invite members so that my team can collaborate in one place.
- As a project manager, I want to create tasks and assign them to members so that work is clearly distributed.
- As a developer, I want to move tasks across a Kanban board so that I can update work status quickly.
- As a team member, I want to receive notifications when I am assigned a task or mentioned in a comment so that I do not miss important updates.
- As a manager, I want to view project progress and overdue tasks so that I can identify risks early.
- As a user, I want to export task reports so that I can share progress with stakeholders.

TECH STACK:
- Frontend: Next.js + TypeScript + Tailwind CSS
- Backend: Node.js + NestJS + TypeScript
- Database: PostgreSQL with Prisma ORM
- Authentication: JWT authentication with refresh tokens
- Real-time updates: Socket.IO or WebSockets
- File storage: AWS S3 or Cloudinary
- Email service: Resend or SendGrid
- State management: React Query and Zustand
- Validation: Zod
- Testing: Vitest, Supertest, and Playwright
- Deployment: Docker, GitHub Actions, and a cloud platform such as Vercel, Railway, or Render

ARCHITECTURE:
- Use a clean, modular, scalable architecture.
- Separate UI, application/business logic, data access, domain models, and external integrations.
- Use a clear folder structure and consistent naming conventions.
- Use typed models, DTOs, validation schemas, and centralized error handling.
- Design REST APIs with clear request and response contracts.
- Use database transactions for multi-step operations.
- Make the application maintainable, testable, and production-ready.

USER INTERFACE:
- Build a modern, clean, responsive, and accessible UI.
- Include desktop, tablet, and mobile layouts.
- Create a sidebar with workspaces, projects, sprints, notifications, and settings.
- Build a dashboard with charts, progress indicators, upcoming deadlines, and recent activity.
- Build a Kanban board with columns such as Backlog, In Progress, Review, and Done.
- Build a task detail drawer or page with description, assignee, due date, checklist, comments, attachments, and activity timeline.
- Include modals, toast notifications, empty states, loading states, and error states.
- Support dark mode and light mode.
- Ensure keyboard navigation, screen-reader support, and accessible color contrast.

SECURITY & PRIVACY:
- Never hardcode API keys, passwords, tokens, or secrets.
- Use environment variables and provide a .env.example file.
- Validate and sanitize all user input on both client and server.
- Protect against SQL injection, XSS, CSRF, clickjacking, and insecure file uploads.
- Hash passwords using bcrypt or Argon2.
- Implement role-based access control and server-side authorization checks.
- Require explicit confirmation before deleting projects, tasks, members, or shared links.
- Do not expose sensitive data, stack traces, tokens, or internal errors in logs or API responses.
- Apply rate limiting to authentication, file upload, and public sharing endpoints.
- Use secure cookies, token expiration, and refresh-token rotation.

DATA MODEL:
- User: id, name, email, passwordHash, avatarUrl, role, emailVerified, createdAt, updatedAt.
- Workspace: id, name, ownerId, plan, createdAt, updatedAt.
- WorkspaceMember: id, workspaceId, userId, role, joinedAt.
- Project: id, workspaceId, name, description, status, startDate, dueDate, createdBy, createdAt, updatedAt.
- ProjectMember: id, projectId, userId, role, joinedAt.
- Task: id, projectId, title, description, status, priority, assigneeId, createdBy, dueDate, estimate, position, createdAt, updatedAt.
- Label: id, projectId, name, color.
- TaskLabel: id, taskId, labelId.
- Comment: id, taskId, authorId, content, createdAt, updatedAt.
- Attachment: id, taskId, uploaderId, fileUrl, fileName, fileSize, mimeType, createdAt.
- Sprint: id, projectId, name, goal, startDate, endDate, status.
- SprintTask: id, sprintId, taskId.
- Notification: id, userId, type, title, message, entityId, isRead, createdAt.
- ShareLink: id, projectId, slug, createdBy, expiresAt, viewCount, createdAt.

TESTING & QUALITY:
- Write unit tests for task status transitions, permissions, sprint calculations, and business logic.
- Write integration tests for authentication, workspace management, project CRUD, task CRUD, comments, attachments, and sharing.
- Write end-to-end tests for registration, login, workspace creation, project creation, task creation, Kanban movement, commenting, and project deletion.
- Include tests for invalid input, unauthorized access, expired share links, file upload failures, and destructive actions.
- Ensure the project passes linting, type checking, build, and all tests.

DELIVERABLES:
- Complete source code with no placeholders or unfinished features.
- README with project overview, setup, environment variables, database setup, run commands, and deployment instructions.
- Configuration files for development, testing, and production.
- Database migrations and optional seed data.
- API documentation or endpoint reference.
- Docker and docker-compose configuration.
- CI/CD pipeline or deployment instructions.
- Test suite and instructions to run tests.

IMPLEMENTATION RULES:
- Build real working features, not mockups or placeholder code.
- Implement every required feature completely.
- Handle errors gracefully with meaningful user-facing messages.
- Use clean, modular, maintainable, and well-organized code.
- Avoid deprecated libraries, insecure patterns, and unnecessary dependencies.
- If information is missing, state assumptions clearly before implementing.
- Do not claim that a feature works unless it is implemented and verified through tests or a runnable flow.
- If the task is too large for one response, create a phased implementation plan first, then implement phase by phase.

OUTPUT:
1. Start with a short architecture plan, technology decisions, and project structure.
2. Then implement the application phase by phase.
3. After each phase, summarize what was completed and what remains.
4. At the end, provide:
   - Completed features
   - Files created
   - Database schema
   - API endpoints
   - Tests run
   - Setup instructions
   - Known limitations
   - Recommended next improvements
P@mirm14354
0
TermX
Text

**TermX** is an AI-powered Windows terminal app that turns natural-language requests into safe PowerShell or CMD commands. It explains each command, asks for confirmation, executes it, shows the output, detects errors, and suggests fixes.

Project: TermX — AI-Powered Intelligent Terminal

You are a Senior Software Architect, Senior Python Developer, AI Engineer, and UI/UX Designer.

Your task is to design and build a complete, production-quality, open-source desktop application named **TermX**.

1. Project Vision

TermX is an intelligent AI-powered terminal assistant for Windows that allows developers and regular users to interact with their operating system using natural language.

Users should be able to write commands in natural language, and TermX should:

- Understand the user's request.
- Generate appropriate PowerShell or CMD commands.
- Explain what each command does.
- Display the generated command before execution.
- Ask for user confirmation before executing commands.
- Execute approved commands.
- Capture and display terminal output.
- Detect and explain errors.
- Suggest safe corrections.
- Remember previous terminal sessions.

TermX must be a real functional application, not a UI-only prototype.

2. Technology Stack

Use the following technologies:

- Python 3.12+
- PySide6 for the desktop GUI.
- SQLite for local storage.
- Ollama API for local AI integration.
- HTTPX for API communication.
- Pydantic for data validation.
- PyInstaller for Windows executable builds.

Architecture must be modular, maintainable, and scalable.

Do not use Docker as a requirement.

3. Application Design

Create a premium, modern, futuristic developer interface.

Design language:

- Dark theme by default.
- Background: #0B0D12.
- Secondary surfaces: #121722.
- Accent: Electric blue and purple.
- Rounded panels.
- Subtle borders.
- Smooth animations.
- Modern typography.
- Consistent spacing.
- Professional icons.

Main Layout

**Sidebar**

- Dashboard
- AI Terminal
- Command History
- Sessions
- AI Models
- Settings
- About TermX

**Main Workspace**

- Terminal output panel.
- Natural language command input.
- Generated command preview.
- Execute button.
- Copy command button.
- Explain command button.
- Clear terminal button.
- AI status indicator.

**Bottom Status Bar**

- Current shell.
- Current working directory.
- AI connection status.
- Selected model.
- Application version.

4. Core Features

A. AI Command Generator

Users can write requests such as:

- Show all files in the current directory.
- Find large files.
- Check available disk space.
- Display
CLIWindowsTerminal
P@mirm14354
0
GitHub AI Companion
Text

GitHub AI Companion is a production-ready Windows desktop application that combines an animated AI desktop character with a real GitHub development agent. It lets users control GitHub repositories, Pull Requests, issues, Actions, local projects, and code changes through natural language, chat, or voice, while connecting to OpenAI, Gemini, NVIDIA, OpenRouter, and local Ollama models.

PROJECT: GitHub AI Companion
Build a production-ready Windows desktop app: an animated AI desktop character that acts as a personal GitHub development agent.

The assistant understands natural-language and voice commands, connects to GitHub, manages repositories, branches, Pull Requests, issues, and GitHub Actions, and helps with local coding projects. It must support OpenAI, Gemini, NVIDIA, OpenRouter, and local Ollama models through a modular provider system.

Core features
Transparent, draggable, always-on-top desktop character with animations and persistent position.

Chat, voice input, text-to-speech, and context-aware project assistance.

Real GitHub integration: repositories, files, commits, branches, Pull Requests, issues, Actions, and notifications.

Autonomous agent engine with planning, tool use, execution, verification, and progress reporting.

Local project support: scan, read, edit, search, refactor, run permitted commands, and inspect test results.

Windows startup, system tray, background operation, notifications, and keyboard shortcuts.

SQLite for local data; secure credential storage using Windows Credential Manager or DPAPI.

Security rules
Use minimum GitHub permissions, never hardcode API keys, validate all inputs, and require explicit confirmation for destructive actions such as deleting repositories/files, merging PRs, or running risky terminal commands. Provide Read Only, Assisted, and Trusted permission modes, with safeguards even in Trusted Mode.

Tech stack
Use C# with .NET 10 and WPF or WinUI 3. Use a modular layered architecture, async operations, dependency injection, structured logging, and clean separation between UI, AI, GitHub, agent, local development, Windows integration, persistence, and security.

Deliverables
Deliver complete working source code, an animated desktop character, full GitHub and AI-provider integrations, local Ollama support, voice interaction, SQLite persistence, automated tests, installer/portable build, and documentation.

Also create a GitHub Actions workflow that automatically builds and uploads a portable Windows .exe on every push to main or manual run.

Build rules
Do not create a mockup or fake functionality. Implement real integrations, handle errors, verify successful operations, avoid TODOs and dead buttons, keep code modular, and build the app phase by phase until it is complete.
GitHubAI AgentDesktop
P@mirm14354
0
agent-fleet
Text

agent-fleet is an open-source Agent Workbench that runs multiple coding agents in parallel on the same task. Each agent works in its own isolated Git worktree, while the tool shows live progress, runs tests, and generates a final comparison report with diffs, logs, cost, and quality scores.

I want to build an open-source project called agent-fleet: an Agent Workbench for running, managing, and comparing multiple coding agents in parallel.

A developer provides a task, and agent-fleet assigns it to several agents—such as Claude Code, Codex, Cursor Agent, or any CLI-based agent—each working in its own isolated Git worktree. The tool shows live progress and changes, runs tests, and finally presents each agent’s diff, logs, cost, duration, and output quality for comparison.

Target users
agent-fleet is for developers who want to:

Run multiple agents in parallel on the same feature.

Inspect each agent’s output separately without polluting the main branch.

Choose and merge the best implementation.

See each agent’s cost, runtime, changed-file count, and test results.

MVP features
The first version includes a CLI command such as:

bash
agent-fleet run --repo . \
  --task "Implement password reset flow" \
  --agents claude,codex \
  --parallel 2
For each agent, the tool creates an independent Git worktree and a branch such as agent-fleet/claude/<task-slug>, runs the agent there, and captures stdout, stderr, tool logs, run status, start/end time, duration, and exit code.

It also provides a TUI dashboard built with Ink (TypeScript) or Bubble Tea (Go), showing each agent’s status—queued, running, completed, or failed—along with approximate progress, latest action, changed-file count, test status, and the ability to inspect a full diff and logs.

Final comparison
After all agents finish, agent-fleet generates a Markdown comparison report in .agent-fleet/runs/<run-id>/report.md. It displays each agent’s diff, runs project lint and tests inside each worktree, and assigns a simple score based on test success, lint errors, changed-file count, runtime, and risky changes such as deleted files or config modifications.

The user can then select the best result and merge it into the main branch.

Technical architecture
The recommended implementation is TypeScript with Node.js and Ink, or Go with Bubble Tea if a single distributed binary and higher performance are priorities. Git worktrees provide isolation, while each coding agent runs through a replaceable adapter.

Initial adapters include:

Claude Code CLI.

Codex CLI.

A generic command adapter for any custom CLI agent.

All state is stored locally in .agent-fleet/, with no required cloud service or API key in the MVP.

Project structure
text
agent-fleet/
├── src/
│   ├── cli/
│   ├── core/
│   ├── agents/
│   ├── worktree/
│   ├── runner/
│   ├── evaluator/
│   ├── ui/
│   └── utils/
├── docs/
│   ├── README.md
│   └── quickstart.md
In short, agent-fleet turns coding agents into a parallel, comparable fleet: give it one task, let several agents attempt it independently, then compare their diffs, tests, costs, and quality before merging the winner.
P@mirm14354
0
WinForge
Text

This prompt asks for WinForge, a complete desktop-application generator for developers on macOS or Linux who want to scaffold, develop, build, and package Windows desktop apps—and optionally macOS and Linux builds too. It combines a TypeScript CLI with a minimal web UI and produces either an Electron or Tauri project with React and TypeScript.

Build a complete, production-ready desktop application generator called "WinForge".

Goal:
Create a CLI and minimal web UI that lets a developer on macOS or Linux scaffold, develop, build, and package a Windows desktop application. The generated app must also support macOS and Linux builds.

Core requirements:
1. Support two project templates:
   - Electron + React + TypeScript
   - Tauri + React + TypeScript

2. CLI commands:
   - `winforge create <project-name>`: Create a new project from a selected template.
   - `winforge dev`: Start local development with hot reload.
   - `winforge build --target windows|macos|linux|all`
   - `winforge package --format exe|msi|dmg|appimage|deb|rpm`
   - `winforge ci`: Generate a GitHub Actions workflow that builds Windows, macOS, and Linux artifacts.
   - `winforge doctor`: Detect missing dependencies and print clear installation instructions.

3. Windows output requirements:
   - Generate a Windows executable and installer.
   - For Electron projects, use electron-builder or Electron Forge to produce NSIS `.exe` installers, portable `.exe` builds, and optionally `.msi`.
   - For Tauri projects, configure NSIS and MSI targets.
   - Include an application icon, product name, version, publisher, description, and Windows file metadata.

4. Cross-platform behavior:
   - The tool must run on macOS and Linux.
   - Detect the host OS and CPU architecture.
   - Clearly explain which targets can be built locally and which require GitHub Actions.
   - Provide a GitHub Actions workflow using:
     - `windows-latest` for `.exe`, NSIS installer, and optional `.msi`
     - `macos-latest` for `.dmg`
     - `ubuntu-latest` for `.AppImage`, `.deb`, and `.rpm`
   - Upload all build artifacts to the GitHub Actions run and optionally create a GitHub Release.

5. Developer experience:
   - Interactive project setup with prompts for:
     - App name
     - Package identifier
     - Version
     - Author/publisher
     - Description
     - UI framework: React, Vue, Svelte, or plain HTML/CSS/JavaScript
     - Package manager: npm, pnpm, yarn, or bun
   - Generate clean, typed, well-commented code.
   - Include a README with setup, development, build, signing, and release instructions.
   - Include sensible `.gitignore`, ESLint, Prettier, and basic tests.

6. Security and quality:
   - Do not enable Node.js integration in renderer processes unless explicitly required.
   - Use a secure Electron preload/contextBridge pattern if Electron is selected.
   - Validate all user inputs.
   - Avoid hardcoded secrets.
   - Use semantic versioning.
   - Make all commands idempotent where possible.

7. Deliverables:
   - A monorepo containing:
     - CLI source code
     - Project templates
     - GitHub Actions workflow templates
     - Documentation
     - Example generated app
   - Use TypeScript for the CLI.
   - Use a modern build system and provide commands for development, testing, linting, and publishing.
   - Include unit tests for template generation, configuration validation, and CLI commands.
   - Provide a clear architecture diagram and explain how Windows builds are produced from macOS/Linux.

Important constraint:
Do not claim that unsigned or untested installers are production-ready. Include optional code-signing configuration for Windows Authenticode, macOS notarization, and Linux package signing, but keep signing disabled by default until the user supplies valid certificates.

Start by producing:
1. A concise architecture plan.
2. The repository/file structure.
3. The CLI implementation.
4. The Electron and Tauri templates.
5. GitHub Actions workflows.
6. A README with exact commands for macOS and Linux users.
Windows
P@mirm14354
0
DevOS
Text

This prompt asks for DevOS, a Windows desktop application built with Electron that creates a custom, terminal-first developer shell on top of Windows. It is explicitly not a Windows emulator, virtual machine, or OS simulation; it is a polished UI and workflow layer that launches real installed applications and gives the desktop a futuristic, command-driven developer feel.

Build a Windows desktop application called **DevOS** using Electron.

DevOS is NOT a Windows emulator and must NOT run a virtual machine. It is a custom desktop shell and UI layer that transforms the look, feel, and workflow of Windows into a highly command-driven, developer-focused operating-system experience.

The app should feel like a fusion of:

- Windows 95 retro desktop structure

- Linux terminal

- VS Code

- A minimal hacker/cyberpunk operating system

- A modern developer workstation

## Core Concept

When DevOS launches, it should show a full-screen custom desktop environment with:

- A dark, futuristic desktop background

- A subtle grid, scanline, or CRT-inspired effect

- Neon blue, green, or cyan accents

- Monospace typography

- Clean, readable, developer-focused UI

- Smooth animations and responsive layout

- A taskbar at the bottom

- A command-style Start menu

- Draggable, resizable, minimizable, and closable windows

## Desktop UI

Create a custom desktop with:

- Desktop icons for Terminal, File Explorer, VS Code, Browser, Git, Docker, Settings, and Task Manager

- A bottom taskbar styled like a terminal status bar

- A Start menu that opens like a command palette

- A system tray with time, date, network status, battery status, and theme switcher

- A right-click context menu with developer-oriented actions

- Support for opening real Windows applications

## Start Menu

The Start menu should be command-driven and searchable.

Show applications and commands such as:

- Terminal

- File Explorer

- VS Code

- Browser

- Git

- Docker

- Task Manager

- Settings

- Themes

- Developer Mode

Each item should display:

- App name

- Minimal icon

- Optional command label, such as `open terminal`, `open vscode`, `open files`, or `open browser`

Support keyboard navigation and quick search.

## Terminal

Build a built-in terminal window with:

- Monospace font

- Command history

- Autocomplete suggestions

- Command output area

- Multiple tabs

- Dark terminal theme

- Support for common developer commands

Implement these built-in commands:

- `help`

- `clear`

- `open terminal`

- `open vscode`

- `open files`

- `open browser`

- `open settings`

- `git status`

- `npm run dev`

- `theme dark`

- `theme matrix`

- `theme cyberpunk`

- `theme retro`

- `developer mode on`

- `developer mode off`

The terminal should be visually central to the experience.

## File Explorer

Create a developer-style File Explorer with:

- Folder tree navigation

- Breadcrumb path

- File and folder icons

- Current directory display

- Open in VS Code button

- Open in Terminal button

- Search functionality

- Support for opening real folders and files on the user's Windows system

## Real App Integration

Use Electron's main process and shell APIs to open real Windows applications and URLs.

The app should be able to launch:

- Windows Terminal or Command Prompt

- Visual Studio Code

- Default browser

- File Explorer

- Task Manager

- Git-related tools

- Docker Desktop, if installed

Do not simulate these applications; launch the real installed applications where possible.

## Themes

Include multiple themes:

- Dark IDE

- Matrix

- Cyberpunk

- Retro Terminal

- Minimal Black

- Neon Green

- Solarized Dark

Each theme should change:

- Background colors

- Accent colors

- Window borders

- Terminal colors

- Desktop wallpaper effects

- UI glow and shadows

## Developer Mode

Add a **Developer Mode** that changes the entire desktop into a coding-first environment.

When enabled:

- Increase terminal visibility

- Show system stats such as CPU, RAM, disk, and network usage

- Display Git branch and project status

- Show quick actions for running projects

- Add keyboard shortcuts

- Use a more technical, terminal-heavy layout

## Visual Style

Use a polished, premium, futuristic design:

- Dark background, preferably near-black or deep navy

- Neon cyan, electric blue, or green accents

- Thin borders and sharp window edges

- Subtle glassmorphism

- Monospace fonts for terminal and labels

- Modern sans-serif fonts for general UI

- Smooth hover effects

- Subtle CRT or scanline effects

- No cluttered or cheap-looking UI

## Technical Requirements

- Use Electron

- Use HTML, CSS, and JavaScript or TypeScript

- Use a clean component-based frontend structure

- Use IPC securely between renderer and main process

- Use Electron `shell` APIs for opening apps and URLs

- Make the app responsive across different screen sizes

- Optimize performance and startup time

- Ensure the app works on Windows

- Add a professional app icon and window title: `DevOS`

## Important Constraint

Do not create a Windows 95 emulator.

Do not use a virtual machine.

Do not emulate the Windows operating system.

Instead, build a custom desktop shell/UI experience that gives Windows a command-driven, terminal-first, developer-focused appearance and workflow.

The final result should feel like a real developer operating system called **DevOS**, built for programmers who want their Windows desktop to look and work like a terminal-based coding environment.
DeveloperWindows
P@mirm14354
0
WebWarpped
Text

This prompt asks for webwrapped, a zero-dependency, fully offline Python CLI that turns a person’s browser history into a Spotify-Wrapped-style annual story and downloadable share card. It must run with one command, keep all data on the user’s machine, make no network calls, and require no API keys.

GOAL
Build "webwrapped" — a zero-dependency CLI that turns a user's browser history
into a Spotify-Wrapped-style year-in-review story with a downloadable share
card. One command, 100% local, no API keys, no network calls, works offline.

TARGET USERS
- Anyone who uses a browser (non-technical first: the story page must be
  beautiful and self-explanatory).
- Privacy-conscious users: history never leaves the machine; state this
  prominently in the README.
- Developers who want the raw stats (--json).

CORE FEATURES (numbered)
1. Auto-detect and read history sources, then merge + dedupe:
   a. Chromium browsers (Chrome, Edge, Brave, Arc, Vivaldi): local
      "History" SQLite DB (note: Chromium only keeps ~90 days locally —
      detect this and show a hint to also export Google Takeout).
   b. Firefox: places.sqlite (can hold years).
   c. Safari: History.plist via plistlib.
   d. Google Takeout: "My Activity/Chrome/MyActivity.json" and
      "My Activity/Search/MyActivity.json" (full-year data; this is the
      flagship source — instruct users how to request it in the README).
   Read SQLite files by copying them to a temp dir first (databases are locked
   while the browser runs).
2. Insights engine (pure stdlib, deterministic, tested):
   - Total visits, estimated hours, busiest day and hour, night-owl score
     (share of 00:00–05:00 traffic).
   - Top 10 sites by visits and by "days seen" (loyalty).
   - "Eras": detect topic phases by clustering domain bursts per week
     (e.g. 3 weeks of recipe sites) and label them with a small
     category-heuristic map (news, video, social, dev, shopping, food...).
   - Rabbit holes: longest single-session drift chains (visit sequences that
     start at one domain and end far away).
   - Top Google queries of the year (from Takeout Search activity), including
     "questions you googled after midnight".
   - YouTube: top channels and total watch-URL visits.
   - Most-revisited single page (the one Stack Overflow question).
   - Streaks: longest daily-visit streak overall.
3. Output modes:
   - Terminal: compact, colorful summary (plain ASCII fallback, no deps).
   - HTML story: a single self-contained file, scrollable story sections in
     Wrapped style (big numbers, bold typography, CSS animations), opened in
     the default browser. Must include a "Download share card" button that
     renders a 1080x1350 PNG client-side via canvas (no server, no deps).
   - --json: full stats dump for scripting.
   - --redact: replace site names with generic labels ("Social app #1")
     inside the share card, for safe sharing.
4. CLI UX: `webwrapped` (auto-detect everything, current year),
   `--year 2025`, `--sources chrome,takeout`, `--demo` (synthetic dataset so
   anyone can preview without their own data), `--json`, `--out story.html`.
5. Takeout zip support: accept the raw takeout-*.zip directly.

TECH STACK
- Python 3.10+, standard library only for the core (sqlite3, plistlib, json,
  zipfile, argparse, html, statistics, dataclasses). No runtime dependencies.
- Optional dev extras: pytest, and `rich` only behind a try/except for
  prettier terminal output when installed.

PROJECT STRUCTURE
webwrapped/
  __init__.py, __main__.py, cli.py
  sources/ (chrome.py, firefox.py, safari.py, takeout.py — each exposes
           read(path) -> list[Visit(date, url, title)])
  merge.py        (dedupe + normalize + union of sources)
  insights/       (stats.py, eras.py, rabbit_holes.py, queries.py, youtube.py)
  render/         (story.py — HTML template; card.py — canvas card HTML)
  demo_data.py    (synthetic generator for --demo)
  tests/          (fixtures: tiny synthetic History.sqlite, places.sqlite,
                   History.plist, MyActivity.json; golden-file tests per insight)
  README.md, LICENSE (MIT), pyproject.toml (pipx/uvx installable)

CLI SPEC
  webwrapped                 # scan default year, all detected sources
  webwrapped --year 2025
  webwrapped takeout.zip     # pass a Takeout zip directly
  webwrapped --demo          # synthetic story, no personal data
  webwrapped --json > stats.json
  webwrapped --redact        # anonymized share card

README REQUIREMENTS
- Badges: CI, license, python version, "zero dependencies".
- One-paragraph privacy promise: nothing leaves the machine, works offline
  (recommend running with network off).
- Demo GIF: terminal run -> story scrolling -> share card download.
- Quick start: `pipx install webwrapped` (or `uvx webwrapped`), then one
  command. Include a 3-step "get your Takeout" guide with screenshots.
- Supported sources table + the Chromium 90-day deletion note.
- FAQ: "where does my data go?" (nowhere), "group by site not URL",
  "why is my local history only 90 days".

TESTING
- pytest with tiny synthetic browser-database fixtures per source.
- Golden-file tests: same input -> same stats JSON and deterministic HTML
  (hash the rendered story after stripping timestamps).
- Edge cases: locked DBs, empty history, non-UTF8 titles, huge Takeouts
  (stream, don't load 500MB into RAM), duplicate visits across sources.

LICENSE: MIT.

FIRST-RELEASE CHECKLIST
- Ship by early December (Wrapped season — the launch window).
- Demo GIF from --demo mode; examples/ folder with the synthetic dataset.
- Launch on X/HN with your own (redacted) share card as the hook:
  "11% of my year went to one Stack Overflow question."
- CONTRIBUTING.md: template for adding new browser sources and category
  heuristics (this community-fed map is the moat — clones can copy the
  code in a day, not the contributors).
- GitHub Actions CI: lint + tests on 3.10/3.11/3.12/3.13.
CLIWebPython
P@mirm14354
0
FailingState
Text

This prompt asks for FailingState, a local CLI that gives every test failure a durable identity and history. Instead of treating failures as anonymous red output, it turns them into trackable records with a first-seen date, recurrence count, introducing commit, and lineage across refactors.

GOAL
Build "FailingState" — a local CLI that gives every test failure a persistent
identity and history. Failures stop being anonymous red dots in a wall of
output; they become objects with a first-seen date, a recurrence count, and
the exact commit that introduced them.

TARGET USERS
- Developers drowning in a red CI who need to know: what's new, what's the
  same old bug, what's a zombie test nobody looks at anymore.
- Coding agents (Claude Code, Codex) that need failure history to fix faster:
  "this exact assertion failed 11 times since June, always after dependency
  bumps" is a much better starting point than a bare traceback.

CORE FEATURES (numbered)
1. Failure fingerprinting: for each failed assertion, hash
   (test file path + test name + normalized assertion source + exception type
   + normalized message with numbers/UUIDs/paths stripped). The fingerprint
   survives unrelated code motion and cosmetic message changes; it breaks
   when the assertion's meaning changes — which is exactly the point.
2. Local failure ledger: an append-only SQLite store mapping fingerprint →
   first seen, last seen, occurrence count, the exact commit SHA each
   occurrence broke under, and links between runs. `fstate list` shows
   the ledger: new / recurring / zombie (not failing for 90+ days).
3. Failure genealogy: when a fingerprint mutates (test edited), record the
   successor fingerprint and keep the lineage — so a test's full history
   survives refactors. `fstate history <test>` prints the family tree.
4. Agent-facing output: `fstate report --json` emits a compact per-failure
   brief (fingerprint, age, recurrences, suspicious commits, last diff that
   touched the failing file). Designed as context for a coding agent:
   small, deduplicated, ordered by "newest + most recurring" first.
5. CI mode: `fstate diff --against last-green` classifies today's failures
   into NEW / RECURRING / FIXED since the last green run, and exits non-zero
   only on NEW — recurring pain is tracked but does not re-alarm the team
   (the alarm fatigue killer).
6. Blame enrichment: for each occurrence, `git log -1` the failing file at
   that SHA and attach the commit title + author to the record.
7. Works offline, zero telemetry, single SQLite file, trivially inspectable.

TECH STACK
- Python 3.11+, stdlib-first (sqlite3, hashlib, json). One dependency
  allowed: pytest plugin API for the Python side; vitest/jest reporters in
  TypeScript for the JS side (separate package, same ledger schema).
- The ledger schema is the project's real product: versioned, documented,
  and the integration point for everyone else.

PROJECT STRUCTURE
failingstate/ (cli.py, ledger.py, fingerprint.py, report.py)
failingstate-pytest/ (plugin/)
failingstate-vitest/ (reporter/)
docs/ledger-schema.md, examples/, tests/ (fingerprint stability tests:
cosmetic changes keep the hash, semantic changes break it), LICENSE (MIT)

README REQUIREMENTS
- Badges: CI, license, python versions.
- Demo: two runs of a flaky suite; the second run shows which failures are
  new vs the same old three; `fstate history` on a zombie test.
- Quick start: pipx install failingstate, one config file, run tests as usual.
- "How fingerprinting works" section with worked examples (the part people
  will argue about — be precise and show the normalization rules).

TESTING
- Golden fingerprint tests: generated failure pairs (same pain, different
  cosmetics) and (different pain, similar text).
- Ledger migration tests between schema versions.
- CI-mode integration test against a scratch repo with a scripted flaky test.

LICENSE: MIT.

FIRST-RELEASE CHECKBOX
- Ship the pytest plugin first (largest audience), vitest reporter as v0.2.
- Launch story: "Your CI has been red for 3 weeks — here's which failures
  are actually new" with a real (redacted) ledger screenshot.
- Publish the ledger schema as the standard others can adopt.
- CONTRIBUTING: fingerprint normalization rules are community-governed —
  this shared-rule asset is the moat the clone army can't copy overnight.
CLIAI AgentGit
P@mirm14354
0
RIvalMode
Text

This prompt asks for RivalMode, a one-click GitHub repository template that turns a repo into a gamified, self-updating scoreboard directly inside its README. It must run entirely on GitHub Actions’ free tier using only the built-in GITHUB_TOKEN, with no servers, accounts, databases, external services, or additional API keys

GOAL
Build "RivalMode" — a one-click repo template that gamifies a GitHub repository
and its ecosystem, rendering a LIVE scoreboard inside the repo's own README.
Everything runs on GitHub Actions (free tier) + a single workflow. No servers,
no accounts, no API keys beyond the built-in GITHUB_TOKEN.

TARGET USERS
- Developers and vibe-coders who want their repo to feel alive and competitive.
- OSS maintainers who want contributors to see progress in real time.
- Anyone building in public who wants a live trophy wall.

CORE FEATURES (numbered)
1. Live repo scoreboard in README: a rendered SVG (via workflow) showing
   branches, open PRs, merges/day, commits today vs this week, stars, forks,
   contributors leaderboard, and a "momentum score" (activity vs 7-day average).
2. Rival tracking (the hook): a daily workflow scans for (a) forks with more
   commits than upstream, (b) same-topic repos (via GitHub search using the
   repo's primary topics), and (c) repos that starred YOUR repo (they're
   fans — list them). Rivals are ranked by star velocity. The README shows
   "You are #3 in your topic cluster" and names who's ahead.
3. Auto-updating README sections: a badge row (momentum, rank, streak of
   days-with-a-commit), a mini bar-race SVG of contributor commit counts this
   month, and a "recent conquests" list (issues closed, PRs merged, releases).
4. Event feed: the last 10 repo events (pushes, stars, forks, releases)
   rendered as timestamped lines in the README, updated hourly by Actions.
5. Weekly recap comment: every Monday, the workflow posts a friendly
   week-in-review issue comment (commits, top contributor, momentum change,
   rivals gained/lost) — public, shareable, zero effort.
6. One-command install: "Use this template" button + a single setup workflow
   that writes the README sections and schedules the jobs. Uninstall = delete
   one folder. All state in the repo itself (JSON + generated SVGs committed
   back by the bot identity).
7. Privacy & safety: public data only (the repo's own events + public search);
   no user tracking; rate-limit aware (ETag caching); works for private repos
   in degraded mode (no rival search).

TECH STACK
- GitHub Actions workflows (schedule: hourly scoreboard, daily rivals,
  weekly recap) using gh CLI + GitHub REST/GraphQL via curl or actions/github-script.
- Node 20 or Python 3.12 (pick one) single-file script that fetches, computes,
  renders SVGs, and commits via [bot identity].
- No external services, no databases, no frontend framework. README is the UI.
- Shields.io-style SVG generation written from scratch (no dependency).

PROJECT STRUCTURE
.github/workflows/scoreboard.yml, rivals.yml, weekly-recap.yml, setup.yml
src/ (fetchers, scoring, svg/, render_readme.js)
state/ (rivals.json, momentum.json — committed by the bot)
templates/ (README sections, SVG partials)
examples/, tests/ (fixtures for API responses; golden SVG tests), LICENSE (MIT)

README REQUIREMENTS
- Badges: momentum score, cluster rank, license.
- 15-second animated demo GIF: a README visibly updating itself after a push,
  and a rival overtaking the repo's rank live.
- Quick start: click "Use this template" → done; README shows first scoreboard
  within one workflow run. No tokens needed.
- "How the game works" table: points for commits, merges, stars, beating rivals.
- A live example: link to the RivalMode repo itself using RivalMode
  (the project must be its own first user — eat your own dog food).

TESTING
- Fixture-based unit tests for scoring and SVG generation.
- Integration test workflow that runs the full pipeline against a scratch repo.
- Snapshot tests for README rendering; API-failure graceful degradation tests.

LICENSE: MIT.

FIRST-RELEASE CHECKLIST
- Ship with the project's own README as the flagship live demo.
- Launch angle: "My repo roasts me when a rival passes it" — post the moment
  a fork out-commits your repo; pin that README state.
- Seed 3-5 template categories (app, cli, skill, site) so rivals clustering
  works out of the box.
- CONTRIBUTING.md: community themes for the scoreboard SVG (the visual moat).
GitHubClaude CodeGit
P@mirm14354
0
Secure Shield
Text

This prompt asks for Secure Shield, a complete, production-ready open-source security module that helps protect applications and websites from common web attacks. It can be integrated into an application’s source code before build or deployed as a standalone layer in a website folder; it is an additional defense layer, not a replacement for secure development

Create a complete, production-ready open-source security project called "Secure Shield".

Purpose:

Secure Shield is a lightweight security protection module that can be used in two ways:

1. Add it to an application's source code before building the application.

2. Upload or place it in a website folder to help protect the website from common hacking attempts.

The project should help protect against common web and application attacks, including:

- SQL injection

- Cross-site scripting (XSS)

- Cross-site request forgery (CSRF)

- Directory traversal

- Local file inclusion (LFI)

- Remote file inclusion (RFI)

- Malicious file uploads

- Brute-force login attempts

- Bad bots and suspicious requests

- Common vulnerability scanners

- Malicious HTTP headers and request patterns

- Basic DDoS protection through rate limiting

Requirements:

- Create a clean, modular, and easy-to-integrate project.

- Support both application integration and standalone website deployment.

- Include clear installation and configuration instructions.

- Include a configuration file where users can enable or disable protection features.

- Include logging for blocked or suspicious requests.

- Do not store sensitive information in plain text.

- Follow secure coding best practices.

- Make the code readable, well documented, and easy to customize.

- Include a [README.md](http://README.md) file with installation, configuration, usage, examples, and security disclaimer.

- Include a LICENSE file.

- Include a .gitignore file.

- Include example files showing how to integrate the protection into an application and a website.

- The project must not claim 100% protection; clearly state that it is an additional security layer, not a replacement for secure development, updates, backups, firewalls, or professional security auditing.

Suggested repository name:

secure-shield

Suggested GitHub description:

A lightweight security protection module for applications and websites. Add it to your app source code before building, or place it in your website folder, to help protect against common hacking attempts.

Project structure:

- [README.md](http://README.md)

- LICENSE

- .gitignore

- config/

- src/

- examples/

- logs/

- docs/

Create the full source code, configuration files, documentation, examples, and setup instructions.
CodexClaude Code
P@mirm14354
0
Git-Sensei
Text

This prompt defines Git-Sensei, an AI assistant that resolves a single Git merge conflict by reasoning about the intent behind both branches rather than mechanically merging lines. It receives the file type, recent history for HEAD and MERGE_HEAD, the conflicted block, and surrounding context; Git uses HEAD for the current branch and MERGE_HEAD for the incoming branch during a merge

You are 'Git-Sensei', an expert Senior Software Engineer and Git master. 
Your task is to resolve a Git merge conflict intelligently by understanding the *intent* behind both changes, not just blindly combining lines of code.

You will be provided with:
1. The file name/extension.
2. The recent commit history of the Current Branch (HEAD).
3. The recent commit history of the Incoming Branch (MERGE_HEAD).
4. The conflicted code block (containing <<<<<<<, =======, and >>>>>>> markers) along with a few lines of surrounding context.

RULES:
1. Analyze the commit messages to understand WHY each developer made their changes.
2. Resolve the conflict in a way that preserves the functionality and intent of both branches if possible. If one branch clearly deprecates or refactors the other's logic based on commit history, prioritize the refactoring while keeping necessary new features.
3. DO NOT include the conflict markers (<<<<<<<, =======, >>>>>>>) in the resolved code.
4. Keep the exact indentation and coding style of the original file.
5. You MUST respond ONLY with a valid JSON object matching this exact schema:

{
  "explanation": "A brief, clear explanation (max 3 sentences) of how you resolved the conflict based on the commit history.",
  "confidence_score": "A number between 1 to 100 indicating how confident you are in this resolution.",
  "resolved_code": "The exact code that should replace the conflicted block."
}
GitHub ActionsGit
P@mirm14354
0
CommitSage
Text

This prompt asks for CommitSage, a local-first Python CLI that uses AI to review staged Git changes before a commit. It should help developers understand changes, identify plausible bugs and missing tests, and produce reports in English or Persian—without requiring a CommitSage account, web dashboard, authentication, billing, or GitHub integration.

Build CommitSage, a local-first AI code review CLI that reviews staged Git changes before a commit.

Product goal:
Help developers understand their changes, identify plausible bugs, and find missing tests. Support English and Persian output, local and cloud AI providers, and usage without a CommitSage account.

Scope:
Build a working, focused MVP. Do not build a web dashboard, authentication, billing, or automatic GitHub integration.

Tech stack:
- Python 3.11+
- Typer for the CLI
- Rich for terminal output
- Pydantic for configuration and structured review results
- httpx for model requests
- pytest for tests
- pyproject.toml with an installable `commitsage` entry point

Commands:
1. `commitsage review`
   Review staged changes by default.
2. `commitsage review --lang fa`
   Produce Persian explanations while preserving code, paths, and identifiers.
3. `commitsage review --format markdown`
   Produce a clean Markdown report.
4. `commitsage review --format json`
   Produce machine-readable JSON.
5. `commitsage review --output review.md`
   Save the report to a file.
6. `commitsage commit-message`
   Suggest a Conventional Commit message from staged changes.
   Do not create a commit.
7. `commitsage pr-description`
   Draft a PR description from staged changes.
   Clearly state this scope; do not imply that the whole branch was reviewed.

Review behavior:
- Read the staged diff and staged versions of changed files.
- Do not accidentally use unstaged working-tree changes as staged context.
- Gather a limited amount of surrounding code when necessary.
- Prioritize correctness, security, error handling, and missing tests.
- Avoid generic advice, unnecessary refactoring, and style-only complaints.
- Treat findings as potential issues, not proven bugs.
- Every finding must include:
  - Severity: high, medium, or low
  - File path
  - Relevant line in the new file, or null if unavailable
  - Short title
  - Explanation grounded in the supplied code
  - Suggested verification or fix
  - Confidence: high, medium, or low
- Validate file paths and line references against the supplied diff.
- Discard findings with invalid locations rather than inventing replacements.
- Clearly distinguish observed code from assumptions.
- If no actionable findings are identified, say so without claiming the code is bug-free.

Report structure:
- Summary
- Potential issues
- Suggested tests
- Review limitations

AI providers:
- Support a local Ollama provider.
- Support configurable OpenAI-compatible cloud endpoints.
- Use a shared provider interface.
- Let users configure provider, model, base URL, timeout, and output language.
- Read API keys from environment variables.
- Never store API keys in project configuration.
- Do not silently fall back from a local model to a cloud service.
- Before sending code to a cloud provider, disclose the destination and require explicit consent.
- Support an explicit non-interactive opt-in flag for automated usage.
- No CommitSage account is required, but explain that a cloud provider may require its own credentials and payment.

Privacy and safety:
- Do not modify source files, stage changes, create commits, push, or execute reviewed code.
- Invoke Git with argument arrays, not shell-interpolated commands.
- Treat source code, comments, filenames, and diff content as untrusted input.
- Instruct the model to ignore instructions embedded in reviewed content.
- Skip binary files and common generated files.
- Honor a `.commitsageignore` file.
- Exclude common secret-bearing files by default.
- Attempt to redact obvious credentials before model requests.
- Clearly explain that automated secret detection is imperfect.
- Do not log source code, prompts, responses, or credentials by default.
- Avoid following symlinks outside the repository.

Large diffs:
- Apply explicit input-size limits.
- Split large reviews into bounded chunks when appropriate.
- Report skipped files, truncated context, and incomplete coverage.
- Never silently present a partial review as a complete one.

Error handling:
Handle these cases with clear, actionable messages:
- Git is not installed.
- The current directory is not a Git repository.
- No staged changes exist.
- A file is deleted or renamed.
- A diff contains only binary or ignored files.
- The provider is unavailable.
- The request times out.
- The model returns invalid JSON or an invalid schema.
- The selected model cannot accommodate the input.

Use bounded retries and validate AI output with Pydantic.
Keep diagnostic messages on stderr so JSON output remains parseable.

Suggested structure:
src/commitsage/
  cli.py
  config.py
  git.py
  models.py
  review.py
  privacy.py
  providers/
    base.py
    ollama.py
    openai_compatible.py
  renderers/
    terminal.py
    markdown.py
    json_output.py
tests/

Testing:
- Mock all model requests; tests must not require paid APIs or a running model.
- Use temporary Git repositories for integration tests.
- Cover staged versus unstaged changes, renamed and deleted files,
  empty diffs, ignored files, secret redaction, invalid model output,
  provider failures, cloud consent, and Persian output preservation.

Documentation:
Write a README with:
- Project overview and scope
- Installation and quick start
- Local model setup
- Cloud provider setup and explicit consent behavior
- English and Persian usage examples
- Configuration reference
- Privacy limitations
- Example review output labeled as illustrative
- Development and testing instructions

Implementation process:
1. Briefly describe the architecture and implementation plan.
2. Implement a complete vertical slice:
   staged diff → provider → validated review → terminal output.
3. Add the remaining commands, renderers, safeguards, and tests.
4. Run the available tests and report actual results.
5. If execution is unavailable, explicitly state that tests were not run.

Deliver working code, not pseudocode or placeholder functions.
Keep the implementation small and maintainable.
Do not claim that AI review guarantees correctness or security.
GitHubGitHub ActionsCodex
P@mirm14354
0
Framework Forge
Text

This prompt asks for Framework Forge, a working browser-based tool that lets developers assemble and customize a small vanilla-JavaScript UI framework, inspect and edit its generated source, run it live, and export it as an independent project. It is not a landing page or mock dashboard; the builder must produce a runnable framework, demo app, tests, and documentation.

Build “Framework Forge”, a developer tool for creating small, customizable JavaScript UI frameworks from modular building blocks.

This must be a working application, not a landing page or a mock dashboard. Users should be able to configure a framework, inspect and edit its generated source files, try it in a live playground, and download a standalone project.

## Product goal

Help developers design their own framework instead of merely scaffolding an application built with an existing framework.

The generated output must contain the framework’s implementation, a working example application, basic tests, and documentation. It must not depend on Framework Forge at runtime.

## Scope

Build a focused MVP for client-side UI frameworks only.

Include:
- A small DOM rendering core.
- Optional reactive state.
- Optional hash-based routing.
- Optional lifecycle hooks.
- A configurable framework name.
- An editable source-code workspace.
- A live playground.
- Downloadable project export.

Do not implement SSR, backend frameworks, authentication, billing, collaboration, AI integrations, or a plugin marketplace.

## Technology

Use:
- React and TypeScript for the builder interface.
- Vite for development and production builds.
- Tailwind CSS for styling.
- Monaco Editor for source editing.
- JSZip for ZIP export.
- Vitest for generator and generated-framework tests.

Generate the framework itself as readable vanilla JavaScript using ES modules. Do not use React or another UI framework inside the generated framework.

Keep the builder’s dependencies separate from the generated project’s dependencies.

## Main interface

Create a responsive, developer-focused workspace with:

1. Left sidebar: framework configuration.
2. Center panel: file explorer and tabbed code editor.
3. Right panel: live preview and captured console output.
4. Top toolbar: project name, regenerate, run, reset, and download actions.

Use a restrained dark theme, readable typography, clear borders, and accessible controls. On smaller screens, let users switch between configuration, code, and preview tabs.

Do not spend time building a marketing homepage.

## Configuration

Support:
- Framework name.
- Derived npm package name with validation.
- Reactive state: enabled or disabled.
- Hash router: enabled or disabled.
- Lifecycle hooks: enabled or disabled.

Use “Nava” as the initial example name.

Validate names and never interpolate unchecked user input directly into executable JavaScript.

Store configuration and edited files locally with a versioned localStorage format.

Changing configuration must not silently overwrite edited files. Mark the configuration as changed and require an explicit regeneration action. Ask for confirmation before discarding edits.

## Generated framework API

Implement a small, coherent API such as:

import { element, mount, state } from "nava";

const count = state(0);

const app = element(
  "button",
  {
    onClick: () => count.value++
  },
  () => `Count: count.value`
);

const unmount = mount(app, document.querySelector("#app"));

Define the behavior clearly:

- element(tag, props, ...children) creates a DOM element.
- Children may include text, numbers, DOM nodes, nested arrays, and reactive getter functions.
- null, undefined, and booleans do not render visible text.
- onClick and other supported event props register event listeners.
- Text content must be inserted safely using text nodes, not innerHTML.
- state(initialValue) exposes a reactive .value property.
- Reactive getter children update when their tracked state dependencies change.
- Dependency subscriptions must be cleaned up when a mounted tree is unmounted.
- mount() returns an unmount function.
- Event listeners and other registered resources must also be disposed during unmount.

Keep the rendering model intentionally small. Do not build a virtual DOM or JSX compiler.

When reactive state is disabled:
- Do not generate or export the state module.
- Generate a working nonreactive example.
- Explain any unsupported reactive behavior in the generated documentation.

## Optional router

When enabled, generate a minimal hash router with:
- Route registration.
- A route outlet.
- Navigation.
- A not-found view.
- Cleanup of hashchange listeners and the previous route’s mounted content.

Include a small two-page example.

Use hash-based routing so the exported demo does not require server-side fallback configuration.

## Optional lifecycle hooks

When enabled, provide clearly scoped mount and cleanup hooks.

Document where hooks may be registered and when they run. Avoid implicit global lifecycle state that breaks with multiple mounted trees.

When disabled, omit the lifecycle module and its public exports.

## Generator architecture

Build a deterministic generator:

generateProject(config) => Record<string, string>

Its output should map relative file paths to file contents.

Keep generation logic independent from the React interface. Use readable template modules and shared configuration validation.

The same configuration should produce the same files and contents.

Generate only the selected modules. Ensure all imports, exports, examples, tests, and documentation remain consistent with the selected options.

Suggested exported structure:

nava/
  package.json
  README.md
  index.html
  src/
    index.js
    core/
      element.js
      mount.js
      cleanup.js
    state/
      index.js
    router/
      index.js
    lifecycle/
      index.js
  examples/
    main.js
  tests/
    core.test.js
    state.test.js
    router.test.js
  vite.config.js

Optional directories and tests must be omitted when their features are disabled.

Include the dependencies and scripts required for the exported project to support:

npm install
npm run dev
npm test
npm run build

The exported example must import the locally generated framework, not an unrelated package from a registry.

## Editor and playground

- Show generated files in a file tree.
- Allow editing of generated text files.
- Track unsaved or modified files visually.
- Run the current edited files, not a separate hardcoded implementation.
- Provide an explicit Run button.
- Clearly show when the preview is out of date.
- Display syntax errors and runtime errors without crashing the builder.
- Capture console.log, console.warn, console.error, and unhandled rejections.
- Include a clear-console action.

For the MVP, preview source files should use browser-native ES modules and relative imports. You do not need to implement an arbitrary npm dependency bundler.

Implement local module resolution deliberately, for example by producing Blob module URLs in dependency order for the generated acyclic module graph. Report missing modules, unsupported imports, and circular dependencies clearly.

Run preview code in a sandboxed iframe:
- Use allow-scripts without allow-same-origin.
- Do not execute generated code in the parent application.
- Recreate the iframe for a fresh run.
- Use a restricted preview CSP to block network connections and unnecessary external resources.
- Validate postMessage events against the current iframe window and expected message schema.
- Revoke Blob URLs and remove listeners when they are no longer needed.

Explain the preview’s limitations honestly. Do not describe the sandbox as a complete security boundary for hostile code or a guarantee against infinite loops.

## Export

Download the current workspace as a ZIP file.

Export edited files exactly as shown in the editor, rather than silently regenerating them.

The ZIP must include:
- Framework implementation.
- Working example.
- package.json and development configuration.
- Relevant tests.
- README.

The generated README should explain:
- What the framework includes.
- How to install and run the example.
- Public API usage.
- Reactivity and cleanup behavior.
- Routing, if enabled.
- Known limitations.
- How to extend the generated code.

## Tests and acceptance criteria

Add meaningful tests for:
- Deterministic generation.
- Configuration validation.
- All combinations of the three optional features.
- Consistent imports and exports.
- Basic DOM rendering.
- Event handling.
- Reactive updates when enabled.
- Subscription cleanup after unmount.
- Router navigation and cleanup when enabled.
- Correct omission of disabled modules.

The implementation is complete when:
1. The builder runs locally.
2. Changing configuration changes the generated project.
3. Editing a source file affects the next preview run.
4. The default counter works with reactive state enabled.
5. The nonreactive configuration also produces a working demo.
6. Routing works when selected.
7. Errors appear in the playground console.
8. Downloaded projects can run independently of the builder.
9. Implemented tests pass.

## Implementation priorities

Build a working vertical slice first:
configuration → generation → editor → preview → ZIP export.

Then add optional features, persistence, tests, and visual polish.

Prefer simple, maintainable code over unnecessary abstractions. Do not add placeholder buttons, fake terminal output, mocked functionality, or TODOs for core features.

If a requirement cannot be completed, identify it explicitly rather than pretending it works.

Start implementing the application. At the end, summarize what was built, how to run it, which tests were actually executed, and any remaining limitations.
CodexClaude CodeCI/CD
P@mirm14354
0
SnippetNest
Text

This prompt asks for a fully functional, offline-first code-snippet manager called SnippetNest. It should be built as a browser-only React + TypeScript app, storing all snippets locally in IndexedDB rather than using a backend or user accounts. IndexedDB is well suited to local-first apps because it persists structured data on the user’s device and supports offline use.

Build a complete, working web application called "SnippetNest", a
local-first code snippet manager for developers.

Tech stack:
- React with TypeScript
- Vite
- Tailwind CSS
- IndexedDB for persistent local storage
- A syntax-highlighting library of your choice

Core features:
1. Create, edit, and delete code snippets.
2. Each snippet must include a title, programming language, description,
   code, tags, favorite status, and creation/update timestamps.
3. Search snippets by title, description, tags, and code content.
4. Filter by programming language, tag, and favorite status.
5. Show syntax-highlighted code with a copy-to-clipboard button.
6. Support light and dark themes.
7. Import and export snippets as JSON. Validate imported data and
   show a preview before applying changes.
8. Include useful empty states, form validation, and deletion confirmation.

Interface:
- Create a clean, responsive developer-focused layout.
- Use a sidebar for filters, a searchable snippet list, and a detail panel.
- Make the interface keyboard-accessible with visible focus states.
- Include a few sample snippets only on the first launch.
- Do not require authentication, a backend, or external API keys.

Engineering requirements:
- Separate UI components, persistence logic, hooks, and types.
- Handle storage failures and invalid imports gracefully.
- Render saved code as text; never execute it.
- Add tests for search/filter behavior and import validation.
- Avoid placeholders, unfinished features, and unnecessary dependencies.

Deliverables:
- Complete source code.
- A README with setup instructions, available scripts, features,
  architecture overview, and known limitations.
- An MIT license file.
- A .gitignore file.

Start with a short implementation plan and project structure, then
implement the application.
Claude Code
P@mirm14354
0