This repo turns recordings of weekly Discord office hours into structured Q&A write-ups, using VS Code GitHub Copilot and custom skills. The user-facing instructions are below, and the agent-facing instructions are in AGENTS.md.
📺 See a video recording of this repo in action
-
Add a new folder under
office-hours/for each week's office hours, named with the date inYYYY_MM_DDformat. Addraw.mdwith raw resources: typically that's the YouTube recording links, Discord pasted chat logs, and weekly slide content. -
Ask GitHub Copilot to generate the structured Q&A write-up using
/generate-writeupprompt or the following instruction:Generate a markdown write-up of the weekly Python + AI office hours held on DATE. -
Review the generated
questions_answers.mdfor accuracy and formatting. -
Ask GitHub Copilot to post each Q&A as a comment to the GitHub Discussion thread using
/post-commentsprompt or the following instruction:Post each Q&A from the write-up as a comment to the GitHub Discussion thread, and create a markdown list of the comment URLs in `comments.md`. Comment URLs should be relative, not absolute.That will use the GitHub CLI, authenticated as you, to post each question and answer as a separate comment in the discussion thread.
-
Ask GitHub Copilot to generate a YouTube-friendly description using
generate-youtube-descriptionprompt or the following instruction:Generate a YouTube description for the weekly Python + AI office hours held on DATE, based off the Q&A write-up.That will generate
youtube_description.mdwith timestamps and links, and you can copy-paste that into the YouTube video description. -
Ask GitHub Copilot to generate a LinkedIn post using
generate-linkedin-postprompt or the following instruction:Write a LinkedIn post summarizing this week's topics.LinkedIn doesn't support markdown, so the post will use Unicode bold characters for emphasis. Copy-paste the output directly into LinkedIn.
You should end up with a structure like this:
office-hours/
YYYY_MM_DD/
raw.md # Raw resources: YouTube links, chat logs, slides
questions_answers.md # Q&A write-up with timestamps
youtube_description.md # Description for YouTube video
comments.md # Relative URLs of GitHub Discussion comments
transcript.md # Full transcript of the office hours
linkedin_post.md # LinkedIn post summary