GitHub Copilot can help you draft a change quickly. Checking whether that change matches your requirements is still your job. This 30-page illustrated field guide starts in the editor and follows a small JavaScript formatter through a written brief, tests and review.
Choose the right Copilot workflow
Use inline suggestions for a short completion, chat when you need an explanation you can check, and planning when the change crosses file or interface boundaries. The guide compares IDE, terminal and cloud workflows and shows what evidence to look for in each. Features and model access depend on your client, plan and organization policy. See the official GitHub Copilot plans for current availability.
Work through the SlugBoard exercise
Start with a title such as “Release Notes!” and define the exact result you expect: release-notes. Test a title with repeated spaces, a punctuation-only input and a non-string value. The example formats a label; it does not check whether the label is unique or preserve a published URL after a title changes.
The optional practice ZIP includes the JavaScript implementation, a test file, repository instructions and a README. Run node --test slug.test.mjs from the practice folder. Ten local test cases were run for this edition. You do not need a Copilot account to run the exercise, and the handbook’s sample prompts are not transcripts of a live Copilot session.
Review a change before accepting it
Compare the diff with the brief, check the tests against expected values, and separate observed evidence from what the tool merely reports. The illustrated examples show how to keep changes in scope, review permissions and decide which suggestion is worth acting on.
If you want another local practice example, see AI-Powered Debugging and Code Review or the OpenCode developer guide.
Use the PDF and companion files
Use the bookmarks to return to a workflow or worked example. Page 30 links to the current GitHub documentation for setup, repository instructions, the CLI and code review. The same practice ZIP is embedded in the PDF for readers that support attachments.
Download the companion practice files
The optional practice archive contains the project files described in this handbook.
Frequently asked questions
Who is this guide for?
Developers who know basic JavaScript functions, terminal commands and Git and want a repeatable way to work with Copilot.
Is this an official GitHub guide?
No. It is independently published by the Coursya team. The ebook and practice files are free; GitHub Copilot is a separate service.
How do I open the practice files?
Download the practice ZIP, extract it, and open its README. The same ZIP is also in the PDF’s attachments panel for readers that support embedded files.
Do I need to install Copilot for the exercise?
No. The local exercise uses Node.js 22 or later and no extra npm dependencies. To try Copilot CLI separately, follow GitHub’s current installation guide.
What did Coursya test?
Ten JavaScript test cases passed against the included formatter. The guide’s Copilot interactions are illustrative and do not represent a benchmark or a live product test.