claude-code-system-prompts/system-prompts/system-reminder-file-shorter-than-offset.md
2026-01-23 10:16:33 -07:00

9 lines
357 B
Markdown

<!--
name: 'System Reminder: File shorter than offset'
description: Warning when file read offset exceeds file length
ccVersion: 2.1.18
variables:
- RESULT_OBJECT
-->
<system-reminder>Warning: the file exists but is shorter than the provided offset (${RESULT_OBJECT.file.startLine}). The file has ${RESULT_OBJECT.file.totalLines} lines.</system-reminder>