From pensyve
Records and retrieves architecture/design decisions with working memory. Recalls prior tradeoffs before recommending, captures decisions immediately when made.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pensyve:memory-informed-designThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Design flow with memory baked in as a non-optional reflex.
Design flow with memory baked in as a non-optional reflex.
Identify the relevant entity/entities (service, module, subsystem under design) per skills/shared/entity-detection.md.
Call pensyve_recall:
query: a short description of the design question, including secondary entity names where known (e.g., "auth-service jwt signing rs256 hs256")entity: primary detected entitytypes: ["semantic", "episodic"] (design benefits most from durable decisions and prior decision-contexts)limit: 5Secondary entities are folded into the query string since the MCP server scopes results by single primary entity only.
Surface one line: Recalled N prior decisions on <entity>. (Skip if N=0.)
Shape your recommendation using the recalled decisions. If the user's current question directly contradicts a prior decision, flag it:
Prior decision on
<entity>(confidence 0.9): [decision]. Are we revisiting this, or does the current question differ?
When the user accepts a design or states a decision ("let's go with X", "we'll use Y"), call the memory reflex:
pensyve_remember with entity: <primary_entity>, fact: "[proactive/in-flight/tier-1] <decision text>", confidence 0.9.pensyve_observe with episode_id: <session episode_id>, source_entity: "claude-code", about_entity: <primary_entity>, content: "[proactive/in-flight/tier-1] <decision context: alternatives considered, what tipped the balance>", content_type: "text". This enables future "why did we decide X?" queries.Surface one line: ↳ captured decision on <entity>: <short>.
If the design process revealed a reusable way to evaluate similar decisions (e.g., "run spike vs. prototype", "check latency first"), capture it as procedural: pensyve_observe with episode_id: <session episode_id>, source_entity: "claude-code", about_entity: <primary_entity>, content: "[procedural] [proactive/in-flight/tier-1] trigger=..., action=..., outcome=...", content_type: "text".
npx claudepluginhub major7apps/pensyve --plugin pensyveSearches stored memories and decisions using MCP tools to answer questions about past learnings, architectural choices, patterns, and project context like 'what testing framework did we decide on?' or 'ESM import issues?'
Records significant architectural decisions like database choices, frameworks, or core patterns in docs/decisions.md. Activates on major decisions, explicit requests, or proactively at session ends.
Translates product requirements into system architecture through iterative decision-making. Guides architectural decisions, trade-off analysis, and ADR-style documentation.