Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

firstrunfirstrun 搜索

Agent Skill

firstrun 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

306

周安装

13

GitHub Stars

151

下载量

107
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/redongreen/uspec --skill firstrun

简介

firstrun 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令安装,需确认权限范围和是否触发联网或文件操作。
  • 建议结合来源仓库和 README 核验具体用法,注意维护状态和风险边界。
  • 适用于快速调研与信息聚合场景。

SKILL.md

First Run

Set up uSpec for your environment. This skill asks which Figma MCP you're using, which platform you're on, deploys skills to the right directory, then extracts template component keys from your Figma library and writes the configuration.

Inputs Expected

This skill collects inputs interactively — do not require them up front.

Workflow

Copy this checklist and update as you progress:

Task Progress:
- [ ] Step 1: Select MCP provider
- [ ] Step 1b: Verify MCP connection
- [ ] Step 2: Select environment
- [ ] Step 3: Sync skills (if needed)
- [ ] Step 4: Get library link
- [ ] Step 5: Navigate to the library file / extract fileKey
- [ ] Step 6: Search for template components
- [ ] Step 7: Extract component keys
- [ ] Step 7b: Detect font family from template
- [ ] Step 8: Write config to uspecs.config.json
- [ ] Step 9: Display success message

Step 1: Select MCP Provider

Ask the user:

Which Figma MCP are you using? 1. Figma Console MCP (Southleft) — requires Desktop Bridge plugin 2. Figma MCP (Native) — official Figma MCP with write access

Wait for the user's answer before proceeding. Save the choice as MCP_PROVIDER (one of figma-console or figma-mcp).

Step 1b: Verify MCP Connection

Verify the selected MCP is connected before continuing — catching a broken connection early avoids wasting time on setup that will fail later.

If MCP_PROVIDER = figma-console:

  • Call figma_get_status — Confirm Desktop Bridge plugin is active

If connection fails:

Please open Figma Desktop and run the Desktop Bridge plugin. Then try again.

If MCP_PROVIDER = figma-mcp:

  • Make a lightweight use_figma call to verify connectivity:

- fileKey: any valid fileKey (you can use "test" — the call will fail with a clear error if the MCP itself is not connected, vs. a file-not-found error which confirms the MCP works) - code: return "ok"; - description: Verify MCP connection

If the MCP itself is not reachable (tool not found, server error):

The native Figma MCP is not responding. Please check your MCP configuration and ensure the Figma MCP server is running.

If the call returns a file-not-found error, that's fine — it means the MCP is connected. Proceed.

Step 2: Select Environment

Ask the user:

Which tool are you configuring uSpec for? 1. Cursor 2. Claude Code CLI 3. Codex CLI

Wait for the user's answer before proceeding. Save the choice as ENVIRONMENT (one of cursor, claude-code, codex).

Step 3: Sync Skills (if needed)

Based on the environment selected in Step 2:

  • Cursor — Skip this step. All skills are already in .cursor/skills/.
  • Claude Code CLI — Run the sync script to deploy skills: ./utils/sync-skills.sh --target claude
  • Codex CLI — Run the sync script to deploy skills: ./utils/sync-skills.sh --target codex

If the sync script fails, guide the user:

The skill sync failed. Make sure you're running from the uSpec project root and that utils/sync-skills.sh is executable (chmod +x utils/sync-skills.sh).

Step 4: Get Library Link

Ask the user:

Paste the link to your Figma template library file. Uber designers can skip this — type "skip" to use the internal library.

Wait for the user's answer. Save the URL as LIBRARY_URL.

If the user types "skip", use the pre-configured internal library URL (if one exists in uspecs.config.json). If no pre-configured URL exists, tell the user:

No internal library URL is configured. Please provide a Figma link to your template library.

For figma-mcp only: Extract FILE_KEY from the URL. Figma URLs follow the pattern figma.com/design/:fileKey/:fileName. For branch URLs (figma.com/design/:fileKey/branch/:branchKey/:fileName), use :branchKey as the FILE_KEY. Save this for all subsequent use_figma / search_design_system / get_screenshot calls.

