用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill git-workflow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | git-workflow |
| description | >- Use when this capability is needed. |
Chuẩn hóa git workflow cho team development: branching, commits, PR process.
main ───────────────────────────────────────────────▶ production
│ ↑ (release merge)
└── develop ─────────────────────────────┤
│ ↑ ↑ │
├── feature/AUTH-42-oauth ──┘ │
├── feature/ORD-15-checkout ┘ │
└── hotfix/SEC-01-xss-fix ─────────┘ (direct to main)
# Pattern: <type>/<ticket-id>-<short-description>
feature/AUTH-42-google-oauth # New feature
bugfix/UI-87-button-alignment # Bug fix
hotfix/SEC-01-xss-fix # Urgent production fix
chore/update-dependencies # Maintenance
refactor/orders-service-cleanup # Code improvement
docs/api-documentation # Documentation
| Branch | Created From | Merges Into | Who Can Merge | Protection |
|---|---|---|---|---|
main | — | — | Tech Lead only | ✅ Protected |
develop | main | main | Senior Dev | ✅ Protected |
feature/* | develop | develop | Any Dev | ❌ |
bugfix/* | develop | develop | Any Dev | ❌ |
hotfix/* | main | main + develop | Senior Dev | ❌ |
<type>(<scope>): <description>
[optional body]
[optional footer(s)]
| Type | When | Changelog? | Example |
|---|---|---|---|
feat | New feature | ✅ MINOR | feat(auth): add Google OAuth login |
fix | Bug fix | ✅ PATCH | fix(orders): handle null address |
docs | Documentation | ❌ | docs(api): update endpoint docs |
test | Add/update tests | ❌ | test(users): add edge case tests |
refactor | Code improvement | ❌ | refactor(common): extract validation utils |
chore | Maintenance | ❌ | chore(deps): upgrade bcrypt to v5.1 |
ci | CI/CD changes | ❌ | ci(actions): add staging deploy |
perf | Performance | ❌ | perf(queries): add index on users.email |
style | Formatting only | ❌ | style: apply prettier formatting |
feat(api)!: change user endpoint response format
BREAKING CHANGE: The /api/v1/users response now uses `data` wrapper.
Before: [{ id, email }]
After: { data: [{ id, email }], meta: { page, total } }
Migration: Update all API consumers to unwrap `data` field.
## Description
Brief description of what this PR does and why.
## Related Issues
Closes #42
## Type of Change
- [x] Feature
- [ ] Bug fix
- [ ] Refactor
- [ ] Documentation
## Changes Made
- Added Google OAuth strategy with Passport.js
- Created OAuth callback handler
- Added user account linking logic
## Testing
- [ ] Unit tests added/updated
- [ ] Integration tests added/updated
- [ ] Manual testing completed
## Checklist
- [ ] Code follows project conventions
- [ ] All tests passing (`npm test`)
- [ ] Lint passing (`npm run lint`)
- [ ] No console.log left in code
- [ ] CHANGELOG updated (if user-facing)
- [ ] Documentation updated (if behavior changed)
## Screenshots (if UI change)
| From → To | Strategy | Reason |
|---|---|---|
| feature → develop | Squash merge | Clean history, 1 commit per feature |
| develop → main | Merge commit | Preserves feature history |
| hotfix → main | Merge commit | Cherry-pick to develop after |
| hotfix → develop | Cherry-pick | Keep histories separate |
// package.json
{
"husky": {
"hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "npx commitlint --edit $1",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.ts": ["eslint --fix", "prettier --write"]
}
}
Source: Doanhaiduy/AI_agentic — distributed by TomeVault.