-
Notifications
You must be signed in to change notification settings - Fork 0
Add copilot-instructions.md for agent onboarding #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,360 @@ | ||||||
| # Refract Learning Repository - Copilot Coding Agent Instructions | ||||||
|
|
||||||
| ## Repository Overview | ||||||
|
|
||||||
| **Refract Learning** (formerly CourseNotes) is a free, open-source revision website built with Jekyll that provides educational content for students. The site features clean, structured notes aligned with exam board specifications, curated video resources, and smart study tools powered by Orbit for retrieval practice. | ||||||
|
|
||||||
| **Repository Size:** ~3MB (80 files excluding vendor/build artifacts) | ||||||
| **Primary Technology:** Jekyll 4.4.1 (Ruby-based static site generator) | ||||||
| **Deployment:** Vercel (configured via vercel.json) | ||||||
| **CI/CD:** GitHub Actions workflow for TODO-to-issue conversion | ||||||
|
|
||||||
| ## Technology Stack | ||||||
|
|
||||||
| - **Language:** Ruby 3.2.3+ | ||||||
| - **Static Site Generator:** Jekyll 4.4.1 | ||||||
| - **Package Manager:** Bundler 2.6.9 (or newer) | ||||||
| - **Markup:** Markdown with YAML front matter | ||||||
| - **Styling:** Pure CSS (assets/style.css - 304 lines) | ||||||
|
||||||
| - **Styling:** Pure CSS (assets/style.css - 304 lines) | |
| - **Styling:** Pure CSS (assets/style.css - 305 lines) |
Copilot
AI
Nov 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an inconsistency between the stated Ruby version requirement and the PATH configuration. Line 14 specifies "Ruby 3.2.3+" as a requirement, but the PATH examples throughout the documentation (lines 31, 39, 50, 61, 70, 315, 334) reference $HOME/.local/share/gem/ruby/3.2.0/bin. This could cause confusion when developers use a Ruby version >= 3.2.3 and the actual gem path includes a different version number (e.g., ruby/3.2.3 or ruby/3.3.0). Consider either:
- Clarifying that the PATH should be adjusted to match the installed Ruby version, or
- Using a more flexible PATH pattern, or
- Documenting the actual minimum required version that was tested (e.g., 3.2.0)
Copilot
AI
Nov 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a naming inconsistency in the documentation. The file describes the site as "Refract Learning (formerly CourseNotes)" but the actual _config.yml still shows title: CourseNotes, and the README.MD only refers to "CourseNotes" with no mention of "Refract Learning". The note in parentheses states "Site is rebranding to Refract Learning" but this suggests the rebrand hasn't happened yet in the codebase. Consider either:
- Updating this documentation to reflect the current state (still "CourseNotes", planning to rebrand), or
- Updating the actual codebase files (_config.yml, README.MD) to complete the rebrand before documenting it as current
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The overview states the site is "Refract Learning (formerly CourseNotes)" which implies Refract Learning is the current name. However, the actual codebase still uses "CourseNotes" throughout (_config.yml, README.MD, etc.). This creates confusion about the actual current state. The documentation should accurately reflect whether this is:
Consider revising to match the actual repository state.