A simple C# console application that uses the GitHub Copilot SDK to help users brainstorm project ideas and create task lists. The assistant generates structured markdown files for both projects and tasks, making it easy to organize and track your ideas.
-
Project Idea Generation: Provide a project concept and get back a structured document with:
- Brief description of the idea
- Up to 5 interesting feature suggestions
- Basic roadmap with milestones
- Up to 3 useful resource links
-
Task Creation: Convert prompts into well-structured task documents with:
- Task description
- Priority level (Low, Medium, High)
- Optional deadline
- Sub-task breakdown when appropriate
-
Markdown Output: All generated content is saved as markdown files for easy reading and editing
-
Interactive Console: Simple, keyboard-driven interface with display of generated content
- .NET 10
- GitHub Copilot CLI installation guide
- GitHub Copilot SDK
- Access to a Copilot provider (API key required)
Create an appsettings.json file in the application directory with the following structure:
{
"Copilot": {
"Provider": {
"Type": "provider-type",
"BaseUrl": "provider-base-url",
"ApiKey": "your-api-key"
}
},
"MarkdownDirectory": {
"ProjPath": "path/to/projects",
"TaskPath": "path/to/tasks"
}
}- Copilot:Provider:Type: The type of Copilot provider you're using
- Copilot:Provider:BaseUrl: The base URL for your Copilot provider
- Copilot:Provider:ApiKey: Your API key for authentication
- MarkdownDirectory:ProjPath: Directory where project markdown files will be saved
- MarkdownDirectory:TaskPath: Directory where task markdown files will be saved
- Run the application
- You'll see the welcome message and prompt
- Enter either:
- A project idea (e.g., "A weather app that suggests clothing")
- A task request (e.g., "Create a task to implement user authentication")
- Wait for the assistant to generate and save the markdown file
- The content will be displayed in the console
- Press ESC at any time to exit the application
Creating a Project:
> A mobile app for tracking daily water intake
Creating a Task:
> Create a task to set up the database schema
- The application initializes a Copilot session with custom system instructions
- Users prompt is captured via the console
- Prompts are processed and sent to the Copilot API
- The assistant generates markdown content and saves it to the configured directory
- The markdown is converted to plain text and displayed in the console
- Responses are limited to 60 seconds timeout
- Only one prompt can be processed at a time