一键导入
onboard
Analyze project intelligence files and bootstrap SubFrame's STRUCTURE.json, PROJECT_NOTES.md, and initial sub-tasks from existing codebase context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze project intelligence files and bootstrap SubFrame's STRUCTURE.json, PROJECT_NOTES.md, and initial sub-tasks from existing codebase context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a new release with version bump, release notes, commit, and tag
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
Regenerate the IPC channel reference documentation from ipcChannels.ts type maps.
| name | onboard |
| description | Analyze project intelligence files and bootstrap SubFrame's STRUCTURE.json, PROJECT_NOTES.md, and initial sub-tasks from existing codebase context. |
| disable-model-invocation | false |
| argument-hint | ["--dry-run"] |
| allowed-tools | Bash, Read, Write, Glob, Grep |
Analyze an existing project and bootstrap SubFrame-compatible output files: .subframe/STRUCTURE.json, .subframe/PROJECT_NOTES.md, and initial sub-tasks.
Root directory listing:
!ls -la
Package manifest:
!cat package.json 2>/dev/null || cat pyproject.toml 2>/dev/null || cat Cargo.toml 2>/dev/null || echo "No package manifest found"
Project overview:
!head -100 README.md 2>/dev/null || echo "No README found"
AI configuration (Codex):
!head -50 AGENTS.md 2>/dev/null || echo "No AGENTS.md found"
AI configuration (Gemini):
!head -50 GEMINI.md 2>/dev/null || echo "No GEMINI.md found"
Source file survey:
!find . -maxdepth 2 -name "*.ts" -o -name "*.tsx" -o -name "*.py" -o -name "*.rs" -o -name "*.go" -o -name "*.java" -o -name "*.rb" 2>/dev/null | head -50
Existing SubFrame state:
!cat .subframe/STRUCTURE.json 2>/dev/null || echo "No STRUCTURE.json yet"
Argument: `$ARGUMENTS`
If `$ARGUMENTS` contains `--dry-run`, do not write any files. Instead, show the full output that would be written for each file, clearly labeled with the target path. Then stop.
Using the gathered dynamic context, determine:
Build a SubFrame-compatible `STRUCTURE.json` following this schema:
```json { "version": "1.0", "description": " - Module structure and communication map", "lastUpdated": "", "architecture": { "type": "", "entryPoint": "", "notes": "" }, "modules": { "": { "file": "", "description": "", "exports": [""], "depends": [""], "functions": { "": { "line": 0, "params": [""], "purpose": "" } }, "loc": 0 } }, "conventions": { "naming": "<file/variable naming conventions observed>", "patterns": "<architectural patterns used (MVC, hooks, modules, etc.)>" } } ```
Rules:
Build a SubFrame-compatible `PROJECT_NOTES.md` following this structure:
```markdown
Problem: <What problem does this project solve?> Solution: Target User: <Who is this for?>
<1-2 paragraph summary of the project, its purpose, and current state.>
<Description of the project's architecture, module layout, and data flow.>
<Empty section — to be filled during future development sessions.> ```
Rules:
Analyze the project's current state and suggest 3 to 5 initial sub-tasks. Good candidates include:
For each suggested sub-task, show:
Ask the user to confirm which sub-tasks to create before writing any. Then create the approved ones using the task CLI:
```bash node scripts/task.js add --title "" --description "<description>" --priority <priority> --category <category> ```
If the task CLI script (`scripts/task.js`) does not exist in the target project, skip sub-task creation and inform the user that the SubFrame task CLI is not available.
Before writing any files, ensure the `.subframe/` directory and its subdirectories exist:
```bash mkdir -p .subframe/tasks ```
Write the generated content:
Show a summary of what was created or updated:
```
Project: () Language: +