用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill pre-merge命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
LinkedIn automation via the Linked API CLI - fetch profiles, search people and companies, send messages, manage connections, create posts, react, comment, and run Sales Navigator and custom workflows. Use when the user wants to interact with LinkedIn.
Xquik X data automation API - Use REST or MCP for tweet search, user lookup, follower exports, media downloads, monitors, webhooks, giveaway draws, and confirmation-gated X actions.
MCP (Model Context Protocol) - Build AI-native servers with tools, resources, and prompts. TypeScript/Python SDKs for Claude Desktop integration.
基于 SOC 职业分类
正在显示 SKILL.md
| name | pre-merge |
| description | Comprehensive verification workflow before merging changes to production. |
| user-invocable | false |
| disable-model-invocation | true |
| version | 1.0.0 |
| tags | [] |
| progressive_disclosure | {"entry_point":{"summary":"Comprehensive verification workflow before merging changes to production.","when_to_use":"When working with version control, branches, or pull requests.","quick_start":"1. Review the core concepts below. 2. Apply patterns to your use case. 3. Follow best practices for implementation."}} |
Comprehensive verification workflow before merging changes to production.
Use this skill when:
Before committing code, verify:
tsc --noEmit, mypy, etc.)TypeScript/JavaScript:
# Type check
npx tsc --noEmit
# Lint
npm run lint
# or: pnpm lint
# or: npx eslint .
# Tests
npm test
# or: pnpm test
Python:
# Type check
mypy src/
# Lint
pylint src/
# or: flake8 src/
# or: ruff check src/
# Tests
pytest
# or: python -m pytest
Go:
# Format check
gofmt -l .
# Lint
golangci-lint run
# Tests
go test ./...
Before creating a pull request, ensure:
Before merging to main branch, confirm:
Use this template for comprehensive PR descriptions:
## Summary
[Brief description of what this PR does]
## Related Tickets
- Fixes #123
- Closes ENG-456
- Related to HEL-789
## Changes
- [ ] Feature: [Description]
- [ ] Bug Fix: [Description]
- [ ] Refactor: [Description]
- [ ] Documentation: [Description]
## Testing
### Unit Tests
- Added tests for [feature/function]
- Coverage: X%
### Manual Testing
- [ ] Tested on desktop (Chrome, Firefox, Safari)
- [ ] Tested on mobile (iOS Safari, Android Chrome)
- [ ] Tested edge cases: [list specific cases]
## Screenshots
### Desktop

### Tablet

### Mobile

## Breaking Changes
[List any breaking changes or write "None"]
### Migration Guide
[If breaking changes, provide migration steps]
## Performance Impact
[Describe any performance implications or write "No impact"]
## Security Considerations
[Describe security implications or write "No security impact"]
## Rollback Plan
[Describe how to rollback if issues occur]
## Deployment Notes
[Any special deployment considerations or write "Standard deployment"]
Create a pre-commit verification script:
JavaScript/TypeScript (pre-commit.sh):
#!/bin/bash
set -e
echo "Running type check..."
npx tsc --noEmit
echo "Running linter..."
npm run lint
echo "Running tests..."
npm test -- --run
echo "✅ All checks passed!"
Python (pre-commit.sh):
#!/bin/bash
set -e
echo "Running type check..."
mypy src/
echo "Running linter..."
pylint src/
echo "Running tests..."
pytest
echo "✅ All checks passed!"
Make executable:
chmod +x pre-commit.sh
Set up automatic pre-commit checks:
npm install --save-dev husky
npx husky install
npx husky add .husky/pre-commit "npm run lint && npm test"
Create .pre-commit-config.yaml:
repos:
- repo: local
hooks:
- id: type-check
name: Type Check
entry: mypy src/
language: system
pass_filenames: false
- id: lint
name: Lint
entry: pylint src/
language: system
pass_filenames: false
- id: test
name: Test
entry: pytest
language: system
pass_filenames: false
Install hooks:
pre-commit install
universal-verification-screenshot - Screenshot verification for UI changesuniversal-verification-bug-fix - Bug fix verification workflowtoolchains-universal-security-api-review - API security testinguniversal-collaboration-git-workflow - Git workflow best practices