Skip to content

refactor: rewrite the exercise with issue based flow - #55

Merged
FidelusAleksander merged 39 commits into
skills:mainfrom
skills-dev:skills-update
Jan 28, 2026
Merged

refactor: rewrite the exercise with issue based flow#55
FidelusAleksander merged 39 commits into
skills:mainfrom
skills-dev:skills-update

Conversation

@FidelusAleksander

@FidelusAleksander FidelusAleksander commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

This pull request completely rewrites the flow and content for the "Resolve Merge Conflicts" GitHub Skills course. It removes the previous step files and workflows, replacing them with a more streamlined and user-friendly experience. The new approach uses clearer instructions, improved visuals, and a simplified workflow logic for managing the exercise steps and merge conflict simulation.

The most important changes are:

Course Content Overhaul:

  • Replaced all previous step markdown files (such as 1-create-a-pr.md, 2-resolve-a-merge-conflict.md, etc.) with new, more concise and visually enhanced step files (1-step.md, 2-step.md, 3-step.md, x-review.md). The new content uses diagrams, clearer explanations, and step-by-step activities to improve learner experience. [1] [2] [3] [4] [5] [6] [7] [8] [9]

  • Added a new review step (x-review.md) to summarize and reinforce key concepts at the end of the course.

Workflow and Automation Simplification:

  • Removed the old multi-step GitHub Actions workflows (0-welcome.yml, 1-create-a-pr.yml) and replaced them with a single, more maintainable workflow (0-start-exercise.yml). This new workflow handles exercise initialization, simulates a merge conflict, and manages step progression in a simpler, more robust way. [1] [2] [3]

Configuration Cleanup:

  • Deleted the unused dependabot.yml configuration, as well as obsolete step tracking files (-step.txt, 0-welcome.md). [1] [2] [3]

Overall, these changes modernize the course, making it more approachable for learners and easier to maintain for contributors.

Chukslord1 and others added 30 commits June 16, 2025 00:06
…o simulate merge conflict fixed the issue with branch version
Co-authored-by: Christopher W. Blake <chriswblake@github.com>
Copilot AI review requested due to automatic review settings January 27, 2026 12:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the "Resolve Merge Conflicts" exercise from the skills-dev organization to the skills organization and updates the exercise framework. While the PR description mentions updating organization references, this is actually a comprehensive rewrite of the exercise structure.

Changes:

  • Complete rewrite of README.md with updated exercise format and template_owner set to skills
  • Migration from legacy workflow structure (steps 0-4) to new exercise-toolkit framework (steps 0-3)
  • Addition of new step documentation files with improved instructional content
  • Removal of legacy files (dependabot.yml, -step.txt)

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
README.md Complete rewrite with modern exercise format, updated template_owner to skills, and simplified instructions
.github/workflows/0-start-exercise.yml New workflow using skills/exercise-toolkit@v0.7.0 for exercise initialization
.github/workflows/1-step.yml New workflow for step 1 progression using exercise-toolkit
.github/workflows/2-step.yml New workflow for step 2 progression using exercise-toolkit
.github/workflows/3-step.yml New workflow for final step and exercise completion using exercise-toolkit
.github/workflows/0-welcome.yml Removed legacy workflow file
.github/workflows/1-create-a-pr.yml Removed legacy workflow file
.github/workflows/2-resolve-a-merge-conflict.yml Removed legacy workflow file
.github/workflows/3-create-your-own-conflict.yml Removed legacy workflow file
.github/workflows/4-merge-your-pull-request.yml Removed legacy workflow file
.github/steps/x-review.md New completion/review content with links to other skills exercises
.github/steps/1-step.md New step 1 instructions explaining merge conflicts with mermaid diagram
.github/steps/2-step.md New step 2 instructions for resolving conflicts with detailed activity steps
.github/steps/3-step.md New step 3 instructions for merging the pull request
.github/steps/0-welcome.md Removed legacy step file
.github/steps/1-create-a-pr.md Removed legacy step file
.github/steps/2-resolve-a-merge-conflict.md Removed legacy step file
.github/steps/3-create-your-own-conflict.md Removed legacy step file
.github/steps/4-merge-your-pull-request.md Removed legacy step file
.github/steps/X-finish.md Removed legacy step file
.github/steps/-step.txt Removed legacy step tracking file
.github/dependabot.yml Removed dependabot configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/steps/2-step.md

1. Accept the version from the base branch.
1. Accept the version from the compare branch.
1. Manually combined the changes from both branches.

Copilot AI Jan 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a grammatical error in this line. The word "combined" should be "combine". It should read "Manually combine the changes from both branches" instead of "Manually combined the changes from both branches".

Suggested change
1. Manually combined the changes from both branches.
1. Manually combine the changes from both branches.

