﻿# Continue invokable prompts supply a reusable user task

Continue invokable prompts start reusable tasks as user messages; combine the procedure with current code and specific requirements rather than treating it as an always-active rule.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-continue-invokable-task-prompts/
Language: en

## Turn a repeated task into an invocation

A team repeatedly asks for an explanation of a parser's failure cases. The reusable part is the review procedure; the changing part is the parser and its expected inputs. Continue's [prompt guide](https://docs.continue.dev/customize/deep-dives/prompts) describes Markdown prompts that start tasks as user messages. This is useful for a procedure someone intentionally invokes, rather than a convention that should silently accompany unrelated work throughout the repository.

## Make the prompt discoverable

The documented frontmatter setting `invokable: true` exposes a prompt through slash-command selection. Give its name and description a recognizable task purpose. A command called “review parser boundaries” tells a reader more than a generic “improve code.” The [configuration reference](https://docs.continue.dev/reference) describes adding prompts to the active configuration. A file's existence does not establish that the currently selected agent exposes it; check discovery before debugging the procedure's wording.

## Supply the instance alongside the procedure

Continue allows a prompt to be combined with extra instructions and highlighted code. For the parser example, add the current function and a representative malformed input. State whether the task is explanation, a proposed change or an actual edit. The reusable instruction should guide how to reason about the instance, while the instance establishes what is being examined. Avoid embedding a historical source snapshot into a shared procedure that will later be used on different code.

## Distinguish a prompt from a rule

The reference describes rules as part of system-message context and prompts as invokable task content. The [prompts overview](https://docs.continue.dev/customize/prompts) emphasizes reusable task guidance. Choosing between them changes when and how instructions enter the conversation; neither grants a missing tool permission or establishes that a required check ran. Keep the procedure's expected output concrete, such as a failure-case explanation tied to the supplied parser rather than a broad demand for better quality.

## Review the result against the supplied instance

Check that the response addresses the selected code, including its actual fallback and error path. A reusable prompt can produce polished generic advice when the needed context is absent. [Progressive reading](/journal/learn-codex-progressive-reading/) helps supply the right source material; a [task contract](/journal/learn-codex-task-contract/) makes the requested operation explicit. Revise the shared procedure when repeated misses expose a real instruction gap, while keeping instance-specific corrections out of the permanent prompt.
