Skip to content
Agent Memory
Skill

/potpie-project-preferences

Use before writing, modifying, reviewing, refactoring, or testing code so repo/project preferences surface: error handling, file structure, frameworks, logging, dependency choices, testing, security, API style, and naming. Also use after code work when a reusable project

BOOST
From plugin
potpie
5.7k9 skills2 commands
Install
$ npx -y skills add potpie-ai/potpie --skill potpie-project-preferences --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/potpie-project-preferences

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use before writing, modifying, reviewing, refactoring, or testing code so repo/project preferences surface: error handling, file structure, frameworks, logging, dependency choices, testing, security, API style, and naming. Also use after code work when a reusable project

SKILL.md

potpie-project-preferences.SKILL.md
name: potpie-project-preferences
description: "Use before writing, modifying, reviewing, refactoring, or testing code so repo/project preferences surface: error handling, file structure, frameworks, logging, dependency choices, testing, security, API style, and naming. Also use after code work when a reusable project preference should be recorded."

Potpie Project Preferences

Use this skill before implementation or review so local conventions shape the work instead of being rediscovered from code.

Fast Path

1. Identify the narrowest scope you know: repo, path, service, package, or file. 2. Expand the user's task into preference search terms: error handling, retries, validation, logging, observability, framework, folder layout, tests, dependency choice, security, API shape, naming. 3. Read preferences with the graph workbench:

potpie graph read \
  --subgraph decisions \
  --view preferences_for_scope \
  --scope repo:<owner-repo>,path:<path-or-dir> \
  --query "<expanded preference query>" \
  --limit 12

If the scope is unclear, first use `potpie --json pot info` and `potpie --json source list`, or search entities:

potpie graph search-entities "<repo service package>" --type Service --limit 10

Apply Results

Treat returned preferences as implementation constraints. Prefer active, higher-confidence, closer-scope preferences over broad ones: file, directory, service, repo, global. If two preferences conflict, verify source refs or ask the user before choosing.

Do not quote Potpie context back unless it matters. Use it to write better code.

Record A Preference

Record only reusable, explicit preferences that are likely to matter again. Do not turn one-off implementation choices into project policy.

Use the workbench write flow:

potpie --json graph catalog --task "record coding preference"
potpie graph search-entities "<scope>" --type Service --limit 10
potpie --json graph describe decisions --view preferences_for_scope --examples
potpie --json graph propose --file mutation.json
potpie --json graph commit <plan_id> --verify
potpie --json graph history --plan <plan_id>

A good preference write includes the policy kind, prescription, strength, audience, scope, truth class, evidence or source refs when available, and a retrieval-grade description with the terms future agents would search.

Preference capture is harness-led: read the source yourself, then write semantic facts. Do not use scanner-driven graph updates or infer policy from code shape alone.

Read more
Ships withpotpie

Context Graph for AI Native SDLC

Get the whole plugin
Stats
5,739
Stars
685
Forks
Active
Maintenance
Python
Language
Apache-2.0
License
19h ago
Last commit
2y ago
Created
1d ago
Added

Repo: potpie-ai/potpie

Other skills on potpie.