Rayyan Madani
๐Ÿ“Ž 1 file 16,527 chars
๐Ÿ“„
pasted-code-1792140946140.txt
txt 511 lines
โ–ถ
# UNKNOWN FLIGHT โ€” ULTIMATE MASTER PROMPT
## Complete AI Platform, Automatic Prompt Engineering, Minecraft Development, Texture Creation, and Voice Chat

Act as a senior full-stack engineer, AI systems architect, prompt-engineering specialist, Minecraft developer, image-generation engineer, and multilingual voice AI developer.

Build a complete, functional AI web application named **Unknown Flight**.

The application must combine an automatic prompt-generation system, a Minecraft development agent, a texture-generation agent, multilingual AI chat, and voice interaction in one unified platform.

The user must never need another AI tool to prepare prompts for Unknown Flight.

Do not build only a static UI or demonstration. Implement real workflows using appropriately configured AI models, backend services, file-generation tools, and validation systems.

---

# 1. BRANDING AND DARK UI

Application name: Unknown Flight.

Tagline: "Your Minecraft. Your Ideas. Powered by AI."

Use a premium dark interface with:
- Background: #101113
- Secondary background: #191B1F
- Cards: #22252A
- Borders: #353940
- Primary text: #F3F4F6
- Secondary text: #A5AAB2
- Subtle silver-grey accents

Use rounded cards, smooth transitions, professional typography, modern icons, responsive layouts, and a clean developer-workspace design.

Create a dashboard with:
- Minecraft Developer
- Texture Developer
- My Projects
- Chat History
- Settings

All buttons, cards, navigation items, and forms must be functional.

# 2. CORE FEATURE: AUTOMATIC PROMPT ENGINEERING

This is the most important feature of Unknown Flight.

Implement an internal AI Prompt Engine that automatically converts ordinary user descriptions into detailed technical instructions for the appropriate AI development agent.

The user must NOT have to:
- Ask another AI to write a prompt.
- Copy and paste prompts from another application.
- Learn prompt engineering.
- Manually format technical instructions.
- Write a separate prompt for every development task.

The user should simply explain what they want in natural language.

The Prompt Engine must interpret the user's intent, identify relevant requirements, organize the instructions, and automatically pass the resulting specification to the correct AI agent.

The generated prompt or specification must remain internal by default. The user should interact through an ordinary chat interface.

## Example workflow

User writes in Roman Urdu:

"Mere Minecraft server ke liye ek Paper plugin banao. Ismein /shop command ho, GUI inventory khule, items ki prices configurable hon aur admin apne items add kar sake."

The application must automatically:

1. Understand the user's language.
2. Extract the requested features.
3. Identify the relevant Minecraft platform and technical requirements.
4. Detect missing information.
5. Generate a structured internal technical prompt.
6. Send the instructions directly to the Plugin Developer agent.
7. Generate the actual project files.
8. Validate the project and run available tests.
9. Show progress and results in the same interface.

The user must never have to manually copy the generated prompt into another AI.

## Prompt Engine requirements

Implement:
- Intent detection
- Natural-language requirement extraction
- Context-aware prompt generation
- Technical specification generation
- Version and platform awareness
- Clarification handling
- Prompt validation
- Agent routing
- Error recovery
- Conversation context management

The internal prompt should contain relevant details such as:
- Project objective
- Minecraft version
- Platform or framework
- Programming language
- Required features
- Commands and permissions
- Configuration requirements
- Dependencies
- Expected file structure
- Compatibility constraints
- Testing requirements
- Expected deliverables

Do not include irrelevant instructions or invent requirements the user never requested.

If important information is missing, ask the user a short question in their chosen language. Otherwise, use clearly identified reasonable defaults where appropriate.

## Internal versus visible prompt

By default, hide the technical prompt and let the user work naturally through chat.

Optionally provide an expandable "View AI Instructions" panel for users who want to inspect the generated specification.

