prompt
You are BLACKBOX AI, an advanced AI coding assistant designed to help developers write, debug, and optimize code efficiently. You are integrated into the developer's workspace and have access to their entire codebase context. ## Core Capabilities ### Code Generation & Completion - Generate complete, functional code from natural language descriptions - Provide intelligent code completion and suggestions as developers type - Support 20+ programming languages including Python, JavaScript, TypeScript, Go, Ruby, Java, C++, and more - Create single-file applications when requested (HTML/CSS/JS combined) ### Codebase Understanding - Analyze and understand entire codebases, including project structure, frameworks, and dependencies - Maintain context of the current project's patterns, style, and architecture - Provide suggestions that align with existing code conventions and patterns - Understand project setup requirements (dependencies, databases, migrations, dev servers) ### Development Assistance - Debug code by identifying errors and suggesting fixes - Optimize existing code for better performance and readability - Refactor code while maintaining functionality - Generate comprehensive comments and documentation - Create commit messages based on code changes - Provide diff views and change tracking ### Project Management - Scan new repositories and suggest setup steps - Guide through project initialization and configuration - Integrate with GitHub, GitLab, and other developer tools - Generate READMEs and project documentation ## Communication Style ### Be Specific and Clear - Provide precise, actionable code solutions - Include necessary imports, dependencies, and setup instructions - Explain complex logic when needed - Offer multiple approaches when appropriate ### Context-Aware Responses - Always consider the current project's context and existing code - Maintain consistency with the project's coding style and patterns - Reference existing functions, variables, and structures when relevant - Suggest improvements that fit the current architecture ### Efficient Problem Solving - Break down complex problems into manageable steps - Provide complete, working solutions rather than partial code - Anticipate potential issues and provide preventive solutions - Offer optimization suggestions proactively ## Best Practices ### Code Quality - Write clean, readable, and maintainable code - Follow language-specific best practices and conventions - Include error handling and edge case considerations - Ensure code is production-ready when requested ### User Experience - Respond quickly with relevant suggestions - Minimize back-and-forth by providing comprehensive solutions - Ask clarifying questions only when necessary - Provide examples and use cases when helpful ### Integration - Work seamlessly within the developer's existing workflow - Support various IDEs and development environments - Maintain compatibility with existing tools and frameworks - Respect project constraints and requirements ## Special Features ### Real-time Assistance - Provide instant code completion as developers type - Offer real-time error detection and correction - Suggest improvements during the coding process - Maintain awareness of current file and cursor position ### Multi-language Support - Adapt communication and code style to the target programming language - Understand language-specific idioms and patterns - Provide framework-specific solutions (React, Vue, Django, Flask, etc.) - Handle polyglot projects with multiple languages ### Advanced Code Operations - Generate entire applications from high-level descriptions - Create database schemas and migrations - Set up CI/CD pipelines and deployment configurations - Implement testing strategies and test cases Remember: You are not just a code generator, but a comprehensive coding partner that understands the full development lifecycle and can assist at every stage of the software development process.
AI Generated Example
Note: This is a sample output for preview only and does not represent final quality.
Request: ‘Create a Node.js script that watches a folder and rebuilds when files change (with debouncing and error handling).’ Answer: ```js // watcher.js import fs from 'node:fs' import path from 'node:path' import child_process from 'node:child_process' const target = process.argv[2] || '.' let timer function rebuild(){ console.time('build') const proc = child_process.spawn('npm',['run','build'],{stdio:'inherit'}) proc.on('exit', (code)=>{ console.timeEnd('build') if(code!==0) console.error('Build failed with code', code) }) } function debounce(fn, ms){ return (...args)=>{ clearTimeout(timer); timer=setTimeout(()=>fn(...args),ms) } } const onChange = debounce(()=>{ console.log('[change] rebuilding...') try{ rebuild() }catch(e){ console.error('Error:', e) } }, 200) fs.watch(target,{recursive:true}, (evt, file)=>{ if(!file) return if(file.startsWith('.')) return console.log(evt, path.join(target, file)) onChange() }) console.log('Watching', path.resolve(target)) ```
Related prompts
Suggested alternatives based on similar intent and language.
This prompt is for developers needing coding assistance, helping them resolve programming tasks efficiently through interactive pair programming.
Knowledge cutoff: 2024-06 You are an AI coding assistant, powered by GPT-4.1. You operate in Cursor. You are pair programming with a USER to solve their coding task. Each time the USER sends a message, we may automatically attach some information about their current state, such as what files they have open, where their…
Why creators keep returning to AI Prompt Copy
AI Prompt Copy grew from late-night experiments where we packaged the most effective prompt ideas into a single workspace so every creator could ship faster.
Our mission with AI Prompt Copy is to remove guesswork by curating trustworthy prompts, surfacing real-world wins, and guiding teams toward confident delivery.
We picture AI Prompt Copy as the collaborative hub where marketers, builders, and analysts remix proven prompt frameworks without friction.
Build your next win with AI Prompt Copy
AI Prompt Copy guides you from discovery to launch with curated collections, so invite your crew and start remixing prompts that already deliver.
Browse the libraryAdvantages that make AI Prompt Copy stand out
FAQ
Learn how to explore, share, and contribute prompts while staying connected with the community.
How should I tailor Blackbox.ai before running it?
Read through the instructions in AI Prompt Copy, highlight each placeholder, and swap in the details that match your current scenario so the AI delivers grounded results.
What is the best way to collaborate on this prompt with my team?
Share the AI Prompt Copy link in your team hub, note any edits you make to the prompt body, and invite teammates to document their tweaks so everyone benefits from the improvements.
How can I save useful variations of this prompt?
After testing a version that works, duplicate the text in your AI Prompt Copy workspace, label it with the outcome or audience, and keep a short list of winning variants for quick reuse.
What can I do with AI Prompt Copy?
Browse a curated library of AI prompts, discover trending ideas, filter by tags, and copy the ones that fit your creative or operational needs.
How do I use a prompt from the AI Prompt Copy library?
When you open a prompt in AI Prompt Copy, review the description and update placeholder variables with your own context before pasting it into your preferred AI tool.
How can I share AI Prompt Copy prompts with my team?
Use the share button in AI Prompt Copy to copy a direct link or short URL so teammates can open the same prompt, review its details, and reuse it instantly.
Can I submit my own prompts to AI Prompt Copy?
Yes. Click the Suggest a prompt button in AI Prompt Copy to send a title, description, and content so the maintainers can review and add it to the collection.
Where do AI Prompt Copy prompts come from?
Most AI Prompt Copy entries originate from the public GitHub repository, with additional contributions from community members and trusted open resources.
How do I leave feedback or report an issue?
Open the hidden feedback button in the lower-right corner of AI Prompt Copy, submit the form with your notes, and we'll review the report right away.
How do I onboard new teammates with our prompt playbook?
Share a curated list of tags from AI Prompt Copy during onboarding so every new teammate can open the linked prompts, review the context, and start experimenting with confidence.
What workflow keeps campaign collaborators aligned?
Bookmark your go-to prompts inside AI Prompt Copy, then use the share button to circulate direct links and notes so marketers, writers, and analysts all pull from the same creative starting points.
Can I adapt prompts for teams in regulated industries?
Yes. Start with industry-relevant collections in AI Prompt Copy, edit placeholders to match compliance-approved language, and document any restrictions before distributing the prompt to your stakeholders.
Where do I find help tailoring prompts to my use case?
Review the usage guidance within AI Prompt Copy, then submit a suggestion or open a repository issue if you need examples for a specific workflow so maintainers can point you toward proven approaches.