Skip to content
Documentation
Command

/ship

Prepare the current branch for review and deployment.

From plugin
claude-best-practice
48 skills3 agents8 commands
Install
$ npx -y skills add vignesh2027/claude-best-practice --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/ship

Context preview

What this command does when you run it.

Prepare the current branch for review and deployment.

Command definition

ship.md

/ship — Prepare and Ship Current Feature

Prepare the current branch for review and deployment.

Pre-Ship Checklist

Run each step in order. Stop and report if any step fails.

1. Code Quality

npm run lint
npm run typecheck

2. Tests

npm test

Report: test count, pass/fail, coverage if available.

3. Self-Review

Review the diff of all changes since branching from main:

git diff main...HEAD

Check for:

  • [ ] No debug/console.log statements left in
  • [ ] No hardcoded secrets or API keys
  • [ ] No TODO/FIXME comments that should be resolved before ship
  • [ ] No commented-out code blocks
  • [ ] No `any` type casts in TypeScript
  • [ ] All new functions have appropriate error handling

4. Security Check

Scan changed files for:

  • Exposed credentials or secrets
  • SQL injection vulnerabilities
  • XSS vectors
  • Insecure dependencies (if package files changed)

5. Generate PR Description

Create a PR description with:

  • **Summary**: What does this change do? (2-3 sentences)
  • **Why**: What problem does it solve?
  • **How**: High-level approach
  • **Testing**: How was this tested?
  • **Screenshots**: (if UI changes)
  • **Checklist**: Items reviewer should verify

6. Create PR

gh pr create --title "[descriptive title]" --body "[generated description]"

Report the PR URL when done.

Ships withclaude-best-practice

The most comprehensive, production-ready guide to mastering Claude Code From vibe coding → agentic engineering → autonomous AI development teams Built for engineers who treat Claude Code as infrastructure, not a toy.

Get the whole plugin
Stats
4
Stars
1
Forks
Active
Maintenance
Shell
Language
17d ago
Last commit
4mo ago
Created

Repo: vignesh2027/claude-best-practice

Other commands on claude-best-practice.