Skip to content

Update prompts to use Loom Recap MCP #347

@acreeger

Description

@acreeger

Summary

Update the issue, PR, and regular/branch prompts to instruct Claude to use the Loom Recap MCP for capturing decisions, insights, risks, and assumptions throughout the workflow.

Motivation

The Recap MCP (#346) provides the tools, but Claude needs to know when to use them. The prompts should instruct Claude to:

  1. Set the goal at session start
  2. Log significant moments as they happen (decisions, insights, risks, assumptions)

This is the "proactive" capture mechanism - Claude reports things as they happen, not just at phase boundaries.

Files to Update

  • templates/prompts/issue-prompt.txt
  • templates/prompts/pr-prompt.txt
  • templates/prompts/regular-prompt.txt

Changes Required

1. Add Recap MCP Introduction

Add near the top of each prompt (after the forbidden phrases section):

## Loom Recap

Throughout this session, use the Recap MCP to capture context that helps the user stay oriented:

- `recap.set_goal` - Call once at session start with the problem being solved
- `recap.add_entry` - Call when something significant happens:
  - **decision**: A choice was made (e.g., "Using X approach because Y")
  - **insight**: Something important was learned (e.g., "This module depends on Z")
  - **risk**: A potential problem identified (e.g., "This could break if...")
  - **assumption**: An assumption being made (e.g., "Assuming user wants X not Y")
  - **other**: Anything else worth capturing

Keep entries concise - one clear sentence. The user sees these in the Loom Context Panel.

2. Add Goal Setting to Workflow Start

For issue-prompt.txt - after fetching issue in STEP 0:

Call recap.set_goal with the issue title and a brief summary of the problem.

For pr-prompt.txt - after reading PR:

Call recap.set_goal with the PR title and purpose.

For regular-prompt.txt - after gathering problem statement:

Call recap.set_goal with the user's problem statement.

3. Guidance on When to Log

Don't over-specify exact moments - Claude should use judgment. But provide examples:

  • When choosing between approaches → decision
  • When discovering a constraint or dependency → insight
  • When identifying something that could go wrong → risk
  • When making an assumption about requirements → assumption

Acceptance Criteria

  • All three prompts updated with Recap MCP instructions
  • Goal is set at workflow start
  • Instructions are clear but not verbose
  • Claude has enough guidance to use judgment on what to log

Related

  • Loom Recap MCP Server #346 - Loom Recap MCP Server (provides the tools)
  • iloom-vscode#43 - POC Loom Context Panel (displays the data)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions