← All help topics

Prompts and resources

Packs can hold two more things besides tools.

Prompts

A prompt is a ready-made instruction that AI apps show as a command, like a / command in Claude:

[[prompt]]
name = "review"
title = "Code review"
description = "Review a file for bugs and readability"
template = """
Review the file {{ path }} for bugs, unclear names and missing tests.
Read it with the file tools first.
"""

[prompt.params]
path = "File to review"

Pick it in your AI app, fill in the file, and the instruction is sent for you. The dev pack has three: code review, commit message and explain this project.

Resources

A resource is a document an AI app can attach to a conversation, like a handbook or house rules:

[[resource]]
name = "House rules"
text = "Always answer in British English. Dates are DD/MM/YYYY."

[[resource]]
name = "Team handbook"
path = "~/Documents/handbook.md"

Use text for fixed text, or path for a file. How you attach a resource depends on the AI app; many show them in an attach or context menu.