بنقرة واحدة
sub-ipc
Regenerate the IPC channel reference documentation from ipcChannels.ts type maps.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Regenerate the IPC channel reference documentation from ipcChannels.ts type maps.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create a new release with version bump, release notes, commit, and tag
Analyze project intelligence files and bootstrap SubFrame's STRUCTURE.json, PROJECT_NOTES.md, and initial sub-tasks from existing codebase context.
Run a code review and documentation audit on recent changes. Finds bugs, edge cases, missing docs, and type safety issues.
Sync all SubFrame documentation after feature work. Updates AGENTS.md lists, changelog, PROJECT_NOTES decisions, and STRUCTURE.json.
View and manage SubFrame Sub-Tasks. Use when starting work, completing tasks, checking what's pending, or creating new tasks from conversation.
Create a new release with version bump, release notes, commit, and tag
| name | sub-ipc |
| description | Regenerate the IPC channel reference documentation from ipcChannels.ts type maps. |
| disable-model-invocation | false |
| allowed-tools | Bash, Read, Write, Grep |
Regenerate .subframe/docs-internal/refs/ipc-channels.md from the source of truth: src/shared/ipcChannels.ts.
Current channel count:
!node -e "const src=require('fs').readFileSync('src/shared/ipcChannels.ts','utf8'); const m=src.match(/^\s+\w+:\s*'/gm); console.log(m ? m.length + ' channels in IPC constant' : 'Could not count')"
Read src/shared/ipcChannels.ts completely. Extract:
// Terminal, // Workspace)handle pattern (request/response)send pattern (fire-and-forget)event pattern (main→renderer push)For every channel in the IPC constant, determine its pattern:
IPCHandleMap → handleIPCSendMap → sendIPCEventMap → eventIPCSendMap and IPCEventMap → send + event (bidirectional)⚠ (untyped/legacy)Write .subframe/docs-internal/refs/ipc-channels.md with this structure:
# IPC Channel Reference
**Source of truth:** `src/shared/ipcChannels.ts`
All channels are typed. Three communication patterns are used:
| Pattern | Direction | Usage |
|---------|-----------|-------|
| `ipcMain.handle` / `ipcRenderer.invoke` | Renderer → Main (request/response) | Data fetching, mutations |
| `ipcRenderer.send` / `ipcMain.on` | Renderer → Main (fire-and-forget) | Commands, notifications |
| `webContents.send` / `ipcRenderer.on` | Main → Renderer (push events) | Data updates, state changes |
Channels marked ⚠ are defined in the `IPC` constant but not yet in `IPCHandleMap`, `IPCSendMap`, or `IPCEventMap` type maps.
---
## Channels by Domain
### {Domain} ({N} channels)
| Channel | Pattern | Purpose |
|---------|---------|---------|
| `CHANNEL_NAME` | pattern | Brief purpose |
...
---
**Total: {N} channels** ({H} handle, {S} send, {E} event, {U} untyped/legacy)
*Regenerated from `ipcChannels.ts` — keep this reference in sync when adding/removing channels.*
// comment headers in the IPC constantCount the total channels and verify it matches the number of entries in the IPC constant.