AgentSkillsCN

Skill Ship

将品味转化为结构化表达,持续坚守卓越的设计标准。

SKILL.md

Ship Skill

This skill helps you commit and deploy code changes following best practices.

Usage

Invoke with /ship or when the user asks to "ship" or "deploy" changes.

Workflow

  1. Review Changes: Show git status and git diff summary
  2. Run Tests: Execute npm test if available
  3. Lint Check: Run npm run lint if available
  4. Commit: Create a well-formatted commit message
  5. Push: Push to remote if requested

Commit Message Format

Use conventional commits:

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation
  • refactor: Code refactoring
  • test: Adding tests
  • chore: Maintenance

Example

code
feat: add user authentication

- Implement login/logout endpoints
- Add JWT token validation
- Create auth middleware

Co-Authored-By: Claude <claude@anthropic.com>

Notes

  • Always run tests before committing
  • Ask user for commit message if changes are complex
  • Never force push to main/master