Go Standards
asymmetric-research/solana-exporter
Idiomatic Go conventions — naming, error handling, concurrency, interfaces, testing, and API design.
A skill your agent uses when optimizing, refactoring, reviewing, or fixing AtomUI controls, including control API contracts, member layout, file splitting, lifecycle, AXAML structure, correctness…
$ npx skills add AtomUI/AtomUI --skill atomui-control-optimization -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AtomUI/AtomUI atomui-control-optimization --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/AtomUI/AtomUI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/atomui-control-optimization .claude/skills/atomui-control-optimization && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "atomui-control-optimization" agent skill from https://github.com/AtomUI/AtomUI/tree/release%2F6.0/.agents/skills/atomui-control-optimization into .claude/skills/atomui-control-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomui-control-optimization", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/AtomUI/AtomUI/tree/release%2F6.0/.agents/skills/atomui-control-optimizationType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add AtomUI/AtomUI --skill atomui-control-optimization -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AtomUI/AtomUI atomui-control-optimization --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AtomUI/AtomUI.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/atomui-control-optimization .agents/skills/atomui-control-optimization && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "atomui-control-optimization" agent skill from https://github.com/AtomUI/AtomUI/tree/release%2F6.0/.agents/skills/atomui-control-optimization into .agents/skills/atomui-control-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomui-control-optimization", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AtomUI/AtomUI --skill atomui-control-optimization -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AtomUI/AtomUI atomui-control-optimization --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AtomUI/AtomUI.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/atomui-control-optimization .cursor/skills/atomui-control-optimization && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "atomui-control-optimization" agent skill from https://github.com/AtomUI/AtomUI/tree/release%2F6.0/.agents/skills/atomui-control-optimization into .cursor/skills/atomui-control-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomui-control-optimization", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/AtomUI/AtomUI.git --path .agents/skills/atomui-control-optimization--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add AtomUI/AtomUI --skill atomui-control-optimization -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AtomUI/AtomUI atomui-control-optimization --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AtomUI/AtomUI.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/atomui-control-optimization .gemini/skills/atomui-control-optimization && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "atomui-control-optimization" agent skill from https://github.com/AtomUI/AtomUI/tree/release%2F6.0/.agents/skills/atomui-control-optimization into .gemini/skills/atomui-control-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomui-control-optimization", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install AtomUI/AtomUI atomui-control-optimizationInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add AtomUI/AtomUI --skill atomui-control-optimization -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/AtomUI/AtomUI.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/atomui-control-optimization .github/skills/atomui-control-optimization && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "atomui-control-optimization" agent skill from https://github.com/AtomUI/AtomUI/tree/release%2F6.0/.agents/skills/atomui-control-optimization into .github/skills/atomui-control-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomui-control-optimization", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AtomUI/AtomUI --skill atomui-control-optimization -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install AtomUI/AtomUI atomui-control-optimization --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AtomUI/AtomUI.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/atomui-control-optimization .opencode/skills/atomui-control-optimization && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "atomui-control-optimization" agent skill from https://github.com/AtomUI/AtomUI/tree/release%2F6.0/.agents/skills/atomui-control-optimization into .opencode/skills/atomui-control-optimization/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "atomui-control-optimization", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
atomui-control-optimizationA skill your agent uses when optimizing, refactoring, reviewing, or fixing AtomUI controls, including control API contracts, member layout, file splitting, lifecycle, AXAML structure, correctness…
Atomui Control Optimization is an agent skill from AtomUI/AtomUI. Use when optimizing, refactoring, reviewing, or fixing AtomUI controls, including control API contracts, member layout, file splitting, lifecycle, AXAML structure, correctness, performance, Gallery-visible behavior, or documentation impact.
Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/api-layout-and-splitting.md` and `references/deep-control-optimization.md`).
It sits in Development, covering API design and Refactoring. The repository describes itself as: An enhancement and extension library for Avalonia, bringing the Ant Design design language, modern controls, theming, native integrations, and cross-platform UI capabilities to… The licence is LGPL-3.0.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d234fe0. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Atomui Control Optimization loads about 3.4k tokens when it runs, and up to ~9k if it reads all its reference files. Until then it costs about 67 tokens; SKILL.md has 1,564 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from AtomUI/AtomUI at commit d234fe0, republished under its LGPL-3.0 licence (© AtomUI). 1,564 words, ~3,404 tokens.
.claude/skills/atomui-control-optimization/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.This is the entry skill for AtomUI control work. Its job is to classify the change, lock down public contracts, route to narrower skills when needed, and keep control optimization from mixing unrelated API, behavior, lifecycle, performance, and layout changes.
Before touching control code, read:
docs/engineering/development/control-development-guidelines.mddocs/engineering/contributing/agent-guidelines.mdFor API contract optimization, member layout, method reordering, or file splitting, also read:
references/api-layout-and-splitting.mdFor messy implementation, repeated edge-case bugs, unclear state ownership, or architecture-level control redesign, also read:
references/deep-control-optimization.mdClassify the request before editing.
For broad optimization requests, routing is a blocking gate. Requests phrased as "重新优化", "整体优化", "代码比较乱", "按照控件优化 skill 优化", "评估整体正确性", or similar must not go directly to code edits. First perform an optimization audit and report findings, phase plan, contract impact, and residual risks. Only skip the audit when the user names one narrow bug or one narrow mechanical edit.
| If the work involves | Required handling |
|---|---|
| API contracts, member order, method layout, partial split | Read references/api-layout-and-splitting.md |
| Messy implementation, boundary-condition bugs, tangled state, architecture root optimization | Read references/deep-control-optimization.md |
| DynamicResource, token resource binding, subscriptions, owner/container lifecycle | Also use atomui-resource-lifecycle |
| Performance claims, lazy visuals, binding cost, template optimization | Also use atomui-control-performance |
BindUtils.RelayBind, C#-created bindings, or template-owned binding relationships | Prove AXAML cannot express the binding before keeping C# binding; define disposal owner |
| Bug fix or behavior change | Reproduce/trace root cause and add or update regression tests |
| Gallery-visible examples or docs | Check Gallery/docs impact and update only when required |
| AOT-sensitive binding, reflection, dynamic registration | Check docs/engineering/development/aot-programming-guidelines.md |
Before editing a control for broad optimization, write a short audit in the working notes or user-facing plan. The audit must answer:
Optimization request type: broad / narrow
Control:
Primary responsibilities:
State owners:
Lifecycle acquire/release pairs:
Data/selection/key flows:
Template parts and generated containers:
Existing tests / missing regression:
Dead or duplicate implementation scan:
Potential API/behavior/render changes:
Recommended phases:
What will not be changed in this pass:If the audit finds no issues beyond member order, say that explicitly. If it finds behavior risks, do not hide them behind "cleanup"; classify them as edge-case correctness or architecture root fix and add tests before changing behavior.
internal const, internal static helpers, private helpers, runtime fields, or patch artifacts before the public contract region inside a control class.2000 lines, prefer method order, regions, and private helper extraction.2000 line threshold as an automatic split rule. Even after the threshold is crossed, split only when the control has real, stable responsibility boundaries.atomui-control-performance allows it.TemplateBinding, style selectors, or existing theme/resource mechanisms before considering C# binding.BindUtils.RelayBind is the last binding creation mechanism, not the default convenience API. Before adding or keeping it, prove why the same relationship cannot be expressed in AXAML without changing API, behavior, rendered result, binding mode, binding priority, or template contract.BindUtils.RelayBind cases are limited to relationships AXAML cannot naturally express, such as dynamically created runtime targets, sibling/template-part coordination that cannot be represented by TemplateBinding or selectors, runtime-selected source objects, or bindings whose lifecycle is owned by a non-template runtime object.BindUtils.RelayBind must have an explicit release path matching its acquisition path, such as re-template cleanup, detach, owner disposal, popup/content clear, or container recycle. Do not create relay bindings without a matching dispose owner.BindUtils.RelayBind to work around inconvenient AXAML. If the binding source and target are both stable parts of the control template, move the relationship into AXAML unless doing so would require an approved contract or behavior change.Before implementation, write down the current scope:
Control:
Task category: API / layout / split / correctness / lifecycle / AXAML / performance / Gallery / docs
Optimization mode: cleanup / edge-case correctness / architecture root fix
Current LOC:
Comparable controls inspected:
Contract change needed: No / L1 / L2 / L3
File split decision: No / Yes, reason:
Other required skills:
Behavior changes mixed into layout-only work: No
C# relay binding inventory: None / Reviewed, exceptions documented
New artifact audit: None / necessary classes/helpers/fields/flags listed with reason
Members before public contract region: None / exceptions documented
Verification commands:Seeing any of these in a control during broad optimization forces a deep-control audit before editing:
_ignoreXxx, _suppressXxx, backup fields, delayed refreshes, or forced sync paths around state changesSelectedItems, SelectedKeys, checked nodes, current item, filter text, popup state, or validation stateWhen an escalation signal appears, list it in the audit even if the current pass will only fix a subset.
git diff --check before reporting completion.For any non-trivial control optimization, check:
StyledProperty, DirectProperty, RoutedEvent, commands, .NET eventsBindUtils.RelayBind, record source, target, why AXAML cannot express it, binding mode/priority, and disposal ownerFor broad optimization, run focused searches before deciding the implementation shape:
_ignore, _suppress, _isUpdating, Backup, Reset, Refresh, Dispatcher+=, -=, IDisposable, CompositeDisposable, RelayBind, DynamicResourceItemsSource, Selected, Checked, Current, TargetKeys, SelectedKeys, Filter, Page#region 公共属性定义, especially internal const, internal static, internal collaboration APIs, private helpers, runtime fields, and temporary stateDo not treat these scans as proof by themselves. Use them to identify ownership and edge-case paths that must be reviewed.
Before reporting any control fix complete, inspect what the change added:
This review applies even when tests pass. Passing tests do not justify unused abstractions, duplicated motion classes, stale flags, or patch-shaped control flow.
Report the result in terms of contract safety and verification:
API/theme contract changed: No / Yes
Behavior changed: No / Yes
Files split: No / Yes
Audit performed: No / Yes
Residual risks:
New artifacts introduced and why:
Tests:
Diff hygiene:
Commit created: No unless explicitly requested© AtomUI, LGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in .agents/skills/atomui-control-optimization of AtomUI/AtomUI.
Open the folder on GitHubat commit d234fe0
Atomui Control Optimization next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Atomui Control Optimization this skillAtomUI/AtomUI | 842 | — | ~3.4k | Automated safety check: Pass | LGPL-3.0 | |
| Go Standardsasymmetric-research/solana-exporter | 133 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Rust SkillsJMBeresford/retrom | 2.1k | 1 repos | ~9.5k | Automated safety check: Pass | MIT | |
| Rust Skillsnoh-rs/nohrs | 156 | — | ~5.3k | Automated safety check: Pass | MIT | |
| Typescript Advanced Patternspproenca/dot-skills | 214 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Software Design Philosophyluoling8192/software-design-philosophy-skill | 344 | — | ~3.4k | Automated safety check: Pass | MIT |
asymmetric-research/solana-exporter
Idiomatic Go conventions — naming, error handling, concurrency, interfaces, testing, and API design.
JMBeresford/retrom
Comprehensive Rust coding guidelines with 265 rules across 26 categories.
noh-rs/nohrs
Comprehensive Rust coding guidelines with 179 rules across 14 categories.
pproenca/dot-skills
Advanced TypeScript — type-level programming, library/DSL APIs, declaration merging, modern language features at depth (decorators, using, const T, NoInfer, variance), and feature implementation…
luoling8192/software-design-philosophy-skill
Software design philosophy guide based on John Ousterhout's "A Philosophy of Software Design." Use this skill during: code reviews, architecture discussions, API design, module decomposition…
inference-gateway/inference-gateway
Idiomatic Go - package and interface design, error wrapping, table-driven tests, generics, the modern standard library (slices/maps/cmp/errors.Join), current syntax, and logging discipline.
AtomUI/AtomUI
A skill your agent uses when building, launching, debugging, or visually inspecting AtomUIGallery.Desktop from an AtomUI checkout where installed or mounted Gallery apps may share its name or bundle…
AtomUI/AtomUI
Generate a single-line commit message for AtomUI by reading the project's git staged area and recent commit style.
AtomUI/AtomUI
A skill your agent uses when creating, completing, splitting, reviewing, or synchronizing AtomUI control documentation under docs/controls, including overview.md, implementation.md, token.md…
AtomUI/AtomUI
A skill your agent uses when changing AtomUI or Avalonia resource bindings, DynamicResource, TokenResourceBinder, non-Visual AvaloniaObject lifecycle, IResourceHost/IThemeVariantHost…
AtomUI/AtomUI
A skill your agent uses when upgrading AtomUI NuGet dependencies, source dependency projects, ReactiveUI, Avalonia, Splat, or any third-party version where compatibility must be evaluated before…
AtomUI/AtomUI
A skill your agent uses when preparing or validating an AtomUI release, including version-scope confirmation, AtomUIVersion consistency, README version sync, CHANGELOG and Chinese release sections…
Categories
A skill your agent uses when optimizing, refactoring, reviewing, or fixing AtomUI controls, including control API contracts, member layout, file splitting, lifecycle, AXAML structure, correctness…. Atomui Control Optimization is an agent skill from AtomUI/AtomUI. Use when optimizing, refactoring, reviewing, or fixing AtomUI controls, including control API contracts, member layout, file splitting, lifecycle, AXAML structure, correctness, performance, Gallery-visible behavior, or documentation impact.
Atomui Control Optimization fits situations like: fixing AtomUI controls; including control API contracts; AXAML structure; gallery-visible behavior.
Run `npx skills add AtomUI/AtomUI --skill atomui-control-optimization -a claude-code`. Or copy the skill folder (.agents/skills/atomui-control-optimization in AtomUI/AtomUI) into .claude/skills/atomui-control-optimization in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AtomUI/AtomUI --skill atomui-control-optimization -a codex`. Or copy the skill folder (.agents/skills/atomui-control-optimization in AtomUI/AtomUI) into .agents/skills/atomui-control-optimization in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AtomUI/AtomUI --skill atomui-control-optimization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/atomui-control-optimization, .gemini/skills/atomui-control-optimization, .github/skills/atomui-control-optimization and .opencode/skills/atomui-control-optimization in your project.
Going by SKILL.md and its folder, Atomui Control Optimization needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Atomui Control Optimization is published under the LGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Atomui Control Optimization: Go Standards (asymmetric-research/solana-exporter, 133 stars), Rust Skills (JMBeresford/retrom, 2.1k stars), Rust Skills (noh-rs/nohrs, 156 stars) and Typescript Advanced Patterns (pproenca/dot-skills, 214 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
AtomUI (a GitHub organization) maintains it in AtomUI/AtomUI, which has 842 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 7, 2026.
Source: AtomUI/AtomUI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.