Pm standup

From nmrtn/nanopm · View interactive version

Pm standup is an AI agent skill from the GitHub repository nmrtn/nanopm. Daily standup briefing. Pulls commits from all your active GitHub repos, Linear, Google Calendar, and Granola. Works from a standalone Product OS folder — no need to be inside a codebase. Surfaces today's meetings, cross-repo activity, priorities, and drift.

How to use this skill

Skill file

<!-- portability-v2 -->

Multi-host portability rules. When invoking AskUserQuestion:

1. The header field MUST be a short noun phrase (≤ 12 characters). Mistral Vibe

rejects longer headers with string_too_long. Pick from: Start, Target,

Scope, Audience, Methodology, Feature, Question.

2. The options list MUST have at least 2 items. Vibe rejects empty/single-option

calls. For free-text input, always provide ≥ 2 framing options (e.g. Yes, here's the input /

Skip) — never call ask_user_question with options: [].

Preamble (run first)

source ~/.nanopm/lib/nanopm.sh 2>/dev/null || \
  source .nanopm/lib/nanopm.sh 2>/dev/null || \
  { echo "ERROR: nanopm not installed. Run: curl -fsSL https://raw.githubusercontent.com/nmrtn/nanopm/main/setup | bash"; exit 1; }
nanopm_preamble
# Standup briefings are DATED wiki docs — one page per day, history preserved
# (never overwritten). Today's page resolves inline:
_STANDUP_FILE="$(nanopm_wiki_series_path standups "$(date +%F)")"  # .nanopm/wiki/docs/standups/YYYY-MM-DD.md

When to run this

Run /pm-standup at the start of your workday to:

This skill never asks questions. It reads context, generates the briefing, done.

Phase 1: Gather yesterday's activity

GitHub — multi-repo commits (last 24h):

source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
_TIER_GITHUB=$(nanopm_has_connector github)
echo "GITHUB_TIER: $_TIER_GITHUB"

If GITHUB tier is MCP or API:

If GITHUB not available: fall back to local git:

git log --since="24 hours ago" --oneline --no-merges 2>/dev/null | head -10 || echo "NO_GIT"

Note in output: "(local repo only — connect GitHub for multi-repo view)"

First-run repo list:

On first run, store the list of active repos found via GitHub API:

source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
nanopm_config_get "github_active_repos"

If empty: fetch repos with pushes in the last 30 days, store as comma-separated list:

source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
nanopm_config_set "github_active_repos" "{repo1},{repo2},..."

This speeds up subsequent runs — only query known active repos instead of all repos.

Linear (if available):

source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
_TIER_LINEAR=$(nanopm_has_connector linear)
echo "LINEAR_TIER: $_TIER_LINEAR"

If LINEAR tier is MCP or API:

If LINEAR not available: lean on the roadmap synthesis from the drift check below for any manually tracked status.

Roadmap drift check (query the wiki):

Pull the current plan through the query primitive — one read-side call that synthesizes

the roadmap's current items, instead of reading the page directly (the recipe pattern).

You reason over the cited synthesis the query returns. Print the prompt and **dispatch it

with the Agent tool** (one subagent); on a host with no Agent tool, follow its steps inline.

source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
nanopm_query_prompt "For a daily standup, synthesize from the wiki: the roadmap's current items — anything marked 'this week' or in the current sprint/NOW — so they can be cross-referenced against today's commits to flag what has no recent progress, plus the single biggest gap from the latest challenge session to anchor today's priorities. Cite each claim, and name what's missing rather than inventing it." none

If the synthesis carries current roadmap items: cross-reference them with the GitHub commits from earlier in this phase — flag any item with no recent commits across any repo. If it surfaces no roadmap at all, skip the drift cross-reference silently.

Granola — recent meetings (last 48h):

Try mcp__claude_ai_Granola__list_meetings with limit: 5.

If available: extract meetings from the last 48h. For each:

If Granola not available: skip silently.

Phase 2: Fetch today's meetings

Try mcp__claude_ai_Google_Calendar__gcal_list_events with:

If available, for each event extract:

Prep flag logic:

If an event title contains a feature name or product area AND there are no git commits touching that area in the last 48h → flag as "⚠ no recent progress on this topic"

If Google Calendar not available: skip the MEETINGS section silently.

Phase 3: Generate the briefing

Output the standup briefing — concise, scannable, no fluff:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 STANDUP — {Day, Date}  ·  {project slug}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

YESTERDAY
  ✓ [{repo}] {commit message}
  ✓ [{repo}] {commit message}
  ✓ {if nothing shipped: "No commits in the last 24h"}
  {if Granola had a user meeting: "📋 User call with {name} — run /pm-add-feedback to capture signal"}

TODAY'S MEETINGS
  {HH:MM} → {event title} ({duration}) {⚠ no recent commits on this topic — if flagged}
  {if no calendar connected: omit this section entirely}

PRIORITIES
  → {priority 1 — inferred from roadmap + in-progress items}
  → {priority 2}
  → {priority 3 if relevant}

BLOCKERS
  ⚠ {any blocked Linear issues, or "None"}

DRIFT
  {if something was planned this week but has no commits: flag it here}
  {if nothing drifted: "On track"}

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Rules for PRIORITIES:

Rules for DRIFT:

Rules for TODAY'S MEETINGS:

Phase 4: Write the dated wiki Standup page

Resolve today's page with the helper and write the briefing there. Each run writes a

dated wiki doc — .nanopm/wiki/docs/standups/YYYY-MM-DD.md, one page per day in the

standups/ series folder (the prds/-style layout) — so standup history is preserved

rather than overwritten. Yesterday's standup stays on disk; today gets its own page.

source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
_STANDUP_FILE="$(nanopm_wiki_series_path standups "$(date +%F)")"  # .nanopm/wiki/docs/standups/YYYY-MM-DD.md
nanopm_wiki_doc_frontmatter pm-standup evidence-backed "$(date +%Y-%m-%d)" "{sources}"

Write the file at $(nanopm_wiki_series_path standups "$(date +%F)") as: (a) the frontmatter

block emitted by nanopm_wiki_doc_frontmatter above (substitute {sources} with the real

comma-separated connectors/docs used — e.g. github,linear,calendar,granola,roadmap), then

(b) the SAME briefing body rendered in Phase 3. Do not overwrite any prior day's page.

source ~/.nanopm/lib/nanopm.sh 2>/dev/null || source .nanopm/lib/nanopm.sh 2>/dev/null || true
_STANDUP_FILE="$(nanopm_wiki_doc_path "standup-$(date +%F)")"
nanopm_context_append "{\"skill\":\"pm-standup\",\"outputs\":{\"date\":\"$(date +%Y-%m-%d)\",\"drift\":\"$(grep -c 'DRIFT' "$_STANDUP_FILE" 2>/dev/null || echo 0)\"}}"
nanopm_wiki_doc_log pm-standup "wrote docs/standups/$(date +%F).md"   # global heartbeat: this page write -> wiki/log.md

Do NOT ask the user anything. Do NOT wait for input. Generate and display the briefing immediately.

STATUS: DONE

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.