Skip to main content

feature-workflow

Work on a new feature or fix by creating a branch, implementing changes, and submitting a PR with GH CLI. Use when picking up a new todo item.

来源信息

仓库
nibzard/scribe
最近来源活动
2026年1月29日 10:08
检测到的 SKILL.md 语言
英语
星标
9
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
feature-workflow
description
Work on a new feature or fix by creating a branch, implementing changes, and submitting a PR with GH CLI. Use when picking up a new todo item.
# Feature Workflow ## Overview Create a branch per task, implement the change, and open a pull request using `gh`. Keep the workflow lightweight and consistent. ## Workflow (PowerShell) ### 1) Identify the task - Confirm the todo item or issue number. - If needed, note acceptance criteria and key touchpoints. ### 2) Create a branch - Pull latest default branch: - `git fetch origin` - `git checkout main` - `git pull` - Create a branch named after the task: - `git checkout -b fix/<short-slug>` - or `git checkout -b feat/<short-slug>` ### 3) Implement the change - Make focused changes tied to the task. - Update docs or tests if required by the task. ### 4) Commit changes - Use Conventional Commits: - `feat(scope): ...` - `fix(scope): ...` - Include only relevant files. ### 5) Push and open PR - Push the branch: - `git push -u origin <branch>` - Create PR with GH CLI: - `gh pr create --title "..." --body "..."` ## PR body template ``` ## Summary <what changed and why> ## Testing - <commands or "not run (reason)"> ## Checklist - [ ] Meets acceptance criteria - [ ] Docs/strings updated if needed ``` ## Quality checklist - Branch name matches task intent. - Commit message follows Conventional Commits. - PR references the issue number if applicable. - PR body includes summary and testing.
在 GitHub 查看