From ypm
This skill configures Git Flow or GitHub Flow with branch protection and security settings. Use when the user asks "set up git flow", "configure branch protection", "set up git workflow", "protect branches", "Gitフロー設定", "ブランチ保護設定", or "ワークフロー設定".
npx claudepluginhub signalcompose/claude-tools --plugin ypmThis skill uses the workspace's default tool permissions.
This skill configures a complete Git workflow for your project, including branch structure, branch protection, merge settings, and security configuration.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Designs, implements, and audits WCAG 2.2 AA accessible UIs for Web (ARIA/HTML5), iOS (SwiftUI traits), and Android (Compose semantics). Audits code for compliance gaps.
This skill configures a complete Git workflow for your project, including branch structure, branch protection, merge settings, and security configuration.
Ask the user about their project type to determine appropriate security settings:
| Setting | Personal | Small OSS | Large OSS |
|---|---|---|---|
| Visibility | Private | Public | Public |
| Secret Scanning | Not needed | Recommended | Required |
| CODEOWNERS | Not needed | Recommended | Required |
| develop protection | Optional | Recommended | Required |
| Fork PR restriction | Not needed | Optional | Recommended |
Then ask development style:
enforce_admins=false (admin bypass allowed)enforce_admins=true (all rules apply to everyone)git remote -v
gh repo view --json nameWithOwner,isPrivate,defaultBranchRef 2>/dev/null
If no repository exists, guide the user to create one first.
Create develop branch if it doesn't exist, push to remote, and verify the default branch.
Apply branch protection using the template files:
${CLAUDE_PLUGIN_ROOT}/templates/.github/branch-protection/solo-development.json${CLAUDE_PLUGIN_ROOT}/templates/.github/branch-protection/team-development.jsonApply to both main and develop branches using gh api.
gh api repos/:owner/:repo -X PATCH \
-f allow_squash_merge=false \
-f allow_rebase_merge=false \
-f allow_merge_commit=true
Why: Git Flow requires merge commits. Squash/rebase destroys Git Flow history.
Based on project type, apply appropriate settings.
For CODEOWNERS template, refer to:
${CLAUDE_PLUGIN_ROOT}/skills/git-workflow-setup/references/codeowners-template.md
For security settings details, refer to:
${CLAUDE_PLUGIN_ROOT}/skills/git-workflow-setup/references/security-settings.md
git branch -a
gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'
gh api repos/:owner/:repo/branches/main/protection
gh api repos/:owner/:repo --jq '{allow_squash_merge, allow_merge_commit, allow_rebase_merge}'
Show results to the user and confirm everything is correct.
Report all configured settings and provide next steps for the Git workflow (branching, committing, PR creation).