Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

mastergomastergo 命令行

Agent Skill

mastergo 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,752

周安装

117

GitHub Stars

9

下载量

964
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jeasonstudio/mastergo-skills --skill mastergo

简介

mastergo 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理时使用。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限和维护状态。
  • 使用前建议核实是否会触发联网、命令执行或文件读写操作。
  • mastergo 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

MasterGo Skill

Retrieve and analyze design data from MasterGo files using self-contained Python scripts.

Prerequisites

Environment variable required:

export MASTERGO_TOKEN="mg_your_token_here"

Get token: MasterGo Settings > Security > Personal Access Token

Requirements: Team Edition account, files in Team Projects (not Drafts).

CRITICAL: Secure Token Handling

NEVER do this:

  • echo $MASTERGO_TOKEN - exposes secret in output
  • echo "Token: $MASTERGO_TOKEN" - exposes secret
  • printenv MASTERGO_TOKEN - exposes secret
  • Any command that prints the token value

Secure verification method:

test -n "$MASTERGO_TOKEN" && echo "Token is set" || echo "Token is NOT set"

This only prints whether the token exists, never its value.

Script Location

Scripts are in scripts/ relative to this SKILL.md file. Use absolute path when executing:

{this_skill_directory}/scripts/mastergo_*.py

Workflow

Step 1: Analyze DSL Structure

Always analyze first to understand the page structure:

python scripts/mastergo_analyze.py "https://mastergo.com/goto/xxx"

Output shows:

  • Node tree (type, name, size)
  • Text contents
  • Component doc links
  • Navigation targets

Step 2: Get Full DSL (if needed)

For detailed DSL data:

python scripts/mastergo_get_dsl.py "https://mastergo.com/goto/xxx"

Output: JSON with {dsl, componentDocumentLinks, rules}

Step 3: Fetch Component Docs

If componentDocumentLinks is non-empty, fetch relevant docs:

python scripts/mastergo_get_dsl.py URL | python scripts/mastergo_fetch_docs.py --from-dsl

Or fetch individually:

python scripts/mastergo_fetch_docs.py "https://example.com/button.mdx"

Scripts Reference

ScriptPurposeOutput
mastergo_analyze.pyStructure summaryHuman-readable tree to stdout
mastergo_get_dsl.pyFull DSL dataJSON to stdout
mastergo_fetch_docs.pyComponent docsDoc content to stdout
mastergo_utils.pyUtility functionsImport as module

DSL Key Concepts

  • token fields: Design tokens for colors, shadows, fonts (convert to CSS variables when generating code)
  • componentInfo: Component metadata including documentation links
  • interactive fields: User interactions including page navigation targets
  • rules array: Guidelines returned with DSL response

CRITICAL: Do NOT Pollute User Projects

FORBIDDEN actions:

  • Creating .temp_dsl.json or any DSL cache file in user project
  • Creating analyze_dsl.py or any analysis script in user project
  • Creating any temporary files in user project directory
  • Writing any skill-related files outside of skill directory

ALLOWED:

  • Running scripts and capturing stdout output
  • Using output directly in memory
  • Reading user's existing project files for context

All script output goes to stdout only. Use the output directly; do not save intermediate files to user's project.

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.46%
按下载量换算342

Claude

31.55%
按下载量换算304

Cursor

17.35%
按下载量换算167

Gemini CLI

9.04%
按下载量换算87

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills