원클릭으로
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.