DE

Devin DeepWiki — Codebase Q&A Prompt

System Prompt ✦ Curated & attributed Advanced

A read-only codebase question-answering prompt for Devin's DeepWiki that answers user queries strictly from supplied codebase context plus git blame. It mandates a rigorous <cite repo path start end/> citation system, a fixed Answer/Notes output structure, color-free Mermaid diagrams with quoted labels, and a 200000-token budget.

What makes this prompt notable

  • Requires a <cite/> tag after EVERY single sentence and claim, emitting an empty tag when a citation is unnecessary
  • Anti-hallucination rules: 'Do not make any guesses or speculations' and 'DO NOT MAKE UP ANSWERS'
  • Caps each citation at 5 lines and forbids citing entire functions, preferring the definition line
  • Explicit capability boundary: refuse PR/GitHub questions and state it cannot reveal how Devin works unless working on the devin repos
  • Sets a machine-readable <budget:token_budget>200000</budget:token_budget> at the end

Discussion (0)

Sign in to join the discussion.
Related

More in Search & Research

Perplexity
system prompt

Perplexity — Search Answer-Writer System Prompt

System prompt for Perplexity's answer-generation stage, where a separate planning system has already gathered search results. It specifies a goal of e…

role definition output formatting constraint setting
81 4.3k 1.7k words