Reference Codebases
USE sibling repos (iOS, Android, SDK, etc.) as reference WHEN porting features TO match behavior in our TypeScript style
by vultisig★ 22 GitHub stars
Install Reference Codebases in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Reference Codebases
USE this skill WHEN the user says "port from iOS/Android", "reference codebases", or references a sibling repo's implementation.
Strategy
- Find sibling repos: Go up one level from the workspace root (
../) to find repositories. - Sync before reading: Run
git -C ../<repo> pull --ff-onlyto get latest changes. - Explore: List the parent folder, then use absolute paths to read/search files in the target repo.
- Port: Match behavior 1:1, but write in our TypeScript style following workspace rules.
Known Sibling Repositories
| Repo | Language | Key Paths |
|---|---|---|
ios |
Swift | VultisigApp/, Models, ViewModels, Services |
android |
Kotlin | app/src/main/java/, similar structure |
commondata |
Protobuf | Shared message definitions |
vultisig-sdk |
Multi | MPC SDK (reference for crypto logic) |
community-tools |
TypeScript | recovery-tools/, vultisig-playground/ |
Swift/Kotlin to TypeScript
| Native | TypeScript |
|---|---|
Optionals (?, nullable) |
shouldBePresent() or union with undefined |
| Enums, sealed classes | Discriminated unions or string literals |
| Data class / struct | type definition |
| Coroutines / async-await | async/await |
Data / ByteArray |
Uint8Array |
Core Principle
Same behavior, our style. Match inputs, outputs, edge cases, and errors exactly. Use our resolver patterns, i18n, and coding conventions.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the Reference Codebases skill do?
USE sibling repos (iOS, Android, SDK, etc.) as reference WHEN porting features TO match behavior in our TypeScript style
How do I install the Reference Codebases skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Reference Codebases skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…