원클릭으로
brag-doc
Generate a weekly brag doc from GitHub activity and calendar events. Best run on Monday mornings. Supports "last week" override.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate a weekly brag doc from GitHub activity and calendar events. Best run on Monday mornings. Supports "last week" override.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Synthesize weekly brag docs into a quarterly summary. Usage: /quarterly-brag Q1 2026 (defaults to current quarter if no args).
Synthesize a year of brag docs into an annual reflection. Best run in late December. Usage: /yearly-brag 2026 (defaults to current year).
Review frontend code for accessibility issues including semantic HTML, keyboard navigation, focus management, labels, ARIA, contrast, and reduced motion.
Work on Elixir or Phoenix projects with project conventions, Mix tasks, tests, formatting, supervision, Ecto, and Nix/devshell awareness.
Establish or improve a minimal Nix flake and dev shell for a project. Use when creating new projects, adding reproducible tooling, configuring direnv, or standardizing development commands.
Review code or infrastructure for security issues including secrets, injection, unsafe shell execution, auth/session flaws, dependency risks, and Terraform/IaC mistakes.
| name | brag-doc |
| description | Generate a weekly brag doc from GitHub activity and calendar events. Best run on Monday mornings. Supports "last week" override. |
Pull GitHub activity from the Swoogo org, optionally pull Google Calendar events, ask Milo follow-up questions, and write a structured brag doc to his Obsidian vault.
Default to last week (previous Monday–Friday). If the argument contains "this week", use the current week instead.
# Last week (default)
MONDAY=$(python3 -c "from datetime import date, timedelta; d=date.today(); print(d - timedelta(days=d.weekday()+7))")
FRIDAY=$(python3 -c "from datetime import date, timedelta; d=date.today(); print(d - timedelta(days=d.weekday()+7) + timedelta(days=4))")
# This week (only if explicitly requested)
MONDAY=$(python3 -c "from datetime import date, timedelta; d=date.today(); print(d - timedelta(days=d.weekday()))")
FRIDAY=$(python3 -c "from datetime import date, timedelta; d=date.today(); print(d - timedelta(days=d.weekday()) + timedelta(days=4))")
Use FRIDAY as the filename date and MONDAY as the -- date filter lower bound.
Format display dates like "Feb 24" for the header (e.g. "Feb 24 – Feb 28").
Run these five queries in parallel using separate Bash tool calls:
Merged PRs (Swoogo org):
gh search prs --author=milogert --merged --limit=50 -- org:swoogo "merged:>=$MONDAY"
Drive-integrations PRs (separate query, different repo search):
gh pr list --author milogert --repo swoogo/drive-integrations --state merged --search "merged:>=$MONDAY" --limit=50
Code reviews:
gh search prs --reviewed-by=milogert --merged --limit=50 -- org:swoogo "merged:>=$MONDAY"
Issues created:
gh search issues --author=milogert --limit=50 -- org:swoogo "created:>=$MONDAY"
Open source (non-Swoogo):
gh search prs --author=milogert --merged --limit=50 -- -org:swoogo "merged:>=$MONDAY"
After gathering:
Fetch Google Calendar events in parallel with the GitHub queries above. Use gcal_list_events with timeMin set to $MONDAY T00:00:00 and timeMax set to $FRIDAY T23:59:59 for Milo's primary calendar. Summarize meetings by name and attendee count.
If Google Calendar MCP tools are not available, skip and tell Milo calendar integration is unavailable.
Show Milo the raw data organized by category (PRs shipped, reviews, issues, calendar events if available).
Then ask these questions one at a time using AskUserQuestion, with a free-text "Skip" option so Milo can skip any question:
Use this template. Omit any section that would be empty — no placeholder stubs. Highlights and What I Shipped are always present.
---
date: $FRIDAY
week: "$MON_DISPLAY - $FRI_DISPLAY"
tags:
- brag-doc
---
# Week of $MON_DISPLAY – $FRI_DISPLAY
## Highlights
- The 1-3 biggest wins, written with context and impact (not just titles)
## What I Shipped
- PRs grouped by feature/area, with links
- e.g. "Integrations: revamped credential flow (#4737), synced workflow data (#4777)"
## Reviews & Collaboration
- Notable code reviews, pairing sessions, mentoring
- Design discussions, architecture decisions
## Decisions
- Technical tradeoffs made and why
## Impact
- Who benefited and how
- Any metrics: endpoints covered, bugs fixed, time saved, etc.
## Open Threads
- Issues opened, spikes started, things still in progress
## Next Week
- What to focus on, improve, or follow up on
Write highlights and shipped items with context — not just PR titles. Group related PRs together by feature or area.
YEAR=$(echo $FRIDAY | cut -d- -f1)
mkdir -p "/Users/milo/Obsidian/Personal/Career/Brag Docs/$YEAR"
Write the assembled doc to: /Users/milo/Obsidian/Personal/Career/Brag Docs/$YEAR/$FRIDAY.md
If the file already exists, overwrite it (Milo may be iterating on the same week's doc).
After writing, ask Milo if he wants the doc copied to clipboard. If yes:
cat "/Users/milo/Obsidian/Personal/Career/Brag Docs/$YEAR/$FRIDAY.md" | pbcopy
After writing, if it's been a full quarter for the year offer to run /quarterly-brag.
gh auth login and stop