Skip to content
Skill

marumie

by team-mirai

AI Summary

1. 現在の状態を確認: と で変更内容を確認し、PRに含める変更を把握する。変更がない場合はユーザーに報告して終了する。 2. 目的(Why)の明確化: このPRが必要な理由を明確にする。以下のいずれかの形式で言語化できるようにする: 目的が明確でない場合は、必ずユーザーに質問して確認を取ること。PRのdescriptionに目的として記載する。

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "marumie" skill in my project.

Please run this command in my terminal:
# Install skill into your project (5 files)
mkdir -p .claude/skills/commands && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/SKILL.md "https://raw.githubusercontent.com/team-mirai/marumie/develop/.claude/commands/pr.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/e2e.md "https://raw.githubusercontent.com/team-mirai/marumie/develop/.claude/commands/e2e.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/plan.md "https://raw.githubusercontent.com/team-mirai/marumie/develop/.claude/commands/plan.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/resolve-reviews.md "https://raw.githubusercontent.com/team-mirai/marumie/develop/.claude/commands/resolve-reviews.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/review.md "https://raw.githubusercontent.com/team-mirai/marumie/develop/.claude/commands/review.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

フィーチャーブランチを作成してPRを出す

現在の状況

• 現在のブランチ: !git branch --show-current • 変更ファイル: !git status --short • 追加の指示: $ARGUMENTS

タスク

以下の手順でPRを作成してください: • 現在の状態を確認: git status と git diff で変更内容を確認し、PRに含める変更を把握する。変更がない場合はユーザーに報告して終了する。 • 目的(Why)の明確化: このPRが必要な理由を明確にする。以下のいずれかの形式で言語化できるようにする: • 「(対象者)が(困っている状態)を解消するため」 • 「(対象者)が(嬉しい状態)になるため」 目的が明確でない場合は、必ずユーザーに質問して確認を取ること。PRのdescriptionに目的として記載する。 • ブランチ決定: • 現在のブランチがdevelopやmainの場合: 変更内容に基づいて適切なブランチ名を自分で決定し、新しいブランチを作成してチェックアウトする(例: feature/add-dark-mode, fix/login-error, refactor/auth-logic) • 既にフィーチャーブランチにいる場合: 変更内容がブランチ名と合致していればそのまま使用する。合致していない場合はdevelopから新しいブランチを作成して変更を持ち越す • 品質チェック: ソースコード(.ts、.tsx、.js、.jsxファイル)への変更がある場合のみ、プロジェクトルートで以下を実行する。ドキュメントや設定ファイルのみの変更の場合はスキップ可。 • npm run typecheck • npm run lint • npm test • pnpm knip(未使用コード検出) エラーがあれば修正してから次に進む。 • コミット: 変更内容を確認し、適切なコミットメッセージでコミットする。コミットメッセージは変更内容を反映した簡潔なものにする。 • コンフリクト確認: git fetch origin して、developとのマージ可能性を確認する(bash -c 'git merge-tree $(git merge-base HEAD origin/develop) HEAD origin/develop' でコンフリクトの有無を確認)。コンフリクトがある場合はユーザーに報告し、続行するか確認を取る。 • プッシュ: リモートにプッシュする(git push -u origin <branch-name>) • PR作成: gh pr create でPRを作成する。--base オプションは付けない(デフォルトのベースブランチを使用)。 • 完了報告: 作成したPRのURLを報告する。

注意事項

• developやmainへの直接pushは禁止 • Prismaのマイグレーションを含む場合は、PRを出す前にユーザーに確認を取る

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 7d ago
Active
Adoption100+ stars on GitHub
684 ★ · Growing
DocsMissing or thin
Undocumented

GitHub Signals

Stars684
Forks82
Issues22
Updated7d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code