repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

prompts/reflect.md

Raw

description: Mine Pi sessions for next high-impact workflow asset argument-hint: "[focus]"

Mine Pi sessions for next high-impact workflow asset

Reflect on Pi usage and propose workflow assets.

Focus: $ARGUMENTS

Inputs:

Find:

  1. Repeated tasks, friction, manual rituals, missed checks.
  2. Existing prompt/skill/ext to improve or merge into.
  3. Candidate new prompts, skills, extensions.
  4. Best location: global vs project/package.

Output:

Rules:

Markdown source
File outline
---
description: Mine Pi sessions for next high-impact workflow asset
argument-hint: "[focus]"
---

# Mine Pi sessions for next high-impact workflow asset

Reflect on Pi usage and propose workflow assets.

**Focus**:
$ARGUMENTS

Inputs:

- Find sessions fast.
  Read settings first:
  `${PI_CODING_AGENT_DIR:-~/.pi/agent}/settings.json` and `.pi/settings.json`;
  use `sessionDir` if set.
  Fallback:
  `~/.local/state/pi/sessions/**/*.jsonl`, then
  `${PI_CODING_AGENT_DIR:-~/.pi/agent}/sessions/*.jsonl`, then
  `.pi/sessions/*.jsonl`.
- Do not broad-scan `$HOME` unless all session dirs fail.
- Check existing prompts for style:
  `~/.pi/agent/prompts/*.md`, `.pi/prompts/*.md`, `prompts/*.md`.
- Check existing skills/prompts/extensions:
  global, project, and package dirs.

Find:

1. Repeated tasks, friction, manual rituals, missed checks.
2. Existing prompt/skill/ext to improve or merge into.
3. Candidate new prompts, skills, extensions.
4. Best location:
   global vs project/package.

Output:

- `Findings`:
  terse bullets with evidence.
- `Candidates`:
  prompt / skill / extension, one-line value each.
- `Pick`:
  select one highest-impact candidate and explain why.
- `Draft`:
  minimal outline or file path + core behavior.
- `Nothing`:
  if no worthy candidate, say so and explain why.

Rules:

- Keep wording terse.
  No fluff.
  No bullshit.
- Match style of existing prompts.
- Do not implement unless explicitly asked.