Agent skill

Test Component

by inkline in inkline/inkline

Phase 4 of building an Inkline component — write colocated cross-target tests.

No licenceAuto-check: notes

Install Test Component

skills CLI
$ npx skills add inkline/inkline --skill test-component -a claude-code

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

GitHub CLI
$ gh skill install inkline/inkline test-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/inkline/inkline.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/test-component .claude/skills/test-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
test-component
GitHub stars
1.5k
Token cost
~1.6k tokens
SKILL.md length
338 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
None found

At a glance

Phase 4 of building an Inkline component — write colocated cross-target tests.

  • Works in 4 steps: The actual @inkline/test-utils exports —… → The exemplar tests:… → ui/components/src/components/angular-ssr-… → …
  • Strengthening a components tests
  • SKILL.md covers Read first, Headless test — the baseline…, Styled test — add composition,… and Coverage — exercise every branch, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Test Component is an agent skill from inkline/inkline. Phase 4 of building an Inkline component — write colocated cross-target tests. Assert compilation to all 7 targets, expected diagnostics, conformance, output composition/imports/bindings, snapshots, and real-DOM behavior via Angular SSR. Targets ~100% line+branch coverage. Use when adding or strengthening a component's tests.

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 works with Angular and React. The repository describes itself as: Inkline is the intuitive UI Components library that gives you a developer-friendly foundation for building high-quality, accessible, and customizable Vue.js 3 Design Systems.

When your agent uses it

  • Strengthening a components tests

Example prompts

  • “/test-component”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Grep, Glob

Workflow steps

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

  1. The actual @inkline/test-utils exports — tooling/test-utils/src/index.ts (the prose runScenarioAcrossTargets is gone). Available…
  2. The exemplar tests: button/headless/IButtonBase.ink.test.ts (simple) and input/styled/IInput.ink.test.ts (comprehensive + Angular SSR).
  3. ui/components/src/components/angular-ssr-helper.ts — mountStyledOnAngular(importMetaUrl, styledRel, headlessRels, props?).
  4. .../reference/primitives.md — the per-target lowering table and expected notices.

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • Grep
    • Glob

    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 typescript).

    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

Test Component loads about 1.6k tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 338 words of instructions outside code blocks.

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

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, Grep, Glob

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 338 words (~1,626 tokens).

“Tests are colocated as .ink.test.ts (Vitest), next to the source they cover: the headless test in headless/, the styled test in styled/. They run the real compiler in-memory via @inkline/test-utils and assert across all 7 targets, plus real-DOM behavior on…”

— opening of SKILL.md by inkline
name
test-component
allowed-tools
Read, Write, Edit, Bash, Grep, Glob
triggers
test a component, add tests for the component, write component tests

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/test-component of inkline/inkline.

Open the folder on GitHubat commit f4da55a

Compare with similar skills

Test 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.

Test Component compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Test Component this skillinkline/inkline1.5k—~1.6kAutomated safety check: NotesNone
Boneyard0xGF/boneyard7.5k—~2.2kAutomated safety check: NotesMIT
Feature SyncNG-ZORRO/ng-zorro-antd9.2k—~840Automated safety check: PassMIT
Winui AppLanceMcCarthy/DevOpsExamples1721 repos~2.8kAutomated safety check: PassApache-2.0
Markstream Custom ComponentsSimon-He95/markstream-vue3k—~955Automated safety check: PassMIT
Screenmapaleqsio/screenmap242—~7.2kAutomated safety check: PassMIT

