Agent skill

Check

by alamenai in alamenai/terrae

Verify all outputs exist after creating a new component and fix any issues

MITAuto-check passedDevelopment

Install Check

skills CLI
$ npx skills add alamenai/terrae --skill check -a claude-code

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

GitHub CLI
$ gh skill install alamenai/terrae check --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/alamenai/terrae.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/check .claude/skills/check && 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
check
GitHub stars
244
Token cost
~1.1k tokens
SKILL.md length
473 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Verify all outputs exist after creating a new component and fix any issues

  • Works in 4 steps: Work through issues in check order (1–8) → Apply the minimal change needed for each… → After all fixes, re-run the checks to… → …
  • Development work in your project
  • SKILL.md covers Instructions, Output Format and Fix Phase
  • Reaches terrae.dev; needs NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN

What it does

Check is an agent skill from alamenai/terrae. Verify all outputs exist after creating a new component and fix any issues

Its SKILL.md is about 1.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 Development. It works with Mapbox and React. The repository describes itself as: Composable and animated components that replace imperative layers with simple props. The perfect companion for shadcn/ui. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/check”

Requirements

  • A credential in NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN

Workflow steps

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

  1. Work through issues in check order (1–8)
  2. Apply the minimal change needed for each issue
  3. After all fixes, re-run the checks to confirm everything passes
  4. Present the updated checklist table showing all checks as pass

What it can do on your machine

Read from SKILL.md and the folder at commit ea9a480. 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.

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • terrae.dev

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

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN

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

Context cost

Check loads about 1.1k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 473 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~1.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 alamenai/terrae at commit ea9a480, republished under its MIT licence (© alamenai). 473 words, ~1,137 tokens.

Download SKILL.mdSave it as .claude/skills/check/SKILL.md (or your agent's skills folder).
name
check
description
Verify all outputs exist after creating a new component and fix any issues
argument-hint
component-name

Check Component Skill

Verify that all 8 required outputs exist and are wired correctly after creating a new component.

Instructions

Given a component name (e.g., cyclone, MapCyclone), normalize it to its kebab-case slug (e.g., cyclone) and run through every check below.

Check 1: Component Source File
  • File exists: src/registry/map/{slug}.tsx
  • Has "use client" directive (if it uses hooks, event handlers, or browser APIs)
  • Exports a named component (e.g., MapCyclone)
  • Uses type not interface for type definitions
  • Uses arrow functions with explicit returns
  • Default values use SCREAMING_SNAKE_CASE constants above the component
  • Required props come before optional props in the type definition
  • Cleanup in useEffect return functions (removes layers, sources, markers, event listeners)
Check 2: Barrel Export
  • src/registry/map/index.tsx has an export line for the component
  • If the component exposes a control hook, it is also exported (e.g., useCycloneControl)
Check 3: Registry Entry
  • registry.json has an entry in items with:
    • name in kebab-case (e.g., cyclone)
    • registryDependencies includes "https://www.terrae.dev/map.json"
    • files[0].path matches the source file path
    • files[0].target follows components/ui/map/{slug}.tsx
Check 4: Example Files
  • At least one example exists: src/app/docs/_components/examples/{slug}-example.tsx
  • Examples import from @/registry/map
  • Examples wrap the map in <div className="h-full w-full">
  • Examples use process.env.NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN || "" as access token
  • Examples that use hooks or event handlers have "use client"
Check 5: Documentation Page
  • File exists: src/app/docs/{slug}/page.tsx
  • Exports metadata with a title
  • Uses DocsLayout with title, description, prev, and next
  • First section is "Installation" with two CodeBlocks (base map + component)
  • Basic ComponentPreview appears directly after Installation
  • Every example rendered on the page has a matching getExampleSource call
  • If the component has configurable props, a properties Table section exists
  • All documented props match the actual component props (no missing, no extra)
Show full SKILL.md (202 more words)Show less
Check 6: Sidebar Navigation
  • src/app/docs/_components/docs-sidebar.tsx has a NavItem for the component
  • The href matches /docs/{slug}
  • Has badge: "new"
  • Placed in the correct section ("Core" or "Features")
  • The Lucide icon is imported
Check 7: Components Page
  • src/app/docs/components/page.tsx has a ComponentItem entry
  • The href matches /docs/{slug}
  • Has isNew: true
  • category matches the sidebar section
  • installCommand URL matches https://www.terrae.dev/{registry-name}.json
  • The Lucide icon is imported
Check 8: Changelog
  • src/app/docs/changelog/page.tsx has an entry in the most recent ChangelogEntry
  • Entry has title, description (with <code> tag for component name), and href
  • href matches /docs/{slug}

Output Format

Present results as a checklist table:

| #   | Output             | Status | Notes                   |
| --- | ------------------ | ------ | ----------------------- |
| 1   | Component source   | pass   |                         |
| 2   | Barrel export      | pass   |                         |
| 3   | Registry entry     | fail   | Missing target path     |
| 4   | Examples           | pass   | 3 examples found        |
| 5   | Documentation page | warn   | Missing props: `scale`  |
| 6   | Sidebar navigation | pass   |                         |
| 7   | Components page    | pass   |                         |
| 8   | Changelog          | pass   |                         |
  • pass: Everything correct
  • warn: Works but has minor issues (e.g., missing optional prop in docs table)
  • fail: Missing or broken, needs fixing

After the table, list specific issues with file paths and line numbers.

Fix Phase

If any checks have fail or warn status, fix them automatically:

  1. Work through issues in check order (1–8)
  2. Apply the minimal change needed for each issue
  3. After all fixes, re-run the checks to confirm everything passes
  4. Present the updated checklist table showing all checks as pass

If a fix requires a decision (e.g., which sidebar section to place the component in), ask the user before proceeding.

© alamenai, 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/check of alamenai/terrae.

Open the folder on GitHubat commit ea9a480

Compare with similar skills

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

Check compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Check this skillalamenai/terrae244—~1.1kAutomated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Electron Multi-Process ArchitectureiOfficeAI/AionUi33k1 repos~1.8kAutomated safety check: PassApache-2.0
Nx Generatenomcopter/react-mosaic4.8k7 repos~1.9kAutomated safety check: PassCustom licence
@pierre/diffs Code Renderingpierrecomputer/pierre6.3k2 repos~803Automated safety check: PassApache-2.0
OpenTUI Terminal Interfacescline/cline70k—~1.9kAutomated safety check: PassApache-2.0

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Tells the agent where new code belongs in an Electron multi-process project and which APIs each process may use, with rules for new bridges, services, agents and workers.

    33k GitHub starsUsed in 1 repo~1.8k tokens
    DevelopmentAuto-check passed
  • Nx Generate

    nomcopter/react-mosaic

    Generate code using nx generators. An agent skill from nomcopter/react-mosaic.

    4.8k GitHub starsUsed in 7 repos~1.9k tokens
    DevelopmentAuto-check passed
  • @pierre/diffs Code Rendering

    pierrecomputer/pierre

    Guides an agent through using @pierre/diffs to render syntax-highlighted files and diffs, and to build editing and review surfaces in React or plain JavaScript.

    6.3k GitHub starsUsed in 2 repos~803 tokens
    DevelopmentAuto-check passed
  • Helps build terminal user interfaces with OpenTUI using its core imperative API or its React and Solid reconcilers, with references for layout, keyboard, animation and testing.

    70k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Claude Code Skill

    codeaashu/claude-code

    Development conventions and architecture guide for the Claude Code CLI repository.

    3.4k GitHub starsUsed in 1 repo~2.7k tokens
    DevelopmentAuto-check passed

More from alamenai/terrae

All 11 skills in this repo
  • Docs

    alamenai/terrae

    Generate or update documentation for Terrae components. An agent skill from alamenai/terrae.

    244 GitHub stars~576 tokensUpdated 6 mo ago
    Auto-check passed
  • Fix

    alamenai/terrae

    Systematically fix issues found by /review or reported by the user

    244 GitHub stars~775 tokensUpdated 6 mo ago
    Auto-check passed
  • New

    alamenai/terrae

    End-to-end workflow for building a new Terrae component from scratch

    244 GitHub stars~2.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Perf

    alamenai/terrae

    Audit component performance and identify optimization opportunities with actionable fixes

    244 GitHub stars~678 tokensUpdated 6 mo ago
    Auto-check passed
  • PR

    alamenai/terrae

    Commit, push, and open a pull request on GitHub. An agent skill from alamenai/terrae.

    244 GitHub stars~767 tokensUpdated 6 mo ago
    Auto-check: notes
  • Commit

    alamenai/terrae

    Create standardized git commits following Terrae's conventions

    244 GitHub stars~568 tokensUpdated 6 mo ago
    Auto-check: notes

Works with

Categories

Questions about Check

What does Check do?

Verify all outputs exist after creating a new component and fix any issues. Check is an agent skill from alamenai/terrae.

When should I use Check?

Check fits situations like: development work in your project.

How do I install Check in Claude Code?

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

How do I install Check in Codex?

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

Can I use Check 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 alamenai/terrae --skill check -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/check, .gemini/skills/check, .github/skills/check and .opencode/skills/check in your project.

What does Check need to run?

Going by SKILL.md and its folder, Check needs credentials named NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN. Our summary lists: A credential in NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN.

Does Check access the network?

SKILL.md names 1 domain. In commands or code: terrae.dev; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Check 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 Check use?

Check 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 Check use?

About 1.1k tokens (SKILL.md is roughly 4.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 Check?

Skills that share tags, products or a category with Check: Vercel Composition Patterns (supabase/supabase, 111k stars), Electron Multi-Process Architecture (iOfficeAI/AionUi, 33k stars), Nx Generate (nomcopter/react-mosaic, 4.8k stars) and @pierre/diffs Code Rendering (pierrecomputer/pierre, 6.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Check?

alamenai (a GitHub user) maintains it in alamenai/terrae, which has 244 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on April 6, 2026.

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