Agent skill

Fa Slot Creator

by fantastic-admin in fantastic-admin/basic

在 Fantastic-admin 框架中创建插槽,向布局的任意位置注入自定义内容。当用户提到以下任何需求时必须使用此技能:在头部/侧边栏/工具栏/标签栏加东西、logo 旁边加内容、侧边栏底部加用户信息、加个悬浮按钮、在导航菜单右侧加自定义组件、想在框架布局某个区域插入内容、在页面顶部或底部插入全局横幅/公告/版权栏。即使用户只是说"在顶部加个…

MITAuto-check passedFrontend & Design

Install Fa Slot Creator

skills CLI
$ npx skills add fantastic-admin/basic --skill fa-slot-creator -a claude-code

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

GitHub CLI
$ gh skill install fantastic-admin/basic fa-slot-creator --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/fantastic-admin/basic.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/fa-slot-creator .claude/skills/fa-slot-creator && 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
fa-slot-creator
GitHub stars
3.4k
Token cost
~565 tokens
SKILL.md length
81 words
Files
2 (incl. references)
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

在 Fantastic-admin 框架中创建插槽,向布局的任意位置注入自定义内容。当用户提到以下任何需求时必须使用此技能:在头部/侧边栏/工具栏/标签栏加东西、logo 旁边加内容、侧边栏底部加用户信息、加个悬浮按钮、在导航菜单右侧加自定义组件、想在框架布局某个区域插入内容、在页面顶部或底部插入全局横幅/公告/版权栏。即使用户只是说"在顶部加个…

  • Works in 3 steps: 执行 ls apps/ 列出所有可用应用 → 立即向用户提问,明确询问要在哪个应用中创建插槽,并停止等待回复 → 收到用户明确回复后,才能继续后续步骤
  • Frontend & Design work in your project
  • SKILL.md covers 第一步:确认工作区(必须阻塞等待用户回复), 创建插槽(手动步骤), 可用插槽位置 and 选择指南, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Fa Slot Creator is an agent skill from fantastic-admin/basic. 在 Fantastic-admin 框架中创建插槽,向布局的任意位置注入自定义内容。当用户提到以下任何需求时必须使用此技能:在头部/侧边栏/工具栏/标签栏加东西、logo 旁边加内容、侧边栏底部加用户信息、加个悬浮按钮、在导航菜单右侧加自定义组件、想在框架布局某个区域插入内容、在页面顶部或底部插入全局横幅/公告/版权栏。即使用户只是说"在顶部加个 XX"或"侧边栏加点东西",也应触发此技能。支持 19 个插槽位置。