Similar skills

  • Boneyard

    0xGF/boneyard

    Use boneyard-js to add, configure, debug, or rebuild skeleton screens.

    7.5k GitHub stars~2.2k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check: notes
  • Feature Sync

    NG-ZORRO/ng-zorro-antd

    Sync an Ant Design React component or feature into NG-ZORRO.

    9.2k GitHub stars~840 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Winui App

    LanceMcCarthy/DevOpsExamples

    Bootstrap, develop, and design modern WinUI 3 desktop applications with C and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and…

    172 GitHub starsUsed in 1 repo~2.8k tokens
    DevOps & CloudAuto-check passed
  • Markstream Custom Components

    Simon-He95/markstream-vue

    Override built-in Markstream node renderers and add trusted custom tags across Vue, React, Svelte, and Angular.

    3k GitHub stars~955 tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Screenmap

    aleqsio/screenmap

    Generate a visual navigation map of an Expo / React Native or NativeScript app.

    242 GitHub stars~7.2k tokensUpdated 3 days ago
    MobileAuto-check passed
  • Markstream Install

    Simon-He95/markstream-vue

    Install and wire markstream-vue, markstream-react, markstream-vue2, markstream-angular, or markstream-svelte into an existing repository.

    3k GitHub stars~2.2k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed

More from inkline/inkline

All 23 skills in this repo
  • Adversarial QA

    inkline/inkline

    Repro-first QA for Inkline — minimal .ink.tsx reproductions, the visual-parity and cross-target harnesses, fuzz targets, and how to audit teammates' claims.

    1.5k GitHub stars~1.2k tokensUpdated 26 days ago
    Auto-check passed
  • Benchmark Protocol

    inkline/inkline

    How Inkline measures itself — compile performance, output size and quality vs hand-written components and Mitosis, fairness rules, and reporting format.

    1.5k GitHub stars~955 tokensUpdated 26 days ago
    Auto-check passed
  • The Inkline compiler's end-to-end pipeline — parse → IR → analyze → per-target codegen → print — including the IR contracts, reactivity tracking, target rewrite rules, plugin hooks, the two compile…

    1.5k GitHub stars~1.9k tokensUpdated 26 days ago
    Auto-check passed
  • Component Catalog

    inkline/inkline

    How Inkline components are built and kept consistent — the headless/styled split, family anatomy, prop/axis conventions, recipe consumption, the current 5-family catalog and its gap list.

    1.5k GitHub stars~1.4k tokensUpdated 26 days ago
    Auto-check passed
  • Create PR

    inkline/inkline

    Author a pull request in the Guild's standard shape — a fixed Summary / Changes / Verification / Notes skeleton that mirrors the review-gate, plus the hard anti-leak rule that no agent @mention or…

    1.5k GitHub stars~1.7k tokensUpdated 26 days ago
    Auto-check passed
  • How design tokens and recipes flow from styleframe into Inkline — the presets, the two faces of virtual:styleframe, recipe class contracts, theming, and the rules for custom CSS in components.

    1.5k GitHub stars~1.2k tokensUpdated 26 days ago
    Auto-check passed

Works with

Questions about Test Component

What does Test Component do?

Phase 4 of building an Inkline component — write colocated cross-target tests. Test Component is an agent skill from inkline/inkline. Phase 4 of building an Inkline component — write colocated cross-target tests.

When should I use Test Component?

Test Component fits situations like: strengthening a components tests.

How do I install Test Component in Claude Code?

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

How do I install Test Component in Codex?

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

Can I use Test 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 inkline/inkline --skill test-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/test-component, .gemini/skills/test-component, .github/skills/test-component and .opencode/skills/test-component in your project.

What does Test Component need to run?

SKILL.md names no scripts, command-line tools or credentials: Test Component is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Grep, Glob.

Does Test 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 Test Component safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Test Component use?

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

How many tokens does Test Component use?

About 1.6k tokens (SKILL.md is roughly 6.5k 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 Test Component?

Skills that share tags, products or a category with Test Component: Boneyard (0xGF/boneyard, 7.5k stars), Feature Sync (NG-ZORRO/ng-zorro-antd, 9.2k stars), Winui App (LanceMcCarthy/DevOpsExamples, 172 stars) and Markstream Custom Components (Simon-He95/markstream-vue, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Test Component?

inkline (a GitHub organization) maintains it in inkline/inkline, which has 1,469 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on September 11, 2026.

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