ワンクリックで
git-user
Step-by-step guidance for maintaining a linear Git workflow using rebases, feature branches, and fast-forward merges.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Step-by-step guidance for maintaining a linear Git workflow using rebases, feature branches, and fast-forward merges.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Apple BackgroundTasks framework for iOS/iPadOS background processing. Use when scheduling background work, refreshing app content, running long processing tasks, implementing BGAppRefreshTask, BGProcessingTask, BGContinuedProcessingTask, or dealing with BGTaskScheduler setup, registration, submission, expiration handlers, and debugger testing commands.
Expert guidance on Swift Concurrency best practices, patterns, and implementation. Use when developers mention: (1) Swift Concurrency, async/await, actors, or tasks, (2) "use Swift Concurrency" or "modern concurrency patterns", (3) migrating to Swift 6, (4) data races or thread safety issues, (5) refactoring closures to async/await, (6) @MainActor, Sendable, or actor isolation, (7) concurrent code architecture or performance optimization, (8) concurrency-related linter warnings (SwiftLint or similar; e.g. async_without_await, Sendable/actor isolation/MainActor lint).
Build type-safe Swift state machines with enum states and action-based transitions. Use for lifecycle or protocol flows, reentrancy-sensitive operations, or async/concurrent workflows.
Type-driven domain modeling techniques for Swift using proper domain types, validation-carrying types, witness-based access control, and illegal-state elimination. Use when designing domain models, replacing primitive obsession, modeling workflows with enums/structs, adding compile-time guarantees, or discussing parse-dont-validate and making illegal states unrepresentable.
AccessorySetupKit for privacy-preserving discovery and setup of Bluetooth, Wi-Fi, or Wi-Fi Aware accessories. Use for discovery sessions, picker-based authorization, migration, accessory renaming or removal, custom filtering, and required Info.plist declarations.
Functional architecture guidance for Swift (immutability, pure functions, reducers, DI via functions).
| name | git-user |
| description | Step-by-step guidance for maintaining a linear Git workflow using rebases, feature branches, and fast-forward merges. |
Trigger this skill when:
main is protected and immutablemainmainmain into a feature branch (no merge commits)main (performed manually by a human in GitHub)--force-with-leasemainmain:
git fetch && git rebase origin/maingit pull --rebase origin maingit push -u origin <branch>git push --force-with-leasemainfeature/<topic> for a new featurefix/<topic> for a bug fixchore/<topic> for project cleanup, documentation, or general housekeepingmain via a manually created GitHub Pull RequestDo NOT rewrite history by default.
Rewriting commit history is allowed only when the AI agent’s changes make the existing commit messages misleading or inaccurate.
Rewrite commits (reword, squash, reorder) ONLY if at least one of these is true:
Do NOT rewrite commits if all of the following are true:
main (forbidden)main: A---B---C
feature: ---D---E---F
This is ideal: atomic commits, linear history, easy review and bisect.
main: A---B---C---G
feature: ---D---E---F
---------M
M is a merge commit from main into feature.
Not allowed: merge commits break linear history.
Fix:
feature: D---E---F---G---H
This obscures the real change.
Fix:
Before:
After AI changes:
Allowed rewrite: reword and regroup commits so each commit accurately reflects final behavior.
main