Skip to content

skills/exercise-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

121 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Exercise Creator

Professortocat

This is a codespace with guidelines for developing and managing GitHub Skills exercises and supportive tooling. It provides:

  • Unified settings for consistent styling (like linting).
  • Tools for testing transition and grading workflows.
  • Guidelines and recommendations for designing exercise steps.
  • Copilot instructions and prompts to quickly make first drafts.

Start the Codespace

  1. (Optional) For additional permissions options, fork the repository to your account/organization.

  2. Press the below button to start the Codespace. This may take a few minutes.

    Open in GitHub Codespaces

  3. Open the VS Code Command Palette. Run the following command and select the workspace settings file.

    File: Open workspace from file...
    /exercise-creator/exercise-creator.code-workspace

Make an Exercise

Manufacturetocat

With the help of GitHub Copilot, making a new exercise from scratch can be very quick. Here is a hello world level example. It creates an outline for planning then an actual exercise! 🧑‍🚀

Important

Copilot is good for bootstrapping and refinement. It will make a decent first draft, but it is your responsibility as a human (with feelings and empathy) to ensure the exercise is enjoyable and meets the needs of your learners.

  1. Open the Copilot Chat panel and ensure you are in Agent mode.

    • We recommend selecting auto for the model or a model you find works well for your industry.
    • ⚠️ Warning: The free (0x) models often skip instructions, which produces broken exercises. We don't recommend this.
  2. Ask Copilot to create a draft outline for an exercise.

    Static Badge

    Make a GitHub Skills exercise outline to teach
    the fundamentals of Git and version control.
    Assume no prior experience with version control.
    

    💡 Tip: You can also use the /create-exercise-outline command to be more explicit.

    💡 Tip: You can also ask Copilot to save this outline as an issue on a repository. Alternately, Copilot can review notes from an existing issue and restructure it.

  3. Manually review and refine the draft exercise outline.

    💡 Note: This may seem boring, but a few extra minutes here will make the actual draft exercise from Copilot much better.

  4. With the outline refined, ask Copilot to create the actual exercise.

    Static Badge

    This outline looks good. Please make it into a real exercise.
    

    💡 Tip: You can also use the /bootstrap-exercise-from-outline command to be more explicit.

  5. Ask Copilot to review the exercise for common issues.

    Static Badge

    Please review the GitHub Skills exercise draft for common issues.
    

    💡 Tip: You can also use the /review-exercise command to be more explicit.

  6. Refine the draft exercise (with Copilot) to make it production worthy. 🧐 Some example ideas:

    Static Badge

    Step 2 seems has an activity for XYZ but doesn't introduce it in the theory.
    
    The tone has become too serious. Make it more fun so it appeals to my students. They all really like anime. Make it an anime about our school mascot.
    
    Adjust this to follow our internal company standards in this doc: /my-documents/my-project/guidelines.md
    
  7. Ask Copilot to review the exercise for common issues (again).

    Static Badge

    I've made a lot of updates. Please do another review.
    
  8. Use the following Copilot prompt to publish the exercise to your account.

    Static Badge

    The exercise looks good. Please publish it to my account.
    

    💡 Tip: You can also use the /publish-exercise command to be more explicit.

  9. Go to the exercise repo and give it a test run! 😎

  10. Share it with your friends and coworkers! 🥳 🚀

Work on an Existing Exercise

The Exercise Creator is structured to handle multiple repositories via a dedicated repos folder. We recommend organizing exercises in this space.

  1. Get the URL for your existing exercise repository. Example:

    https://github.com/skills/getting-started-with-github-copilot.git
  2. In the Codespace terminal, navigate to the /workspaces/repos folder.

    cd /workspaces/repos/
  3. Clone the exercise.

    git clone https://github.com/skills/getting-started-with-github-copilot.git

Deeper Exercise Development

Please see the Skills docs for the full guidelines on planning, design, testing, and maintenance.

Contributing

We are very open to contributions and enhancements from the community! 🧑‍🚀

Please feel free to create an issue or submit a pull request.

About

A codespace for developing and managing GitHub Skills exercises

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors