Toolverse
All skills

code-transfer

by mhattingpete

Transfer code between files with line-based precision. Use when users request copying code from one location to another, moving functions or classes between files, extracting code blocks, or inserting code at specific line numbers.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Backend
Views
6

About this skill

Transfer code between files with line-based precision. Use when users request copying code from one location to another, moving functions or classes between files, extracting code blocks, or inserting code at specific line numbers.

How to use

  1. Zainstaluj umiejętność w swoim środowisku Claude, dodając folder skills/code-transfer do katalogu umiejętności.

  2. Przygotuj plik źródłowy, z którego chcesz skopiować kod. Możesz odczytać cały plik lub określić zakres linii, na przykład linie 10–30.

  3. Zidentyfikuj funkcję lub blok kodu do przeniesienia, używając polecenia Read z parametrami offset i limit, lub użyj Grep do wyszukania funkcji po nazwie wzorca.

  4. Określ plik docelowy i numer linii, w którym kod ma zostać wstawiony. Użyj skryptu line_insert.py z parametrami: ścieżka pliku, numer linii i kod do wstawienia.

  5. Dla operacji na 1–10 plikach użyj trybu podstawowego z poleceniami Read, Edit i Bash. Dla 10+ plików przejdź na tryb wykonawczy, importując batch_copy i find_functions z API.

  6. Opcjonalnie utwórz kopię zapasową oryginalnego pliku, dodając flagę --backup do polecenia line_insert.py, aby zabezpieczyć się przed przypadkowymi zmianami.

Related skills

clickup

by civitai

Interact with ClickUp tasks and documents - get task details, view comments, create and manage tasks, create and edit docs. Use when working with ClickUp task/doc URLs or IDs.

Backend
2483

drizzle

by lobehub

Drizzle ORM schema and database guide. Use when working with database schemas (src/database/schemas/*), defining tables, creating migrations, or database model code. Triggers on Drizzle schema definition, database migrations, or ORM usage questions.

Backend
79340

patent-search

by RobThePCGuy

Advanced prior art search using the PatentsView API. Use this skill when users need to search for patents, perform prior art searches, analyze patent landscapes, or find patents by inventor, title, date range, or technical fields. Helps with patent research, freedom to operate

Backend
36218

stripe-integration

by wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

Backend
40147

dotnet-backend

by anton-abyzov

.NET/C# backend developer for ASP.NET Core APIs with Entity Framework Core. Builds REST APIs, minimal APIs, gRPC services, authentication with Identity/JWT, authorization, database operations, background services, SignalR real-time features. Activates for: .NET, C#, ASP.NET

Backend
92296

supabase-developer

by daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

Backend
78170