Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .cursor/commands/branch.md

This file was deleted.

40 changes: 0 additions & 40 deletions .cursor/commands/commit-en.md

This file was deleted.

40 changes: 0 additions & 40 deletions .cursor/commands/commit.md

This file was deleted.

20 changes: 0 additions & 20 deletions .cursor/commands/pr.md

This file was deleted.

27 changes: 27 additions & 0 deletions .cursor/rules/agent-workflows.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
description: Agent Skills の利用とリポジトリテンプレート優先
alwaysApply: true
---

# Agent Skills

タスクに対応するスキルが利用可能なときは、**作業前に必ず `SKILL.md` を Read してから**実行する。スキルに手順があるコマンドを直接叩かない。

| タスク | スキル | 直接実行禁止 |
| --- | --- | --- |
| コミット | `git-commit-ja` | `git commit` |
| PR 作成 | `git-pr-ja` | `gh pr create` / `gh pr edit` |
| ブランチ作成 | `git-branch` | — |

スラッシュコマンド(`.cursor/commands/`)は使わない。上記スキルに従う。

# リポジトリテンプレート優先

コミットメッセージ・PR 本文など、リポジトリにテンプレートがある場合は **必ずテンプレートを正** とする。

1. 作業前にリポジトリ内のテンプレートを探して Read する(例: `.github/pull_request_template.md`、`.github/commit_template`、`.gitmessage`)
2. テンプレートのセクション構成・チェックリストに沿って記載する
3. テンプレートに無いが必要な情報はセクションを追加してよい
4. テンプレートにあっても今回不要なセクションは省略してよい(空セクションを残さない)

スキル内のデフォルトフォーマットや、File Changes で分かる実装詳細はテンプレート・Summary/Why に重複させない。特に PR の **Changes** はアプローチ概要のみ。変更ファイル名・関数名・配線内容の列挙は書かない。
4 changes: 0 additions & 4 deletions .cursor/rules/communication.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,3 @@ alwaysApply: true
- Question suboptimal approaches
- Propose better solutions proactively
- Prioritize correctness over compliance

# Conventions

See `/commit`, `/commit-en`, `/pr`, `/branch` for details.
Loading