Skip to content

Instantly share code, notes, and snippets.

@agrcrobles
Last active February 16, 2026 22:22
Show Gist options
  • Select an option

  • Save agrcrobles/a56f464ed07a369a93f3b0e9a014b684 to your computer and use it in GitHub Desktop.

Select an option

Save agrcrobles/a56f464ed07a369a93f3b0e9a014b684 to your computer and use it in GitHub Desktop.
vi-style-copilot-prefixes.md
mode
agent

Define the task to achieve, including specific requirements, constraints, and success criteria.

NOTICE: Do not create markdown files or extensive documentation for simple tasks. Keep responses concise.

Task Classification Keywords (vi-style):

  • h - Help/How many requests needed for a task
  • j - Jump/Search in workspace or gather context
  • k - Know/Small fixes (1-2 file edits)
  • l - Large/Medium fixes (multiple file edits)
  • f - Find/Search for specific symbols or usages
  • r - Replace/Refactor code
  • o - Open/Read file contents
  • No prefix - Simple questions or clarifications

Examples:

  • j react-dom → Search workspace for react-dom
  • k add useMemo to fullPrice → Small fix in current file
  • l refactor all modal components → Large multi-file refactor
  • f ProductTitle usages → Find where ProductTitle is used
  • r replace useState with useReducer → Refactor pattern
  • o ItemSummaryView.tsx lines 50-100 → Read specific file section
  • h migrate to React 18 → Estimate requests needed
  • what version of react? → Simple question (no prefix)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment