# Sync With Swift

> Guide for syncing with upstream Swift compiler demangling changes Use when this capability is needed.

- Skill: `tomevault-io/sync-with-swift` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/sync-with-swift`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/sync-with-swift/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/sync-with-swift

---


# sync-with-swift

This project is a pure Swift port of the Swift compiler's `swift-demangle`. When syncing with a new Swift version:

## Checklist

1. **Node.Kind**: Check for new enum cases in `Node.swift` `Kind` enum
2. **Demangler**: Check for new operators in `demangleOperator()` in `Demangler.swift`
3. **NodePrinter**: Add corresponding print rules in `printNode()` in `NodePrinter.swift`
4. **DemangleOptions**: Check for new options in `DemangleOptions.swift`
5. **Test data**: Update `Tests/SwiftDemangleTests/Resources/manglings.txt` with new test cases

## Reference

- Upstream source: https://github.com/swiftlang/swift/tree/main/lib/Demangling
- Diff guide: `Diff.md` in project root tracks differences from upstream

---
> Source: [oozoofrog/SwiftDemangle](https://github.com/oozoofrog/SwiftDemangle) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-24 -->

