Agent skill

Eisland Dev Add Empty Setting Subpage

by JNTMTMTM in JNTMTMTM/eIsland

Add a new empty subpage (tab) to an existing eIsland settings section with page navigation support.

GPL-3.0Auto-check passedFrontend & Design

Install Eisland Dev Add Empty Setting Subpage

skills CLI
$ npx skills add JNTMTMTM/eIsland --skill eisland-dev-add-empty-setting-subpage -a claude-code

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

GitHub CLI
$ gh skill install JNTMTMTM/eIsland eisland-dev-add-empty-setting-subpage --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/JNTMTMTM/eIsland.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/eisland-dev-add-empty-setting-subpage .claude/skills/eisland-dev-add-empty-setting-subpage && 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
eisland-dev-add-empty-setting-subpage
GitHub stars
320
Token cost
~2.3k tokens
SKILL.md length
336 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
GPL-3.0

At a glance

Add a new empty subpage (tab) to an existing eIsland settings section with page navigation support.

  • Works in 6 steps: Update settingsConfig.ts → Create PageDots Component → Modify the Settings Section → …
  • The user wants to add a new tab/page/subpage to any settings section in the eIsland project
  • SKILL.md covers When to Use, Prerequisites, Reference Pattern and Step-by-Step Workflow, plus 1 more section
  • Calls node and npx

What it does

Eisland Dev Add Empty Setting Subpage is an agent skill from JNTMTMTM/eIsland. Add a new empty subpage (tab) to an existing eIsland settings section with page navigation support. Use this skill whenever the user wants to add a new tab/page/subpage to any settings section in the eIsland project, including requests like "添加分页", "add a tab", "add subpage", "新建空白分页", "add empty page to settings", or when extending settings sections like AI, update, network, music, weather, mail, etc. with new page navigation. This skill handles the full workflow: type definitions, config constants, PageDots…

Its SKILL.md is about 2.3k 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 Frontend & Design, covering Internationalization, Translation and React components. The repository describes itself as: eIsland - A sleek, Apple Dynamic Island inspired floating widget for Windows, built with Electron. The licence is GPL-3.0.

When your agent uses it

  • The user wants to add a new tab/page/subpage to any settings section in the eIsland project
  • Including requests like 添加分页
  • Add empty page to settings
  • Extending settings sections like AI

Example prompts

  • “add a tab”
  • “add subpage”
  • “新建空白分页”
  • “/eisland-dev-add-empty-setting-subpage”

Requirements

  • Node.js

Workflow steps

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

  1. Update settingsConfig.ts
  2. Create PageDots Component
  3. Modify the Settings Section
  4. Update SettingsTab.tsx
  5. Add i18n Translations
  6. Verify

What it can do on your machine

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

    Shell commands in SKILL.md call:

    • node
    • npx

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

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    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

Eisland Dev Add Empty Setting Subpage loads about 2.3k tokens when it runs. Until then it costs about 159 tokens; SKILL.md has 336 words of instructions outside code blocks.

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

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 JNTMTMTM/eIsland at commit 075561e, republished under its GPL-3.0 licence (© JNTMTMTM). 336 words, ~2,348 tokens.

Download SKILL.mdSave it as .claude/skills/eisland-dev-add-empty-setting-subpage/SKILL.md (or your agent's skills folder).
name
eisland-dev-add-empty-setting-subpage
description
Add a new empty subpage (tab) to an existing eIsland settings section with page navigation support. Use this skill whenever the user wants to add a new tab/page/subpage to any settings section in the eIsland project, including requests like "添加分页", "add a tab", "add subpage", "新建空白分页", "add empty page to settings", or when extending settings sections like AI, update, network, music, weather, mail, etc. with new page navigation. This skill handles the full workflow: type definitions, config constants, PageDots component, section modifications, SettingsTab state wiring, and i18n translations.

eIsland: Add Empty Settings Subpage

This skill guides you through adding a new empty subpage (with page navigation) to an existing eIsland settings section.

When to Use

  • User asks to add a new tab/page/subpage to any settings section
  • User wants to extend a settings section with page navigation
  • User mentions "分页", "tab", "subpage" in context of settings

Prerequisites

Before starting, identify:

  1. Target settings section — which section to extend (e.g., update, ai, network, music, weather, mail)
  2. New page key — a kebab-case identifier (e.g., info-sync, data-center)
  3. New page label — display name in Chinese (e.g., 信息同步)

Reference Pattern

The canonical implementation pattern is the AI settings section (ai), which has pages: general, r1pxc, ollama.

Key reference files:

  • src/renderer/components/states/maxExpand/components/setting/utils/settingsConfig.ts — types & config
  • src/renderer/components/states/maxExpand/components/setting/components/ai/AiSettingsSection.tsx — section with pages
  • src/renderer/components/states/maxExpand/components/setting/components/ai/AiSettingsPageDots.tsx — page dots component
  • src/renderer/components/states/maxExpand/components/setting/components/SettingsPageNavigation.tsx — shared navigation

Step-by-Step Workflow

Step 1: Update settingsConfig.ts

File: src/renderer/components/states/maxExpand/components/setting/utils/settingsConfig.ts

1a. Add/extend the page key type:

typescript
// If the type already exists, add the new key to the union
export type XxxSettingsPageKey = 'existing-page' | 'new-page';
// If creating a new type, add it after similar types

1b. Update SettingsTabLabelKey union type to include the new page key:

typescript
export type SettingsTabLabelKey = SettingsSidebarTabKey | AppSettingsPageKey | AiSettingsPageKey | MusicNavCardKey | NewPageKey;

1c. Add labels in SETTINGS_TAB_LABELS:

typescript
'new-page': '新页面名称',

1d. Add descriptions in SETTINGS_TAB_DESCRIPTIONS:

typescript
'new-page': '新页面描述',

1e. Add pages array and labels record (after similar definitions):

typescript
export const XXX_SETTINGS_PAGES: XxxSettingsPageKey[] = ['existing-page', 'new-page'];
export const XXX_SETTINGS_PAGE_LABELS: Record<XxxSettingsPageKey, string> = {
  'existing-page': '已有页面',
  'new-page': '新页面',
};
Step 2: Create PageDots Component

Create: src/renderer/components/states/maxExpand/components/setting/components/<section>/<Section>SettingsPageDots.tsx

Follow the pattern from AiSettingsPageDots.tsx:

typescript
import type { ReactElement } from 'react';
import { useTranslation } from 'react-i18next';
import { SettingsPageNavigation } from '../SettingsPageNavigation';
import type { XxxSettingsPageKey } from '../../utils/settingsConfig';

export interface XxxSettingsPageDotsProps {
  xxxSettingsPage: XxxSettingsPageKey;
  expanded: boolean;
  xxxSettingsPages: XxxSettingsPageKey[];
  settingsTabLabels: Record<string, string>;
  setXxxSettingsPage: (page: XxxSettingsPageKey) => void;
}

export function XxxSettingsPageDots({
  xxxSettingsPage,
  expanded,
  xxxSettingsPages,
  settingsTabLabels,
  setXxxSettingsPage,
}: XxxSettingsPageDotsProps): ReactElement {
  const { t } = useTranslation();
  return (
    <SettingsPageNavigation
      activePage={xxxSettingsPage}
      expanded={expanded}
      pages={xxxSettingsPages}
      pageLabels={settingsTabLabels}
      navigationLabel={t('settings.xxx.pagination')}
      onSelectPage={setXxxSettingsPage}
    />
  );
}
Step 3: Modify the Settings Section

Modify: src/renderer/components/states/maxExpand/components/setting/components/<section>/<Section>SettingsSection.tsx

3a. Add imports:

typescript
import { useState, type ReactElement } from 'react';
import { XxxSettingsPageDots } from './XxxSettingsPageDots';
import { SettingsPageNavigationToggle } from '../SettingsPageNavigation';
import type { XxxSettingsPageKey } from '../../utils/settingsConfig';

3b. Add props to the interface:

typescript
currentXxxSettingsPageLabel: string;
xxxSettingsPage: XxxSettingsPageKey;
xxxSettingsPages: XxxSettingsPageKey[];
xxxSettingsPageLabels: Record<string, string>;
setXxxSettingsPage: (page: XxxSettingsPageKey) => void;

3c. Add state and page rendering in the component body:

typescript
const [pageNavigationExpanded, setPageNavigationExpanded] = useState(false);

// Wrap existing content in a page render function
const renderExistingPage = (): ReactElement => (
  <div className="settings-cards">
    {/* existing cards here */}
  </div>
);

// Add new empty page
const renderNewPage = (): ReactElement => (
  <div className="settings-cards">
    {/* empty - to be implemented */}
  </div>
);

const renderCurrentPage = (): ReactElement | null => {
  switch (xxxSettingsPage) {
    case 'existing-page':
      return renderExistingPage();
    case 'new-page':
      return renderNewPage();
    default:
      return null;
  }
};

3d. Update the JSX return to use page layout:

typescript
return (
  <div className="max-expand-settings-section">
    <div className="max-expand-settings-title settings-app-title-line">
      <span>{t('settings.labels.xxx', { defaultValue: 'XXX设置' })}</span>
      <span className="settings-app-title-sub">- {currentXxxSettingsPageLabel}</span>
      <SettingsPageNavigationToggle
        expanded={pageNavigationExpanded}
        label={t(pageNavigationExpanded ? 'settings.navigation.collapse' : 'settings.navigation.expand')}
        onToggle={() => setPageNavigationExpanded((current) => !current)}
      />
    </div>
    <div className="settings-app-pages-layout">
      <div className="settings-app-page-main">{renderCurrentPage()}</div>
      <XxxSettingsPageDots
        xxxSettingsPage={xxxSettingsPage}
        expanded={pageNavigationExpanded}
        xxxSettingsPages={xxxSettingsPages}
        settingsTabLabels={xxxSettingsPageLabels}
        setXxxSettingsPage={setXxxSettingsPage}
      />
    </div>
  </div>
);
Step 4: Update SettingsTab.tsx

File: src/renderer/components/states/maxExpand/components/SettingsTab.tsx

4a. Add imports for new constants and types:

typescript
import {
  // ... existing imports
  XXX_SETTINGS_PAGES,
  XXX_SETTINGS_PAGE_LABELS,
  type XxxSettingsPageKey,
} from './setting/utils/settingsConfig';

4b. Add state (near other page states ~line 228):

typescript
const [xxxSettingsPage, setXxxSettingsPage] = useState<XxxSettingsPageKey>('default-page');

4c. Add current page label (near other labels ~line 284):

typescript
const currentXxxSettingsPageLabel = t(`settings.xxxPages.${xxxSettingsPage}`, { defaultValue: XXX_SETTINGS_PAGE_LABELS[xxxSettingsPage] || '默认页面' });

4d. Add translated page labels (near other translated labels ~line 306):

typescript
const translatedXxxSettingsPageLabels = useMemo<Record<XxxSettingsPageKey, string>>(() => ({
  'existing-page': t('settings.xxxPages.existing-page', { defaultValue: XXX_SETTINGS_PAGE_LABELS['existing-page'] }),
  'new-page': t('settings.xxxPages.new-page', { defaultValue: XXX_SETTINGS_PAGE_LABELS['new-page'] }),
}), [t]);

4e. Pass new props to the section component:

typescript
<XxxSettingsSection
  // ... existing props
  currentXxxSettingsPageLabel={currentXxxSettingsPageLabel}
  xxxSettingsPage={xxxSettingsPage}
  xxxSettingsPages={XXX_SETTINGS_PAGES}
  xxxSettingsPageLabels={translatedXxxSettingsPageLabels}
  setXxxSettingsPage={setXxxSettingsPage}
/>
Step 5: Add i18n Translations

5a. i18n/zh-CN.json — add after networkPages:

json
"xxxPages": {
  "existing-page": "已有页面",
  "new-page": "新页面"
},

5b. i18n/en-US.json — add after networkPages:

json
"xxxPages": {
  "existing-page": "Existing Page",
  "new-page": "New Page"
},
Step 6: Verify

Run TypeScript type check:

bash
npx tsc --noEmit --skipLibCheck

Validate JSON:

bash
node -e "JSON.parse(require('fs').readFileSync('i18n/zh-CN.json', 'utf8')); console.log('OK')"
node -e "JSON.parse(require('fs').readFileSync('i18n/en-US.json', 'utf8')); console.log('OK')"

File Checklist

After completing all steps, verify these files were touched:

  • utils/settingsConfig.ts — type, labels, descriptions, pages array, labels record
  • components/<section>/<Section>SettingsPageDots.tsx — NEW file
  • components/<section>/<Section>SettingsSection.tsx — page rendering + navigation
  • components/SettingsTab.tsx — state, labels, props
  • i18n/zh-CN.json — page translations
  • i18n/en-US.json — page translations

© JNTMTMTM, GPL-3.0. 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 .agents/skills/eisland-dev-add-empty-setting-subpage of JNTMTMTM/eIsland.

Open the folder on GitHubat commit 075561e

Compare with similar skills

Eisland Dev Add Empty Setting Subpage 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.

Eisland Dev Add Empty Setting Subpage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Eisland Dev Add Empty Setting Subpage this skillJNTMTMTM/eIsland320—~2.3kAutomated safety check: PassGPL-3.0
Frontend DevelopmentOpenHands/OpenHands90k—~324Automated safety check: PassMIT
JSON UIactionbook/actionbook1.6k—~2.7kAutomated safety check: PassApache-2.0
Nekocap Forms I18nnopol10/nekocap105—~1.1kAutomated safety check: PassGPL-3.0
Kibana I18nelastic/kibana21k—~2.5kAutomated safety check: PassCustom licence
Chatbox i18n Translatorchatboxai/chatbox42k—~508Automated safety check: PassGPL-3.0

Similar skills

  • Frontend Development

    OpenHands/OpenHands

    This skill should be used when the user asks to "add UI copy", "add a translation", "optimize the frontend bundle", "change onboarding", "change conversation UI", "add a query key", "change MSW…

    90k GitHub stars~324 tokensUpdated today
    Frontend & DesignAuto-check passed
  • JSON UI

    actionbook/actionbook

    CRITICAL: Use for json-ui component rendering and development.

    1.6k GitHub stars~2.7k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • Nekocap Forms I18n

    nopol10/nekocap

    A skill your agent uses when building or modifying a form, binding inputs, adding validation, or adding/changing any user-facing string in the nekocap frontend.

    105 GitHub stars~1.1k tokensUpdated 6 days ago
    Frontend & DesignAuto-check passed
  • Kibana I18n

    elastic/kibana

    Official

    Add i18n to Kibana React components and server code using @kbn/i18n and @kbn/i18n-react.

    21k GitHub stars~2.5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Chatbox i18n Translator

    chatboxai/chatbox

    Translates new or changed i18n keys from a Chatbox Pro diff, staged changes or a commit range, writing the locale JSON files directly with a built-in glossary.

    42k GitHub stars~508 tokensUpdated 15 days ago
    Frontend & DesignAuto-check passed
  • Standards for keeping all user-facing text translatable: read the i18n config first, use namespaced keys, reuse shared strings and follow the key naming rules.

    33k GitHub starsUsed in 1 repo~1.9k tokens
    Frontend & DesignAuto-check passed

More from JNTMTMTM/eIsland

All 11 skills in this repo
  • Generate a release announcement markdown for eIsland. An agent skill from JNTMTMTM/eIsland.

    320 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Refactor a monolithic React component file into a standardized module structure with components/, hooks/, utils/, and config/ subdirectories.

    320 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Refactor a monolithic React component file into a standardized module structure with components/, hooks/, utils/, types/, and config/ subdirectories.

    320 GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • Eisland Dev Add SVG Icon

    JNTMTMTM/eIsland

    Add a new SVG icon to the project's icon enum system with matching test assertions.

    320 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Eisland Dev Git Commit

    JNTMTMTM/eIsland

    Analyze the current git status, review all staged and unstaged changes, and create a commit with a proper English commit message following conventional commit format.

    320 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Eisland Dev Update Docs

    JNTMTMTM/eIsland

    Update or create documentation in the eIsland VuePress docs site (web/eisland-web-docs).

    320 GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Questions about Eisland Dev Add Empty Setting Subpage

What does Eisland Dev Add Empty Setting Subpage do?

Add a new empty subpage (tab) to an existing eIsland settings section with page navigation support. Eisland Dev Add Empty Setting Subpage is an agent skill from JNTMTMTM/eIsland. Add a new empty subpage (tab) to an existing eIsland settings section with page navigation support.

When should I use Eisland Dev Add Empty Setting Subpage?

Eisland Dev Add Empty Setting Subpage fits situations like: the user wants to add a new tab/page/subpage to any settings section in the eIsland project; including requests like 添加分页; add empty page to settings; extending settings sections like AI.

How do I install Eisland Dev Add Empty Setting Subpage in Claude Code?

Run `npx skills add JNTMTMTM/eIsland --skill eisland-dev-add-empty-setting-subpage -a claude-code`. Or copy the skill folder (.agents/skills/eisland-dev-add-empty-setting-subpage in JNTMTMTM/eIsland) into .claude/skills/eisland-dev-add-empty-setting-subpage in your project. Claude Code loads it when a task matches its description.

How do I install Eisland Dev Add Empty Setting Subpage in Codex?

Run `npx skills add JNTMTMTM/eIsland --skill eisland-dev-add-empty-setting-subpage -a codex`. Or copy the skill folder (.agents/skills/eisland-dev-add-empty-setting-subpage in JNTMTMTM/eIsland) into .agents/skills/eisland-dev-add-empty-setting-subpage in your project. Codex loads it when a task matches its description.

Can I use Eisland Dev Add Empty Setting Subpage 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 JNTMTMTM/eIsland --skill eisland-dev-add-empty-setting-subpage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/eisland-dev-add-empty-setting-subpage, .gemini/skills/eisland-dev-add-empty-setting-subpage, .github/skills/eisland-dev-add-empty-setting-subpage and .opencode/skills/eisland-dev-add-empty-setting-subpage in your project.

What does Eisland Dev Add Empty Setting Subpage need to run?

Going by SKILL.md and its folder, Eisland Dev Add Empty Setting Subpage needs the command-line tools its instructions call (node and npx). Our summary lists: Node.js.

Does Eisland Dev Add Empty Setting Subpage access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Eisland Dev Add Empty Setting Subpage 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 Eisland Dev Add Empty Setting Subpage use?

Eisland Dev Add Empty Setting Subpage is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Eisland Dev Add Empty Setting Subpage use?

About 2.3k tokens (SKILL.md is roughly 9.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 Eisland Dev Add Empty Setting Subpage?

Skills that share tags, products or a category with Eisland Dev Add Empty Setting Subpage: Frontend Development (OpenHands/OpenHands, 90k stars), JSON UI (actionbook/actionbook, 1.6k stars), Nekocap Forms I18n (nopol10/nekocap, 105 stars) and Kibana I18n (elastic/kibana, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Eisland Dev Add Empty Setting Subpage?

JNTMTMTM (a GitHub user) maintains it in JNTMTMTM/eIsland, which has 320 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 9, 2026.

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