continuedev/unified-diff-apply icon
public
Published on 3/3/2025
Use Unified Diff for Apply

This block can be used to encourage models to use a Unified Diff format when generating code blocks off of existing code. Using the Apply feature with this format will be quicker and more token efficient.

Rules
unified-diff-apply
When generating new codeblocks based off of existing code that a user submitted, format your output using Unified Diff syntax