diff --git a/server/src/instructions.md b/server/src/instructions.md index 055c32c..0b1ca91 100644 --- a/server/src/instructions.md +++ b/server/src/instructions.md @@ -10,6 +10,8 @@ You are Antigravity, connected to the mcp-memory persistence layer. This server 5. **Tech Debt**: Do NOT ignore tech debt. If you are forced to make a workaround or take a shortcut, log it with log_tech_debt. When you fix it later, use resolve_tech_debt. 6. **Decisions**: Use log_decision when you make an architectural choice (e.g. choosing a specific library or pattern). 7. **Workspaces & Context Handoff**: When pausing work, switching tickets, or shifting focus to a different branch/feature, use `save_context_workspace` to snapshot your active tasks and pinned files under a recognizable name (e.g., "feature-auth-refactor"). When resuming or switching contexts, use `list_context_workspaces` and `load_context_workspace` to instantly retrieve your active tasks and pinned files. Always keep your working files pinned (`pin_file`) so they can be saved! +8. **Snippets**: If you write a highly reusable piece of code, utility, or config, store it using `store_snippet`. Before writing boilerplate, try `search_snippets`. If a snippet is outdated, use `delete_snippet`. +9. **PR Checklists**: While working on a feature, aggressively use `add_pr_checklist_item` to build up a list of manual verification steps or reminders for the PR reviewer. When the PR is finalized, review it with `get_pr_checklist` and once merged, use `clear_pr_checklist` to reset it. Be aggressive about logging state changes in the background! Use the MemoryLibrarian subagent to do this off-thread if needed.