基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ffsshhttiikk/opencode-agents-skills --skill git命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | git |
| description | Git version control best practices and workflows |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"developers","category":"devops"} |
When writing commit messages, creating branches, or managing git workflows.
type(scope): subject
body
footer
Types:
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Formatting, missing semicolons, etc.refactor: Code restructuring without behavior changetest: Adding or modifying testschore: Maintenance tasks, dependency updatesExamples:
feat(api): add user authentication endpoint
Implement JWT-based authentication for the REST API.
- Add login endpoint
- Add token refresh mechanism
- Add authentication middleware
Closes #123
fix(database): resolve connection pool exhaustion
Connection pool was not properly released on error conditions,
causing resource exhaustion under high load.
Fixes #456
docs(readme): update installation instructions
Added prerequisites section and troubleshooting guide.
feature/authentication (new feature)
fix/login-bug (bug fix)
docs/api-reference (documentation)
refactor/user-service (code refactoring)
test/payment-flow (tests)
chore/dependencies (maintenance)
# Create feature branch
git checkout -b feature/my-feature
# Make changes and commit
git add .
git commit -m "feat(scope): description"
# Keep up to date with main
git fetch origin
git rebase origin/main
# Push and create PR
git push -u origin feature/my-feature
# Interactive rebase for clean history
git rebase -i HEAD~5
# Squash commits, edit messages
# Undo last commit (keep changes staged)
git reset --soft HEAD~1
# Undo last commit (unstage changes)
git reset HEAD~1
# Undo last commit (discard all changes)
git reset --hard HEAD~1
# Revert a commit (safe for shared history)
git revert <commit-hash>
# Undo uncommitted file changes
git checkout -- <file>
git restore <file>