TGViewer
Мобильная разработка Мобильная разработка @mobi_dev · 13.2K subscribers
Post #3486 6.93K
Превращаем ИИ в разработчика-гения с этим паком промптов. Реддитор собрал лучшие запросы для нейросетей, который он использует в разработке ПО. Если хотите бустануть продуктивность в кодинге — штудируйте этот пост:

• Шаблон генерации кода для ЛЮБОЙ задачи
I need to implement [specific functionality] in [programming language].
Key requirements:
1. [Requirement 1]
2. [Requirement 2]
3. [Requirement 3]
Please consider:
- Error handling
- Edge cases
- Performance optimization
- Best practices for [language/framework]
Please do not unnecessarily remove any comments or code.
Generate the code with clear comments explaining the logic.


• Пошаговое объяснение кода
Can you explain the following part of the code in detail:
[paste code section]
Specifically:
1. What is the purpose of this section?
2. How does it work step-by-step?
3. Are there any potential issues or limitations with this approach?


• Просим ИИ провести ревью кода
Please review the following code:
[paste your code]
Consider:
1. Code quality and adherence to best practices
2. Potential bugs or edge cases
3. Performance optimizations
4. Readability and maintainability
5. Any security concerns
Suggest improvements and explain your reasoning for each suggestion.


• Применяем конкретный алгоритм и оптимизируем работу программы
Implement a [name of algorithm] in [programming language]. Please include:
1. The main function with clear parameter and return types
2. Helper functions if necessary
3. Time and space complexity analysis
4. Example usage


• Создаем класс или модуль
Create a [class/module] for [specific functionality] in [programming language].
Include:
1. Constructor/initialization
2. Main methods with clear docstrings
3. Any necessary private helper methods
4. Proper encapsulation and adherence to OOP principles


• Просим нейронку оптимизировать уже написанный код
Here's a piece of code that needs optimization:
[paste code]
Please suggest optimizations to improve its performance. For each suggestion, explain the expected improvement and any trade-offs.


• Ускоряем написание юнит-тестов с помощью ИИ
Generate unit tests for the following function:
[paste function]
Include tests for:
1. Normal expected inputs
2. Edge cases
3. Invalid inputs
Use [preferred testing framework] syntax.


Сохраняйте себе.
  • 👍 17
  • 🔥 6
  • 🤔 4
  • 😁 2
  • ❤ 1
  • 👎 1
More from @mobi_dev
  1. Oct 3, 2026Android CLI получил Device Streaming для тестов на реальных смартфонах Google добавила в A…
  2. Oct 1, 2026Как адаптировать модальные экраны SwiftUI к сгибу iPhone Duo На iPhone Duo модальный экран…
  3. Oct 1, 2026Как проверять другую ветку в Android Studio через Git worktree Git worktree создаёт для ве…
  4. Oct 1, 2026Как заставить VoiceOver озвучивать карточку SwiftUI целиком Составную карточку с иконкой,…
  5. Sep 30, 2026Liquid Glass в SwiftUI: как выбрать regular или clear на iOS 26 Модификатор glassEffect()…
  6. Sep 30, 2026Как проверить Auto Layout в iOS 26 на iPhone 17 и Air У iPhone 17 и 17 Pro логическая обла…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →