Agent skill

New Extension

by yontrack in yontrack/yontrack

Scaffold a new Yontrack extension end-to-end — module, feature descriptor, service, GraphQL, migration, tests, and UI.

MITAuto-check passedBackend & APIs

Install New Extension

skills CLI
$ npx skills add yontrack/yontrack --skill new-extension -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yontrack/yontrack new-extension --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yontrack/yontrack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/new-extension .claude/skills/new-extension && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
new-extension
GitHub stars
102
Token cost
~1k tokens
SKILL.md length
315 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Scaffold a new Yontrack extension end-to-end — module, feature descriptor, service, GraphQL, migration, tests, and UI.

  • Works in 10 steps: Create the Gradle module → Define the feature descriptor → Implement the core extension class → …
  • Asked to create a new extension
  • SKILL.md covers Step 1 — Create the Gradle…, Step 2 — Define the feature…, Step 3 — Implement the core… and Step 4 — Add service interface…, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

New Extension is an agent skill from yontrack/yontrack. Scaffold a new Yontrack extension end-to-end — module, feature descriptor, service, GraphQL, migration, tests, and UI. Use when asked to create a new extension or add a new feature module.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering GraphQL. It works with GraphQL, Gradle and Java. The repository describes itself as: Continuous delivery monitoring. The licence is MIT.

When your agent uses it

  • Asked to create a new extension
  • Add a new feature module

Example prompts

  • “/new-extension”

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Create the Gradle module
  2. Define the feature descriptor
  3. Implement the core extension class
  4. Add service interface and implementation
  5. Add GraphQL SDL and resolver
  6. Add Flyway migration (if new tables needed)
  7. Write unit tests
  8. Write integration tests
  9. Add frontend UI components (if property types or pages are involved)
  10. Final checklist

What it can do on your machine

Read from SKILL.md and the folder at commit bfba3ca. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are kotlin).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

New Extension loads about 1k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 315 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from yontrack/yontrack at commit bfba3ca, republished under its MIT licence (© yontrack). 315 words, ~1,010 tokens.

Download SKILL.mdSave it as .claude/skills/new-extension/SKILL.md (or your agent's skills folder).
name
new-extension
description
Scaffold a new Yontrack extension end-to-end — module, feature descriptor, service, GraphQL, migration, tests, and UI. Use when asked to create a new extension or add a new feature module.
user-invocable
true

/new-extension — Scaffold a New Yontrack Extension

Arguments passed: $ARGUMENTS

Parse $ARGUMENTS for the extension name (e.g. my-feature). If not provided, ask the user for:

  1. Extension name (kebab-case, e.g. my-feature)
  2. Short description (one sentence)
  3. Whether it needs a new database table

Then execute the following steps in order, confirming with the user before creating files.


Step 1 — Create the Gradle module

Create ontrack-extension-{name}/build.gradle.kts:

kotlin
plugins {
    `java-library`
    kotlin("jvm")
    kotlin("plugin.spring")
}

description = "{Short description}"

dependencies {
    api(project(":ontrack-extension-api"))
    implementation(project(":ontrack-extension-support"))
    // add other dependencies as needed
    testImplementation(project(":ontrack-it-utils"))
}

Register the module in settings.gradle.kts by adding:

include("ontrack-extension-{name}")

Find the existing include(...) lines and insert alphabetically.


Step 2 — Define the feature descriptor

Create src/main/java/net/nemerosa/ontrack/extension/{name}/{Name}ExtensionFeature.kt:

kotlin
package net.nemerosa.ontrack.extension.{name}

import net.nemerosa.ontrack.extension.support.AbstractExtensionFeature
import org.springframework.stereotype.Component

@Component
class {Name}ExtensionFeature : AbstractExtensionFeature(
    id = "{name}",
    name = "{Human Name}",
    description = "{Short description}",
)

Step 3 — Implement the core extension class

Create {Name}Extension.kt in the same package extending AbstractExtension and implementing the relevant extension point interface (e.g. PropertyType, EventListener, DecorationExtension).


Step 4 — Add service interface and implementation

Create {Name}Service.kt (interface) and {Name}ServiceImpl.kt annotated with @Service. Use constructor injection. Add security checks at the top of each method using securityService.


Step 5 — Add GraphQL SDL and resolver

Create src/main/resources/graphql/{name}.graphqls with the schema definition.

Create {Name}GraphQLController.kt annotated with @Controller using @QueryMapping / @MutationMapping.


Step 6 — Add Flyway migration (if new tables needed)

Find the highest existing migration number in ontrack-database/src/main/resources/db/migration/.

Create V{N+1}__{short_description}.sql. Rules:

  • Use SERIAL PRIMARY KEY NOT NULL for auto-increment PKs
  • Always add ON DELETE CASCADE on FK references to entity tables
  • Add indexes for FK columns

Step 7 — Write unit tests

Create src/test/java/net/nemerosa/ontrack/extension/{name}/{Name}Test.kt using MockK for mocks.


Step 8 — Write integration tests

Create src/test/java/net/nemerosa/ontrack/extension/{name}/{Name}IT.kt extending AbstractDSLTestSupport.


Step 9 — Add frontend UI components (if property types or pages are involved)

For each property type, create the directory: ontrack-web-core/components/framework/properties/net.nemerosa.ontrack.extension.{name}.{PropertyType}/

Required files: Icon.js, Display.js, Form.js. Optional: FormPrepare.js.

For new pages, add a UserMenuItemExtension on the backend and register the icon in UserMenu.js > itemIcons.


Step 10 — Final checklist

Confirm all of the following exist before finishing:

  • ontrack-extension-{name}/build.gradle.kts
  • settings.gradle.kts updated
  • {Name}ExtensionFeature.kt
  • Core extension class(es)
  • Service interface + @Service implementation
  • .graphqls SDL + @Controller resolver
  • Flyway migration (if needed)
  • Unit tests (*Test.kt)
  • Integration tests (*IT.kt)
  • Frontend UI components (if needed)

© yontrack, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/new-extension of yontrack/yontrack.

Open the folder on GitHubat commit bfba3ca

Compare with similar skills

New Extension next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

New Extension compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Extension this skillyontrack/yontrack102—~1kAutomated safety check: PassMIT
Retrofit Graphql Build DependenciesAniTrend/retrofit-graphql111—~463Automated safety check: PassApache-2.0
Apollo Kotlinapollographql/skills117—~547Automated safety check: PassMIT
API Testingfugazi/test-automation-skills-agents249—~1.5kAutomated safety check: PassMIT
API TesterRightNow-AI/openfang18k—~807Automated safety check: PassApache-2.0
Nodejs Backend Patternsever-works/ever-works16218 repos~4kAutomated safety check: PassAGPL-3.0

Similar skills

  • Retrofit Graphql Build Dependencies

    AniTrend/retrofit-graphql

    Understand and change retrofit-graphql build logic, module dependencies, version catalog entries, Dokka setup, and shared Gradle conventions.

    111 GitHub stars~463 tokensUpdated 3 days ago
    Backend & APIsAuto-check passed
  • Apollo Kotlin

    apollographql/skills

    Guide for building applications with Apollo Kotlin, the GraphQL client library for Android and Kotlin.

    117 GitHub stars~547 tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • API Testing

    fugazi/test-automation-skills-agents

    Test REST and GraphQL endpoint contracts using Playwright request fixture (TypeScript) or REST Assured (Java).

    249 GitHub stars~1.5k tokensUpdated 6 days ago
    Testing & QAAuto-check passed
  • API Tester

    RightNow-AI/openfang

    API testing expert for curl, REST, GraphQL, authentication, and debugging

    18k GitHub stars~807 tokensUpdated 3 mo ago
    Backend & APIsAuto-check passed
  • Nodejs Backend Patterns

    ever-works/ever-works

    Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices.

    162 GitHub starsUsed in 18 repos~4k tokens
    Backend & APIsAuto-check passed
  • API Designer

    Jeffallan/claude-skills

    Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.

    12k GitHub starsUsed in 1 repo~2k tokens
    Backend & APIsAuto-check passed

More from yontrack/yontrack

  • Add JSON Schema

    yontrack/yontrack

    Add a new downloadable JSON schema to the Resources page — Kotlin provider class only, auto-discovered by Spring.

    102 GitHub stars~883 tokensUpdated today
    Auto-check passed
  • Add Property Type

    yontrack/yontrack

    Add a complete Yontrack property type — Kotlin PropertyType class, GraphQL mutation provider, and all required frontend UI components (Icon, Display, Form, FormPrepare).

    102 GitHub stars~990 tokensUpdated today
    Auto-check passed
  • Add Widget

    yontrack/yontrack

    Scaffold a new Yontrack dashboard widget end-to-end — Kotlin AbstractWidget class with config data class, and two frontend components (display + form).

    102 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Fix Issue

    yontrack/yontrack

    Pick a GitHub issue, create a correctly-named branch (claude/<short-description-pipeline), implement the fix, and summarise the changes.

    102 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Release Milestone

    yontrack/yontrack

    Mark every status:ready issue of a GitHub milestone as released — swap status:ready for status:released, comment "Available in <version", and close any that are still open (ready issues are normally…

    102 GitHub stars~911 tokensUpdated today
    Auto-check passed
  • Run Initiative

    yontrack/yontrack

    Work through every ready-for-agent issue of a Yontrack initiative, optionally restricted to one milestone, one at a time, each to full completion — branch, implement, merge to the issues' base…

    102 GitHub stars~5.2k tokensUpdated today
    Auto-check passed

Questions about New Extension

What does New Extension do?

Scaffold a new Yontrack extension end-to-end — module, feature descriptor, service, GraphQL, migration, tests, and UI. New Extension is an agent skill from yontrack/yontrack. Scaffold a new Yontrack extension end-to-end — module, feature descriptor, service, GraphQL, migration, tests, and UI.

When should I use New Extension?

New Extension fits situations like: asked to create a new extension; add a new feature module.

How do I install New Extension in Claude Code?

Run `npx skills add yontrack/yontrack --skill new-extension -a claude-code`. Or copy the skill folder (.claude/skills/new-extension in yontrack/yontrack) into .claude/skills/new-extension in your project. Claude Code loads it when a task matches its description.

How do I install New Extension in Codex?

Run `npx skills add yontrack/yontrack --skill new-extension -a codex`. Or copy the skill folder (.claude/skills/new-extension in yontrack/yontrack) into .agents/skills/new-extension in your project. Codex loads it when a task matches its description.

Can I use New Extension in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yontrack/yontrack --skill new-extension -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/new-extension, .gemini/skills/new-extension, .github/skills/new-extension and .opencode/skills/new-extension in your project.

What does New Extension need to run?

SKILL.md names no scripts, command-line tools or credentials: New Extension is instructions for the agent only.

Does New Extension access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is New Extension safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does New Extension use?

New Extension is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does New Extension use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to New Extension?

Skills that share tags, products or a category with New Extension: Retrofit Graphql Build Dependencies (AniTrend/retrofit-graphql, 111 stars), Apollo Kotlin (apollographql/skills, 117 stars), API Testing (fugazi/test-automation-skills-agents, 249 stars) and API Tester (RightNow-AI/openfang, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Extension?

yontrack (a GitHub organization) maintains it in yontrack/yontrack, which has 102 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 9, 2026.

Source: yontrack/yontrack on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.