branch
Create a git branch off the current one, named `<task-code>-<type>-<description>`. Use when the user wants a new branch.
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- branch
- description
- Create a git branch off the current one, named `<task-code>-<type>-<description>`. Use when the user wants a new branch.
03 SKILL.md 正文
Branch
Create a branch off the current branch. Hyphens join the three segments of the name; underscores join the words of the description:
<task-code>-<type>-<description>, for example PD-1234-feature-creation_resource_endpoint.
1. Find the segments
- Task code: find the task in the session. Write its reference as
docs/agents/issue-tracker.mddefines it, without#: the ClickUp custom IDPD-1234staysPD-1234, the issue#42becomes42. If the session has no task, ask the user for its code. - Type: one of
feature,fix,hotfix,chore,refactor,docs,test, inferred from the session. If more than one type fits, ask the user. - Description: the work of the session in five words or fewer. If the session does not tell enough, fetch the relevant ticket and use its title. Write lowercase ASCII words.
The step is done when you know all three segments.
2. Propose the name
Show the full name. Go to step 3 only on an explicit OK from the user.
3. Create the branch
git switch -c <name>
If git says that the branch exists, tell the user and stop.
04 同仓库更多 Skills
zoom-out
Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
walkthrough
Build a throwaway HTML reading guide for a set of changes (dirty tree, local commits, or a PR): what it means for users and for the system, then an ordered walk through the code with links that open each file in the IDE. Orients the human; leaves every quality call to them.
teach
Teach the user a new skill or concept, within this workspace.
suggest-reviewers
Suggest GitHub reviewers for the current branch's Pull Request by ranking the people who actually own and recently touched the changed files (git history + CODEOWNERS). Use when the user asks who should review this PR/branch or wants reviewer suggestions. Also invoked as the final step of the github-pr skill.
setup-skills
Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's issue tracker (GitHub, GitLab, ClickUp, or local markdown), domain doc layout, and error tracking. Run as a first-time bootstrap for a repo, or if engineering skills appear to be missing context about the issue tracker, domain docs, or error tracker.