Copilot uses AI. Check for mistakes.
Comment thread .github/steps/1-step.md

### ⌨️ Activity: Create a pull request

To quickly practice, we already created the above scenario for you by making a new branch `my-resume` then modifying `resume.md` on both branches, which will will cause a conflict. Let's practice with it!

Copilot AI Jan 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo in this line. The word "will" is duplicated. It should read "which will cause a conflict" instead of "which will will cause a conflict".

Suggested change
To quickly practice, we already created the above scenario for you by making a new branch `my-resume` then modifying `resume.md` on both branches, which will will cause a conflict. Let's practice with it!
To quickly practice, we already created the above scenario for you by making a new branch `my-resume` then modifying `resume.md` on both branches, which will cause a conflict. Let's practice with it!

Copilot uses AI. Check for mistakes.
Comment thread README.md
</header>
- **Who is this for**: New developers, new Git and GitHub users
- **What you'll learn**: We'll introduce the tools for inspecting and resolving a merge conflict.
- **What you'll build**: You'll use a web editor to fix conflicting changes to Markdown file.

Copilot AI Jan 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a grammatical error in this line. The article "a" is missing before "Markdown file". It should read "You'll use a web editor to fix conflicting changes to a Markdown file" instead of "to Markdown file".

Suggested change
- **What you'll build**: You'll use a web editor to fix conflicting changes to Markdown file.
- **What you'll build**: You'll use a web editor to fix conflicting changes to a Markdown file.

Copilot uses AI. Check for mistakes.
Comment thread README.md

## Welcome
1. Learn the causes of a merge conflict.
2. The tools for resolving a merge conflict.

Copilot AI Jan 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This numbered list has inconsistent structure. Item 1 starts with "Learn the causes", item 2 starts with "The tools" (which is a noun phrase, not a verb phrase like item 1), and item 3 starts with "When and how". For consistency, item 2 should start with a verb. Consider changing "The tools for resolving a merge conflict" to "Learn the tools for resolving a merge conflict" or "Use the tools for resolving a merge conflict".

Suggested change
2. The tools for resolving a merge conflict.
2. Learn the tools for resolving a merge conflict.

Copilot uses AI. Check for mistakes.
Comment thread README.md
Simply copy the exercise to your account, then give your favorite Octocat (Mona) **about 20 seconds** to prepare the first lesson, then **refresh the page**.

In this course, you will:
[![](https://img.shields.io/badge/Copy%20Exercise-%E2%86%92-1f883d?style=for-the-badge&logo=github&labelColor=197935)](https://github.com/new?template_owner=skills&template_name=resolve-merge-conflicts&owner=%40me&name=skills-resolve-merge-conflicts&description=Exercise:+Resolve+Merge+Conflicts&visibility=public)

Copilot AI Jan 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description states this PR "updates all references from skills-dev organization to skills organization" and mentions updating repository links and the template_owner parameter. However, this PR appears to be a much more substantial change that includes:

  1. Complete rewrite of README.md (not just link updates)
  2. Deletion of old workflow files (0-welcome.yml, 1-create-a-pr.yml, 2-resolve-a-merge-conflict.yml, 3-create-your-own-conflict.yml, 4-merge-your-pull-request.yml)
  3. Addition of new workflow files (0-start-exercise.yml, 1-step.yml, 2-step.yml, 3-step.yml)
  4. Complete rewrite of step documentation files
  5. Deletion of dependabot.yml and -step.txt files

The PR description should be updated to accurately reflect the scope of these changes. This appears to be a migration to a new exercise framework/structure, not just an organization name update.

Copilot uses AI. Check for mistakes.
Comment thread .github/steps/2-step.md
>>>>>>> main
```

1. After some inspection, we decide to keep the version from the compare branch. Remove the base branch version by deleting then content between `=======` and `>>>>>>> main`.

Copilot AI Jan 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo in this line. The word "then" should be "the". It should read "Remove the base branch version by deleting the content between..." instead of "deleting then content between..."

Suggested change
1. After some inspection, we decide to keep the version from the compare branch. Remove the base branch version by deleting then content between `=======` and `>>>>>>> main`.
1. After some inspection, we decide to keep the version from the compare branch. Remove the base branch version by deleting the content between `=======` and `>>>>>>> main`.

Copilot uses AI. Check for mistakes.
@FidelusAleksander FidelusAleksander changed the title Update with all changes from skills-dev fork refactor: rewrite the exercise with issue based flow Jan 28, 2026
@FidelusAleksander
FidelusAleksander merged commit 2ddca39 into skills:main Jan 28, 2026
6 checks passed
@FidelusAleksander
FidelusAleksander deleted the skills-update branch January 28, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants