Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
feat(composer): namespace skill commands with skill prefix
zszz3ef281c163a1e
diff --git a/apps/desktop/electron/main/ipc/composer-ipc.ts b/apps/desktop/electron/main/ipc/composer-ipc.tsindex e208364c2..91eca827b 100644--- a/apps/desktop/electron/main/ipc/composer-ipc.ts+++ b/apps/desktop/electron/main/ipc/composer-ipc.ts@@ -69,7 +69,7 @@ export function createComposerCommandService({seen.add(skill.id);return [{- name: skill.id,+ name: `skill:${skill.id}`,kind: "skill" as const,title: skill.name,...(skill.description ? { description: skill.description } : {}),diff --git a/docs/spec/04-ux/08-component-spec.md b/docs/spec/04-ux/08-component-spec.mdindex 422889915..1518021fd 100644--- a/docs/spec/04-ux/08-component-spec.md+++ b/docs/spec/04-ux/08-component-spec.md@@ -3348,6 +3348,10 @@ Anatomy:feedback before opening a turn or replacing history. Native Pi sessions donot support Desktop-managed MCP selections. Existing command aliases wincollisions. See `docs/adr/composer-mcp-invocations.md`.+- Active Skill commands use `/skill:<id>` for builtin, plugin, and user Skills.+ Completion inserts this explicit prefix; sending resolves it to the unchanged+ Skill ID. Unprefixed names are not Skill aliases; existing app commands and+ prompt templates keep their names. Saved Skill mentions remain unchanged.- A whitespace-delimited `/` later in the draft offers active Skills only.Completion replaces only the token under the cursor, so several Skills andordinary text can coexist in one prompt.diff --git a/docs/spec/06-delivery/04-e2e-test-plan.md b/docs/spec/06-delivery/04-e2e-test-plan.mdindex 6e0531e6c..c3955ef85 100644--- a/docs/spec/06-delivery/04-e2e-test-plan.md+++ b/docs/spec/06-delivery/04-e2e-test-plan.md@@ -2303,9 +2303,12 @@ identify the platform validation still needed.changes occur. The keyboard hint includes Shift+Enter and a submit hint, while thecommand/file hint includes `/` and `@`. The slash menu still contains `/new`,`/compact`, `/agent-mode`, `/plan-mode`, and `/goal-mode`, followed by a- Skills group at the bottom. Selecting the Skill inserts its slash id; sending- it keeps the typed command chip visible and the model calls `Skill` with that- id before answering. zh-CN shows the matching localized copy, including+ Skills group at the bottom. Selecting a Skill inserts `/skill:<id>`; sending+ it keeps the typed command chip visible and the model calls `Skill` with the+ original ID before answering. Verify builtin, plugin, and user Skill prefixes,+ multiple inline references, and a prompt template sharing the unprefixed+ Skill name; inactive and unknown Skills must not resolve. zh-CN shows the+ matching localized copy, including`Shift+Enter for newline · Use Send to submit`.Long descriptions use only the space remaining after command names andhints, so short names stay fully visible. Descriptions and oversized names