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/YPM --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.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
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).