Skip to content

ChristopherBilg/rails_copilot_instructions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Rails 8 Copilot Instructions

This repository contains specialized instruction files for GitHub Copilot to generate high-quality Rails 8 code following modern best practices. These instructions help ensure that AI-generated code follows consistent patterns and leverages the most current Rails features and ecosystem tools.

Overview

This repository organizes detailed instructions for GitHub Copilot focused on modern Rails 8 application development. The instructions cover the Rails ecosystem including Hotwire (Turbo & Stimulus), Solid Queue for background jobs, Tailwind CSS for styling, Import Maps for JavaScript management, and Kamal for deployment.

Structure

The repository is organized with specialized instruction files in the .github/instructions/ directory:

Each instruction file uses frontmatter to specify which files the instructions apply to, ensuring context-specific guidance.

Usage

  1. Copy this repository structure into your Rails 8 project
  2. Customize the instruction files as needed for your specific project requirements
  3. GitHub Copilot will use these instructions when generating code in files matching the patterns specified in each instruction's frontmatter

The main .github/copilot-instructions.md file provides high-level guidance and references the specialized instruction files for deeper context.

Technology Stack

These instructions are designed for applications using:

  • Rails 8.0
  • Ruby 3.3+
  • Turbo & Stimulus (Hotwire)
  • Solid Queue
  • Kamal for deployment
  • SQLite
  • Tailwind CSS
  • Import Maps for JavaScript management

Contributing

Feel free to submit pull requests to improve these instruction files as Rails 8 and its ecosystem evolve. Please ensure any additions maintain the structured, detailed approach of the existing instructions.

License

This repository is available as open source under the terms of the MIT License.

About

Canonical Rails instructions for the VSCode Github Copilot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published