本文へ移動
cccskills
無料GitHub で公開日本語紹介

fix

GitHubの課題や既存プルリクエスト、計画ファイルをもとに、再現テストから修正・検証まで進め、マージ可能なプルリクエストにまとめます。

原文原文の説明を見る

Take a GitHub issue, an open PR, or a plan file from plans/ and drive it to a merge-ready PR — reproduce with a failing test first, implement the fix (bugs) or feature (plans), verify against the repo's gates, and open or update the PR. Use when asked to fix an issue, implement or execute a plan, finish or land an open PR, or work through plans/issues/.

motiondivision/motionスター 34,550(GitHub 34,550 + cccskills 0)
連携ツールGitHub

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 課題のバグを再現テストから修正したいとき
  • 計画ファイルの機能を実装したいとき
  • 作業中のプルリクエストを仕上げたいとき
  • 検証結果を添えてPRを作成したいとき

日本語での紹介

できること

GitHubの課題、既存のプルリクエスト、または plans/ 内の計画ファイルをもとに、実装からプルリクエストの作成・更新まで進めます。まず計画や課題の内容、リポジトリの手順を確認し、バグ修正では原因を再現する失敗テストを先に用意します。その後、指定された範囲で修正や機能を実装し、計画に記された検証項目やビルド、テストなどを実行します。結果や未実施の確認事項を明記してPRを作成し、計画ファイルの進捗も記録します。

こんなときに便利

課題の修正を一連の作業として任せたいときや、計画済みの機能を実装してレビュー可能な形にしたいときに向いています。作業中のPRを仕上げる場合にも使えます。対象が曖昧なときや、再現テストを書けないときは、推測で進めず状況を報告します。

使い方の例

  • 「課題 #3741 を再現テストから修正して、PRを作成してください」
  • 「plans/008 の計画を実装し、指定された検証を実行してください」
  • 「PR #123 のチェック結果を確認して、マージ前に必要な対応をしてください」

注意点

GitHub CLI(gh)やリポジトリ指定のビルド・テスト環境を使います。計画の停止条件や作業範囲を守り、テストで再現できない問題は修正を進めません。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

資料チェック

SKILL.md の記述から、注意が要る操作と導入の前提を AI が確認しました。点数は実際に動かした結果(実行検証)だけで付けています。

安全面送信・削除・コマンド実行などの扱いが明示されているか
B一部不足変更・コミット・プッシュ・PR作成を行いますが、確認手順は限定的です。
導入のしやすさ必要なツールや API キーが少ないか、書かれているか
B一部不足`gh` とリポジトリ固有のビルド・テスト環境が必要です。

点数には入れていません。 2026年10月26日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。

評価が違うと思ったら、見直しを依頼する

どの項目が、なぜ違うと思うかを書いてください。ログインは不要です。内容を SKILL.md と照らし合わせて評価を作り直し、この欄に反映します。

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

含まれるファイル(1)

  • SKILL.md6.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Fix

You are the executor. A more expensive planning model has already done the thinking; your job is to implement exactly what was specified, prove it works, and ship a PR. You have zero context from the planning session — everything you need is in the plan file, the GitHub issue/PR, and this repo's CLAUDE.md. Read all three before writing any code.

Resolving the input

