Claude Code — NighTrip Quick Reference
Provide a clear, formatted summary of all available commands and workflows.
Available Slash Commands (Skills)
| Command | What It Does |
|---|---|
/implement-feature [description or issue#] |
Full SDD workflow: explore → write failing specs → implement → verify |
/fix-issue [issue-number] |
Reproduce bug with failing test → fix → verify |
/review-pr [pr-number] |
Thorough code review: Rails conventions, security, test coverage |
/help |
Show this reference |
GitHub Mobile Workflow
Starting a Task from Mobile
Option A — Label Trigger (for new features/bugs):
- Create an Issue using the template (Feature Request, Bug Report, etc.)
- Describe what you want clearly
- Add the
approvedlabel → Claude starts working automatically
Option B — Comment Trigger (for quick instructions):
- Open any Issue or PR
- Write a comment with
@claude [your instruction] - Claude responds and implements
Common Mobile Patterns
# On an issue — ask Claude to implement it
@claude implement this feature
# On a PR — ask Claude to fix a review comment
@claude fix the RuboCop offense in spots_controller.rb
# On a PR — get a full code review
/review-pr
# On an issue — ask Claude to write specs first
@claude write the failing specs for this feature
# Ask Claude anything about the codebase
@claude explain how Turbo Streams are used in the comments feature
Label Reference
| Label | Meaning | Who Sets It |
|---|---|---|
proposal |
Claude proposed an approach | Auto (Issue template) |
approved |
Approved — Claude starts work | You |
in-progress |
Claude is implementing | Auto (workflow) |
needs-review |
PR ready for your review | Claude |
auto-merge |
Merge automatically after CI | You (optional) |
bug |
Bug report | Auto (Issue template) |
maintenance |
Maintenance task | Auto (Issue template) |
SDD Quick Summary
Always: Specs first → Fail → Implement → Pass → Lint → Security → PR
- Write failing RSpec specs
- Run
bundle exec rspec <spec-file>→ must fail - Implement minimal code
- Run
bundle exec rspec→ all green - Run
bin/rubocop -a→ no offenses - Run
bin/brakeman --no-pager→ no warnings - Create PR with
needs-reviewlabel
Useful @claude Prompts from Mobile
@claude what does [file/feature] do?— Get explanations@claude add a spec for [scenario]— Add missing test coverage@claude refactor [specific code]— Targeted refactoring@claude is this PR safe to merge?— Quick security/quality check@claude create a PR for this issue— Generate PR from issue branch