Step 5: Navigate to the Library File

If MCP_PROVIDER = figma-console:

  • figma_navigate — Open the template library URL

If MCP_PROVIDER = figma-mcp:

  • No navigation call needed — use_figma takes fileKey directly. The FILE_KEY extracted in Step 4 is used for all subsequent calls. Optionally, verify the file is accessible:

- use_figma with fileKey = FILE_KEY, code = "return figma.root.children.map(p => p.name);", description = "List pages in template library"

Step 6: Search for Template Components

Required template names (case-insensitive search):

  1. "Screen reader"
  2. "Color Annotation"
  3. "Anatomy"
  4. "API"
  5. "Property"
  6. "Structure"
  7. "Motion"

If MCP_PROVIDER = figma-console:

  • figma_search_components with query for each template name

If MCP_PROVIDER = figma-mcp:

  • search_design_system with query for each template name, fileKey = FILE_KEY, and includeComponents: true

Step 7: Extract Component Keys

For each found component, extract its component key. The search results include the componentKey (Console MCP) or key (native MCP) field.

Build a mapping of template type to key:

  • screenReader: key from "Screen reader" component
  • colorAnnotation: key from "Color Annotation" component
  • anatomyOverview: key from "Anatomy" component
  • apiOverview: key from "API" component
  • propertyOverview: key from "Property" component
  • structureSpec: key from "Structure" component
  • motionSpec: key from "Motion" component

If any template is not found, report which ones are missing:

Could not find the following templates: [list]. Please ensure your library file contains components with these exact names.

Step 7b: Detect Font Family from Template

Using the node ID of one of the found template components (e.g., the Overview or API component):

If MCP_PROVIDER = figma-console:

  • Use figma_execute to run the font detection script below.

If MCP_PROVIDER = figma-mcp:

  • Use use_figma with fileKey = FILE_KEY, description = "Detect font family from template", and the same script below as code.
const node = await figma.getNodeByIdAsync('NODE_ID_FROM_STEP_6');
let _p = node; while (_p.parent && _p.parent.type !== 'DOCUMENT') _p = _p.parent;
if (_p.type === 'PAGE') await figma.setCurrentPageAsync(_p);
const textNode = node.findOne(n => n.type === 'TEXT');
if (textNode) {
  try {
    const fn = textNode.fontName;
    if (fn && fn !== figma.mixed && fn.family) return fn.family;
  } catch {}
}
return 'Inter';

Save the result as DETECTED_FONT_FAMILY. If the script returns an error or no text node is found, it defaults to Inter.

Step 8: Write Config to uspecs.config.json

Write the extracted keys, detected font family, MCP provider, and environment to uspecs.config.json at the project root. The file structure is:

{
  "mcpProvider": "MCP_PROVIDER",
  "environment": "ENVIRONMENT",
  "fontFamily": "DETECTED_FONT_FAMILY",
  "templateKeys": {
    "screenReader": "KEY_FROM_STEP_7",
    "colorAnnotation": "KEY_FROM_STEP_7",
    "anatomyOverview": "KEY_FROM_STEP_7",
    "apiOverview": "KEY_FROM_STEP_7",
    "propertyOverview": "KEY_FROM_STEP_7",
    "structureSpec": "KEY_FROM_STEP_7",
    "motionSpec": "KEY_FROM_STEP_7"
  }
}

Replace MCP_PROVIDER with the value from Step 1, ENVIRONMENT with the value from Step 2, DETECTED_FONT_FAMILY with the font detected in Step 7b, and each template key with the actual component key from Step 7.

Step 9: Success Message

Display:

Setup complete! You are now ready to use uSpec. For instructions, go to docs.uspec.design.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

39.44%
按下载量换算42

Claude

28.76%
按下载量换算31

Cursor

17.91%
按下载量换算19

Gemini CLI

11.1%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills