Skip to content

Add trio-fork-port Claude Code skill#55

Open
Sjoerd-Bo3 wants to merge 1 commit into
Build-Experimentfrom
chore/trio-port-skill
Open

Add trio-fork-port Claude Code skill#55
Sjoerd-Bo3 wants to merge 1 commit into
Build-Experimentfrom
chore/trio-port-skill

Conversation

@Sjoerd-Bo3

Copy link
Copy Markdown
Owner

Summary

Adds a project-level Claude Code skill at .claude/skills/trio-fork-port/SKILL.md that documents the repeatable workflow for porting upstream Trio changes into this fork's Build-Experiment branch.

Because the remote session container is wiped between sessions, this playbook otherwise has to be re-derived each time — committing it makes it auto-discoverable in future sessions.

What it captures

  • Hard rules: no upstream backlinks in commits/branches/PRs; CI-only build verification; fix-forward on a new branch (never reopen a merged PR).
  • Fetching upstream code via patch-diff.githubusercontent.com (plain git fetch of nightscout/loopandlearn is proxy-blocked).
  • The compile_check workflow as the only build signal, and how to add a branch to its triggers.
  • Registering a new Swift file in project.pbxproj (the four entries) with fresh GUIDs.
  • Submodule bumps via git update-index --cacheinfo, and the CGMBLEKit pin to preserve.
  • Fork-specific code gotchas: Foundation.NotificationCenter shadowing (archive-only break), the NSFetchedResultsController Home contexts, the reusable SpinningCapsuleBorder component, and the .xcstrings fallback convention.

Notes

  • Docs-only (.md), so compile_check skips it via paths-ignore — no CI needed.

Generated by Claude Code

…kflow

Captures the repeatable playbook for bringing upstream Trio changes into the
Build-Experiment fork: fetch patches via patch-diff (git is proxy-blocked),
verify only via the compile_check CI, register new files in the pbxproj, keep
the branch off upstream backlinks, and the fork-specific gotchas
(Foundation.NotificationCenter shadowing, NSFRC contexts, the reusable border
component, the CGMBLEKit pin, submodule gitlink bumps).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant