mastergo
Skill14 starsChanged 9 months agoMITView on GitHub
Retrieve and analyze MasterGo design DSL data. Use when users provide MasterGo links (https://mastergo.com/file/xxx or /goto/xxx) to fetch design structure, component documentation, and DSL metadata.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- letern1ty/claude-skillstheir own version, first seen Oct 25, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- letern1ty/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- agent-md-refactorSkill
- skill-creatorSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 74
If componentDocumentLinks is non-empty, fetch relevant docs:
- Distinctive: line 115
All script output goes to stdout only.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 outputecho "Token: $MASTERGO_TOKEN"- exposes secretprintenv 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_*.pyWorkflow
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-dslOr fetch individually:
python scripts/mastergo_fetch_docs.py "https://example.com/button.mdx"Scripts Reference
| Script | Purpose | Output |
mastergo_analyze.py | Structure summary | Human-readable tree to stdout |
mastergo_get_dsl.py | Full DSL data | JSON to stdout |
mastergo_fetch_docs.py | Component docs | Doc content to stdout |
mastergo_utils.py | Utility functions | Import as module |
DSL Key Concepts
tokenfields: Design tokens for colors, shadows, fonts (convert to CSS variables when generating code)componentInfo: Component metadata including documentation linksinteractivefields: User interactions including page navigation targetsrulesarray: Guidelines returned with DSL response
CRITICAL: Do NOT Pollute User Projects
FORBIDDEN actions:
- Creating
.temp_dsl.jsonor any DSL cache file in user project - Creating
analyze_dsl.pyor 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
- references/dsl-types.md - Complete DSL type definitions
- references/dsl-structure.md - Key fields and patterns
- references/multi-page-workflow.md - Multi-page workflow
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

