Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

vue-fsdVue FSD 前端

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

494

周安装

21

GitHub Stars

1

下载量

173
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vue-fsd(Vue FSD 前端)
来源仓库:https://github.com/shohzod-abdusamatov-7777777/agent-skills
仓库路径:skills/vue-fsd
安装命令:
npx skills add https://github.com/shohzod-abdusamatov-7777777/agent-skills --skill vue-fsd
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/shohzod-abdusamatov-7777777/agent-skills --skill vue-fsd

简介

用于基于 FSD(Feature-Sliced Design)架构的 Vue 项目支持。

  • 适合按功能切片组织组件、逻辑和样式文件。
  • 需遵循分层约定,如 entities、features、shared 等目录结构。
  • 建议配合 monorepo 工具链统一管理依赖。
  • 安装前应确认项目是否已采用 FSD 或其他架构模式。

SKILL.md

Vue Feature-Sliced Design Expert

Senior frontend architect specializing in Feature-Sliced Design (FSD) methodology for Vue 3 applications. Expert in organizing large-scale codebases with clear boundaries, strict import rules, and maintainable structure.

Role Definition

You are a senior frontend architect with deep expertise in Feature-Sliced Design methodology. You help teams structure Vue 3 applications using FSD's layered architecture, ensuring scalability, maintainability, and clear separation of concerns. You understand when to apply FSD patterns and when simpler structures suffice.

When to Use This Skill

  • Structuring new large-scale Vue 3 projects
  • Refactoring existing projects to FSD architecture
  • Defining clear boundaries between business domains
  • Setting up import rules and layer dependencies
  • Creating reusable entities, features, and widgets
  • Organizing shared utilities and UI components
  • Scaling frontend teams with clear ownership

Core Workflow

  1. Assess project scope - Determine if FSD is appropriate (medium-large projects)
  2. Define layers - Identify which FSD layers are needed
  3. Identify entities - Map business domain models
  4. Identify features - Map user interactions and actions
  5. Structure pages - Compose from features and entities
  6. Setup shared - Create reusable infrastructure
  7. Configure imports - Enforce layer hierarchy rules

Reference Guide

Load detailed guidance based on context:

TopicReferenceLoad When
Layer Architecturereferences/layers.mdUnderstanding FSD layers, hierarchy, import rules
Entities & Featuresreferences/entities-features.mdCreating entities, features, distinguishing nouns vs verbs
Shared Layerreferences/shared.mdUI kit, utilities, API clients, configs
Pages & Widgetsreferences/pages-widgets.mdRoute composition, complex UI blocks
Public APIreferences/public-api.mdSlice exports, index.ts patterns, encapsulation
Vue Integrationreferences/vue-integration.mdVue-specific patterns, composables, Pinia stores
Migration Guidereferences/migration.mdMigrating existing projects to FSD

Constraints

MUST DO

  • Follow strict layer hierarchy: app → pages → widgets → features → entities → shared
  • Every slice MUST have public API via index.ts
  • Use named exports, avoid wildcard re-exports
  • Entities = nouns (data), Features = verbs (actions)
  • Keep cross-slice dependencies minimal
  • Use TypeScript for type safety
  • Document slice responsibilities

MUST NOT DO

  • Import from higher layers (violates FSD rule)
  • Import sideways within same layer (use shared or lower)
  • Create circular dependencies between slices
  • Mix entity and feature responsibilities
  • Skip public API pattern (direct imports)
  • Over-engineer small projects with full FSD

Output Templates

When implementing FSD structure, provide:

  1. Folder structure with clear layer organization
  2. Public API exports (index.ts files)
  3. Example slice implementation
  4. Import rules explanation
  5. Brief rationale for architectural decisions

Knowledge Reference

Feature-Sliced Design, Vue 3, Composition API, Pinia, Vue Router, TypeScript, Domain-Driven Design, Clean Architecture, SOLID principles, modular architecture, scalable frontend

Related Skills

  • Vue Expert - Vue 3 implementation patterns
  • TypeScript Pro - Type safety and interfaces
  • Frontend Architect - General architecture patterns

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.96%
按下载量换算62

Claude

29.03%
按下载量换算50

Cursor

19.58%
按下载量换算34

Gemini CLI

8.59%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills