Scaffold a new ECS component header under include/gz/sim/components/, wire its CMake listing, and (if needed) register it with ComponentFactory for serialization.

No licenceAuto-check passed

Install New Component

skills CLI
$ npx skills add harunkurtdev/ros2-claude-code-template --skill new-component -a claude-code

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

GitHub CLI
$ gh skill install harunkurtdev/ros2-claude-code-template new-component --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/harunkurtdev/ros2-claude-code-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/new-component .claude/skills/new-component && 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-component
GitHub stars
215
Token cost
~962 tokens
SKILL.md length
311 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

Scaffold a new ECS component header under include/gz/sim/components/, wire its CMake listing, and (if needed) register it with ComponentFactory for serialization.

  • Works in 3 steps: What's the data type? A plain struct, a… → Does it need serialization? If users… → Is there a Cmd / Reset variant? If this…
  • The user asks to add a new component
  • SKILL.md covers Decide first, Template (no custom serializer), Template (custom data type +… and CMake plumbing, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

New Component is an agent skill from harunkurtdev/ros2-claude-code-template. Scaffold a new ECS component header under include/gz/sim/components/, wire its CMake listing, and (if needed) register it with ComponentFactory for serialization. Trigger when the user asks to add a new component or a per-entity data field.

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

It works with C++.

When your agent uses it

  • The user asks to add a new component
  • A per-entity data field

Example prompts

  • “/new-component”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. What's the data type? A plain struct, a math::Vector3d, an
  2. Does it need serialization? If users should be able to log/replay
  3. Is there a Cmd / Reset variant? If this component represents

What it can do on your machine

Read from SKILL.md and the folder at commit 5b3a43d. 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 cpp and cmake).

    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 Component loads about 962 tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 311 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 311 words (~962 tokens).

“Components in gz-sim are header-only wrappers around the Component<> template. They live in include/gz/sim/components/.hh.”

— opening of SKILL.md by harunkurtdev
name
new-component

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/new-component of harunkurtdev/ros2-claude-code-template.

Open the folder on GitHubat commit 5b3a43d

Compare with similar skills

New Component 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 Component compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
New Component this skillharunkurtdev/ros2-claude-code-template215—~962Automated safety check: PassNone
Paddle BuildPaddlePaddle/Paddle24k—~1kAutomated safety check: PassApache-2.0
Fory Releaseapache/fory4.6k—~2.9kAutomated safety check: PassApache-2.0
ONNX Runtime Shape Inference Safety Auditmicrosoft/onnxruntime22k—~3.3kAutomated safety check: PassMIT
Code Audit3stoneBrother/code-audit8931 repos~2.7kAutomated safety check: PassNone
Qt C++ Code Reviewx-tools-author/x-tools1.1k2 repos~4.3kAutomated safety check: PassBSD-3-Clause

Similar skills

  • Paddle Build

    PaddlePaddle/Paddle

    A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.

    24k GitHub stars~1k tokensUpdated 7 days ago
    AI & LLM EngineeringAuto-check passed
  • Fory Release

    apache/fory

    Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email.

    4.6k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Official

    Finds and fixes out-of-range output writes in ONNX Runtime operator shape-inference functions where a getNumOutputs guard admits too few outputs.

    22k GitHub stars~3.3k tokensUpdated today
    SecurityAuto-check passed
  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    893 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Qt C++ Code Review

    x-tools-author/x-tools

    Read-only review of Qt6 C++ code that combines a deterministic lint script with six parallel analysis agents and reports only high-confidence issues.

    1.1k GitHub starsUsed in 2 repos~4.3k tokens
    DevelopmentAuto-check passed
  • Translation

    doxygen/doxygen

    Keeps all Doxygen and Doxywizard translations up to date across three mechanisms: translator C++ classes (src/translatorxx.h), Qt .ts locale files for the Doxywizard GUI (addon/doxywizard/i18n/)…

    6.6k GitHub stars~5.2k tokensUpdated 7 days ago
    Writing & ContentAuto-check passed

More from harunkurtdev/ros2-claude-code-template

  • Gz Build

    harunkurtdev/ros2-claude-code-template

    Configure and build gz-sim from source using either CMake/Ninja directly or a colcon workspace.

    215 GitHub stars~641 tokensUpdated 4 mo ago
    Auto-check passed
  • Gz Ecs Overview

    harunkurtdev/ros2-claude-code-template

    Concise reference for the gz-sim Entity-Component-System architecture — how Entities, Components, Systems, the ECM, the Server, and SimulationRunner fit together.

    215 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Gz Test

    harunkurtdev/ros2-claude-code-template

    Run unit, integration, performance, and benchmark tests for gz-sim, filter by name, and debug a single failing case.

    215 GitHub stars~675 tokensUpdated 4 mo ago
    Auto-check passed
  • New System

    harunkurtdev/ros2-claude-code-template

    Scaffold a new gz-sim system plugin under src/systems/<name/ — header, source, CMake glue, plugin registration, and an integration test stub.

    215 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about New Component

What does New Component do?

Scaffold a new ECS component header under include/gz/sim/components/, wire its CMake listing, and (if needed) register it with ComponentFactory for serialization. New Component is an agent skill from harunkurtdev/ros2-claude-code-template. Scaffold a new ECS component header under include/gz/sim/components/, wire its CMake listing, and (if needed) register it with ComponentFactory for serialization.

When should I use New Component?

New Component fits situations like: the user asks to add a new component; A per-entity data field.

How do I install New Component in Claude Code?

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

How do I install New Component in Codex?

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

Can I use New Component 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 harunkurtdev/ros2-claude-code-template --skill new-component -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-component, .gemini/skills/new-component, .github/skills/new-component and .opencode/skills/new-component in your project.

What does New Component need to run?

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

Does New Component 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 Component 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 Component use?

No licence was found for New Component or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does New Component use?

About 962 tokens (SKILL.md is roughly 3.8k 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 Component?

Skills that share tags, products or a category with New Component: Paddle Build (PaddlePaddle/Paddle, 24k stars), Fory Release (apache/fory, 4.6k stars), ONNX Runtime Shape Inference Safety Audit (microsoft/onnxruntime, 22k stars) and Code Audit (3stoneBrother/code-audit, 893 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains New Component?

harunkurtdev (a GitHub user) maintains it in harunkurtdev/ros2-claude-code-template, which has 215 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on June 8, 2026.

Source: harunkurtdev/ros2-claude-code-template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.