Skip to content

Simple console application that uses the GitHub Copilot SDK to help users brainstorm project ideas and create task lists.

Notifications You must be signed in to change notification settings

JG2196/Sidekick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copilot Sidekick Assistant

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.

Features

  • 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

Prerequisites

  • .NET 10
  • GitHub Copilot CLI installation guide
  • GitHub Copilot SDK
  • Access to a Copilot provider (API key required)

Configuration

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"
  }
}

Configuration Options

  • 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

Usage

  1. Run the application
  2. You'll see the welcome message and prompt
  3. 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")
  4. Wait for the assistant to generate and save the markdown file
  5. The content will be displayed in the console
  6. Press ESC at any time to exit the application

Example Interactions

Creating a Project:

> A mobile app for tracking daily water intake

Creating a Task:

> Create a task to set up the database schema

How It Works

  1. The application initializes a Copilot session with custom system instructions
  2. Users prompt is captured via the console
  3. Prompts are processed and sent to the Copilot API
  4. The assistant generates markdown content and saves it to the configured directory
  5. The markdown is converted to plain text and displayed in the console

Notes

  • Responses are limited to 60 seconds timeout
  • Only one prompt can be processed at a time

About

Simple console application that uses the GitHub Copilot SDK to help users brainstorm project ideas and create task lists.

Topics

Resources

Stars

Watchers

Forks

Languages