AI Use Cases - gaddlord/mtg.studio GitHub Wiki

This is a list of AI use cases I most commonly apply. The ist is not ordered in any way. For each use case I will mention which tool I have used successfully.

UC1: Code Completion

UC2: Generation of Unit Tests

UC3: Suggest Whole Blocks of Code

(e.g. "Generate DTO classes for the response returned by FilterItems web method.")

UC4: Produce Boilerplate for whole Pages, Apps

UC5: Generation of Comments

suggest you comments for class/method/function

UC6: Generation of Documentation

UC7: Research a Topic

(e.g. "tell me in what way parallelism differs from concurrency")

UC8: Code Refactoring

UC 8.1 Make code more efficient

UC 8.2 Reduce code complexity

UC 8.3 Make code more readable

UC 8.4 Obfuscate code

UC 8.5 Suggest Shorter/Longer Version of the Source Code

UC 8.5 Ask AI to Security Verify a Piece of Code

UC9: Explain Complex Code in Plain English

UC10: Translate Code from One Language to Another

(e.g. "Convert this C# function to Python")

UC11: Suggest Fixes in your Code

UC12: Investigate Why a Given Dunction does not Work or Returns a Given Error Code

UC13: Suggest Sample Data

(e.g. typing "Jan", "Feb", and allowing Copilot to suggest the rest of the months)

UC14: Write Code with Voice Commands

generation of code using AI voice commands (e.g. you say in the mic "Write a function that computes greatest common divisor")

UC15: Suggest Git Commit Messages

UC16: Suggest PR Comments

UC17: Analyse Log Liles

UC18: Analyzie Whole Project

Use @workspace command to have Copilot provide suggestions/responses over my whole codebase

UC19: Suggestions over a Given File(s)

prompt questions against a specific file (e.g. #file:validators.js)

UC20: Investigate Error Messages Returned in the IDE Terminal

"Explain with Copilot"

UC21: Generate Sample Data

(e.g. "generate a CSV with 100 lines of random first, last name, date of birth, and address)

UC22: Quickly Find Catalog table values

e.g. Give me the list of Countries with their ISO 2 and 3 letter country codes

UC23: Generate Large Portions of human readable text

(e.g. "give me 1000 words lorem ipsum", "generate a FANG CV template")

UC23: Write Infrastructure as Code

(e.g. GitHub actions, Terraform, Cloud Formation, Ansible scripts)

UC24: Check for Profanity Words Used in Code

UC25: Ask for Advise which Package/Library to Use

(e.g. "Tell me a good logging framework that is multithreaded and writes both files, syslog and Event Manager on Windows")

UC26: Research on Competition, Market Insight

UC27: Search Engine Optimize an HTML page

UC28: OCR - Extract Text from Image

MacOS Preview newocr.com

UC29: Generate Images

UC29: Face Swaps

UC30: Image to Video

Taking an image such as:

angel

we can generate a video such as:

https://github.com/user-attachments/assets/779c4cfe-12d5-4dc9-83f1-b178b890f5d8

UC31: Digitally Clone a Voice

UC32: TTS (Text to Speech)

UC32: Facilitated Generation of Prose, Poetry

UC33: Compute software metrics such as Cyclomatic Complexity in the form of "V(G) = E - N + 2P"

UC34: Use Chat as a Generic Prompt-Answering Machine