The argument can be:

  1. A plan file path (e.g. plans/issues/pr-3724.md or plans/001-animate-layout-public-api.md) — read it in full. Plans are the primary input for this skill.
  2. A plan number (e.g. 008) — find the matching file in plans/ or plans/issues/.
  3. A GitHub issue number (e.g. #3741) — run gh issue view <number> first. Check whether a plan for it already exists in plans/issues/ (grep for the number); if so, the plan governs.
  4. A PR number — run gh pr view <number> and gh pr checks <number>. Check plans/issues/ for a plan covering that PR; if so, the plan governs.

If the argument is ambiguous or matches nothing, list what you found and stop — do not guess which work item was meant.

Hard rules

  1. The plan is the spec. Do not redesign, expand scope, or "improve while you're in there." If the plan is wrong or impossible as written, stop and report why — do not silently substitute your own approach.
  2. Honor the plan's STOP conditions. If a plan says stop when X happens, stop when X happens, even if you think you can push through.
  3. No repro → no fix. If you cannot write a test that fails because of the bug, do not land a speculative fix with happy-path tests. Report "needs repro" instead. (A test that fails only because your new API doesn't exist yet is not a failing test.)
  4. Never commit to main. Branch first (<type>/<short-slug>, e.g. fix/3741-turbopack-reexport). One work item per branch per PR.
  5. Report faithfully. If tests fail, say so with output. If you skipped a verification gate, say which and why. Never describe unverified work as done.

Workflow

Phase 0 — Understand

  • Read the plan file end to end, including its verification gates and STOP conditions.
  • Read the linked issue/PR with gh issue view / gh pr view --comments. The reporter's reproduction is the basis for your test — fetch any linked CodeSandbox/StackBlitz. If you cannot obtain the repro and the plan doesn't contain one, stop and ask (rule 3).
  • Run git log --grep="<keyword>" --oneline -- <relevant-files> — the bug may already be fixed, or prior commits may reveal the root cause.
  • Read CLAUDE.md sections "Writing Tests", "Fixing Issues from Bug Reports", and "Code Style". Those rules apply in full and are not repeated here.

Phase 1 — Failing test first

  • Write the test before the implementation and watch it fail for the right reason (the bug / missing behavior — not a typo or missing import).
  • Choose the layer per CLAUDE.md: Jest for pure logic; Cypress for anything involving opacity, transform, scroll, layout animations, WAAPI, or visual behavior (JSDOM has no WAAPI — a passing Jest test does not mean "already works").
  • For features, the failing test asserts the new behavior described in the plan's acceptance criteria.

Phase 2 — Implement

  • Smallest change that makes the test pass while matching surrounding code style. This library ships to end users — prioritise small output size.
  • Build from the repo root (yarn build), never from inside a package.
  • If the plan specifies files and approach, follow them. Deviations must be listed explicitly in the PR description with one-line justifications.

Phase 3 — Verify

Run every gate the plan names. Defaults when the plan doesn't say:

  • yarn build from root, then the relevant Jest suite(s).
  • New/changed Cypress tests against both React 18 and React 19, using the direct-Vite recipe in CLAUDE.md (never start-server-and-test + turbo). Both must pass; a version-specific failure is a finding to investigate, not skip.
  • yarn lint on touched packages.
  • Ignore only the pre-existing known failures listed in CLAUDE.md/memory (SSR TextEncoder, use-velocity).

Phase 4 — Ship & bookkeeping

  • Commit with a message that references the issue/plan (Fix #3741: …). Push and open a PR with gh pr create, linking the issue (Fixes #<n>) and summarising: root cause, approach, tests added, gates run with results, deviations from the plan.
  • Do not use gh pr edit — it is known-broken on this repo (Projects Classic deprecation). If gh pr create succeeded, you are done; do not retry or work around edit failures.
  • Update the plan's status: set its row in the relevant plans/**/README.md table (TODO → DONE, or BLOCKED with a one-line reason) and append a short "Execution notes" section to the plan file itself: what was done, PR number, anything the plan got wrong.

When working on an existing open PR

The work item may be "finish PR #N" rather than "fix issue #N". Then:

  • gh pr checkout <number>; rebase on main if behind, resolving conflicts conservatively (prefer main's version for code the PR doesn't deliberately change).
  • gh pr checks <number> and read failing CI logs before touching code — the plan should say what's blocking; verify it still is.
  • Address review comments listed in the plan. Push to the same branch. Never force-push over commits you didn't write without checking the diff you'd destroy.

STOP conditions (always, in addition to the plan's own)

  • The failing test won't fail (can't reproduce) after 2–3 honest attempts → report "needs repro" with what you tried.
  • The plan's approach conflicts with code that changed since the plan was written → report the conflict; do not improvise a new design.
  • A verification gate fails and the fix isn't obvious within a few attempts → report the failure output.
  • The change would touch packages/framer-motion/src/projection/ or the effects/VisualElement system in ways the plan didn't anticipate → stop; these systems have in-flight rewrites.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

improve

無料概要あり

コードベースを読み取り専用で調査し、バグや性能、セキュリティなどの改善点を根拠と優先度付きで整理して、別の担当者が実行できる計画にまとめます。

  • 改善点を調査して優先順位をつけたいとき
  • セキュリティや性能を監査したいとき
  • 別の担当者向けの実装計画を作りたいとき
motiondivision/motion3.5万2026年10月26日 更新

motiondivision のスキルをすべて見る

このスキルの問題を報告する