tests/testthat/_snaps/prompt.md

prompt_remove errors informatively with bad chore

Code
  prompt_remove("nonexistentchore")
Condition
  Error in `prompt_remove()`:
  ! No prompts for `chore` "nonexistentchore" found in the prompt directory

new prompts can be pre-filled with contents

Code
  p <- prompt_new("summarizeAlt", "prefix",
    "https://gist.githubusercontent.com/simonpcouch/daaa6c4155918d6f3efd6706d022e584/raw/ed1da68b3f38a25b58dd9fdc8b9c258d58c9b4da/summarize-prefix.md")

new prompts error informatively with bad pre-fill contents

Code
  p <- prompt_new("summarizeAlt", "prefix",
    "https://gist.github.com/simonpcouch/daaa6c4155918d6f3efd6706d022e584")
Condition
  Error in `prompt_new()`:
  ! `contents` must be a connection to a markdown file.

default chores can't be overwritten or deleted (#59)

Code
  prompt_new("cli", "replace")
Condition
  Error in `prompt_new()`:
  ! Default chores cannot be edited or removed.
Code
  prompt_edit("cli")
Condition
  Error in `prompt_edit()`:
  ! Default chores cannot be edited or removed.
Code
  prompt_remove("cli")
Condition
  Error in `prompt_remove()`:
  ! Default chores cannot be edited or removed.


Try the chores package in your browser

Any scripts or data that you put into this service are public.

chores documentation built on Dec. 10, 2025, 1:07 a.m.