Swig Conventions
swig/swig
SWIG source and contribution conventions: clang-format / code formatting, C/C++ comment style (quotes, widths, function header blocks), parser.y new-code rules, alphabetical ordering of makefile…
A skill your agent uses when implementing, fixing, refactoring, or reviewing non-generated AUTO-MAS code, or when preparing code-style guidance, comments, docstrings, version notes, or Conventional…
$ npx skills add AUTO-MAS-Project/AUTO-MAS --skill mas-code-standards -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AUTO-MAS-Project/AUTO-MAS mas-code-standards --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/AUTO-MAS-Project/AUTO-MAS.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/mas-code-standards .claude/skills/mas-code-standards && 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 "mas-code-standards" agent skill from https://github.com/AUTO-MAS-Project/AUTO-MAS/tree/main/.agents/skills/mas-code-standards into .claude/skills/mas-code-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mas-code-standards", 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/AUTO-MAS-Project/AUTO-MAS/tree/main/.agents/skills/mas-code-standardsType 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 AUTO-MAS-Project/AUTO-MAS --skill mas-code-standards -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AUTO-MAS-Project/AUTO-MAS mas-code-standards --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AUTO-MAS-Project/AUTO-MAS.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/mas-code-standards .agents/skills/mas-code-standards && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mas-code-standards" agent skill from https://github.com/AUTO-MAS-Project/AUTO-MAS/tree/main/.agents/skills/mas-code-standards into .agents/skills/mas-code-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mas-code-standards", 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 AUTO-MAS-Project/AUTO-MAS --skill mas-code-standards -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AUTO-MAS-Project/AUTO-MAS mas-code-standards --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AUTO-MAS-Project/AUTO-MAS.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/mas-code-standards .cursor/skills/mas-code-standards && 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 "mas-code-standards" agent skill from https://github.com/AUTO-MAS-Project/AUTO-MAS/tree/main/.agents/skills/mas-code-standards into .cursor/skills/mas-code-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mas-code-standards", 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/AUTO-MAS-Project/AUTO-MAS.git --path .agents/skills/mas-code-standards--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 AUTO-MAS-Project/AUTO-MAS --skill mas-code-standards -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AUTO-MAS-Project/AUTO-MAS mas-code-standards --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AUTO-MAS-Project/AUTO-MAS.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/mas-code-standards .gemini/skills/mas-code-standards && 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 "mas-code-standards" agent skill from https://github.com/AUTO-MAS-Project/AUTO-MAS/tree/main/.agents/skills/mas-code-standards into .gemini/skills/mas-code-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mas-code-standards", 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 AUTO-MAS-Project/AUTO-MAS mas-code-standardsInstalls 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 AUTO-MAS-Project/AUTO-MAS --skill mas-code-standards -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/AUTO-MAS-Project/AUTO-MAS.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/mas-code-standards .github/skills/mas-code-standards && 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 "mas-code-standards" agent skill from https://github.com/AUTO-MAS-Project/AUTO-MAS/tree/main/.agents/skills/mas-code-standards into .github/skills/mas-code-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mas-code-standards", 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 AUTO-MAS-Project/AUTO-MAS --skill mas-code-standards -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install AUTO-MAS-Project/AUTO-MAS mas-code-standards --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AUTO-MAS-Project/AUTO-MAS.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/mas-code-standards .opencode/skills/mas-code-standards && 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 "mas-code-standards" agent skill from https://github.com/AUTO-MAS-Project/AUTO-MAS/tree/main/.agents/skills/mas-code-standards into .opencode/skills/mas-code-standards/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mas-code-standards", 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.
mas-code-standardsA skill your agent uses when implementing, fixing, refactoring, or reviewing non-generated AUTO-MAS code, or when preparing code-style guidance, comments, docstrings, version notes, or Conventional…
Mas Code Standards is an agent skill from AUTO-MAS-Project/AUTO-MAS. Use when implementing, fixing, refactoring, or reviewing non-generated AUTO-MAS code, or when preparing code-style guidance, comments, docstrings, version notes, or Conventional Commit wording. Skip read-only diagnosis, explanation, exploration, and planning unless code conventions are requested.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `agents/openai.yaml` and `references/style-observations.md`).
It sits in Development, covering Changelog and release notes, Technical documentation and Commit messages. The repository describes itself as: 多脚本多配置统一管理与自动化工具 | 轻松管理大量脚本并存储多个用户配置、设计自动化任务流、监看脚本日志,大幅提高自动化代理效率与稳定性!. The licence is AGPL-3.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 699de5a. 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:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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.
Mas Code Standards loads about 2.5k tokens when it runs, and up to ~4.9k if it reads all its reference files. Until then it costs about 79 tokens; SKILL.md has 1,384 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 AUTO-MAS-Project/AUTO-MAS at commit 699de5a, republished under its AGPL-3.0 licence (© AUTO-MAS-Project). 1,384 words, ~2,485 tokens.
.claude/skills/mas-code-standards/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Reproduce the practical implementation style used in current dev without copying obsolete behavior or broadening scope unnecessarily.
Primary style reference samples:
frontend/electron/servicesfrontend/electron/ipcfrontend/src/views/InitializationUse these samples as style lenses only. For frontend engineering or UI decisions, prefer mas-frontend-standards and mas-frontend-ui; for Python modules, carry over the same values of explicit orchestration, compatibility-first changes, and operational logging, but always compare nearby files before applying style assumptions.
e541fa5f, 727aafb, and e5d72bdb.changelog.d/ (<PR number or branch>.<feat|change|fix|breaking|remove|security|dev>.md; first line project: <key> from the project table in changelog.d/README.md — 14 adapters plus home / scheduler / emulator / notify / tools / settings / update / runtime, no catch-all, pick the nearest per the README; only dev fragments may omit it; then one user-facing sentence of at most 50 characters without project prefix, PR number or signature; python scripts/changelog.py add <type> <project> "<sentence>" creates it, with - as the project for dev). Before writing a fix or change fragment, decide which release introduced the feature you touch: a feature absent from the previous stable release's notes was introduced in the current X.Y.0 cycle (for 5.5.0: Runtime initialization, virtual display, Emulator 2.0, MFW, BetterGI, BAAH, ZZZ-OD, config restore, operator cultivation). Every later fix, maintenance or supplementary change to such a feature (bug fixes, turning something into a prompt, extra hints, default tweaks, layout changes, i18n wiring, cleanup) is beta-only: if the feature's entry is still in the top ## [未发布] section or its fragment is still in changelog.d/, add no fragment and label the PR skip-changelog (describe any wording change in the PR for a maintainer to apply); if it shipped in an earlier beta of the cycle, add the header line beta-only: true so the entry is dropped from the stable roll-up. Sub-features added to it later are beta-only as well: in the stable notes a new adapter is exactly one line (【bgi】新增 bgi 专项) and a new feature is its single introduction entry; fixes and changes to features that shipped in the previous stable are normal. Project keys use the short names bgi (BetterGI) and end (MaaEnd). A PR with several human authors lists them all in the header line author: a, b (the script never reads Co-authored-by). Maintainers may add highlight: true to route an entry into 「本次亮点」; treat it as part of the implementation rather than a reminder. Condense all changes of the PR into that one sentence. Never edit CHANGELOG.md, res/version.json or any version number: they are written only by the release PR.e541fa5f: small cleanup.
Keep logic local, remove one-off indirection, simplify conditions without changing outcome.727aafb: feature landing.
Extend existing books, models, managers, routes, forms, and logs in parallel instead of inventing a separate architecture for the new type.e5d72bdb: dev integration.
Preserve the feature branch structure, then consolidate at integration points instead of rewriting during merge.// ==================== 类型定义 ====================.getLogger('中文名') and short operational log lines.BOOK, union types, routing branches, and progress payloads before deeper refactors.builder, loader, or extra services only after real reuse or boundary pressure appears.<type>(<scope>): <subject>, with documented types such as feat, fix, docs, style, refactor, perf, test, chore, build, and ci.Args, Returns, and Raises when a function needs explanation.ConfigBase subclasses, comment every ConfigItem and group config items by clear section markers before super().__init__().Do not treat cleanup as permission to strip comments. Preserve comments that explain business intent, operational steps, compatibility decisions, non-obvious invariants, maintainer context, or config-field meaning.
Only remove or rewrite a comment when it is stale, misleading, mechanically restates the next token of code, or refers to code that is being deleted in the same edit. When rewriting, keep the useful intent and make it shorter or more accurate instead of dropping it.
Protect these comments especially:
ConfigItem comments and section markers in ConfigBase subclasses.changelog.d/.None or fallback branches that conflict with declared types.changelog.d/; CHANGELOG.md, res/version.json and version numbers stay untouched.© AUTO-MAS-Project, AGPL-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/mas-code-standards of AUTO-MAS-Project/AUTO-MAS.
Open the folder on GitHubat commit 699de5a
Mas Code Standards 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 |
|---|---|---|---|---|---|---|
| Mas Code Standards this skillAUTO-MAS-Project/AUTO-MAS | 707 | — | ~2.5k | Automated safety check: Pass | AGPL-3.0 | |
| Swig Conventionsswig/swig | 6.3k | — | ~2.7k | Automated safety check: Pass | Custom licence | |
| CommitLennartHennigs/Button2 | 565 | — | ~562 | Automated safety check: Pass | MIT | |
| CommitLennartHennigs/ESPRotary | 188 | — | ~590 | Automated safety check: Pass | MIT | |
| Proseploxc/modbux | 108 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Google Devdocs StyleEpicenterHQ/epicenter | 4.8k | — | ~2.8k | Automated safety check: Pass | Custom licence |
swig/swig
SWIG source and contribution conventions: clang-format / code formatting, C/C++ comment style (quotes, widths, function header blocks), parser.y new-code rules, alphabetical ordering of makefile…
LennartHennigs/Button2
Stage and commit current changes for Button2 — checks for needed CHANGELOG/README/CLAUDE.md updates, creates a branch if on master, writes a commit message, and commits
LennartHennigs/ESPRotary
Stage and commit current changes for ESPRotary — checks for needed CHANGELOG/README/CLAUDE.md updates, creates a branch if on master, writes a commit message, and commits
ploxc/modbux
Measure a sentence you just wrote against the thing it describes, then prune the block it lands in.
EpicenterHQ/epicenter
Write and review developer documentation in Google Developer Documentation Style.
vishiri/fantasia-archive
End-of-batch ship workflow for Fantasia Archive: run full yarn testbatch:verify (not dev scoped gate), fix failures, sync README/AGENTS/rules/skills from Git changes, update in-app changelog, split…
AUTO-MAS-Project/AUTO-MAS
Add, refactor, or review AUTO-MAS game community sign-in (game sign) code, including the provider registry in app/tools/gamesign.py, platform adapters for Skland/Miyoushe/Kuro/Taygedo, credential…
AUTO-MAS-Project/AUTO-MAS
Define canonical naming for future backend schema domains. An agent skill from AUTO-MAS-Project/AUTO-MAS.
AUTO-MAS-Project/AUTO-MAS
A skill your agent uses when working on AUTO-MAS frontend UI, Ant Design Vue components, page layout, forms, tables, modals, drawers, feedback, empty/loading/error states, drag interactions, dark…
AUTO-MAS-Project/AUTO-MAS
Review, add, or refactor AUTO-MAS specialized script adapters by upstream architecture, including MAA, SRC, MaaEnd/MXU, General, ok-script adapters such as Okww and OkNte, multi-engine adapters such…
AUTO-MAS-Project/AUTO-MAS
Define backend API contract standards for FastAPI services. An agent skill from AUTO-MAS-Project/AUTO-MAS.
AUTO-MAS-Project/AUTO-MAS
Define backend data modeling standards for Python services. An agent skill from AUTO-MAS-Project/AUTO-MAS.
Categories
A skill your agent uses when implementing, fixing, refactoring, or reviewing non-generated AUTO-MAS code, or when preparing code-style guidance, comments, docstrings, version notes, or Conventional…. Mas Code Standards is an agent skill from AUTO-MAS-Project/AUTO-MAS. Use when implementing, fixing, refactoring, or reviewing non-generated AUTO-MAS code, or when preparing code-style guidance, comments, docstrings, version notes, or Conventional Commit wording.
Mas Code Standards fits situations like: reviewing non-generated AUTO-MAS code; preparing code-style guidance; conventional Commit wording.
Run `npx skills add AUTO-MAS-Project/AUTO-MAS --skill mas-code-standards -a claude-code`. Or copy the skill folder (.agents/skills/mas-code-standards in AUTO-MAS-Project/AUTO-MAS) into .claude/skills/mas-code-standards in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AUTO-MAS-Project/AUTO-MAS --skill mas-code-standards -a codex`. Or copy the skill folder (.agents/skills/mas-code-standards in AUTO-MAS-Project/AUTO-MAS) into .agents/skills/mas-code-standards 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 AUTO-MAS-Project/AUTO-MAS --skill mas-code-standards -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mas-code-standards, .gemini/skills/mas-code-standards, .github/skills/mas-code-standards and .opencode/skills/mas-code-standards in your project.
Going by SKILL.md and its folder, Mas Code Standards needs the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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.
Mas Code Standards is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 9.9k 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 2.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Mas Code Standards: Swig Conventions (swig/swig, 6.3k stars), Commit (LennartHennigs/Button2, 565 stars), Commit (LennartHennigs/ESPRotary, 188 stars) and Prose (ploxc/modbux, 108 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
AUTO-MAS-Project (a GitHub organization) maintains it in AUTO-MAS-Project/AUTO-MAS, which has 707 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 7, 2026.
Source: AUTO-MAS-Project/AUTO-MAS on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.