eisland-dev-add-guide-step

Solid

创建 eIsland 引导配置窗口的新步骤页面。当用户要求在引导界面(Guide)中新增配置步骤、引导页面、引导分页时使用此 skill。 触发关键词:guide 步骤、引导页面、引导分页、Guide step、新建引导页、添加引导配置。 适用于 src/renderer/components/components/ 目录下的 Guide 模块。

Web & Frontend 221 stars 10 forks Updated today GPL-3.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
78
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Guide Step — 引导配置步骤创建 ## 概述 eIsland 引导配置窗口采用分步架构,每个步骤是一个独立模块,位于 `src/renderer/components/components/Guide/<stepName>/`。 ## 目录结构 每个步骤模块必须包含以下子目录(参考已有的 `language` 和 `smtc` 步骤): ``` Guide/<stepName>/ ├── index.ts # 公共导出(仅导出主组件) ├── components/<StepName>.tsx # 步骤组件 ├── config/<stepName>Config.ts # 常量配置 ├── hooks/use<StepName>.ts # 逻辑 Hook ├── types/index.ts # 类型定义(Props 等) └── utils/ # 工具函数(可为空占位) ``` ## 创建步骤 ### 1. 创建目录与文件 在 `src/renderer/components/components/Guide/<stepName>/` 下创建完整模块结构。 ### 2. 类型定义 (`types/index.ts`) 所有步骤组件必须接受 `StepProps`,包含 `onNext` 和 `onPrev` 回调: ```typescript export interface XxxStepProps { onNext: () => void; onPrev: () => void; } ``` ### 3. Hook (`hooks/useXxx.ts`) 将业务逻辑抽离到 Hook 中,组件只负责渲染。Hook 返回状态和操作函数。 ### 4. 组件 (`components/XxxStep.tsx`) 组件使用标准布局结构: ```tsx export function XxxStep({ onNext, onPrev }: XxxStepProps): ReactElement { const { t } = useTranslation(); return ( <div className="guide-step"> <div className="guide-step-header"> <h2>{t('guide.xxx.title')}</h2> <p>{t('guide.xxx.subtitle')}</p> </div> {/* 步骤内容区域 */} <div className="guide-xxx-content"> {/* ... */} </div> <div className="guide-step-footer"> <button className="guide-prev-btn" onClick={onPrev}> {t('guide.actions.prev')} </button> <button className="guide-next-btn" onClick={onNext}> {t('guide.a...

Details

Author
JNTMTMTM
Repository
JNTMTMTM/eIsland
Created
3 months ago
Last Updated
today
Language
TypeScript
License
GPL-3.0

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Solid

new-guide

Create or substantially revise user guides, pack pages, and journey pages using Diátaxis plus conversation-first UX. Use when asked to write, simplify, restructure, audit, or modernize tutorials, how-to guides, reference pages, explanations, pack pages, or journey pages so readers can start from a natural-language goal, see what to say, understand what happens next, and reach an outcome without learning internal skill names first. Do NOT use for feature contracts (use `new-spec`), cross-cutting proposals (use `new-rfc`), recording decisions (use `new-adr`), minor single-line edits (normal PR), contributor docs, docstrings, release notes, or blog posts.

14 Updated today
eugenelim
Web & Frontend Solid

frontend-dev-guidelines

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

400 Updated today
aiskillstore
Web & Frontend Listed

create-onboarding-guide

Generate a self-contained HTML onboarding tour of a repository — architecture diagram, directory map, key flow walkthroughs, and a recommended reading order — for new team members. Use when the user wants onboarding material, asks for a codebase overview/architecture tour, or wants to explain a repo to someone new.

1 Updated today
atman-33