Install
$ agentstack add skill-yintzuyuan-glyphs-reference-glyphs-sdk-reference ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
GlyphsSDK Reference
Plugin development reference extracted from GlyphsSDK. Covers plugin base class methods, templates, and sample implementations.
Scripts
> Run all scripts from this skill's base directory. Prepend the base directory path to scripts/ when executing.
| Script | Purpose | Output | |--------|---------|--------| | search_methods.py | AST analysis of plugins.py — 7 plugin base classes and their methods | Classes + methods with type classification | | list_templates.py | List all Python Templates (9) and Samples (6) | Name + type + plugin_type + path | | read_template.py | Read template/sample source code + README + AST info | Source + classes + imports + readme |
Usage
Plugin Methods
# List all 7 plugin base classes with methods
python scripts/search_methods.py
# Methods for a specific plugin type
python scripts/search_methods.py --plugin reporter
# Search methods across all classes
python scripts/search_methods.py --search foreground
# Identify a specific method
python scripts/search_methods.py --method drawForegroundForLayer_options_
Method type classification:
| Type | Meaning | AST rule | |------|---------|----------| | protocol | ObjC protocol method | Name ends with _ | | python_helper | Python convenience method | Has @objc.python_method decorator | | python_wrapped | Python method override | Other methods |
Templates & Samples
# List all templates + samples
python scripts/list_templates.py
# Only templates
python scripts/list_templates.py --type template
# Only samples
python scripts/list_templates.py --type sample
Read Source Code
# Read a template (with README)
python scripts/read_template.py reporter
# Filter with specific variant
python scripts/read_template.py filter --variant "without dialog"
# Read a sample by name
python scripts/read_template.py "Smiley Panel Plugin"
# Read drawingTools.py
python scripts/read_template.py --drawing-tools
Workflow Example
User: "How do I implement a Reporter plugin?"
1. Check available methods:
$ python scripts/search_methods.py --plugin reporter
→ All methods with types and docstrings
2. Get the template:
$ python scripts/read_template.py reporter
→ Source code + README guide
3. Check a sample for real-world patterns:
$ python scripts/read_template.py "Smiley Panel Plugin"
→ Working example with AST analysis
Templates Available
| Name | Plugin Type | Variant | |------|-------------|---------| | Reporter | Reporter | — | | Palette | Palette | — | | General Plugin | General | — | | SelectTool | SelectTool | — | | TemplateBinarySource | TemplateBinarySource | — | | Filter (without dialog) | Filter | without dialog | | Filter (dialog with xib) | Filter | dialog with xib | | File Format (dialog with vanilla) | FileFormat | dialog with vanilla | | File Format (dialog with xib) | FileFormat | dialog with xib |
Samples Available
| Name | Type | |------|------| | Callback for context menu | Standalone script | | Document exported | Standalone script | | MultipleTools | SelectTool bundle | | Plugin Preferences | README only | | Plugin With Window | General bundle | | Smiley Panel Plugin | Palette bundle |
Additional Resources
references/template-catalog.md— Catalog of the 7 plugin base classes (with method counts), 9 Python Templates with variants, and the 6+ working samples. Includes method-type classification rules (protocol/python_helper/python_wrapped) and cross-references to companion skills. Read this first to pick the right base class.
Requirements
- Python 3.10+ (standard library only)
- GlyphsSDK submodule cloned
GLYPHS_SDK_PATHenvironment variable pointing to GlyphsSDK directory
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: yintzuyuan
- Source: yintzuyuan/glyphs-reference
- License: MIT
- Homepage: http://erikyin.net/glyphs-reference/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.