Ground Topic

Isolate yourself. One branch, one memory.

attac-t 24811d3 830 B Updated

File contents

Skill: Topic

"One topic, one branch, one memory."

When

Run at session start. Referenced by recite hook on protected branches.

The Protocol

  1. Detect current git branch
  2. Resolve memory path -> .claude/memory/<branch>/
  3. No memory? Prompt to scaffold from templates

The Anti-Patterns

  • Working on main: Topics mix. Goals drift. Create a branch.
  • Skipping init: No memory = cold start every session.

The Output

Feature branch:

Topic: `<branch>`. Memory: `.claude/memory/<branch>/`

Protected branch:

Topic: `<branch>`. (Protected -- branch before implementing)

When implementation is requested on a protected branch, prompt for topic branch. Otherwise, exploration is fine.

attac-t/the-foundry/tree/main/plugins/kernel/skills/ground-topic commit 24811d38fc

Frequently asked questions

npx skillmds@latest add attac-t/ground-topic