Compose Multiplatform Patterns
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
Scaffold a new Yontrack dashboard widget end-to-end — Kotlin AbstractWidget class with config data class, and two frontend components (display + form).
$ npx skills add yontrack/yontrack --skill add-widget -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install yontrack/yontrack add-widget --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/yontrack/yontrack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-widget .claude/skills/add-widget && rm -rf skills-srcUse ~/.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/
Install the "add-widget" agent skill from https://github.com/yontrack/yontrack/tree/main/.claude/skills/add-widget into .claude/skills/add-widget/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-widget", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/yontrack/yontrack/tree/main/.claude/skills/add-widgetType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add yontrack/yontrack --skill add-widget -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install yontrack/yontrack add-widget --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yontrack/yontrack.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/add-widget .agents/skills/add-widget && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-widget" agent skill from https://github.com/yontrack/yontrack/tree/main/.claude/skills/add-widget into .agents/skills/add-widget/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-widget", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yontrack/yontrack --skill add-widget -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install yontrack/yontrack add-widget --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yontrack/yontrack.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/add-widget .cursor/skills/add-widget && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-widget" agent skill from https://github.com/yontrack/yontrack/tree/main/.claude/skills/add-widget into .cursor/skills/add-widget/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-widget", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/yontrack/yontrack.git --path .claude/skills/add-widget--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add yontrack/yontrack --skill add-widget -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install yontrack/yontrack add-widget --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yontrack/yontrack.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/add-widget .gemini/skills/add-widget && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-widget" agent skill from https://github.com/yontrack/yontrack/tree/main/.claude/skills/add-widget into .gemini/skills/add-widget/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-widget", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install yontrack/yontrack add-widgetInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add yontrack/yontrack --skill add-widget -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/yontrack/yontrack.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/add-widget .github/skills/add-widget && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-widget" agent skill from https://github.com/yontrack/yontrack/tree/main/.claude/skills/add-widget into .github/skills/add-widget/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-widget", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yontrack/yontrack --skill add-widget -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install yontrack/yontrack add-widget --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yontrack/yontrack.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/add-widget .opencode/skills/add-widget && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-widget" agent skill from https://github.com/yontrack/yontrack/tree/main/.claude/skills/add-widget into .opencode/skills/add-widget/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-widget", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-widgetScaffold a new Yontrack dashboard widget end-to-end — Kotlin AbstractWidget class with config data class, and two frontend components (display + form).
Add Widget is an agent skill from yontrack/yontrack. Scaffold a new Yontrack dashboard widget end-to-end — Kotlin AbstractWidget class with config data class, and two frontend components (display + form). Use when asked to create a new dashboard widget.
Its SKILL.md is about 1.6k 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 Mobile, covering Android development. It works with Kotlin. The repository describes itself as: Continuous delivery monitoring. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8b8cd43. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript and kotlin).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add Widget loads about 1.6k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 370 words of instructions outside code blocks.
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.
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.
The full file from yontrack/yontrack at commit 8b8cd43, republished under its MIT licence (© yontrack). 370 words, ~1,559 tokens.
.claude/skills/add-widget/SKILL.md (or your agent's skills folder).Arguments passed: $ARGUMENTS
Parse $ARGUMENTS for the widget name in PascalCase (e.g. MyFeature). If not provided, ask the user for:
MyFeature)Derive:
{Name} — the PascalCase widget name (e.g. BranchStatuses){key} — home/{Name} (e.g. home/BranchStatuses){KtFile} — {Name}Widget.kt{JsWidget} — {Name}Widget.js{JsForm} — {Name}WidgetForm.jsCreate ontrack-model/src/main/java/net/nemerosa/ontrack/model/dashboards/widgets/{Name}Widget.kt:
package net.nemerosa.ontrack.model.dashboards.widgets
import org.springframework.stereotype.Component
@Component
class {Name}Widget : AbstractWidget<{Name}WidgetConfig>(
key = "home/{Name}",
name = "{Human name}",
description = "{Description}",
defaultConfig = {Name}WidgetConfig(),
preferredHeight = 20,
)
data class {Name}WidgetConfig(
// add config fields here, e.g.:
// val count: Int = 10,
) : WidgetConfigkey value must match "home/{Name}" exactly — it is used by the frontend to locate the JS components.val refreshInterval: Duration = Duration.ZERO (and import java.time.Duration) if the widget should support auto-refresh.{Name}WidgetConfig or extract them to the same file.Examples:
ontrack-model/.../dashboards/widgets/LastActiveProjectsWidget.ktontrack-model/.../dashboards/widgets/FavouriteProjectsWidget.ktontrack-model/.../dashboards/widgets/BranchStatusesWidget.ktCreate ontrack-web-core/components/widgets/home/{Name}Widget.js:
import {useContext, useEffect} from "react";
import {DashboardWidgetCellContext} from "@components/dashboards/DashboardWidgetCellContextProvider";
// import other hooks / components as needed
export default function {Name}Widget({
// destructure all config fields here, e.g.:
// count = 10,
}) {
const {setTitle} = useContext(DashboardWidgetCellContext)
useEffect(() => {
setTitle("{Human name}")
}, [])
// Fetch and render data here
return (
<>
{/* widget content */}
</>
)
}Key rules:
{Name}WidgetConfig (Kotlin field names, camelCase).setTitle(...) via DashboardWidgetCellContext so the cell header shows a meaningful title.useQuery from @components/services/GraphQL (declarative), or callGraphQL from the same module when imperative fetching is needed.<PaddedContent> (@components/common/PaddedContent) when the widget displays a list or table that needs padding.Examples:
ontrack-web-core/components/widgets/home/LastActiveProjectsWidget.js (simple, useQuery)ontrack-web-core/components/widgets/home/BranchStatusesWidget.js (complex, multi-query)Create ontrack-web-core/components/widgets/home/{Name}WidgetForm.js:
When the widget has config fields:
import {Form, InputNumber} from "antd";
import {useContext} from "react";
import {DashboardWidgetCellContext} from "@components/dashboards/DashboardWidgetCellContextProvider";
export default function {Name}WidgetForm({
// destructure all config fields here (same as widget component)
// count = 10,
}) {
const {widgetEditionForm} = useContext(DashboardWidgetCellContext)
return (
<>
<Form
layout="vertical"
form={widgetEditionForm}
>
{/* one Form.Item per config field, e.g.: */}
<Form.Item
name="count"
label="Number of items to display"
initialValue={count}
>
<InputNumber min={1} max={100} step={1}/>
</Form.Item>
</Form>
</>
)
}When the widget has no config fields:
import {Typography} from "antd";
export default function {Name}WidgetForm() {
return (
<>
<Typography.Text type="secondary">
No configuration is needed.
</Typography.Text>
</>
)
}Key rules:
<Form layout="vertical" form={widgetEditionForm}> — never create a new form instance.Form.Item name must exactly match the corresponding Kotlin config field name (camelCase).initialValue on each Form.Item so the form is pre-populated when opened.<Form.List> (see BranchStatusesWidgetForm.js for an example).refreshInterval field with <SelectInterval/> from @components/common/SelectInterval if the config includes refreshInterval.Examples:
ontrack-web-core/components/widgets/home/LastActiveProjectsWidgetForm.js (simple)ontrack-web-core/components/widgets/home/FavouriteProjectsWidgetForm.js (no config)ontrack-web-core/components/widgets/home/BranchStatusesWidgetForm.js (complex with Form.List){Name}Widget.kt created with key = "home/{Name}" and @Component{Name}WidgetConfig data class implements WidgetConfig{Name}Widget.js created; props match config fields; setTitle called{Name}WidgetForm.js created; widgetEditionForm used; all Form.Item names match config fieldshome/{Name} matches the JS file paths ({Name}Widget.js / {Name}WidgetForm.js)© yontrack, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/add-widget of yontrack/yontrack.
Open the folder on GitHubat commit 8b8cd43
Add Widget 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add Widget this skillyontrack/yontrack | 102 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Compose Multiplatform Patternsmonta-app/ocpp-emulator | 180 | 5 repos | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Kotlin Patternsgetknit/knit | 131 | 5 repos | ~4.7k | Automated safety check: Pass | GPL-3.0 | |
| Summoncodeyousef/summon | 167 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Add Ktnip Parameter Strategyvendelieu/telegram-bot | 249 | — | ~613 | Automated safety check: Pass | Apache-2.0 | |
| CometChat Android v5 Headless SDKcometchat/cometchat-skills | 130 | — | ~4k | Automated safety check: Pass | MIT |
monta-app/ocpp-emulator
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
getknit/knit
Idiomatic Kotlin patterns, best practices, and conventions for building robust, efficient, and maintainable Kotlin applications with coroutines, null safety, and DSL builders.
codeyousef/summon
A skill your agent uses when developing applications with the Summon Kotlin Multiplatform UI framework.
vendelieu/telegram-bot
Adds a new parameter resolution strategy to the ktnip KSP processor.
cometchat/cometchat-skills
Builds chat on Android with your own UI against the headless CometChat Chat SDK v5, covering install, Jetifier conflicts, credentials and init-before-login ordering.
chrisbanes/skills
A skill your agent uses when writing or reviewing Kotlin branching and control flow: when expressions, guard conditions, sealed type exhaustiveness, smart casts, nullable branching, early returns…
yontrack/yontrack
Add a new downloadable JSON schema to the Resources page — Kotlin provider class only, auto-discovered by Spring.
yontrack/yontrack
Add a complete Yontrack property type — Kotlin PropertyType class, GraphQL mutation provider, and all required frontend UI components (Icon, Display, Form, FormPrepare).
yontrack/yontrack
Pick a GitHub issue, create a correctly-named branch (claude/<short-description-pipeline), implement the fix, and summarise the changes.
yontrack/yontrack
Scaffold a new Yontrack extension end-to-end — module, feature descriptor, service, GraphQL, migration, tests, and UI.
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…
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…
Works with
Categories
Scaffold a new Yontrack dashboard widget end-to-end — Kotlin AbstractWidget class with config data class, and two frontend components (display + form). Add Widget is an agent skill from yontrack/yontrack. Scaffold a new Yontrack dashboard widget end-to-end — Kotlin AbstractWidget class with config data class, and two frontend components (display + form).
Add Widget fits situations like: asked to create a new dashboard widget; tasks that involve Android development.
Run `npx skills add yontrack/yontrack --skill add-widget -a claude-code`. Or copy the skill folder (.claude/skills/add-widget in yontrack/yontrack) into .claude/skills/add-widget in your project. Claude Code loads it when a task matches its description.
Run `npx skills add yontrack/yontrack --skill add-widget -a codex`. Or copy the skill folder (.claude/skills/add-widget in yontrack/yontrack) into .agents/skills/add-widget in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yontrack/yontrack --skill add-widget -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-widget, .gemini/skills/add-widget, .github/skills/add-widget and .opencode/skills/add-widget in your project.
SKILL.md names no scripts, command-line tools or credentials: Add Widget is instructions for the agent only.
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.
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.
Add Widget is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add Widget: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Kotlin Patterns (getknit/knit, 131 stars), Summon (codeyousef/summon, 167 stars) and Add Ktnip Parameter Strategy (vendelieu/telegram-bot, 249 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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 8, 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.