api
FreeRESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes.
The English summary is being prepared. Showing the original description.
Git version control best practices: branching, commits, merging, conflict resolution, PR workflows. Use when managing branches, creating commits, merging code, or resolving conflicts.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
本技能提供 Git 版本控制的最佳实践。
<type>(<scope>): <subject>)git, commit, branch, merge, rebase, PR, pull request, conflict, stash
git status && git branch -a && git log --oneline -5| 场景 | 执行流程 |
|---|---|
| 创建功能分支 | git checkout -b feature/xxx → 开发 → 提交 |
| 提交代码 | git add → git commit → 验证 |
| 合并代码 | git checkout main → git merge → 推送 |
| 解决冲突 | 查看冲突 → 手动解决 → git add → git rebase --continue |
| 创建 PR | 推送分支 → gh pr create → 等待审查 |
git status, git log --oneline -3feature/add-user-auth # 功能分支
fix/login-validation # Bug 修复
hotfix/security-patch # 热修复
release/v1.2.0 # 发布
refactor/database-layer # 重构
| 类型 | 说明 | 示例 |
|---|---|---|
| feat | 新功能 | feat(auth): 添加 OAuth 登录 |
| fix | Bug 修复 | fix(cart): 修复价格计算错误 |
| docs | 文档更新 | docs(readme): 更新安装说明 |
| refactor | 重构 | refactor(api): 重构用户服务 |
| test | 测试 | test(user): 添加注册测试 |
| chore | 构建/工具 | chore(deps): 更新依赖 |
| perf | 性能优化 | perf(query): 优化搜索查询 |
| 场景 | 推荐策略 |
|---|---|
| 功能分支 → main | Squash Merge |
| main → 功能分支 | Rebase |
| 长期分支同步 | Merge |
| 文件 | 内容 |
|---|---|
| commands-reference.md | 常用 Git 命令参考 |
| pr-workflow.md | Pull Request 流程 |
| hooks-guide.md | Git Hooks 指南 |
| delegation.md | 委派到专业 Agent |
记住: Git 是协作的基石——清晰的分支策略和提交规范让团队协作事半功倍。
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
RESTful API design patterns and best practices. Use when creating endpoints, designing APIs, or implementing routes.
The English summary is being prepared. Showing the original description.
Architecture design skill: ADR records, system design checklists, scalability assessment, architecture patterns. Use for complex system design and architecture decisions.
The English summary is being prepared. Showing the original description.
Backend development patterns for services, error handling, logging, caching. Use when building backend services, APIs, or microservices.
The English summary is being prepared. Showing the original description.
Strategic compaction skill: suggests context compression at logical breakpoints. Use to suggest compaction at logical intervals during development sessions.
The English summary is being prepared. Showing the original description.
Database design, query optimization, migrations, and indexing. Use when designing schemas, writing queries, or managing migrations.
The English summary is being prepared. Showing the original description.
Systematic debugging methods, log analysis, and performance diagnostics. Use when debugging issues, analyzing errors, or troubleshooting incidents.
The English summary is being prepared. Showing the original description.