FixVibe

// docs / ai fix prompts

AI düzeltme istemleri

Code and configuration findings have a Copy coding-agent prompt button beneath the remediation. DNS, provider-console, secret-rotation, and manual-review findings show operator steps instead, because an IDE agent cannot change those settings for you. No Claude API call is made by FixVibe.

Nasıl çalışır

Tıklamada iki veri parçası birleşir:

  • The finding — kodlama temsilcinizin sorunu düzeltmesine yardımcı olmak için gereken sorun özeti, etkilenen yüzey, düzeltme kılavuzu ve güvenli kanıtlar.
  • Your app context — FixVibe, çerçeveye duyarlı bir iyileştirme şekli seçmek için mümkün olduğunda tarama bağlamını kullanır ve yeterli bağlamı çıkaramadığında genel bir tarife geri döner.

Coding-agent prompts and operator steps are rendered server-side from FixVibe remediation guidance. They are designed for copy-paste use in Cursor, Claude Desktop, Copilot, or the relevant provider console without exposing the internal prompt registry in the browser.

İstem nasıl görünür

Fix the "Reflected XSS in /search?q=" vulnerability at /search.

Issue: Query parameter q is rendered into the response body without
escaping; an attacker can inject <script> via crafted URLs.

Codebase context: Next.js.

Recommended fix:
In Next.js, render user-supplied values through JSX ({value}) so React's
automatic escaping kicks in. For server components rendering rich HTML,
sanitize with DOMPurify (server-side via JSDOM) before output.

Constraints:
- Don't break existing tests; run the test suite after the change.
- Match the codebase's existing style and lint config.
- Add a brief comment explaining the security reasoning only where the
  fix would otherwise look arbitrary.
- If the fix needs a new dependency, install it via the project's
  package manager (npm / pnpm / pip / bundle / composer).

Reference: CWE-79 — see https://cwe.mitre.org/data/definitions/79.html

Desteklenen framework'ler

Şunlar için framework'e özel snippet'ler gösteririz:

  • Next.js, React, Vue, Nuxt, Svelte (ön uç)
  • Express, Fastify (Node.js arka ucu)
  • Django, Şişe (Python)
  • Ruby on Rails
  • Laravel (PHP)
  • ASP.NET Temel geri dönüş kılavuzu

Çerçeve bağlamı en iyi çabadır. FixVibe taramadan yeterince güvenli bir şekilde sonuç çıkaramazsa, komut istemi kodlama aracınızdan düzeltmeyi uygulamadan önce depoyu incelemesini ister.

AI agent'ından kullan

MCP sunucusunu bağladıysan aynı istem slash command olarak da sunulur. Claude Desktop'tan:

/fixvibe-fix finding_id=550e8400-e29b-41d4-a716-446655440000

Sunucu bulguyu arar, mevcut tarama bağlamını uygular, düzeltme istemini işler ve bunu kullanıcı mesajı olarak konuşmanıza ekler. Bu şablonlu istem için FixVibe tarafından hiçbir üçüncü taraf LLM API çağrısı yapılmaz.

Neden her tıklamada Claude'a gitmiyoruz

Lansmanda, istemi codebase context'iyle iyileştirmek için her tıklamada Anthropic API çağırmayı düşündük. Yapmadık, çünkü:

  • Kullanıcının yapıştırdığı agent zaten codebase context'ine sahip — repo açıkken Cursor / Claude Desktop kullanıyor.
  • Sunucu tarafı şablonlaması, herhangi bir tıklama başına model çağrısı olmadan ortak iyileştirme yollarını kapsar.
  • Kullanıcılar isterse daha sonra “Refine with AI for my codebase” opt-in'i API'yi tetikleyebilir. Bugün hayır.
AI düzeltme istemleri — Docs · FixVibe