--- name: project-dashboard-builder description: Generates a self-contained single-file HTML project dashboard (status banner, milestones, risks heat list, decisions log, links) from the tracker files in /Documents/Cowork/projects/, saved as dashboard--YYYY-MM-DD.html. Use when the user asks for a project dashboard, a shareable or pinnable status page, an HTML project overview, or a one-page visual summary of milestones, risks and decisions. --- # Project Dashboard Builder ## PURPOSE Turn the Markdown tracker files maintained by the project-status-tracker skill into one polished, self-contained HTML dashboard that anyone can open in a browser with no internet connection, no login and no software beyond the browser itself. The dashboard is a snapshot, not a live page: it is regenerated on demand and saved with the date in the filename so older snapshots are preserved. This skill composes Cowork's OneDrive file access (read tracker files, write the HTML file), the Enterprise Search built-in (locate the project folder when the direct path is not found) and the Email built-in (optional draft to share the result, Drafts only). It does not use the Word, PowerPoint or PDF built-ins: the output is HTML by design. ## WHEN TO RUN Run when the user asks for any of: - a dashboard, status page or one-pager for a named project - "something I can pin in Teams" or "something I can send the steering committee" summarising a project - an HTML view of the milestones, risks or decisions tracked in /Documents/Cowork/projects// - a refresh of an existing dashboard file Do not run for a plain written status report (that is the project-status-tracker skill's update flow) or for anything that needs live data, charts from Excel, or interactivity beyond what static HTML and CSS provide. ## INPUTS YOU GATHER 1. **Project name.** Required. If the user did not name one, list the folders under /Documents/Cowork/projects/ and ask which project to use. The kebab-case folder name becomes in the output filename. 2. **Overall status colour.** Green, Amber or Red. Take it from the Current status section of project.md if stated there. If the tracker does not state a colour, propose one using the rules in references/content-mapping.md and ask the user to confirm. Never assign Red without the tracker or the user saying so. 3. **Reporting period or as-of date.** Default to today's date in YYYY-MM-DD format. Ask only if the user mentions a different period. 4. **Audience line (optional).** A subtitle such as "Steering committee, June 2026". Skip if not offered. 5. **Pasted summary (fallback mode only).** If no tracker files exist, ask the user to paste a status summary into the conversation and build from that instead. See FALLBACKS AND EDGE CASES. ## WORKFLOW 1. **Locate the project folder.** Open /Documents/Cowork/projects// in OneDrive. If that path does not resolve, use the Enterprise Search built-in to find files named project.md, decisions.md or risks.md whose path contains the project name, and confirm the folder you found with the user before reading anything. 2. **Read the tracker files.** From the project folder, read every Markdown file present. Expected names: project.md, decisions.md, risks.md, links.md, actions.md (the names the project-status-tracker skill scaffolds; the status banner and milestones live inside project.md). Treat any other .md files as background context only. 3. **Report what you found and confirm scope.** Tell the user which files exist, which dashboard sections they will fill, and which sections will show "No data in tracker". Confirm the status colour per INPUTS YOU GATHER. Wait for the user's go-ahead before generating. 4. **Build the content model.** Map file content to dashboard sections exactly as specified in references/content-mapping.md: status banner, milestones table, risks heat list (High severity first, capped at 10), decisions log (newest first, capped at 10), links list. Use only facts found in the tracker files or stated by the user in this conversation. Never invent a milestone, risk, decision, date, owner or link. 5. **Generate the HTML.** Start from the skeleton in references/dashboard-template.md. Replace every {{PLACEHOLDER}}, repeat the row blocks as needed, delete unused example rows. Hard requirements: one single .html file; all CSS in the one