원클릭으로
rspec-testing
RSpec testing patterns, conventions, and test commands for this Rails codebase
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
RSpec testing patterns, conventions, and test commands for this Rails codebase
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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
ActiveRecord model patterns, validations, scopes, and conventions for this Rails codebase
SOC 직업 분류 기준
| name | rspec-testing |
| description | RSpec testing patterns, conventions, and test commands for this Rails codebase |
bin/rspec # Run all tests
bin/rspec spec/models/facility_spec.rb # Run single test file
bin/rspec spec/models/facility_spec.rb:42 # Run specific test by line
bin/rspec spec/models/facility_spec.rb -e "validates name presence" # Run by description
bin/rspec spec/models/ # All model specs
bin/rspec spec/services/facility_serializer_spec.rb # Specific service spec
describe for context and it for examplesexpect(x).to eq(y) over expect(x) == ylet for lazy evaluation, let! for immediatesubject for the main object being testedit_behaves_like for repeated patterns*_spec.rb suffix (e.g., facility_spec.rb)spec/models/ - Model testsspec/services/ - Service testsspec/controllers/ - Controller teststype: :componentRSpec.describe Facility do
subject(:facility) { create(:facility, :with_verified) }
describe "#managed_by?" do
it "returns true for admin users" do
expect(facility.managed_by?(admin_user)).to be true
end
end
end
factory :name (e.g., factory :facility):trait_name syntax (e.g., :with_verified)bin/rspec