[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71JEQE5TH2YR6FFD2GZRZAQ":3,"skill-same:01M71JEQE5TH2YR6FFD2GZRZAQ":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":42,"commitSha":50,"skillDirectory":5,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M71JEQE5TH2YR6FFD2GZRZAQ","dayflow-sync",null,"Sync caezium\u002FDayflow fork with upstream JerryZLiu\u002FDayflow. Rebases private-hardening onto upstream\u002Fmain, auto-skips known-droppable commits, runs audit + Debug build, then stops at a pre-install checkpoint and waits for the user to say \"install\". Use when the user says \"\u002Fdayflow-sync\", \"sync dayflow\", or asks to update the Dayflow fork.","caezium\u002Fskills","caezium","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113233555?v=4","01M71JB77ZPBAWEK009Y2W8BP7","Henry Zhang","01M71JB792NVXCWSYD27HQ0964",3,"MIT","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fdayflow-sync\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"dayflow sync","sync","Dayflow","use","upstream","checkpoint","for","commits","install","edit","write","read","at","update","audit","Bash","when","auto","main","pre-install","2026-11-10 10:12:30",false,"---\nname: dayflow-sync\ndescription: Sync caezium\u002FDayflow fork with upstream JerryZLiu\u002FDayflow. Rebases private-hardening onto upstream\u002Fmain, auto-skips known-droppable commits, runs audit + Debug build, then stops at a pre-install checkpoint and waits for the user to say \"install\". Use when the user says \"\u002Fdayflow-sync\", \"sync dayflow\", or asks to update the Dayflow fork.\nallowed-tools: Bash,Read,Edit,Write\n---\n\n# Dayflow Sync\n\nWeekly upstream sync routine for the `caezium\u002FDayflow` fork. Tracks\n`JerryZLiu\u002FDayflow`.\n\n## How it runs\n\nRuns **mostly autonomously**, halting only at three named points. Each is\ndefined here only enough to name it; the mechanics live in one place — the\nstep that enforces it.\n\n- **Tier A \u002F Tier B** — per-commit conflict policy from `state\u002Fcommits.yaml`,\n  applied during the rebase (step 5). Tier A auto-skips known-droppable\n  commits once their condition verifies; Tier B halts for hand re-porting.\n- **Pre-install checkpoint** — after rebase + audit + Debug build, the skill\n  **always stops** for a go-ahead before touching `\u002FApplications\u002FDayflow.app`\n  (step 9).\n\n## Context\n\n- Local clone: `~\u002FDesktop\u002FDayflow`\n- Fork remote (`origin`): `https:\u002F\u002Fgithub.com\u002Fcaezium\u002FDayflow`\n- Upstream remote (`upstream`): `https:\u002F\u002Fgithub.com\u002FJerryZLiu\u002FDayflow`\n- Integration branch: `private-hardening` — contains the security\u002Fprivacy\n  patches plus reimplemented bug fixes. **This is the branch the user\n  builds from.** `main` mirrors `upstream\u002Fmain` exactly.\n- Per-commit metadata: `~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Fcommits.yaml`.\n  Read at step 5 to decide conflict policy per commit.\n- State markers: `~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002F`\n  - `last-synced-upstream.txt` — last upstream HEAD SHA processed\n  - `last-synced-date.txt`\n  - `last-drift-report.md` — written each run; diffable across runs\n\n## Steps\n\n### 1. Sanity check + disk hygiene (fail fast)\n\n```bash\ncd ~\u002FDesktop\u002FDayflow\ngit remote -v\ngit status\ngit branch --show-current\ndf -h ~ | tail -1\n```\n\nRequired state before proceeding:\n- `origin` points to `https:\u002F\u002Fgithub.com\u002Fcaezium\u002FDayflow`\n- `upstream` points to `https:\u002F\u002Fgithub.com\u002FJerryZLiu\u002FDayflow`\n- Working tree clean (no uncommitted changes)\n- Free space on `~` ≥ 4 GB\n\nIf working tree is dirty, **stop and ask the user**.\n\nIf free space \u003C 4 GB, clean caches first:\n```bash\nrm -rf \u002Ftmp\u002Fdayflow-build \u002Ftmp\u002Fdayflow-release\n# Prune oldest data backups beyond the last 4\nls -1dt \"$HOME\u002FLibrary\u002FApplication Support\"\u002FDayflow.backup-* 2>\u002Fdev\u002Fnull | tail -n +5 | xargs -I{} rm -rf \"{}\"\n# Prune oldest app archives beyond the last 3\nls -1dt \"$HOME\u002FLibrary\u002FCaches\u002Fdayflow-app-archive\"\u002F*.app 2>\u002Fdev\u002Fnull | tail -n +4 | xargs -I{} rm -rf \"{}\"\ndf -h ~ | tail -1\n```\nIf still under 4 GB after cleanup, **stop and report** — the user\nneeds to free space manually. Do not attempt a Release build under\n4 GB free; ad-hoc-signing a half-built bundle has corrupted runs\nin the past.\n\n### 2. Fetch upstream\n\n```bash\ncd ~\u002FDesktop\u002FDayflow\ngit fetch upstream --prune\ngit fetch origin --prune\n```\n\nCompare `git rev-parse upstream\u002Fmain` against\n`~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-synced-upstream.txt`.\nIf equal, **nothing changed upstream this week** — tell the user in one\nline and exit. No rebase, no checkpoint, no install.\n\n### 3. Show what's new upstream\n\n```bash\ngit log \u003Clast-synced-sha>..upstream\u002Fmain --oneline --no-merges\n```\n\nSummarize in plain English (\"Upstream added N commits — bug fixes for\nX, features for Y\"). Don't dump the full log.\n\n### 4. Update `main` to mirror upstream\n\n```bash\ncd ~\u002FDesktop\u002FDayflow\ngit checkout main\ngit reset --hard upstream\u002Fmain\ngit push origin main --force-with-lease\n```\n\n### 5. Rebase `private-hardening` with tiered conflict policy\n\n```bash\ncd ~\u002FDesktop\u002FDayflow\ngit checkout private-hardening\ngit rebase main\n```\n\n**On conflict:**\n\n1. Identify the conflicted commit:\n   ```bash\n   CONFLICT_SUBJECT=$(git log -1 --format='%s' REBASE_HEAD)\n   ```\n\n2. Read `~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Fcommits.yaml` and find the\n   first entry whose `subject_match` is a substring of `$CONFLICT_SUBJECT`.\n\n3. If no match found → **Tier B fallthrough**: stop and report (an\n   unknown commit means commits.yaml is out of date; ask the user to\n   update it before proceeding).\n\n4. If matched entry has `on_conflict: stop` → **Tier B**: stop and\n   surface full context:\n   - Conflicted file paths (`git status`)\n   - Conflicting hunks\n   - Upstream's nearby change for each file\n     (`git log main -p --follow -- \u003Cfile> -1`)\n   - The matched entry's `notes` field\n   Ask the user how to resolve each conflict. After they choose,\n   `git add` + `git rebase --continue`.\n\n5. If matched entry has `on_conflict: auto_skip_if` → **Tier A**:\n   - Capture the diff that *would* be re-introduced if we skip, so the\n     pre-install summary can show it:\n     ```bash\n     mkdir -p ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\n     git diff REBASE_HEAD~1..REBASE_HEAD > ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-skipped-commit.diff\n     git log -1 --format='%H %s' REBASE_HEAD >> ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-skipped-commit.diff\n     ```\n   - Evaluate `auto_skip_if.condition`:\n     - `build_main_succeeds`: stash rebase state, run a quick Debug\n       build of `main` (see step 8's command, but pointed at a fresh\n       checkout of main in a worktree, or against current HEAD if the\n       rebase is paused — the in-progress rebase leaves the worktree\n       at a clean conflicted state, so `git stash` first):\n       ```bash\n       git stash push -u -m 'dayflow-sync conflict probe' || true\n       git checkout main -- .\n       xcodebuild build -scheme Dayflow -configuration Debug \\\n         -destination 'platform=macOS' -derivedDataPath \u002Ftmp\u002Fdayflow-probe \\\n         CODE_SIGNING_ALLOWED=NO 2>&1 | grep -E \"error:|^\\*\\* BUILD\" | head\n       PROBE_RESULT=$?\n       rm -rf \u002Ftmp\u002Fdayflow-probe\n       git checkout REBASE_HEAD -- .\n       git stash pop || true\n       ```\n       Look for `** BUILD SUCCEEDED **` in the probe output.\n   - If condition met → `git rebase --skip`, log the skip, continue.\n   - If condition NOT met → stop and report. The workaround is still\n     needed; the user must port the revert forward by hand.\n\nIf rebase finishes clean, push:\n```bash\ngit push origin private-hardening --force-with-lease\n```\n\n### 6. Re-run audit checks against the new tree\n\n| Finding | Verify by |\n|---|---|\n| Telemetry default off | `grep -n 'return false' Dayflow\u002FDayflow\u002FSystem\u002FAnalyticsService.swift` shows the `isOptedIn` getter |\n| No Keychain key prefix print | `! grep -n 'apiKey.prefix(8)' Dayflow\u002FDayflow\u002FCore\u002FSecurity\u002FKeychainManager.swift` |\n| No Host.localizedName super-prop | `! grep -n 'Host.current().localizedName' Dayflow\u002FDayflow\u002FSystem\u002FAnalyticsService.swift` |\n| Feedback share-logs default false | `grep -n 'feedbackShareLogs = false' Dayflow\u002FDayflow\u002FViews\u002FUI\u002FMainView\u002FMainView.swift Dayflow\u002FDayflow\u002FViews\u002FUI\u002FMainView\u002FActions.swift` (both must match) |\n| Sparkle XPC disabled | `grep -A1 'SUEnableInstallerLauncherService' Dayflow\u002FDayflow\u002FInfo.plist` shows `\u003Cfalse\u002F>` |\n| Popover fullscreen | `grep -n 'fullScreenAuxiliary' Dayflow\u002FDayflow\u002FSystem\u002FStatusBarController.swift` |\n| Onboarding persist deferred | `! grep -n 'persistGeminiAPIKey(source: \"onboarding_step\")' Dayflow\u002FDayflow\u002FViews\u002FOnboarding\u002FProviderSetupState.swift` |\n\nIf any check fails after rebase, **stop and tell the user** — a patch\ngot lost or was reordered weirdly. Don't push, don't proceed.\n\n### 7. Drift detection + persistence\n\nRe-scan upstream changes for new privacy\u002Fsecurity surface area, and\n**write the result to `state\u002Flast-drift-report.md`** so it survives\nthe session and can be diffed across runs.\n\n```bash\nSINCE=$(cat ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-synced-upstream.txt)\nUNTIL=$(git rev-parse upstream\u002Fmain)\nREPORT=~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-drift-report.md\n\n{\n  echo \"# Drift report — $(date +%Y-%m-%d)\"\n  echo\n  echo \"Range: \\`$SINCE\\` .. \\`$UNTIL\\`\"\n  echo\n\n  echo \"## New external network endpoints\"\n  git diff \"$SINCE..$UNTIL\" -- '*.swift' \\\n    | grep -E '^\\+.*https:\u002F\u002F' \\\n    | grep -v ':\u002F\u002Fgithub\\.com\\|:\u002F\u002Fdocs\\.\\|:\u002F\u002Flocalhost\\|aistudio\\.google\\.com\\|developers\\.openai\\.com\\|docs\\.anthropic\\.com' \\\n    || echo \"_none_\"\n  echo\n\n  echo \"## New PostHog analytics events\"\n  git diff \"$SINCE..$UNTIL\" -- '*.swift' \\\n    | grep -E '^\\+.*AnalyticsService\\.shared\\.capture\\(\"' \\\n    | grep -oE '\"[a-z_]+\"' | sort -u \\\n    || echo \"_none_\"\n  echo\n\n  echo \"## Entitlement \u002F Info.plist diff\"\n  git diff \"$SINCE..$UNTIL\" -- \\\n    Dayflow\u002FDayflow\u002FDayflow.entitlements Dayflow\u002FDayflow\u002FInfo.plist \\\n    || echo \"_no changes_\"\n} > \"$REPORT\"\n```\n\nSummarize for the pre-install checkpoint:\n- **Endpoints**: anything non-Google\u002Fnon-localhost — flag it.\n- **Analytics events**: list them all; note any prefix you haven't\n  seen in past runs (compare against prior `last-drift-report.md` if\n  it exists).\n- **Entitlements \u002F Info.plist**: anything beyond version bumps — flag\n  it. Especially watch for changes to `SUEnableInstallerLauncherService`,\n  `SUEnableAutomaticChecks`, sandbox keys, or `com.apple.security.network.*`.\n\n### 8. Verify Debug build\n\n```bash\ncd ~\u002FDesktop\u002FDayflow\u002FDayflow\nxcodebuild build -scheme Dayflow -configuration Debug \\\n  -destination 'platform=macOS' -derivedDataPath \u002Ftmp\u002Fdayflow-build \\\n  CODE_SIGNING_ALLOWED=NO 2>&1 | grep -E \"error:|^\\*\\* BUILD\" | head\nrm -rf \u002Ftmp\u002Fdayflow-build\n```\n\nIf the build fails:\n- Errors in files my patches touched → **patch needs updating**. Stop.\n- Errors in files only upstream touched → **upstream regression**.\n  Tell the user; consider whether a new temporary-workaround entry\n  in `commits.yaml` is warranted.\n\n### 9. CHECKPOINT — pre-install summary\n\n**Always stop here.** Do NOT proceed to step 10 until the user replies\nwith \"install\" (or some clear go-ahead). This is the hard gate before\nthe live binary is touched.\n\nPresent a glanceable summary, in this shape:\n\n```\nDayflow sync — ready to install? (\u003Cupstream-version>, \u003CN> upstream commits)\n\nRebase: clean \u002F N conflicts auto-skipped \u002F N conflicts manually resolved\n  Auto-skipped: \u003Ccommit subject> — condition met (\u003Cwhich>). See state\u002Flast-skipped-commit.diff\nAudit (7 checks): all pass\nDebug build: ** BUILD SUCCEEDED **\n\nDrift (full report at state\u002Flast-drift-report.md):\n  - \u003CN> new endpoints (or \"none beyond known-safe\")\n  - \u003CN> new analytics events: \u003Clist-or-summary> (or \"none\")\n  - Info.plist \u002F entitlements: \u003Csummary, or \"version bump only\">\n\nReply \"install\" to proceed with Release build + install to \u002FApplications.\nReply \"abort\" to stop without touching the installed app.\n```\n\nIf anything looks off (new non-Google endpoint, new sandbox entitlement,\naudit pass count below 7), explicitly recommend \"abort\" or \"investigate\nfirst\" rather than \"install.\"\n\n### 10. (On user \"install\") Release build + install\n\nRun only after the user says install.\n\n1. **APFS-clone the data dir as a safety net:**\n   ```bash\n   STAMP=$(date +%Y%m%d-%H%M%S)\n   cp -c -R \"$HOME\u002FLibrary\u002FApplication Support\u002FDayflow\" \\\n     \"$HOME\u002FLibrary\u002FApplication Support\u002FDayflow.backup-$STAMP\"\n   ```\n\n2. **Build Release:**\n   ```bash\n   cd ~\u002FDesktop\u002FDayflow\u002FDayflow\n   rm -rf \u002Ftmp\u002Fdayflow-release\n   xcodebuild build -scheme Dayflow -configuration Release \\\n     -destination 'platform=macOS' -derivedDataPath \u002Ftmp\u002Fdayflow-release \\\n     CODE_SIGNING_ALLOWED=NO 2>&1 | grep -E \"error:|^\\*\\* BUILD\" | tail\n   ```\n   If build fails: **stop**. Don't touch the installed app.\n\n3. **Quit running Dayflow:**\n   ```bash\n   osascript -e 'tell application \"Dayflow\" to quit' 2>\u002Fdev\u002Fnull\n   sleep 2\n   pkill -f \"\u002FApplications\u002FDayflow.app\u002FContents\u002FMacOS\u002FDayflow\" 2>\u002Fdev\u002Fnull || true\n   ```\n\n4. **Archive the currently-installed Dayflow.app** (keep last 3):\n   ```bash\n   ARCHIVE_DIR=\"$HOME\u002FLibrary\u002FCaches\u002Fdayflow-app-archive\"\n   mkdir -p \"$ARCHIVE_DIR\"\n   if [ -d \u002FApplications\u002FDayflow.app ]; then\n     INSTALLED_VER=$(defaults read \u002FApplications\u002FDayflow.app\u002FContents\u002FInfo CFBundleShortVersionString 2>\u002Fdev\u002Fnull || echo \"unknown\")\n     mv \u002FApplications\u002FDayflow.app \"$ARCHIVE_DIR\u002FDayflow-$INSTALLED_VER-$STAMP.app\"\n   fi\n   ls -1dt \"$ARCHIVE_DIR\"\u002F*.app | tail -n +4 | xargs -I{} rm -rf \"{}\"\n   ```\n\n5. **Install + sign with the stable local cert:**\n   ```bash\n   cp -R \u002Ftmp\u002Fdayflow-release\u002FBuild\u002FProducts\u002FRelease\u002FDayflow.app \u002FApplications\u002FDayflow.app\n   xattr -dr com.apple.quarantine \u002FApplications\u002FDayflow.app 2>\u002Fdev\u002Fnull || true\n   codesign --force --deep --sign \"Caezium Dayflow Local\" \u002FApplications\u002FDayflow.app\n   ```\n   The `Caezium Dayflow Local` identity is a self-signed code-signing\n   cert created once in `~\u002FLibrary\u002FKeychains\u002Flogin.keychain-db`. Signing\n   every build with the same identity gives a stable code anchor across\n   rebuilds, so TCC (Screen Recording) and the Keychain ACL (Gemini key)\n   don't get re-prompted weekly.\n\n   If `codesign` fails with `no identity found`, the cert was deleted —\n   stop and tell the user; the rebuild flow is in a previous session.\n\n6. **Free the build cache:**\n   ```bash\n   rm -rf \u002Ftmp\u002Fdayflow-release\n   ```\n\n7. **Sanity-check the installed bundle:**\n   ```bash\n   defaults read \u002FApplications\u002FDayflow.app\u002FContents\u002FInfo CFBundleIdentifier   # must == teleportlabs.com.Dayflow\n   defaults read \u002FApplications\u002FDayflow.app\u002FContents\u002FInfo SUEnableAutomaticChecks  # must == 0\n   codesign -dv \u002FApplications\u002FDayflow.app 2>&1 | grep \"Authority=Caezium Dayflow Local\"\n   ```\n   If bundle id changed, **stop and tell the user** — the new build\n   won't read existing data. If the Authority line is missing or shows\n   `Signature=adhoc`, the cert wasn't used — stop and report.\n\n**First-install warnings** — needed exactly once, when the installed\nsignature *changes*:\n- Switching from official Developer-ID build → fork: re-grant Screen\n  Recording, re-paste Gemini key. One-time.\n- Switching from any prior ad-hoc-signed fork build → cert-signed fork\n  build (i.e., the first install after introducing `Caezium Dayflow\n  Local`): re-grant Screen Recording, re-paste Gemini key. One-time.\n- All subsequent installs (cert → cert, same identity): no re-grant,\n  no re-paste. This is the steady state.\n\n### 11. Bump state markers\n\nAfter successful install (or after step 6 if no install ran but rebase\nwas clean and the user explicitly chose \"abort\" — in the abort case\ndo NOT bump, so next run re-syncs):\n\n```bash\nmkdir -p ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\ngit -C ~\u002FDesktop\u002FDayflow rev-parse upstream\u002Fmain > ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-synced-upstream.txt\ndate +%Y-%m-%d > ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-synced-date.txt\n```\n\nState marker advances ONLY after a successful end-to-end run. Aborts,\nbuild failures, audit failures, and Tier B conflicts all leave the\nmarker at the previous SHA so the next run retries from the same base.\n\n### 12. Final report (post-install)\n\nTell the user, under 200 words:\n- N upstream commits merged, installed version\n- Conflicts: auto-skipped (with which commit + condition met) vs.\n  manually resolved\n- Audit: pass\u002Ffail per check\n- Debug + Release build results\n- Bundle sanity-check: bundle id, Sparkle off, ad-hoc signed\n- Drift summary (one line each for endpoints \u002F events \u002F entitlements)\n- Any first-install permissions reminders (Screen Recording, Gemini key)\n\n## Failure modes\n\n- **Working tree dirty** → ask the user before anything.\n- **Disk \u003C 4 GB after cleanup** → stop, report, don't build.\n- **Tier B rebase conflict** → stop with full context, never `--skip`.\n- **Tier A auto-skip condition unmet** → stop, ask the user to port\n  the workaround forward.\n- **Unknown commit in conflict** → stop; commits.yaml needs updating.\n- **Audit check fails after rebase** → stop, don't push, name the check.\n- **Debug build fails** → stop, don't push, show the Swift error.\n- **No upstream changes** → exit early, one-line report.\n- **Pre-install checkpoint** → always stops here; not a failure, just\n  the design.\n","# Dayflow Sync\n\nWeekly upstream sync routine for the `caezium\u002FDayflow` fork. Tracks\n`JerryZLiu\u002FDayflow`.\n\n## How it runs\n\nRuns **mostly autonomously**, halting only at three named points. Each is\ndefined here only enough to name it; the mechanics live in one place — the\nstep that enforces it.\n\n- **Tier A \u002F Tier B** — per-commit conflict policy from `state\u002Fcommits.yaml`,\n  applied during the rebase (step 5). Tier A auto-skips known-droppable\n  commits once their condition verifies; Tier B halts for hand re-porting.\n- **Pre-install checkpoint** — after rebase + audit + Debug build, the skill\n  **always stops** for a go-ahead before touching `\u002FApplications\u002FDayflow.app`\n  (step 9).\n\n## Context\n\n- Local clone: `~\u002FDesktop\u002FDayflow`\n- Fork remote (`origin`): `https:\u002F\u002Fgithub.com\u002Fcaezium\u002FDayflow`\n- Upstream remote (`upstream`): `https:\u002F\u002Fgithub.com\u002FJerryZLiu\u002FDayflow`\n- Integration branch: `private-hardening` — contains the security\u002Fprivacy\n  patches plus reimplemented bug fixes. **This is the branch the user\n  builds from.** `main` mirrors `upstream\u002Fmain` exactly.\n- Per-commit metadata: `~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Fcommits.yaml`.\n  Read at step 5 to decide conflict policy per commit.\n- State markers: `~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002F`\n  - `last-synced-upstream.txt` — last upstream HEAD SHA processed\n  - `last-synced-date.txt`\n  - `last-drift-report.md` — written each run; diffable across runs\n\n## Steps\n\n### 1. Sanity check + disk hygiene (fail fast)\n\n```bash\ncd ~\u002FDesktop\u002FDayflow\ngit remote -v\ngit status\ngit branch --show-current\ndf -h ~ | tail -1\n```\n\nRequired state before proceeding:\n- `origin` points to `https:\u002F\u002Fgithub.com\u002Fcaezium\u002FDayflow`\n- `upstream` points to `https:\u002F\u002Fgithub.com\u002FJerryZLiu\u002FDayflow`\n- Working tree clean (no uncommitted changes)\n- Free space on `~` ≥ 4 GB\n\nIf working tree is dirty, **stop and ask the user**.\n\nIf free space \u003C 4 GB, clean caches first:\n```bash\nrm -rf \u002Ftmp\u002Fdayflow-build \u002Ftmp\u002Fdayflow-release\n# Prune oldest data backups beyond the last 4\nls -1dt \"$HOME\u002FLibrary\u002FApplication Support\"\u002FDayflow.backup-* 2>\u002Fdev\u002Fnull | tail -n +5 | xargs -I{} rm -rf \"{}\"\n# Prune oldest app archives beyond the last 3\nls -1dt \"$HOME\u002FLibrary\u002FCaches\u002Fdayflow-app-archive\"\u002F*.app 2>\u002Fdev\u002Fnull | tail -n +4 | xargs -I{} rm -rf \"{}\"\ndf -h ~ | tail -1\n```\nIf still under 4 GB after cleanup, **stop and report** — the user\nneeds to free space manually. Do not attempt a Release build under\n4 GB free; ad-hoc-signing a half-built bundle has corrupted runs\nin the past.\n\n### 2. Fetch upstream\n\n```bash\ncd ~\u002FDesktop\u002FDayflow\ngit fetch upstream --prune\ngit fetch origin --prune\n```\n\nCompare `git rev-parse upstream\u002Fmain` against\n`~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-synced-upstream.txt`.\nIf equal, **nothing changed upstream this week** — tell the user in one\nline and exit. No rebase, no checkpoint, no install.\n\n### 3. Show what's new upstream\n\n```bash\ngit log \u003Clast-synced-sha>..upstream\u002Fmain --oneline --no-merges\n```\n\nSummarize in plain English (\"Upstream added N commits — bug fixes for\nX, features for Y\"). Don't dump the full log.\n\n### 4. Update `main` to mirror upstream\n\n```bash\ncd ~\u002FDesktop\u002FDayflow\ngit checkout main\ngit reset --hard upstream\u002Fmain\ngit push origin main --force-with-lease\n```\n\n### 5. Rebase `private-hardening` with tiered conflict policy\n\n```bash\ncd ~\u002FDesktop\u002FDayflow\ngit checkout private-hardening\ngit rebase main\n```\n\n**On conflict:**\n\n1. Identify the conflicted commit:\n   ```bash\n   CONFLICT_SUBJECT=$(git log -1 --format='%s' REBASE_HEAD)\n   ```\n\n2. Read `~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Fcommits.yaml` and find the\n   first entry whose `subject_match` is a substring of `$CONFLICT_SUBJECT`.\n\n3. If no match found → **Tier B fallthrough**: stop and report (an\n   unknown commit means commits.yaml is out of date; ask the user to\n   update it before proceeding).\n\n4. If matched entry has `on_conflict: stop` → **Tier B**: stop and\n   surface full context:\n   - Conflicted file paths (`git status`)\n   - Conflicting hunks\n   - Upstream's nearby change for each file\n     (`git log main -p --follow -- \u003Cfile> -1`)\n   - The matched entry's `notes` field\n   Ask the user how to resolve each conflict. After they choose,\n   `git add` + `git rebase --continue`.\n\n5. If matched entry has `on_conflict: auto_skip_if` → **Tier A**:\n   - Capture the diff that *would* be re-introduced if we skip, so the\n     pre-install summary can show it:\n     ```bash\n     mkdir -p ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\n     git diff REBASE_HEAD~1..REBASE_HEAD > ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-skipped-commit.diff\n     git log -1 --format='%H %s' REBASE_HEAD >> ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-skipped-commit.diff\n     ```\n   - Evaluate `auto_skip_if.condition`:\n     - `build_main_succeeds`: stash rebase state, run a quick Debug\n       build of `main` (see step 8's command, but pointed at a fresh\n       checkout of main in a worktree, or against current HEAD if the\n       rebase is paused — the in-progress rebase leaves the worktree\n       at a clean conflicted state, so `git stash` first):\n       ```bash\n       git stash push -u -m 'dayflow-sync conflict probe' || true\n       git checkout main -- .\n       xcodebuild build -scheme Dayflow -configuration Debug \\\n         -destination 'platform=macOS' -derivedDataPath \u002Ftmp\u002Fdayflow-probe \\\n         CODE_SIGNING_ALLOWED=NO 2>&1 | grep -E \"error:|^\\*\\* BUILD\" | head\n       PROBE_RESULT=$?\n       rm -rf \u002Ftmp\u002Fdayflow-probe\n       git checkout REBASE_HEAD -- .\n       git stash pop || true\n       ```\n       Look for `** BUILD SUCCEEDED **` in the probe output.\n   - If condition met → `git rebase --skip`, log the skip, continue.\n   - If condition NOT met → stop and report. The workaround is still\n     needed; the user must port the revert forward by hand.\n\nIf rebase finishes clean, push:\n```bash\ngit push origin private-hardening --force-with-lease\n```\n\n### 6. Re-run audit checks against the new tree\n\n| Finding | Verify by |\n|---|---|\n| Telemetry default off | `grep -n 'return false' Dayflow\u002FDayflow\u002FSystem\u002FAnalyticsService.swift` shows the `isOptedIn` getter |\n| No Keychain key prefix print | `! grep -n 'apiKey.prefix(8)' Dayflow\u002FDayflow\u002FCore\u002FSecurity\u002FKeychainManager.swift` |\n| No Host.localizedName super-prop | `! grep -n 'Host.current().localizedName' Dayflow\u002FDayflow\u002FSystem\u002FAnalyticsService.swift` |\n| Feedback share-logs default false | `grep -n 'feedbackShareLogs = false' Dayflow\u002FDayflow\u002FViews\u002FUI\u002FMainView\u002FMainView.swift Dayflow\u002FDayflow\u002FViews\u002FUI\u002FMainView\u002FActions.swift` (both must match) |\n| Sparkle XPC disabled | `grep -A1 'SUEnableInstallerLauncherService' Dayflow\u002FDayflow\u002FInfo.plist` shows `\u003Cfalse\u002F>` |\n| Popover fullscreen | `grep -n 'fullScreenAuxiliary' Dayflow\u002FDayflow\u002FSystem\u002FStatusBarController.swift` |\n| Onboarding persist deferred | `! grep -n 'persistGeminiAPIKey(source: \"onboarding_step\")' Dayflow\u002FDayflow\u002FViews\u002FOnboarding\u002FProviderSetupState.swift` |\n\nIf any check fails after rebase, **stop and tell the user** — a patch\ngot lost or was reordered weirdly. Don't push, don't proceed.\n\n### 7. Drift detection + persistence\n\nRe-scan upstream changes for new privacy\u002Fsecurity surface area, and\n**write the result to `state\u002Flast-drift-report.md`** so it survives\nthe session and can be diffed across runs.\n\n```bash\nSINCE=$(cat ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-synced-upstream.txt)\nUNTIL=$(git rev-parse upstream\u002Fmain)\nREPORT=~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-drift-report.md\n\n{\n  echo \"# Drift report — $(date +%Y-%m-%d)\"\n  echo\n  echo \"Range: \\`$SINCE\\` .. \\`$UNTIL\\`\"\n  echo\n\n  echo \"## New external network endpoints\"\n  git diff \"$SINCE..$UNTIL\" -- '*.swift' \\\n    | grep -E '^\\+.*https:\u002F\u002F' \\\n    | grep -v ':\u002F\u002Fgithub\\.com\\|:\u002F\u002Fdocs\\.\\|:\u002F\u002Flocalhost\\|aistudio\\.google\\.com\\|developers\\.openai\\.com\\|docs\\.anthropic\\.com' \\\n    || echo \"_none_\"\n  echo\n\n  echo \"## New PostHog analytics events\"\n  git diff \"$SINCE..$UNTIL\" -- '*.swift' \\\n    | grep -E '^\\+.*AnalyticsService\\.shared\\.capture\\(\"' \\\n    | grep -oE '\"[a-z_]+\"' | sort -u \\\n    || echo \"_none_\"\n  echo\n\n  echo \"## Entitlement \u002F Info.plist diff\"\n  git diff \"$SINCE..$UNTIL\" -- \\\n    Dayflow\u002FDayflow\u002FDayflow.entitlements Dayflow\u002FDayflow\u002FInfo.plist \\\n    || echo \"_no changes_\"\n} > \"$REPORT\"\n```\n\nSummarize for the pre-install checkpoint:\n- **Endpoints**: anything non-Google\u002Fnon-localhost — flag it.\n- **Analytics events**: list them all; note any prefix you haven't\n  seen in past runs (compare against prior `last-drift-report.md` if\n  it exists).\n- **Entitlements \u002F Info.plist**: anything beyond version bumps — flag\n  it. Especially watch for changes to `SUEnableInstallerLauncherService`,\n  `SUEnableAutomaticChecks`, sandbox keys, or `com.apple.security.network.*`.\n\n### 8. Verify Debug build\n\n```bash\ncd ~\u002FDesktop\u002FDayflow\u002FDayflow\nxcodebuild build -scheme Dayflow -configuration Debug \\\n  -destination 'platform=macOS' -derivedDataPath \u002Ftmp\u002Fdayflow-build \\\n  CODE_SIGNING_ALLOWED=NO 2>&1 | grep -E \"error:|^\\*\\* BUILD\" | head\nrm -rf \u002Ftmp\u002Fdayflow-build\n```\n\nIf the build fails:\n- Errors in files my patches touched → **patch needs updating**. Stop.\n- Errors in files only upstream touched → **upstream regression**.\n  Tell the user; consider whether a new temporary-workaround entry\n  in `commits.yaml` is warranted.\n\n### 9. CHECKPOINT — pre-install summary\n\n**Always stop here.** Do NOT proceed to step 10 until the user replies\nwith \"install\" (or some clear go-ahead). This is the hard gate before\nthe live binary is touched.\n\nPresent a glanceable summary, in this shape:\n\n```\nDayflow sync — ready to install? (\u003Cupstream-version>, \u003CN> upstream commits)\n\nRebase: clean \u002F N conflicts auto-skipped \u002F N conflicts manually resolved\n  Auto-skipped: \u003Ccommit subject> — condition met (\u003Cwhich>). See state\u002Flast-skipped-commit.diff\nAudit (7 checks): all pass\nDebug build: ** BUILD SUCCEEDED **\n\nDrift (full report at state\u002Flast-drift-report.md):\n  - \u003CN> new endpoints (or \"none beyond known-safe\")\n  - \u003CN> new analytics events: \u003Clist-or-summary> (or \"none\")\n  - Info.plist \u002F entitlements: \u003Csummary, or \"version bump only\">\n\nReply \"install\" to proceed with Release build + install to \u002FApplications.\nReply \"abort\" to stop without touching the installed app.\n```\n\nIf anything looks off (new non-Google endpoint, new sandbox entitlement,\naudit pass count below 7), explicitly recommend \"abort\" or \"investigate\nfirst\" rather than \"install.\"\n\n### 10. (On user \"install\") Release build + install\n\nRun only after the user says install.\n\n1. **APFS-clone the data dir as a safety net:**\n   ```bash\n   STAMP=$(date +%Y%m%d-%H%M%S)\n   cp -c -R \"$HOME\u002FLibrary\u002FApplication Support\u002FDayflow\" \\\n     \"$HOME\u002FLibrary\u002FApplication Support\u002FDayflow.backup-$STAMP\"\n   ```\n\n2. **Build Release:**\n   ```bash\n   cd ~\u002FDesktop\u002FDayflow\u002FDayflow\n   rm -rf \u002Ftmp\u002Fdayflow-release\n   xcodebuild build -scheme Dayflow -configuration Release \\\n     -destination 'platform=macOS' -derivedDataPath \u002Ftmp\u002Fdayflow-release \\\n     CODE_SIGNING_ALLOWED=NO 2>&1 | grep -E \"error:|^\\*\\* BUILD\" | tail\n   ```\n   If build fails: **stop**. Don't touch the installed app.\n\n3. **Quit running Dayflow:**\n   ```bash\n   osascript -e 'tell application \"Dayflow\" to quit' 2>\u002Fdev\u002Fnull\n   sleep 2\n   pkill -f \"\u002FApplications\u002FDayflow.app\u002FContents\u002FMacOS\u002FDayflow\" 2>\u002Fdev\u002Fnull || true\n   ```\n\n4. **Archive the currently-installed Dayflow.app** (keep last 3):\n   ```bash\n   ARCHIVE_DIR=\"$HOME\u002FLibrary\u002FCaches\u002Fdayflow-app-archive\"\n   mkdir -p \"$ARCHIVE_DIR\"\n   if [ -d \u002FApplications\u002FDayflow.app ]; then\n     INSTALLED_VER=$(defaults read \u002FApplications\u002FDayflow.app\u002FContents\u002FInfo CFBundleShortVersionString 2>\u002Fdev\u002Fnull || echo \"unknown\")\n     mv \u002FApplications\u002FDayflow.app \"$ARCHIVE_DIR\u002FDayflow-$INSTALLED_VER-$STAMP.app\"\n   fi\n   ls -1dt \"$ARCHIVE_DIR\"\u002F*.app | tail -n +4 | xargs -I{} rm -rf \"{}\"\n   ```\n\n5. **Install + sign with the stable local cert:**\n   ```bash\n   cp -R \u002Ftmp\u002Fdayflow-release\u002FBuild\u002FProducts\u002FRelease\u002FDayflow.app \u002FApplications\u002FDayflow.app\n   xattr -dr com.apple.quarantine \u002FApplications\u002FDayflow.app 2>\u002Fdev\u002Fnull || true\n   codesign --force --deep --sign \"Caezium Dayflow Local\" \u002FApplications\u002FDayflow.app\n   ```\n   The `Caezium Dayflow Local` identity is a self-signed code-signing\n   cert created once in `~\u002FLibrary\u002FKeychains\u002Flogin.keychain-db`. Signing\n   every build with the same identity gives a stable code anchor across\n   rebuilds, so TCC (Screen Recording) and the Keychain ACL (Gemini key)\n   don't get re-prompted weekly.\n\n   If `codesign` fails with `no identity found`, the cert was deleted —\n   stop and tell the user; the rebuild flow is in a previous session.\n\n6. **Free the build cache:**\n   ```bash\n   rm -rf \u002Ftmp\u002Fdayflow-release\n   ```\n\n7. **Sanity-check the installed bundle:**\n   ```bash\n   defaults read \u002FApplications\u002FDayflow.app\u002FContents\u002FInfo CFBundleIdentifier   # must == teleportlabs.com.Dayflow\n   defaults read \u002FApplications\u002FDayflow.app\u002FContents\u002FInfo SUEnableAutomaticChecks  # must == 0\n   codesign -dv \u002FApplications\u002FDayflow.app 2>&1 | grep \"Authority=Caezium Dayflow Local\"\n   ```\n   If bundle id changed, **stop and tell the user** — the new build\n   won't read existing data. If the Authority line is missing or shows\n   `Signature=adhoc`, the cert wasn't used — stop and report.\n\n**First-install warnings** — needed exactly once, when the installed\nsignature *changes*:\n- Switching from official Developer-ID build → fork: re-grant Screen\n  Recording, re-paste Gemini key. One-time.\n- Switching from any prior ad-hoc-signed fork build → cert-signed fork\n  build (i.e., the first install after introducing `Caezium Dayflow\n  Local`): re-grant Screen Recording, re-paste Gemini key. One-time.\n- All subsequent installs (cert → cert, same identity): no re-grant,\n  no re-paste. This is the steady state.\n\n### 11. Bump state markers\n\nAfter successful install (or after step 6 if no install ran but rebase\nwas clean and the user explicitly chose \"abort\" — in the abort case\ndo NOT bump, so next run re-syncs):\n\n```bash\nmkdir -p ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\ngit -C ~\u002FDesktop\u002FDayflow rev-parse upstream\u002Fmain > ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-synced-upstream.txt\ndate +%Y-%m-%d > ~\u002F.claude\u002Fskills\u002Fdayflow-sync\u002Fstate\u002Flast-synced-date.txt\n```\n\nState marker advances ONLY after a successful end-to-end run. Aborts,\nbuild failures, audit failures, and Tier B conflicts all leave the\nmarker at the previous SHA so the next run retries from the same base.\n\n### 12. Final report (post-install)\n\nTell the user, under 200 words:\n- N upstream commits merged, installed version\n- Conflicts: auto-skipped (with which commit + condition met) vs.\n  manually resolved\n- Audit: pass\u002Ffail per check\n- Debug + Release build results\n- Bundle sanity-check: bundle id, Sparkle off, ad-hoc signed\n- Drift summary (one line each for endpoints \u002F events \u002F entitlements)\n- Any first-install permissions reminders (Screen Recording, Gemini key)\n\n## Failure modes\n\n- **Working tree dirty** → ask the user before anything.\n- **Disk \u003C 4 GB after cleanup** → stop, report, don't build.\n- **Tier B rebase conflict** → stop with full context, never `--skip`.\n- **Tier A auto-skip condition unmet** → stop, ask the user to port\n  the workaround forward.\n- **Unknown commit in conflict** → stop; commits.yaml needs updating.\n- **Audit check fails after rebase** → stop, don't push, name the check.\n- **Debug build fails** → stop, don't push, show the Swift error.\n- **No upstream changes** → exit early, one-line report.\n- **Pre-install checkpoint** → always stops here; not a failure, just\n  the design.\n",{"name":5,"description":7,"allowed-tools":49},"Bash,Read,Edit,Write","6ef866230c1ba3459fd08fc65141dfd37fffd41a",0,"https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills","https:\u002F\u002Fskills.henryzh.dev","https:\u002F\u002Fgithub.com\u002Fcaezium","henryzh.dev","quant, data science, full-stack, robotics.\r\nbuilding cool stuff","2026-08-24 19:21:44",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add caezium\u002Fskills --skill dayflow-sync",{"tool":64,"command":65},"bunx","bunx skills add caezium\u002Fskills --skill dayflow-sync",{"tool":67,"command":68},"pnpm","pnpm dlx skills add caezium\u002Fskills --skill dayflow-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fdayflow-sync\u002FSKILL.md",true,[72],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"state\u002Fcommits.yaml","REFERENCE","参考文档",3217,"https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fdayflow-sync\u002Fstate\u002Fcommits.yaml",[79,98,126,144,164,185],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":93,"publishedAt":44},"01M71JT4RYCAS18RF6003YYR1D","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fwriting-for-agents\u002FSKILL.md",[85,90],{"categoryNo":86,"categoryName":87,"taxonomyType":88,"taxonomyTypeDesc":89},"01JBSEEDCAT000000000000018","写作与文案","SCENARIO","使用场景",{"categoryNo":91,"categoryName":92,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000036","内容创作者",[94,30,95,96,27,97,40],"writing for agents","writing","editing","documents",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":107,"publishedAt":44},"01M71JT0GES4AZ5ADH8EADNN1Z","wrangler","Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fwrangler\u002FSKILL.md",[104],{"categoryNo":105,"categoryName":106,"taxonomyType":88,"taxonomyTypeDesc":89},"01JBSEEDCAT000000000000010","后端与接口",[100,108,109,110,111,112,113,114,115,116,117,118,119,30,120,121,122,123,124,125],"cloudflare","d1","knowledge","workflows","cli","secrets","commands","syntax","cloudflare workers","r2","queues","running","containers","correct","load","workers","best practices","store",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":44},"01M71JSWX4R203M32K9A18AAW8","workers-best-practices","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fworkers-best-practices\u002FSKILL.md",[],[133,123,124,134,135,136,30,108,137,110,138,100,95,122,40,139,140,141,142,143],"workers best practices","observability","reviews","promises","worker","new","code","common","streaming","state","anti-patterns",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":44},"01M71JST6P88MXGT2MWDTPJGEG","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fwizard\u002FSKILL.md",[],[146,119,151,30,152,153,154,155,27,156,40,39,157,158,159,160,161,162,163,113],"setting","up","ci","provisioning infrastructure","only","invoke","one","interactive","can","credentials","dashboard","generate","human",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":168,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":44},"01M71JSQ95S7BQ61DAPN95X2W4","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available evidence sources, searches each relevant category, and returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fwhy\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fwhy\u002FSKILL.md",[],[166,172,173,174,175,30,176,177,27,178,179,180,181,35,182,183,184],"sources","thresholds","evidence","relevant","runtime","design","decisions","work","how","behavior","data","rationale","returns",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":194,"publishedAt":44},"01M71JSMHFVSH8HK8GXN6YAX6J","week-prep","Generate a briefing with calendar, tasks, and attention flags. Use for \"week prep\", \"briefing\", or \"what's on this week\".","https:\u002F\u002Fgithub.com\u002Fcaezium\u002Fskills\u002Fblob\u002Fmain\u002Fweek-prep\u002FSKILL.md",[191],{"categoryNo":192,"categoryName":193,"taxonomyType":88,"taxonomyTypeDesc":89},"01JBSEEDCAT000000000000023","Skill与智能体开发",[195,196,197,198,199,30,200,201,202,203,27,39,204,205,206,162,207,35,208,209],"week prep","prep","deep","attention","get","search","messages","briefing","MCP","tasks","with","slack","calendar","flags","grep"]