Toolverse
All skills

tidy-deprecate-function

by r-lib

Guide for deprecating R functions/arguments. Use when a user asks to deprecate a function or parameter, including adding lifecycle warnings, updating documentation, adding NEWS entries, and updating tests.

Installation

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

Installation

Quick info

Author
r-lib
Category
Backend
Views
5

About this skill

Guide for deprecating R functions/arguments. Use when a user asks to deprecate a function or parameter, including adding lifecycle warnings, updating documentation, adding NEWS entries, and updating tests.

How to use

  1. Zainstaluj skill w swoim środowisku Claude, wskazując repozytorium r-lib/devtools. Skill będzie dostępny, gdy poprosisz o deprecację funkcji lub parametru w pakiecie R.

  2. Przygotuj informacje o wycofywanym elemencie: nazwę funkcji lub parametru, którą chcesz deprecjonować, oraz ewentualną funkcję zastępczą. Sprawdź aktualną wersję w pliku DESCRIPTION.

  3. Skill obliczy wersję deprecacji (następny minor release) na podstawie obecnej wersji. Na przykład jeśli obecna wersja to 2.5.1.9000, wersja deprecacji będzie 2.6.0.

  4. Dodaj wywołanie lifecycle::deprecate_warn() do funkcji lub parametru. Dla funkcji użyj lifecycle::deprecate_warn("X.Y.0", "function_name()", "replacement_function()"), dla parametru sprawdź jego obecność za pomocą lifecycle::is_present().

  5. Zaktualizuj istniejące testy, aby wyciszyć ostrzeżenia deprecacji, dodaj nowy test sprawdzający, czy ostrzeżenie jest wyświetlane, oraz dodaj wpis do NEWS.md opisujący zmianę.

  6. Dodaj badge lifecycle do dokumentacji funkcji, aby użytkownicy byli świadomi deprecacji podczas czytania pomocy.

Related skills

architecture-decision-records

by wshobson

Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.

Backend
29130

supabase-operations

by elevanaltd

Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on:

Backend
27109

fastapi-pro

by sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

Backend
54128

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

scientific-writing

by K-Dense-AI

Write scientific manuscripts. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), abstracts, for research papers and journal submissions.

Backend
47191

youtube-transcribe-skill

by feiskyer

Extract subtitles/transcripts from a YouTube video URL and save as a local file. Use when you need to extract subtitles from a YouTube video.

Backend
24178