rafaeltonholo/svg-to-compose/kotlin-gradle-standalone-plugin

Claude Code and agent skill by rafaeltonholo/svg-to-compose

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Develop and maintain standalone Gradle plugins implemented in Kotlin. Use when tasks involve creating a plugin module, defining plugin IDs, adding extensions/tasks, wiring lazy configuration with Provider APIs, writing Gradle TestKit coverage, or preparing plugin publication and compatibility updates.

Install

npx vskill@latest install rafaeltonholo/svg-to-compose/kotlin-gradle-standalone-plugin

SKILL.md

Kotlin Gradle Standalone Plugin

Overview

Build production-grade standalone Gradle plugins in Kotlin with clear public DSL, lazy configuration, and testable task behavior. Prefer stable plugin APIs and Gradle TestKit for behavioral verification.

Core Workflow

  1. Confirm scope: new plugin, feature change, bug fix, or publishing update.
  2. Define plugin surface first:
  • Plugin ID(s)
  • Public extension DSL
  • Registered tasks and conventions
  1. Implement plugin wiring with lazy configuration:
  • Use Property<T>, DirectoryProperty, RegularFileProperty, ListProperty<T>.
  • Avoid eager get() during configuration phase.
  1. Keep API boundaries explicit:
  • Public DSL under dedicated package (e.g., dsl/).
  • Internal implementation in internal/.
  1. Add/adjust tests:
  • Unit tests for pure logic.
  • Gradle TestKit tests for plugin behavior against sample builds.
  1. Run narrow verification first, then broader checks.

Implementation Rules

  • Use Plugin<Project> entrypoint with small apply body.
  • Register tasks using tasks.register(...), not tasks.create(...).
  • Configure tasks via providers (map, flatMap, convention) rather than immediate value resolution.
  • Prefer deterministic task inputs/outputs and annotate task properties correctly.
  • Use typed extensions for user-facing configuration.
  • Do not leak internal types through public DSL.

Testing Rules

  • Verify plugin behavior through real Gradle builds with TestKit.
  • Assert task graph effects and generated outputs, not internal implementation details.
  • Cover:
  • default configuration behavior
  • user-overridden DSL values
  • failure mode for invalid config
  • Keep fixture builds minimal and explicit.

See these references as needed:

Verification Commands

Run the smallest relevant command first:

bash
./gradlew :<plugin-module>:test --tests "<FQN>"
./gradlew :<plugin-module>:functionalTest
./gradlew :<plugin-module>:check
./gradlew check

Completion Criteria

  • Plugin ID, DSL, and task behavior are coherent and documented in code.
  • Configuration is lazy and cache-friendly.
  • TestKit coverage validates expected behavior and failure paths.
  • Targeted checks pass for the changed plugin module.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
211
Repository forks
11
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Jul 2026, 3 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rafaeltonholo/svg-to-compose/kotlin-gradle-standalone-plugin/badge)](https://verified-skill.com/skills/rafaeltonholo/svg-to-compose/kotlin-gradle-standalone-plugin)

Something wrong with this skill or its page? Tell us.