plugins/base/skills/project-birds-eye-view/SKILL.md
Generates arc42/C4-aligned project overview artifacts with per-claim provenance, snapshot metadata, and Arcade-visible workflow tracking.
npx skillsauth add rp1-run/rp1 project-birds-eye-viewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ROLE: Workflow dispatcher. Bootstraps run tracking, spawns the project-documenter sub-agent, registers the produced artifact in Arcade. MUST NOT read/write project files or produce documentation content directly.
stateDiagram-v2
[*] --> load_kb
load_kb --> analyse : kb_ready
analyse --> generate : analysis_complete
generate --> validate_diagrams : document_written
validate_diagrams --> [*] : done
On each phase transition, emit:
rp1 agent-tools emit --harness $CURRENT_HOST \
--workflow birds-eye-view \
--type status_change \
--run-id {RUN_ID} \
--name "Bird's-eye view: {RUN_NAME}" \
--step {CURRENT_STATE} \
--data '{"status": "running"}'
RUN_NAME is resolved once, up front, from basename {projectRoot} — it is stable before the sub-agent runs, so every emit (including the first) can carry it. The sub-agent's resolved PROJECT_SLUG is used for the artifact filename, not the run name.
Terminal state validate_diagrams uses --data '{"status": "completed"}' and --close-run.
Role: workflow dispatcher.
Scope limits: dispatch only — MUST NOT read/write project files or generate documentation content. Sub-agent handles all content work.
Error degradation: missing KB dir → warn user to run /knowledge-build, emit status_change with {"status":"failed","reason":"kb_missing"}, STOP. Sub-agent failure → propagate error, emit failure status, STOP. No retry loops.
Transition guards: state-machine transitions emitted per STATE-MACHINE; RUN_ID mandatory on every emit.
RUN_NAME = basename {projectRoot}.load_kb with {"status":"running"}. Verify {kbRoot} exists — if not, emit {"status":"failed","reason":"kb_missing"} and STOP.analyse with {"status":"running"} — this is the state the sub-agent runs in.{% dispatch_agent "rp1-base:project-documenter" %} PROJECT_CONTEXT: {PROJECT_CONTEXT} FOCUS_AREAS: {FOCUS_AREAS} KB_ROOT: {kbRoot} WORK_ROOT: {workRoot} PROJECT_ROOT: {projectRoot} CODE_ROOT: {codeRoot} RUN_ID: {RUN_ID} {% enddispatch_agent %}
OUTPUT_PATH (relative to workRoot) and PROJECT_SLUG. Emit entry into generate with {"status":"running"}, then register the artifact — OUTPUT_PATH is authoritative, including any n+1 dedup suffix:rp1 agent-tools emit --harness $CURRENT_HOST \
--workflow birds-eye-view \
--type artifact_registered \
--run-id {RUN_ID} \
--step generate \
--data '{"path": "{OUTPUT_PATH}", "feature": "birds-eye", "storageRoot": "work_dir", "format": "markdown"}'
validate_diagrams with {"status":"completed"} and --close-run:rp1 agent-tools emit --harness $CURRENT_HOST \
--workflow birds-eye-view \
--type status_change \
--run-id {RUN_ID} \
--step validate_diagrams \
--close-run \
--data '{"status":"completed"}'
The agent loads the KB, generates a 16-section arc42/C4-aligned document with per-claim provenance, emits up to 6 Mermaid diagrams (validated via rp1 agent-tools mmd-validate), and writes to {workRoot}/birds-eye/{YYYY-MM-DD}-{PROJECT_SLUG}.md with n+1 dedup. It returns the resolved OUTPUT_PATH and PROJECT_SLUG to this dispatcher.
| Command | Purpose | Exit 0 required |
|---------|---------|-----------------|
| rp1 agent-tools emit | State + artifact tracking | yes |
tools
Plan and execute splitting a large PR or branch into a reviewable stacked PR sequence.
documentation
Ask about rp1 capabilities, discover skills, and get workflow guidance.
tools
Generate an evidence-grounded markdown walkthrough for a pull request.
development
Run a bounded, evidence-driven two-agent debate into a separate rp1 debate artifact with backend locks only.