create-fix-pr

โดย launchdarkly

ตรวจสอบสาเหตุที่แท้จริงและยื่น Pull Request เพื่อแก้ไขอย่างน้อยที่สุดสำหรับบั๊กหรือข้อค้นพบด้านการสังเกตการณ์ที่รายงานมา

npx skills add https://github.com/launchdarkly/ai-tooling --skill create-fix-pr

Create a fix PR

Overview

You are investigating a problem and filing a pull request that resolves it. This builds on the investigate skill — do the investigation properly first, don't jump to a fix without evidence.

Use the gh CLI for all GitHub operations (auth comes from your gh login) and standard Bash / Edit / Read / Grep for everything else.

Workflow

  1. Investigate. Use the investigate skill to find the root cause. Cite the exact trace ID, log line, error group, and code location that pins the problem.
  2. Confirm there isn't already a PR open. Before filing anything, search GitHub for an existing open PR addressing the same issue — gh pr list --search "<keywords>" --state open. If one exists, direct the user to it — do not create a duplicate.
  3. Judge whether a PR is the right tool. If the fix requires a config change, a flag flip, or a change outside the code you can access, describe the solution instead of filing a PR.
  4. Get the repo. Clone it if you don't already have it locally — gh repo clone <owner>/<repo>.
  5. Check for repo conventions. Read agents.md or CLAUDE.md at the repo root — these describe repo-specific rules your fix needs to respect.
  6. Make the change. Minimal diff. Don't refactor surrounding code, don't add features, don't fix unrelated bugs you happen to notice. One PR, one fix.
  7. Set git identity before committing — see pr-conventions.md.
  8. Commit, push, and file the PR. See pr-conventions.md for branch naming and PR body rules.

What's a good fix

  • Changes the smallest possible number of lines
  • Preserves current production behavior unless the bug IS the current behavior
  • Doesn't depend on assumptions you can't verify from the evidence
  • Would pass a code-review skill's check if one existed

What isn't

  • Sweeping refactors unrelated to the reported problem
  • Speculative null checks or error handling added "while you're in there"
  • Changes to tests that hide the underlying bug
  • Bumping dependency versions to fix a symptom

Restricted tools

If gh isn't installed or gh auth status shows no auth, surface the error to the user and stop — don't try alternative auth schemes.

Never include in a PR

  • GitHub access tokens or any other secrets or credentials.
  • Debugging logs or print statements you added during investigation.

Follow the repo's own commit and PR conventions for everything else.

Skills เพิ่มเติมจาก launchdarkly

aiconfig-online-evals
launchdarkly
เลิกใช้งานแล้ว เปลี่ยนเส้นทาง — สกิลนี้ถูกเปลี่ยนชื่อเป็น online-evals อย่าใช้สกิลนี้ ให้เรียกใช้ online-evals แทน เก็บไว้เพียงเพื่อให้การอ้างอิงเก่าๆ ยังคง...
aiconfig-tools
launchdarkly
เลิกใช้งานแล้ว เปลี่ยนเส้นทาง — สกิลนี้ถูกเปลี่ยนชื่อเป็น tools แล้ว อย่าใช้สกิลนี้ ให้เรียกใช้ tools แทน เก็บไว้เพียงเพื่อให้การอ้างอิงเก่าๆ ไปยัง aiconfig-tools ยังคงชี้ไปที่...
launchdarkly-flag-targeting
launchdarkly
ควบคุมการกำหนดเป้าหมายของฟีเจอร์แฟล็ก LaunchDarkly รวมถึงการเปิด/ปิดแฟล็ก การเปิดตัวแบบเปอร์เซ็นต์ กฎการกำหนดเป้าหมาย เป้าหมายรายบุคคล และการคัดลอกแฟล็ก…
launchdarkly-flag-drift
launchdarkly
ตรวจจับและปรับความคลาดเคลื่อนระหว่างค่าเริ่มต้นสำรองของ SDK ในโค้ดของฟีเจอร์แฟล็กกับกฎเริ่มต้น (fallthrough) ของ LaunchDarkly ใช้เมื่อค่าเริ่มต้นของแฟล็ก...
snippets
launchdarkly
สร้างและจัดการสไนปเป็ตพรอมต์ — บล็อกข้อความที่นำกลับมาใช้ซ้ำได้ซึ่งอ้างอิงภายในพรอมต์การแปรผันของคอนฟิก เก็บคำแนะนำทั่วไป บุคลิก และการ์ดเรล…
create-skill
launchdarkly
เพิ่มทักษะใหม่ไปยัง repo agent-skills ของ LaunchDarkly ใช้เมื่อสร้าง SKILL.md ใหม่ เพิ่มทักษะในแคตตาล็อก หรือปรับให้สอดคล้องกับข้อกำหนดของ repo
skill-name
launchdarkly
คำอธิบายที่ชัดเจนเกี่ยวกับสิ่งที่สกิลนี้ทำและเมื่อใดที่เอเจนต์ควรใช้ รวมถึงคำสำคัญที่ช่วยให้เอเจนต์ระบุงานที่เกี่ยวข้องได้
agent-graphs
launchdarkly
สร้างและจัดการกราฟเอเจนต์ — กราฟแบบมีทิศทางของคอนฟิกที่เชื่อมต่อด้วยขอบพร้อมตรรกะการส่งต่อ ใช้เมื่อสร้างเวิร์กโฟลว์แบบหลายเอเจนต์ที่คอนฟิกกำหนดเส้นทาง…