Its SKILL.md is about 570 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/slot-positions.md`).

It sits in Frontend & Design. It works with Vue.js and shadcn/ui. The repository describes itself as: ⭐⭐⭐⭐⭐ 面向 AI 编程的管理系统框架,兼容PC、移动端。AI-oriented management system framework, compatible with PC and mobile device. The licence is MIT.

When your agent uses it

  • Frontend & Design work in your project

Example prompts

  • “在顶部加个 XX”
  • “侧边栏加点东西”
  • “/fa-slot-creator”

Workflow steps

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

  1. 执行 ls apps/ 列出所有可用应用
  2. 立即向用户提问,明确询问要在哪个应用中创建插槽,并停止等待回复
  3. 收到用户明确回复后,才能继续后续步骤

What it can do on your machine

Read from SKILL.md and the folder at commit 1b5961e. 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 (its code samples are vue).

    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

Fa Slot Creator loads about 565 tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 56 tokens; SKILL.md has 81 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~565
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2k

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 fantastic-admin/basic at commit 1b5961e, republished under its MIT licence (© fantastic-admin). 81 words, ~565 tokens.

Download SKILL.mdSave it as .claude/skills/fa-slot-creator/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
fa-slot-creator
description
在 Fantastic-admin 框架中创建插槽,向布局的任意位置注入自定义内容。当用户提到以下任何需求时必须使用此技能:在头部/侧边栏/工具栏/标签栏加东西、logo 旁边加内容、侧边栏底部加用户信息、加个悬浮按钮、在导航菜单右侧加自定义组件、想在框架布局某个区域插入内容、在页面顶部或底部插入全局横幅/公告/版权栏。即使用户只是说"在顶部加个 XX"或"侧边栏加点东西",也应触发此技能。支持 19 个插槽位置。

Fantastic-admin 插槽创建器

框架通过约定自动发现插槽:目录名必须与插槽名完全匹配(区分大小写),文件名固定为 index.vue。不符合约定的文件不会被加载,这是框架的自动发现机制决定的。

第一步:确认工作区(必须阻塞等待用户回复)

本项目是 monorepo 架构,apps/ 目录下存放各应用。在执行任何文件读写操作之前,必须先确认目标应用:

  1. 执行 ls apps/ 列出所有可用应用
  2. 立即向用户提问,明确询问要在哪个应用中创建插槽,并停止等待回复
  3. 收到用户明确回复后,才能继续后续步骤

严格规则:如果用户没有在请求中明确说明目标应用(例如"在 example 应用中"、"apps/core"),则必须提问,不得自行猜测或默认选择任何应用。

确认后,后续所有文件路径均以该应用目录为根,例如 apps/<app>/src/slots/。

创建插槽(手动步骤)

  1. 创建目录:apps/<app>/src/slots/{插槽名称}/
  2. 在该目录下创建 index.vue 文件,内容参考下方模板
普通插槽模板
vue
<script setup lang="ts">
// 在此添加插槽逻辑
</script>

<template>
  <div>
    <!-- 在此添加插槽内容 -->
  </div>
</template>

<style scoped>
/* 在此添加插槽样式 */
</style>
FreePosition 插槽模板
vue
<script setup lang="ts">
// 在此添加插槽逻辑
</script>

<template>
  <div class="free-position-slot">
    <!-- 在此添加插槽内容 -->
    <!-- 注意:此插槽需要绝对定位 -->
  </div>
</template>

<style scoped>
.free-position-slot {
  position: absolute;
  /* 在此设置定位坐标,例如: */
  /* bottom: 20px; */
  /* right: 20px; */
  /* z-index: 1000; */
}
</style>

可用插槽位置

区域插槽名称
布局LayoutTop、LayoutBottom
头部HeaderStart、HeaderAfterLogo、HeaderAfterMenu、HeaderEnd
主侧边栏MainSidebarTop、MainSidebarAfterLogo、MainSidebarAfterMenu、MainSidebarBottom
子侧边栏SubSidebarTop、SubSidebarAfterLogo、SubSidebarAfterMenu、SubSidebarBottom
标签栏TabbarStart、TabbarEnd
工具栏ToolbarStart、ToolbarEnd
自由定位FreePosition

选择指南

  • 全局顶部横幅/公告(覆盖整个布局最上方) → LayoutTop
  • 全局底部栏/版权声明(覆盖整个布局最下方) → LayoutBottom
  • 全局导航元素 → HeaderStart / HeaderEnd
  • 侧边栏用户信息/品牌内容 → MainSidebarTop / MainSidebarAfterLogo
  • 工具栏自定义操作 → ToolbarStart / ToolbarEnd
  • 悬浮元素(需要绝对定位) → FreePosition

LayoutTop / LayoutBottom 位于整个布局的最外层,内容会横跨全宽,适合全局公告横幅、版权栏等需要独占一行的场景。

FreePosition 特殊说明

FreePosition 插槽需要在样式中手动设置定位,否则内容不可见(模板见上方"FreePosition 插槽模板")。

故障排除

插槽未显示?检查:

  • 目录名是否与插槽名完全匹配(区分大小写)
  • 文件名是否为 index.vue
  • apps/<app>/src/slots/ 目录是否存在

© fantastic-admin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/fa-slot-creator of fantastic-admin/basic.

  • SKILL.md
  • references/slot-positions.md

Open the folder on GitHubat commit 1b5961e

Compare with similar skills

Fa Slot Creator 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.

Fa Slot Creator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fa Slot Creator this skillfantastic-admin/basic3.4k—~565Automated safety check: PassMIT
UithingBayBreezy/ui-thing729—~1.3kAutomated safety check: PassCustom licence
Tailwind To Stylexshadcn-labs/shadcn-cssinjs124—~2.7kAutomated safety check: PassMIT
UI UX Pro MaxOhh-889/skyroc79526 repos~3.6kAutomated safety check: NotesMIT
Atlaspacifio/ui154—~2.5kAutomated safety check: PassMIT
Shadcn Vuehirotaka/pragmatic-nuxt170—~3.9kAutomated safety check: PassMIT

Similar skills

  • Uithing

    BayBreezy/ui-thing

    Manages UI Thing components, prose, blocks, themes, shortcuts, docs, and MCP-driven workflows in Nuxt projects and in the UI Thing source repo.

    729 GitHub stars~1.3k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Tailwind To Stylex

    shadcn-labs/shadcn-cssinjs

    Migrate TailwindCSS to StyleX. An agent skill from shadcn-labs/shadcn-cssinjs.

    124 GitHub stars~2.7k tokensUpdated 29 days ago
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    Ohh-889/skyroc

    UI/UX design intelligence. An agent skill from Ohh-889/skyroc.

    795 GitHub starsUsed in 26 repos~3.6k tokens
    Frontend & DesignAuto-check: notes
  • Atlas

    pacifio/ui

    Atlas — a design language and UI guide system for agent interfaces.

    154 GitHub stars~2.5k tokensUpdated 5 mo ago
    Frontend & DesignAuto-check passed
  • Shadcn Vue

    hirotaka/pragmatic-nuxt

    Manages shadcn-vue components and projects — adding, searching, fixing, debugging, styling, and composing UI.

    170 GitHub stars~3.9k tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • Shadcn Vue Skilld

    skilld-dev/vue-ecosystem-skills

    A skill your agent uses when adding, configuring, or debugging shadcn-vue in a Vue or Nuxt project.

    181 GitHub stars~1.2k tokensUpdated 18 days ago
    Frontend & DesignAuto-check passed

More from fantastic-admin/basic

All 9 skills in this repo
  • Fa Route Generator

    fantastic-admin/basic

    管理 Vue Router 路由配置,用于 Fantastic-admin 框架。当用户提到以下任何需求时必须使用此技能:新建页面需要加路由、详情页不想显示在菜单里、新增页和编辑页老是开两个标签、从列表跳详情返回后状态丢失、给菜单项加 NEW 标签或红点、路由需要权限控制、配置页面保活、修改路由 meta、添加面包屑配置。即使用户只是说"加个路由"或"新建了一个页面",也应触发此技能。

    3.4k GitHub stars~565 tokensUpdated 11 days ago
    Auto-check passed
  • Fa Theme Customizer

    fantastic-admin/basic

    为 Fantastic-admin 框架创建和定制主题配色方案,始终同时生成明色(light)和暗色(dark)两套主题。当用户提到以下任何需求时必须使用此技能:换主题颜色、换配色、做一个 XX 风格的主题、主题太单调了、品牌色是 XXX 帮我生成主题、把 tweakcn…

    3.4k GitHub stars~1.3k tokensUpdated 11 days ago
    Auto-check passed
  • Fa Feedback

    fantastic-admin/basic

    当用户在使用 fa- 系列技能(如 fa-framework-settings、fa-slot-creator、fa-form-builder、fa-route-generator、fa-store-generator、fa-page-optimizer、fa-theme-customizer 等)时,在同一个目标上经历了 3…

    3.4k GitHub stars~610 tokensUpdated 11 days ago
    Auto-check passed
  • Fa Page Optimizer

    fantastic-admin/basic

    优化 Vue 页面,用 Fantastic-admin 框架内建组件(packages/components/)替换自定义实现和原生 HTML。当用户说:'帮我优化这个页面'、'把这些原生 HTML 换成框架组件'、'用 FaCard/FaModal/FaButton 重构一下'、'这个页面太乱了'、'统一一下 UI…

    3.4k GitHub stars~431 tokensUpdated 11 days ago
    Auto-check passed
  • Fa Crud Page Generator

    fantastic-admin/basic

    为 Fantastic-admin 框架生成完整的 CRUD 业务模块,遵循框架标准模块结构和内建 Fa 组件体系,使用 FaForm/FaFormItem 生成新增/编辑表单,产出列表页、详情/编辑页、DetailForm 表单组件、API 模块、fake mock 数据、可选路由。用户说:'帮我做一个商品管理页面'、'搭一个用户列表,能搜索分页新增编辑删除'、'生成订单模块'、'新建 XX…

    3.4k GitHub stars~1.1k tokensUpdated 11 days ago
    Auto-check passed
  • Fa Form Builder

    fantastic-admin/basic

    为 Fantastic-admin 框架生成独立的表单页面,使用 FaForm/FaFormItem + vee-validate + zod 验证,表单 model 使用 ref,全部使用框架内建 Fa 组件。当用户说:'帮我做一个用户信息填写页'、'我只需要一个提交表单,不需要列表'、'做个设置页面,有几个输入框和保存按钮'、'生成一个注册/编辑/配置表单页'、'只要表单页,不需要增删改查'…

    3.4k GitHub stars~670 tokensUpdated 11 days ago
    Auto-check passed

Works with

Questions about Fa Slot Creator

What does Fa Slot Creator do?

在 Fantastic-admin 框架中创建插槽,向布局的任意位置注入自定义内容。当用户提到以下任何需求时必须使用此技能:在头部/侧边栏/工具栏/标签栏加东西、logo 旁边加内容、侧边栏底部加用户信息、加个悬浮按钮、在导航菜单右侧加自定义组件、想在框架布局某个区域插入内容、在页面顶部或底部插入全局横幅/公告/版权栏。即使用户只是说"在顶部加个…. Fa Slot Creator is an agent skill from fantastic-admin/basic.

When should I use Fa Slot Creator?

Fa Slot Creator fits situations like: frontend & Design work in your project.

How do I install Fa Slot Creator in Claude Code?

Run `npx skills add fantastic-admin/basic --skill fa-slot-creator -a claude-code`. Or copy the skill folder (skills/fa-slot-creator in fantastic-admin/basic) into .claude/skills/fa-slot-creator in your project. Claude Code loads it when a task matches its description.

How do I install Fa Slot Creator in Codex?

Run `npx skills add fantastic-admin/basic --skill fa-slot-creator -a codex`. Or copy the skill folder (skills/fa-slot-creator in fantastic-admin/basic) into .agents/skills/fa-slot-creator in your project. Codex loads it when a task matches its description.

Can I use Fa Slot Creator 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 fantastic-admin/basic --skill fa-slot-creator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fa-slot-creator, .gemini/skills/fa-slot-creator, .github/skills/fa-slot-creator and .opencode/skills/fa-slot-creator in your project.

What does Fa Slot Creator need to run?

SKILL.md names no scripts, command-line tools or credentials: Fa Slot Creator is instructions for the agent only.

Does Fa Slot Creator 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 Fa Slot Creator 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 Fa Slot Creator use?

Fa Slot Creator 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 Fa Slot Creator use?

About 565 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Fa Slot Creator?

Skills that share tags, products or a category with Fa Slot Creator: Uithing (BayBreezy/ui-thing, 729 stars), Tailwind To Stylex (shadcn-labs/shadcn-cssinjs, 124 stars), UI UX Pro Max (Ohh-889/skyroc, 795 stars) and Atlas (pacifio/ui, 154 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fa Slot Creator?

fantastic-admin (a GitHub organization) maintains it in fantastic-admin/basic, which has 3,414 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 29, 2026.

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