reference-codebases

Reference and synchronize sibling repository code across Swift, Kotlin, Protobuf, and TypeScript.

19|21|Updated Jul 22, 2024
One-click install
npx skills add https://github.com/vultisig/vultisig-windows --skill reference-codebases
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reference-codebases
Source: https://github.com/vultisig/vultisig-windows/tree/main/.cursor/skills/reference-codebases
Command: npx skills add https://github.com/vultisig/vultisig-windows --skill reference-codebases

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers port features from other Vultisig repositories (like iOS or Android) by providing a structured way to reference their code and match behavior.

Core Features & Use Cases

  • Cross-Platform Referencing: Access and understand implementations in Swift, Kotlin, Protobuf, and TypeScript from sibling repositories.
  • Behavior Matching: Ensures features ported to the current codebase maintain identical functionality and edge-case handling as their native counterparts.
  • Use Case: When a new security feature is implemented in the ios app, use this Skill to reference the Swift code and accurately replicate its logic in the TypeScript codebase.

Quick Start

Reference the iOS repository to understand how the send_transaction function is implemented there.

Frequently Asked Questions about reference-codebases

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I port features from Swift to TypeScript while matching behavior across platforms?

You can reference sibling repositories to synchronize code and match 1:1 behavior across Swift, Kotlin, Protobuf, and TypeScript implementations. This ensures identical functionality and edge-case handling when replicating logic across different language codebases.

What is the best way to synchronize code from sibling repositories for feature porting?

Synchronizing code from sibling repositories requires using git commands for syncing and file system access for exploration. This mechanism provides a structured way to reference and port features across different language implementations while maintaining identical functionality.

Can I use this approach to port Android Kotlin features to a TypeScript codebase?

Yes, you can reference the Android repository to access and understand the Kotlin implementation, then accurately replicate its logic in the TypeScript codebase. This cross-platform referencing facilitates matching behavior 1:1 across different language implementations.

Do I need git commands to reference code from sibling repositories?

Yes, git commands are required for syncing and file system access is needed for exploration when referencing code from sibling repositories. These tools allow you to access and understand implementations in Swift, Kotlin, Protobuf, and TypeScript for feature porting.

Why does cross-platform behavior matching fail when porting iOS features to TypeScript?

Cross-platform behavior matching fails when implementations do not maintain identical functionality and edge-case handling as their native counterparts. Referencing sibling repositories provides a structured way to understand the Swift code and accurately replicate its logic in TypeScript.