export_onboarding
Generate per-workflow onboarding markdown files with purpose, risks, and key reads to orient new contributors on an unfamiliar codebase.
Instructions
Generates a workflow-first onboarding package for a new engineer (or new coding agent) joining the repository. Writes one markdown file per workflow under veris-reports/onboarding/ — each file lists the workflow's purpose, member files, key risks, suggested first reads, plus an index.md tying them together. Beats reading raw source code in tree order. Use this when bringing a contributor up to speed on an unfamiliar codebase.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- Helper function computeFanIn - computes fan-in (incoming edge count) for each node in the graph.
function computeFanIn(graph: BehavioralGraph): Map<string, number> { const map = new Map<string, number>(); for (const e of graph.getEdges()) { map.set(e.targetId, (map.get(e.targetId) || 0) + 1); } return map; } - Helper function shortId - shortens node IDs for display in markdown output.
function shortId(id: string): string { return id.split('/').slice(-2).join('/'); }