Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
common-member avatar

Fix Issue

  • 1 installs
  • 2 repo stars
  • Updated May 18, 2026
  • common-member/nightrip

Workflow for reviewing and merging bug fixes in Nightrip project pull requests.

About

Guidelines for reviewing, testing, and merging Nightrip issue fixes. Developers use it when submitting or reviewing PRs that address bugs.

  • PR review checklist
  • Testing and validation requirements before merge

Fix Issue by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #524 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Data as of Jul 8, 2026 (Skillselion catalog sync)
npx skills add https://github.com/common-member/nightrip --skill fix-issue

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars2
Last updatedMay 18, 2026
Repositorycommon-member/nightrip

What it does

Workflow for reviewing and merging bug fixes in Nightrip project pull requests.

Files

SKILL.mdMarkdownGitHub ↗

Fix GitHub Issue #$ARGUMENTS

Follow the SDD workflow to fix this bug. Write a failing test first, then fix.

---

Step 1: Understand the Issue

gh issue view $ARGUMENTS

Read carefully and identify:

  • What behavior is reported as broken?
  • What is the expected behavior?
  • Are there reproduction steps?

---

Step 2: Find the Root Cause

Search for relevant code:

1. Find the relevant model/controller/view 2. Read existing specs for this area 3. Reproduce the issue mentally — understand WHY it's broken

---

Step 3: Write a Failing Test

Write a spec that reproduces the bug:

# Add to existing spec file, or create new one
bundle exec rspec <spec-file> --format documentation

The spec should FAIL with the current (buggy) code. If it passes, it's not testing the right thing.

For regression tests, add to the appropriate spec file:

  • spec/models/ — model behavior bugs
  • spec/requests/ — HTTP/controller bugs
  • spec/system/ — user-facing UI bugs

---

Step 4: Fix the Bug

Implement the minimal fix:

  • Fix ONLY what's needed to pass the test
  • Don't refactor unrelated code
  • Don't change behavior beyond what the test covers
  • Follow existing patterns in the codebase

---

Step 5: Verify

# Run the regression test
bundle exec rspec <spec-file> --format documentation

# Run related specs
bundle exec rspec spec/models/<model>_spec.rb

# Run full test suite (ensure no regressions)
bundle exec rspec

# Auto-fix linting
bin/rubocop -a

# Security scan
bin/brakeman --no-pager

---

Step 6: Commit

Create a commit:

  • Message format: fix: <brief description of what was fixed>
  • Reference the issue in the PR description

Summarize what was changed and which tests were added.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.