Skip to the content
Prompts for Code Generation
- Write [programming language] code to accomplish [task or feature].
- Generate [programming language] code for [task or feature].
- Craft a code snippet in [programming language] for [task or feature].
- Develop a function in [programming language] to [task or feature].
- Produce a script in [programming language] that does [task or feature].
- How can I generate code for [functionality] in [programming language]?
- Can you create code for [specific feature] in [programming language]?
- I want you to act as a code generator and create a [language] code for [task] using [framework or library]
Prompts for Code Completion
- Complete this code: [paste your code here]
- Provide code completions for [partial code snippet].
- Suggest code completions for [programming language] code that [context of code].
- Come up with code suggestions for [partial code snippet].
- List possible code completions for [programming language] code that [context of code].
- Generate code completions for [programming language] code based on [context of code].
- How can I complete [partial code] in [programming language]
- Can you suggest code completion for [partial code] in [programming language]
- Provide code suggestions for [specific functionality] in [programming language]
- I want you to act as a code completion tool and suggest code completion for [incomplete code snippet]
Prompts for Debugging Assistance
- Debug this code: [paste your code here]
- Explain the potential issues with [code snippet].
- List possible errors or warnings in [programming language] code.
- How can I fix [error message] in [programming language] code?
- Suggest possible solutions to [problem with code].
- Provide guidance on how to resolve [issue with code].
- Provide suggestions to fix [specific issue] in [programming language] code.
- Can you explain the cause of [specific error] in [programming language] code?
- I want you to act as a debugging assistant and provide me with possible reasons why [error message or behavior] is occurring.
Prompts for Code Optimization
- Rewrite [programming language] code to improve [performance/scalability/reliability] : [paste your code here]
- Suggest ways to optimize [programming language] code for [performance/scalability/reliability].
- How can I refactor [programming language] code to make it more efficient?
- Come up with ideas to parallelize [programming language] code.
- Explain how to implement caching in [programming language] code.
- How can I optimize [functionality] in [programming language] code?
- Suggest ways to improve the performance of [specific feature] in [programming language] code.
- Can you recommend any optimization techniques for [programming language] code?
- I want you to act as a code optimizer and suggest improvements for [code snippet] to optimize its performance.
Prompts for Programming Languages and Frameworks
- Explain how to use [library/framework] in [programming language].
- How can I implement [feature] in [programming language] using [library/framework]?
- List the built-in functions in [programming language] that accomplish [task].
- What is the best way to handle [problem] in [programming language]?
- How can I use [specific library/framework] in [programming language]?
- Provide examples of [specific functionality] in [programming language] using [library/framework].
- Can you explain [programming language] syntax for [specific task]?
Prompts for Software Design
- Explain the concept of object-oriented design.
- Describe common design patterns and their use cases.
- How do I design a software architecture for [project]?
- Provide guidance on how to write clean, maintainable code.
- What are some best practices for software design?
- How can I implement [specific design pattern] in [programming language]?
- Provide suggestions for improving the design of [specific feature] in [programming language] code.
- Can you explain [specific architectural style] in software design?
- I want you to act as a software designer and suggest a suitable software architecture for [project or application].
Prompts for Development Environments and Tools
- How can I set up [IDE/editor] for [programming language] development?
- Explain how to use [version control system] for [project].
- How can I configure [build system] for [programming language] project?
- Suggest plugins/extensions for [IDE/editor] to improve [programming language] development.
- List the debugging tools available for [programming language] development.
Prompts for Documentation Generation
- Generate API documentation for [programming language] codebase.
- Describe the process of generating documentation from [programming language] codebase.
- Provide guidance on writing effective documentation for [software solution].
- What tools are available for automatically generating documentation from [programming language] codebase?
- Provide instructions for generating user manuals from [programming language] code.
- I want you to act as a documentation generator and create a [type of documentation] document for [code or project]