ワンクリックで
rails-models
ActiveRecord model patterns, validations, scopes, and conventions for this Rails codebase
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
ActiveRecord model patterns, validations, scopes, and conventions for this Rails codebase
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create, execute, update, and complete implementation plans and trackers following Linkvan API conventions
Standardized Ruby gem update workflow with version checking, breaking change analysis, security advisory detection, and testing
Controller patterns, service delegation, strong parameters, and HTTP conventions for this Rails codebase
RuboCop metrics, Brakeman security, code style conventions, and quality checks for this Rails codebase
Database migration patterns, reversible migrations, indexes, and conventions for this Rails codebase
RSpec testing patterns, conventions, and test commands for this Rails codebase
| name | rails-models |
| description | ActiveRecord model patterns, validations, scopes, and conventions for this Rails codebase |
Facility)facility.rbapp/models/ directoryvalidates :name, presence: true
validates :email, uniqueness: true, format: { with: URI::MailTo::EMAIL_REGEXP }
scope :active, -> { where(active: true) }
scope :recent, -> { order(created_at: :desc) }
enum status: { pending: 0, active: 1, archived: 2 }
spec/models/*_spec.rb suffix (e.g., facility_spec.rb)class Facility < ApplicationRecord
has_many :bookings
validates :name, presence: true
validates :status, presence: true
scope :active, -> { where(active: true) }
scope :recent, -> { order(created_at: :desc) }
enum status: { pending: 0, active: 1, archived: 2 }
def active?
status == 'active'
end
end