Prompting & Context
Source: docs/agent/prompting.md
Generated: 01/09/2026
Get the most from JoinGrove agents with @ mentions, rules, AGENTS.md, and chat slash commands.
Key Concepts
- What: Context includes workspace files (
@file), folder rules (.cursor/rules), project instructions (AGENTS.md), and bundled slash shortcuts. - Why: Campus cohorts and founders need repeatable prompts — rules ship in stack templates so every project starts with the right context.
- Related: Rules overview (
../overview/rules.md), slash commands (slash-commands.md), agent workflow (agent-workflow.md).
API / Reference
| Context source | Location | Loaded when |
|---|---|---|
@ file/folder mentions |
Chat input | User attaches context |
AGENTS.md |
Project root | Workspace open |
.cursor/rules/*.mdc |
.cursor/rules/ |
Workspace open |
.github/copilot-instructions.md |
.github/ |
Copilot sessions |
| Slash commands | Chat / prefix |
User invokes |
| JoinGrove hub shortcuts | /studio, /campus, /pricing, … |
See slash-commands reference |
Stack template rules (examples)
| Template | Rules shipped |
|---|---|
| WordPress | PHP, theme/plugin conventions |
| Laravel | API, auth, deployment |
| Flutter | Mobile, offline-first UI |
| Mobile money | M-Pesa, Paystack webhooks |
| Govtech | Forms, accessibility |
Setup & Installation
- Scaffold a project →
joingrove.createStackProject— rules andAGENTS.mdare included. - Edit
AGENTS.mdfor your cohort (payment provider, locale, naming). - In Agents chat, type
@to attach files or folders from your workspace. - Use
/docs,/studio,/offlineslash commands for quick navigation.
Code Examples
Create a project with built-in agent instructions:
Command Palette → joingrove.createStackProject → Laravel
Example prompt with context:
@src/app/Models/Order.php Add Paystack webhook handler following AGENTS.md
Open slash command reference:
Command Palette → joingrove.openDocsReference → (or type / in chat)
Next: Read agent-workflow.md for Git branch + PR patterns.
How It Connects
- Rules doc:
../overview/rules.md - Slash commands reference:
slash-commands.md - Agent workflow:
agent-workflow.md - In-app command:
joingrove.createStackProject