skills/daily-prep/SKILL.md
Prepare for tomorrow's meetings and tasks. Pulls calendar from Outlook via WorkIQ, cross-references open tasks and workspace context, classifies meetings, detects conflicts and day-fit issues, finds learning and deep-work slots, and generates a structured HTML prep file with productivity recommendations.
npx skillsauth add williamlimasilva/.copilot daily-prepInstall 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.
Generate a structured prep file for the next working day with meeting details, prep bullets, linked tasks, and productivity recommendations.
If the user specifies a date, use it. Otherwise, default to tomorrow (current date + 1 day).
If tomorrow is Saturday, default to Monday. If Sunday, default to Monday.
Compute the output path: outputs/YYYY/MM/YYYY-MM-DD-prep.html
Use the WorkIQ MCP tool to fetch the calendar. Ask WorkIQ:
"What meetings do I have on {target date}? For each meeting, include: subject, start time, end time, organizer, all attendees with their email addresses, location, whether it's online, and whether I've accepted or declined."
If the response is insufficient, make a follow-up query:
"For the meetings on {target date}, which ones are marked as optional or tentative? Which ones are recurring?"
Apply these labels based on attendee domains and subject:
| Label | Criteria |
|-------|----------|
| [Customer · HIGH] | External attendees from customer/partner domains, or subject matches a known customer name |
| [Internal] | Only internal company domain attendees |
| [Community] | CoP, community, guild, learning sessions |
| [Upskilling] | Training, workshop, certification, learning |
| [Optional · skip] | Tentative, low importance, or known recurring optional (e.g., "Office Hours", "Open Q&A") |
| [Personal] | Private events, non-work |
For every meeting, check the organizer field and apply these additional markers:
| Condition | Marker | Action |
|-----------|--------|--------|
| Starts ≥ 15:30 and < 16:00 (any organizer) | ⚠️ After-hours | Recommend decline |
| Starts ≥ 16:00 and not self-organized | ⚠️ After-hours | Recommend decline |
| Starts ≥ 16:00 and self-organized | (no flag) | OK — you chose to schedule it |
| Before 09:00 and not self-organized | ⚠️ Early | Recommend decline — intrudes on learning window |
| Before 09:00 and self-organized | (no flag) | OK — you chose to schedule it |
| Overlaps 12:00–13:00 | 🍽️ Lunch conflict | Note in Calendar Notes |
"Self-organized" means you are the meeting organizer (check the organizer field from WorkIQ).
Use this as the decision framework for all analysis steps. Every meeting must be evaluated against these zones. Users should adapt these times and targets to their personal routine.
| Zone | Time | Purpose | Rules | |------|------|---------|-------| | Morning Focus | Before 09:00 | Admin, learning, personal work | Protect from others' meetings. Flag external events. | | Customer Zone | 09:00–12:00 | Customer / external meetings | Max 2 customer meetings. Prefer mornings for external calls. | | Lunch | 12:00–13:00 | Break | Protected. Flag any overlap. | | Deep Work | 13:00–15:30 | Deliverables, focused coding/writing | Minimize meetings. Flag non-essential meetings as deep work disruption. | | Protected (strict) | 15:30–16:00 | End of day wind-down | Flag all meetings regardless of organizer. | | Protected (flex) | 16:00+ | End of day | Flag others' meetings only. Self-organized OK. |
Targets per day:
Compare event time windows. Flag overlaps in a Conflicts table with a recommendation for each — prioritize customer meetings over internal/optional.
Also detect these day fit issues (report in a separate "Day Fit Issues" table):
| Check | Condition | Flag |
|-------|-----------|------|
| Customer overload | >2 [Customer · HIGH] meetings | Flag 3rd+ as "Consider rescheduling to another day" |
| Deep work disruption | Non-essential meetings in 13:00–15:30 zone | "Disrupts deep work — consider moving to morning" |
| Non-ideal placement | Customer meetings outside 09:00–12:00 | "Customer meeting outside preferred morning zone" |
| Early intrusion | Others' meetings before 09:00 | "Intrudes on learning window — recommend decline" |
| Lunch conflict | Meeting overlaps 12:00–13:00 | "Conflicts with lunch break" |
For each meeting (chronological), include:
After generating prep per meeting, analyze the day's schedule to find open slots:
Morning Focus confirmation — Verify the morning focus window is clear. If any non-self-organized event exists there, flag it.
Learning Slots — Find gaps ≥ 30 min in the morning window and any other free slots suitable for upskilling. Target: 1.5h/day. For each slot: time range, duration, suggested activity.
Deep Work Blocks — Find continuous free gaps in the 13:00–15:30 zone for deliverables. For each block: time range, duration, suggested task from open tasks.
Report totals:
Analyze the full day and provide:
| Section | What to Include | |---------|------------------| | Day Fit Score | Rate 0–100% how well the day matches the Ideal Day Structure. Criteria: (1) morning focus clear (+20%), (2) ≤2 customer meetings in 09:00–12:00 (+20%), (3) lunch 12:00–13:00 protected (+15%), (4) deep work 13:00–15:30 intact (+20%), (5) nothing after 15:30 or only self-organized after 16:00 (+15%), (6) ≥1h learning slots found (+10%). Show as: 🟢 ≥80%, 🟡 50–79%, 🔴 <50%. | | Day Shape | Total meeting hours, focus time available, learning hours, deep work hours, heavy/moderate/light assessment | | Decline Candidates | Auto-include: (1) all meetings 15:30–16:00, (2) others' meetings ≥16:00, (3) others' meetings <09:00, (4) 3rd+ customer meeting, (5) optional meetings during deep work zone. Show "Reclaim" column with minutes recovered. Self-organized meetings before 09:00 or after 16:00 are excluded from auto-decline. | | Conflict Resolution | Specific recommendation for each overlap | | Learning Slots | Gaps for upskilling — from Step 8. Table: Window, Duration, Suggested Activity. Show total vs. 1.5h target. | | Deep Work Blocks | Free gaps in 13:00–15:30 for deliverables — from Step 8. Table: Window, Duration, Suggested Task. | | Energy Management | Flag if >3h back-to-back customer meetings without a break | | Top 3 Priorities | The 3 most impactful things to accomplish (meetings + tasks combined) |
Create the output file at outputs/YYYY/MM/YYYY-MM-DD-prep.html as a self-contained HTML file with embedded CSS (dark theme, color-coded timeline, responsive layout).
If a file already exists for that date, read it first and update rather than overwrite — the user may have added manual notes.
development
Anxiety-aware, evidence-driven collaboration for stalled or high-stakes work when a user says uncertainty, repeated setbacks, or lack of visible progress is causing significant anxiety or distress. Use immediately when explicitly invoked; when this fit is only inferred from the user's own account, ask permission before applying it. Preserve the user's ideal and turn grounded perspective-taking into persistent, bounded problem solving. Do not use to diagnose, provide therapy, manufacture certainty, or lower goals for reassurance.
development
Build, review, debug, package, and test Roslyn diagnostic analyzers, code fix providers, and incremental source generators. Use for DiagnosticAnalyzer, CodeFixProvider, IIncrementalGenerator, IOperation analysis, Microsoft.CodeAnalysis dependency pinning, Roslyn test harnesses, C#/VB tests, and analyzer NuGet packaging.
testing
Migrates a project that uses checked-in .designer.cs files behind .resx to using a source-generator instead
development
Polish any GitHub repository's surface — labels (emoji rating tiers, P0–P3 priority, impact severity), issue forms, PR template, CI workflows, CODEOWNERS, rulesets, docs. Repo meta & config only — no code logic touched. Use when creating a new repo or polishing an existing one.