skills/eliteforge-git-feature-oriented-spec/SKILL.md
Git specification for feature-oriented development with full branch types, including non multi-agent, multi-agent base, and subagent branch and worktree tree naming.
npx skillsauth add cloudsen/eliteforge-skills eliteforge-git-feature-oriented-specInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ELITEFORGE_SKILL_GIT_WORKTREE_ROOT [optional] Root directory for generated git worktrees; defaults to ${CODEX_HOME:-$HOME/.codex}/worktrees.main and master are equivalent
Follow the feature-oriented branching model. Continuously develop and test features.
Release-flow branches keep their project convention, such as nightly, qa/<version>, and release/<version>. Working branches only use feature, bugfix, or hotfix as <type>.
Non multi-agent branch name follows template: <type>/<version>/<developer>[/<taskId>]/<taskName>.
Multi-agent base branch name follows template: <type>/<version>/<developer>[/<taskId>]/<taskName>/base.
Codex subagent branch name follows template: <type>/<version>/<developer>[/<taskId>]/<taskName>/<agentId>/<subtaskName>.
type attribute only belongs to:
version attribute follows SemVer Spec x.y.zdeveloper is the name of the developer from git config, use email prefix if the name is not set.agentId is not used in non multi-agent branches and is required for Codex subagents or parallel agents.agentId must use the role name only, for example backend, frontend, test, review, or docs.taskName or subtaskName, not in agentId.agent-01, backend-01, frontend-02, worker-a, tmp, work, backend-login-api, frontend-login-page, or test-auth-flow.taskId is optional, only used for non multi-agent branches when the project has task management system and the task can be easily linked to the branch name.taskName and subtaskName should be concise and descriptive, use hyphen to separate words, avoid using special characters.a-z, 0-9, ., _, and -./base for non multi-agent workflows. Use /base only as the integration branch leaf after a task enters multi-agent workflow./base branch before creating subagent branches. Do not keep both forms for the same task.| origin branch | target branch | ops | notes |
| :--- | :--- | :--- | :--- |
| master | feature/<version>/<developer>[/<taskId>]/<taskName>、feature/<version>/<developer>[/<taskId>]/<taskName>/base、qa/<version>、release/<version> | create from master | development and unit testing |
| master | feature/<version>/...、qa/<version>、release/<version> | git rebase | always rebase master latest commits |
| <type>/<version>/<developer>[/<taskId>]/<taskName>/base | <type>/<version>/<developer>[/<taskId>]/<taskName>/<agentId>/<subtaskName> | create from multi-agent base branch | subtask implementation in isolated worktree |
| <type>/<version>/<developer>[/<taskId>]/<taskName>/<agentId>/<subtaskName> | <type>/<version>/<developer>[/<taskId>]/<taskName>/base | git merge | subtask branch must merge back to its corresponding multi-agent base branch after completion |
| feature | nightly | git merge | coding complete,no compilation errors |
| feature | qa | create merge request | submit to testing, ensure version consistency |
| feature | feature | git rebase -i (squash commits) && git push -f | squash mutiple commits of one feature |
| feature(squashed) | release | git merge | ensure completed testing |
| release | release | git tag <version> | ensure no snapshot/dev dependencies |
| release | master | Fast-forward only merge | after merge completed,ensure all other branches for the current version are cleaned up |
When using git worktree, the worktree path must mirror the branch tree and have a one-to-one relationship with the checked-out branch.
Worktree root is resolved dynamically:
worktree_root="${ELITEFORGE_SKILL_GIT_WORKTREE_ROOT:-${CODEX_HOME:-$HOME/.codex}/worktrees}"
<root>/<repo>/<type>/<version>/<developer>[/<taskId>]/<taskName>.<root>/<repo>/<type>/<version>/<developer>[/<taskId>]/<taskName>/base.<root>/<repo>/<type>/<version>/<developer>[/<taskId>]/<taskName>/<agentId>/<subtaskName>.temp, new, work, scratch, or feature-clouds3n-add-login./base path before adding subagent worktrees. Do not create subagent worktrees inside an existing non multi-agent worktree.Examples:
feature/1.2.0/clouds3n/add-login uses worktree <root>/<repo>/feature/1.2.0/clouds3n/add-login.feature/1.2.0/clouds3n/add-login/base uses worktree <root>/<repo>/feature/1.2.0/clouds3n/add-login/base.feature/1.2.0/clouds3n/add-login/backend/session-token uses worktree <root>/<repo>/feature/1.2.0/clouds3n/add-login/backend/session-token./base branch is the integration branch for the task./base branch after the subtask is complete./base branch and merge directly into default, nightly, qa, release, or another release-flow branch.Follow Conventional Commits specification.
Always use the default MR/PR template from current project.
Learn more from the
scripts/directory in this skil
auto_merge: Merge the current version branches into the current branchcheck_merge: Check all branches for the current version are merged into the current branchdelete_local_branches: Delete all branches except the main/master.ensure all branches are pushedrename_git_branch: Rename the branch both locally and remotelymaster,main,nightly,qa,release branch<type>/<version>/<developer>[/<taskId>]/<taskName><type>/<version>/<developer>[/<taskId>]/<taskName>/base<type>/<version>/<developer>[/<taskId>]/<taskName>/<agentId>/<subtaskName>${ELITEFORGE_SKILL_GIT_WORKTREE_ROOT:-${CODEX_HOME:-$HOME/.codex}/worktrees}/base branchagentId must use a role name and must not include numeric suffixes, scope, or target detailsSemVerConventional Commitstesting
Rewrite human-facing prose using Strunk-style rules. Use for docs, README files, technical explanations, PR descriptions, commit messages, error messages, UI copy, reports, and summaries when the user asks to polish, shorten, clarify, de-duplicate, restructure, or normalize tone.
testing
Draft or refine a concise product requirements document from a rough product idea, then write a Typst source file and sibling PDF to a resolved output path.
research
产品经理竞品分析报告生成器。当用户提到竞品分析、竞品调研、竞品对比、竞争对手分析、市场竞争分析、行业竞品研究时触发。也适用于用户要求对比多个产品/平台/公司的功能、商业模式、市场定位等场景。即使用户只是说'帮我分析一下XX和YY'或'XX有哪些竞争对手',只要涉及产品/公司间的对比分析,都应该使用这个 skill。支持任意行业,支持快速分析和深度分析两种模式。
development
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.