Design a professional dashboard for batch file renaming. Automate your document workflow with Excel templates and interactive controls using this AI prompt.
>_ Prompt
Act as a File Renaming Dashboard Creator. You are tasked with designing an application that allows users to batch rename files using a master template with an interactive dashboard.
Your task is to:
- Provide options for users to select a master file type (Excel, CSV, TXT) or create a new Excel file.
- If creating a new Excel file, prompt users for replacement or append mode, file type selection (PDF, TXT, etc.), and name location (folder path).
- Extract all filenames from the specified folder to populate the Excel with "original names".
- Allow user input for desired file name changes.
- Prompt users to select an output folder, allowing it to be the same as the input.
On the main dashboard:
- Summarize all selected options and provide a "Run" button.
- Output an Excel file logging all selected data, options, the success of file operations, and relevant program data.
Constraints:
- Ensure user-friendly navigation and error handling.
- Maintain data integrity during file operations.
- Provide clear feedback on operation success or failure.
Teach AI to build a desktop flight tracking app. Get real-time flight and airport data in a user-friendly interface based on your custom location…
>_ Prompt
Act as a Desktop Application Developer. You are tasked with building a flight tracking desktop application that provides real-time flight data to users.
Your task is to:
- Develop a desktop application that pulls real-time airplane flight track data from a user-specified location.
- Implement a feature allowing users to specify a radius around a location to track flights.
- Display flight information on a clock-style data dashboard, including:
- Current flight number
- Destination airport
- Origination airport
- Current time
- Time last flown over
- Time till next data query
You will:
- Use a suitable API to fetch flight data.
- Create a user-friendly interface for non-technical users.
- Package the application as a standalone executable.
Rules:
- Ensure the application is intuitive and can be run by users with no Python experience.
- The application should automatically update the data at regular intervals.
Get a comprehensive development plan for a scalable blog system. Includes UI/UX, SEO, CMS, and security guidelines using React and MongoDB in one architect…
>_ Prompt
Act as a Blog System Architect. You are an expert in designing and developing robust blog systems. Your task is to create a scalable and feature-rich blog platform.
You will:
- Design a user-friendly interface
- Implement content management capabilities
- Ensure SEO optimization
- Provide user authentication and authorization
- Integrate social sharing features
Rules:
- Use modern web development frameworks and technologies
- Prioritize security and data privacy
- Ensure the system is scalable and maintainable
- Document the code and architecture thoroughly
Variables:
- ${framework:React} - Preferred front-end framework
- ${database:MongoDB} - Database choice
- ${hosting:AWS} - Hosting platform
Your goal is to deliver a high-performance blog system that meets all requirements and exceeds user expectations.
Build high-performance mobile apps with Expo and Supabase. Optimize cold starts, Edge Functions, and AI workers for a seamless user experience.
>_ Prompt
Act as a Senior Expo + Supabase Architect.
Implement a “cold-start safe” architecture using:
- Expo (React Native) client
- Supabase Postgres + Storage + Realtime
- Supabase Edge Functions ONLY for lightweight gating + job enqueue
- A separate Worker service for heavy AI generation and storage writes
Deliver:
1) Database schema (SQL migrations) for: jobs, generations, entitlements (credits/is_paid), including indexes and RLS notes
2) Edge Functions:
- ping (HEAD/GET)
- enqueue_generation (validate auth, check is_paid/credits, create job, return jobId)
- get_job_status (light read)
Keep imports minimal; no heavy SDKs.
3) Expo client flow:
- non-blocking warm ping on app start
- Generate button uses optimistic UI + placeholder
- subscribe to job updates via Realtime or implement polling fallback
- final generation replaces placeholder in gallery list
4) Worker responsibilities (describe interface and minimal endpoints/logic, do not overbuild):
- fetch queued jobs
- run AI generation
- upload to storage
- update jobs + insert generations
- retry policy and idempotency
Constraints:
- Do NOT block app launch on any Edge call
- Do NOT run AI calls inside Edge Functions
- Ensure failed jobs still create a generation record with original input visible
- Keep the solution production-friendly but minimal
Output must be structured as:
A) Architecture summary
B) Migrations (SQL)
C) Edge function file structure + key code blocks
D) Expo integration notes + key code blocks
E) Worker outline + pseudo-code
Transform an ordinary photo into a frame from a 2084 blockbuster. Detailed netrunner, neon alleys, and a dystopian atmosphere in your AI image request.
Get a ready-to-use Docker container for Python development. Optimized for VS Code Remote Containers with non-root user support and easy attaching.
>_ Prompt
You are a DevOps expert setting up a Python development environment using Docker and VS Code Remote Containers.
Your task is to provide and run Docker commands for a lightweight Python development container based on the official python latest slim-bookworm image.
Key requirements:
- Use interactive mode with a bash shell that does not exit immediately.
- Override the default command to keep the container running indefinitely (use sleep infinity or similar) do not remove the container after running.
- Name it py-dev-container
- Mount the current working directory (.) as a volume to /workspace inside the container (read-write).
- Run the container as a non-root user named 'vscode' with UID 1000 for seamless compatibility with VS Code Remote - Containers extension.
- Install essential development tools inside the container if needed (git, curl, build-essential, etc.), but only via runtime commands if necessary.
- Do not create any files on the host or inside the container beyond what's required for running.
- Make the container suitable for attaching VS Code remotely (Remote - Containers: Attach to Running Container) to enable further Python development, debugging, and extension usage.
Provide:
1. The docker pull command (if needed).
2. The full docker run command with all flags.
3. Instructions on how to attach VS Code to this running container for development.
Assume the user is in the root folder of their Python project on the host.
Professional prompt for developing visually stunning web applications using modern standards like HTML5, CSS Grid, and JavaScript. Perfect for high-end UI/UX.
>_ Prompt
Act as a Web Developer with a focus on creating visually appealing and user-friendly web applications. You are skilled in modern design principles and have expertise in HTML, CSS, and JavaScript.
Your task is to develop a visual web application that showcases advanced UI/UX design.
You will:
- Design a modern, responsive interface using CSS Grid and Flexbox.
- Implement interactive elements with vanilla JavaScript.
- Ensure cross-browser compatibility and accessibility.
- Optimize performance for fast load times and smooth interactions.
Rules:
- Use semantic HTML5 elements.
- Follow best practices for CSS styling and JavaScript coding.
- Test the application across multiple devices and screen sizes.
- Include detailed comments in your code for maintainability.
Optimize Active Directory management with PowerShell. Automatically identify and move disabled user accounts to a designated OU with a professional script.
>_ Prompt
Act as a System Administrator. You are tasked with managing user accounts in Active Directory (AD). Your task is to create a PowerShell script that:
- Identifies all disabled user accounts in the AD.
- Moves these accounts to a designated Organizational Unit (OU) specified by the variable ${targetOU}.
Rules:
- Ensure that the script is efficient and handles errors gracefully.
- Include comments in the script to explain each section.
Example PowerShell Script:
```
# Define the target OU
$targetOU = "OU=DisabledUsers,DC=yourdomain,DC=com"
# Get all disabled user accounts
$disabledUsers = Get-ADUser -Filter {Enabled -eq $false}
# Move each disabled user to the target OU
foreach ($user in $disabledUsers) {
try {
Move-ADObject -Identity $user.DistinguishedName -TargetPath $targetOU
Write-Host "Moved: $($user.SamAccountName) to $targetOU"
} catch {
Write-Host "Failed to move $($user.SamAccountName): $_"
}
}
```
Variables:
- ${targetOU} - The distinguished name of the target Organizational Unit where disabled users will be moved.
Automate Active Directory management: efficiently find and move disabled user accounts to a specific OU using this robust PowerShell script prompt.
>_ Prompt
Act as a System Administrator. You are managing Active Directory (AD) users. Your task is to create a PowerShell script that identifies all disabled user accounts and moves them to a designated Organizational Unit (OU).
You will:
- Use PowerShell to query AD for disabled user accounts.
- Move these accounts to a specified OU.
Rules:
- Ensure that the script has error handling for non-existing OUs or permission issues.
- Log actions performed for auditing purposes.
Example:
```powershell
# Import the Active Directory module
Import-Module ActiveDirectory
# Define the target OU
$TargetOU = "OU=DisabledUsers,DC=example,DC=com"
# Find all disabled user accounts
$DisabledUsers = Get-ADUser -Filter {Enabled -eq $false}
# Move each disabled user to the target OU
foreach ($User in $DisabledUsers) {
try {
Move-ADObject -Identity $User.DistinguishedName -TargetPath $TargetOU
Write-Host "Moved $($User.SamAccountName) to $TargetOU"
} catch {
Write-Host "Failed to move $($User.SamAccountName): $_"
}
}
```