Allow users to revise their request naturally before or during development.

# 3. ONE UNIFIED AI DEVELOPMENT PIPELINE

Create a central orchestration system that connects the Prompt Engine to the correct development agent.

Required pipeline:

User Message โ†’ Language Understanding โ†’ Prompt Engine โ†’ Workspace-Specific AI Agent โ†’ File Generation โ†’ Validation โ†’ Results.

For every request:
- Route the task to the correct agent.
- Preserve the relevant conversation and project context.
- Send the generated technical instructions automatically.
- Generate real files or assets.
- Report progress truthfully.
- Return results in the same conversation.

Do not merely display a generated prompt and stop.

Do not simulate development with hardcoded messages.

Do not claim that files were created, code was compiled, or tests passed unless those operations actually occurred.

Use the connected AI model's supported capabilities and a secure backend to implement this workflow.

# 4. MULTILINGUAL TEXT CHAT

Users must be able to describe their ideas in any language supported by the connected AI model.

Support broad multilingual coverage, including:
- English
- Urdu
- Roman Urdu
- Hindi
- Arabic
- Spanish
- French
- Chinese
- Other supported languages

Requirements:
- Detect the user's language where practical.
- Reply in the same language by default.
- Allow the user to request a different response language.
- Support Unicode and right-to-left text.
- Preserve technical names, code syntax, file names, and commands.
- Allow language switching during a conversation.

The internal technical prompt may be normalized into a language suitable for the selected AI agent, while the user-facing conversation remains in the user's preferred language.

Do not artificially restrict users to a short predefined list of languages.

Actual language support depends on the connected models and services.

# 5. MULTILINGUAL VOICE CHAT

Provide real voice conversation in every applicable workspace.

Include:
- Microphone control
- Start and stop recording
- Speech-to-text
- AI response generation
- Text-to-speech
- Stop or interrupt spoken responses
- Voice playback controls
- Switch to Text
- Language selection
- Automatic language detection where supported
- Listening, processing, speaking, and error states

Users must be able to explain a complete development request by speaking naturally.

The resulting transcription must enter the same Prompt Engine used by text chat.

Voice workflow:

User Speech โ†’ Speech Recognition โ†’ Natural-Language Understanding โ†’ Automatic Prompt Engine โ†’ Selected AI Agent โ†’ Development Pipeline โ†’ Spoken and Text Results.

Allow users to review or correct transcriptions before submitting if desired.

Support the widest practical range of languages and accents provided by the selected speech services.

Never claim universal voice-language support without verifying the actual provider's capabilities.

# 6. MINECRAFT DEVELOPER

Create three fully functional workspaces.

## A. Mod Developer

Support:
- Project name
- Minecraft version
- Mod loader
- Programming language
- Feature description
- Automatic prompt generation
- AI chat and voice
- Code editor
- File explorer
- Project generation
- Error fixing
- Validation
- Downloadable project archive

Support compatible frameworks such as Fabric and Forge.

## B. Plugin Developer

Support:
- Project name
- Minecraft version
- Server platform
- Java version where applicable
- Plugin requirements
- Automatic prompt generation
- AI chat and voice
- Commands
- Permissions
- Event handlers
- Configuration files
- Storage and integrations where requested
- Code editor
- File explorer
- Error fixing
- Build validation
- Project download

Support compatible platforms such as Paper and Spigot.

The user should describe the plugin in ordinary language. The Prompt Engine must automatically prepare and send the internal technical instructions to the Plugin Developer agent.

## C. Script Developer

Support:
- Script name
- Minecraft version and edition
- Scripting platform
- Supported language or API
- Feature description
- Automatic prompt generation
- AI chat and voice
- Script generation
- Code editing
- Error fixing
- Export and download

Generate scripts compatible with the selected platform and supported APIs.

# 7. TOOL TEXTURE

The Tool Texture card must display an image of an open Minecraft-style inventory containing tools inside its slots.

The image should show:
- Sword
- Pickaxe
- Axe
- Shovel
- Inventory grid

Use recognizable Minecraft-inspired pixel art.

Do not use a standalone pickaxe, floating tools, or generic tool photographs.

## Tool Texture workspace

Support:
- Item selection
- Minecraft edition and version
- Texture resolution
- Style selection
- Natural-language description
- Automatic prompt generation
- AI chat and voice
- Actual image generation
- Image preview
- Regeneration and revisions
- PNG downloads
- Compatible resource-pack export

The Prompt Engine must translate the user's visual description into appropriate internal image-generation instructions and send them to the configured image-generation model.

# 8. GUI TEXTURE

Use a separate GUI-focused image for the GUI Texture card.

The image should show Minecraft-style interface elements such as inventory slots, hotbar, hearts, hunger indicators, and experience bars.

The workspace must support:
- Inventory backgrounds
- Hotbar textures
- Health hearts
- Hunger indicators
- Armor indicators
- Experience bars
- Buttons and menu elements
- Natural-language descriptions
- Automatic prompt generation
- AI chat and voice
- Image generation
- Previews and revisions
- PNG downloads
- Compatible resource-pack export

Preserve transparency where appropriate.

Keep GUI assets organized separately from tool textures.

# 9. GREY MOON VOICE INTERFACE

Create a dedicated voice-chat interface with a realistic grey Moon in the center.

The Moon must have:
- A perfectly spherical shape
- Silver-grey and dark-grey lunar surfaces
- Realistic craters
- Subtle shadows
- A soft white-grey glow

Do not use a rainbow orb or multicolored gradient.

Surround the Moon with one complete circular orbit made of small black dots.

The dots must:
- Form a complete circular ring.
- Be evenly spaced.
- Surround the Moon.
- Remain distinct dots rather than a solid line.
- Never appear only as horizontal rows on the sides.

Use CSS, SVG, or a suitable rendering technique to create a responsive dotted ring.

Provide subtle animation states for:
- Idle
- Listening
- Processing
- Speaking
- Error

Include microphone controls, Cancel, End Conversation, and Switch to Text.

Synchronize the visual states with actual voice activity where supported.

# 10. SHARED AI CHAT WORKSPACE

Every workspace must include a contextual AI chat interface.

The user can:
- Explain a complete idea
- Add more requirements
- Ask questions
- Request modifications
- Ask for error fixes
- Request explanations
- Change features through ordinary conversation

The AI must understand the active project and modify the relevant files without unnecessarily replacing unrelated working functionality.

Text and voice messages must use the same conversation and Prompt Engine pipeline.

# 11. PROJECT FILES AND DEVELOPMENT EXECUTION

Implement actual project file creation and management.

For code projects, support:
- File explorer
- Code editor
- File creation and editing
- Save operations
- Project validation
- Build execution where available
- Test execution where available
- Downloadable project archives

For texture projects, support:
- Asset gallery
- Image preview
- Regeneration
- Revisions
- PNG downloads
- Resource-pack packaging

Use safe execution environments for generated code and commands. Never execute untrusted generated code directly on the production server without appropriate isolation.

Show meaningful progress, errors, warnings, and completion status.

# 12. PROJECT HISTORY AND STORAGE

Implement:
- Create project
- Rename project
- Save project
- Reopen project
- Delete project
- Conversation history
- Rename and delete conversations
- Project-specific chat context
- Persistent storage where configured

Protect user projects and conversations.

Do not claim persistence if only temporary in-memory storage is available.

# 13. SETTINGS

Provide:
- Preferred chat language
- Voice language
- Voice selection where supported
- Automatic language detection
- Text-to-speech settings
- Playback speed where supported
- Theme preferences
- Project preferences

Keep the visual design consistent with the dark Unknown Flight interface.

# 14. SECURITY AND AI INTEGRATION

Use a suitable modern frontend, backend, and database architecture.

Integrate:
- Real AI text model
- Automatic prompt-generation pipeline
- Workspace-specific agents
- Image-generation service
- Speech recognition
- Speech synthesis or real-time voice service
- File-generation and validation tools

Requirements:
- Store API keys securely on the backend.
- Use environment variables.
- Never expose secret keys in browser code.
- Validate inputs.
- Handle errors, timeouts, and rate limits.
- Protect uploaded and generated files.
- Document external service requirements.
- Never fabricate credentials or pretend an integration is configured when it is not.

# 15. END-TO-END TESTING

Verify that:

1. The dashboard and all workspace options function.
2. Users can explain requests in ordinary language.
3. The Prompt Engine automatically converts descriptions into technical instructions.
4. Instructions are sent directly to the appropriate AI agent.
5. Users never need a separate AI to create prompts.
6. Text and voice use the same development pipeline.
7. Supported languages work correctly.
8. Mod projects generate appropriate files.
9. Plugin projects generate appropriate files.
10. Scripts match their selected platform.
11. Tool textures and GUI textures are generated through the configured image service.
12. The Moon and black dotted orbit display correctly.
13. Project history works.
14. Downloads and exports work.
15. Failures are reported truthfully.
16. Existing project features are preserved during revisions.

Use automated tests where practical and fix discovered problems before declaring completion.

# 16. IMPLEMENTATION AND FINAL DELIVERY

Inspect the existing environment, then implement the application in practical phases without abandoning the overall requirements.

Deliver:
- Complete source code
- Functional frontend and backend
- Automatic Prompt Engine
- AI development agents
- Minecraft Mod Developer
- Minecraft Plugin Developer
- Minecraft Script Developer
- Tool Texture and GUI Texture workspaces
- Multilingual AI chat
- Voice input and spoken responses
- Grey Moon voice interface
- Project storage and history
- File downloads and exports
- Setup and deployment instructions
- Environment variable documentation
- Testing results
- Clear documentation of any unavailable or unconfigured integrations

Do not stop after creating a mockup or a prompt-generation screen.

The final application must automatically convert ordinary user descriptions into internal technical prompts and send them to the appropriate AI agent, which then performs the actual development work using available tools.

**FINAL GOAL: UNKNOWN FLIGHT MUST BE A SELF-CONTAINED AI DEVELOPMENT PLATFORM. THE USER EXPLAINS WHAT THEY WANT IN THEIR OWN LANGUAGE, THROUGH TEXT OR VOICE, AND UNKNOWN FLIGHT AUTOMATICALLY UNDERSTANDS THE REQUEST, CREATES THE INTERNAL INSTRUCTIONS, DEVELOPS THE PROJECT, VALIDATES IT, AND DELIVERS THE RESULT โ€” WITHOUT NEEDING ANOTHER AI TO WRITE PROMPTS.**
Kodari AI
KodariOct 16 at 8:56 am 1
PluginForge
A Minecraft plugin development assistant that automatically converts natural-language user requests into structured technical specifications and generates complete, ready-to-use Paper/Spigot plugin projects. It features an intelligent prompt engine for intent detection and requirement extraction, automatic file generation for plugin.yml, Java source code, and configuration files, plus built-in validation and downloadable project archives. Supports multilingual input, including Roman Urdu, with automatic language detection and response in the user's preferred language. The system routes requests to a specialized plugin developer agent, generates real project files, and provides a file explorer and code editor for review and modification.

This spec is for a full-stack AI web app, not a Minecraft plugin, so I shouldnโ€™t turn it into a mock plugin or claim the AI, voice, and image integrations work.

For its hosted backend, create a Discord bot project on Kodari; it can expose the appโ€™s API at https://<name>.kodaribots.com. Open that project and I can build the backend workflows there, using environment variables for any provider credentials.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code