config
Configure glance — default theme, font trio, accent colour, Google Fonts, output directory, prose budget, delivery mode, and the prompt dock
- License 许可
- MIT
- 最近更新
- 2026-09-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- config
- description
- Configure glance — default theme, font trio, accent colour, Google Fonts, output directory, prose budget, delivery mode, and the prompt dock
- disable-model-invocation
- true
03 SKILL.md 正文
glance configuration
Interactive configuration for the glance plugin. Settings are stored in
~/.config/alsheddi-claude-marketplace/glance/config.env (a simple
KEY=VALUE file that survives plugin updates).
Step 1 — Show the current effective configuration
Read the config file (it may not exist yet — that means everything is at
defaults). Parse with grep '^KEY=' | cut -d= -f2-, never source it.
Present a table of effective values:
| Key | Meaning | Values | Default |
|---|---|---|---|
DEFAULT_THEME |
Theme a new page opens in (the viewer's toggle then persists per browser) | dark / light |
dark |
FONT_TRIO |
Display/body/mono font trio; auto picks from the page slug and rotates away from the previous page's trio so consecutive docs differ |
auto, condensed, grotesque, archivo, editorial, geometric |
auto |
ACCENT |
Single accent colour; auto rotates the same way |
auto, amber, ember, mint, sky, violet, lime |
auto |
GOOGLE_FONTS |
Include the Google Fonts <link>; off = system font stacks only, page works fully offline |
on / off |
on |
OUTPUT_DIR |
Directory <slug>.html is written to; empty = next to the source document |
absolute path, or empty | empty |
PROSE_BUDGET |
Maximum visible words per section enforced by validate.cjs |
integer 40–160 |
80 |
DELIVERY |
What /glance:build does with the finished page |
ask / file / artifact / both |
ask |
DOCK |
Prompt dock; auto = only when the doc has actionable items |
auto / always / never |
auto |
Style knobs (DEFAULT_THEME, FONT_TRIO, ACCENT) are read by
scripts/assemble.cjs with the precedence CLI flag → doc.json style →
this config → built-in default. The font and accent ids come from
kit/menu.json (two directories above this skill file); if that menu ever
grows, list the ids from there rather than from this table.
Step 2 — Interview the user
Use the AskUserQuestion tool (one round, grouped questions) to ask what they
want to change. If the user already stated what to change when invoking this
skill (e.g. /glance:config light theme), skip straight to applying it.
Validate inputs before writing — reject anything else and show the legal list:
DEFAULT_THEME: exactlydarkorlightFONT_TRIO:autoor one ofcondensed,grotesque,archivo,editorial,geometricACCENT:autoor one ofamber,ember,mint,sky,violet,limeGOOGLE_FONTS:onoroffOUTPUT_DIR: empty, or an absolute path to an existing directory (check withls -d); no~and no$VARS— the file is never expandedPROSE_BUDGET: an integer from40to160DELIVERY:ask,file,artifactorbothDOCK:auto,alwaysornever
Step 3 — Write the config
Create the directory if needed and write only the keys that differ from
defaults, one KEY=VALUE per line, no quotes, no comments. Preserve keys
the user didn't change. Example:
DEFAULT_THEME=light
ACCENT=mint
PROSE_BUDGET=60
DELIVERY=file
Step 4 — Confirm
Show the final effective configuration table again. Changes take effect on
the next /glance:build — assemble.cjs and validate.cjs read the config
file on every run, no restart needed. Pages already built are not changed;
re-run the build to apply the new settings to an existing document.
04 同仓库更多 Skills
config
Configure notify-sounds — enable/disable sound events, change sound files, set volume and quiet hours, and test-play sounds
pick
Recommends the right chart type for a dataset, with reasoning and pitfalls, drawing on a catalog of 174 visualization types. Use when the user has data and is deciding HOW to visualize it — "what chart should I use", "how should I visualize/plot/show this data", "best way to present these numbers", "which graph fits my data", "I have data and want to visualize it" — or asks what a chart type is or when to use it. Do NOT trigger when the chart type is already decided and they just want it built (use chartwise:build), when reviewing an existing chart or dashboard (use chartwise:critique), or when the question is purely about colors, styling, theming, or dashboard aesthetics for an already-chosen chart — that is visual design, not chart choice.
critique
Audits an existing chart, plot, or dashboard against known data-visualization pitfalls and recommends concrete fixes or better chart types. Use when the user shares chart code, a chart image or screenshot, a notebook figure, or a dashboard and asks "is this a good chart", "review/critique my chart", "what's wrong with this visualization", "how can this dashboard be clearer", "is this misleading". Do NOT trigger when the user is creating a new chart from scratch (use chartwise:pick to choose or chartwise:build to generate), and NOT for pure styling or branding polish with no chart-effectiveness question.
config
Configure chartwise — preferred charting library, exotic chart suggestions, and recommendation detail level
add-plugin
Add a new plugin or skill to this marketplace, or contribute changes to an existing one. Use whenever the user wants to create a new plugin, add a new skill, scaffold a plugin, publish something to the marketplace, or asks how to contribute to this project.