Guidelines
akash-network/node
Behavioral guidelines to reduce common LLM coding mistakes. An agent skill from akash-network/node.
Behavior-preserving Antigravity Swarm refactoring with characterization, impact mapping, diagnostics, and real-surface verification.
$ npx skills add wjgoarxiv/antigravity-swarm --skill asw-refactor -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wjgoarxiv/antigravity-swarm asw-refactor --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/wjgoarxiv/antigravity-swarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/antigravity-swarm/skills/asw-refactor .claude/skills/asw-refactor && 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 "asw-refactor" agent skill from https://github.com/wjgoarxiv/antigravity-swarm/tree/main/plugins/antigravity-swarm/skills/asw-refactor into .claude/skills/asw-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asw-refactor", 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/wjgoarxiv/antigravity-swarm/tree/main/plugins/antigravity-swarm/skills/asw-refactorType 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 wjgoarxiv/antigravity-swarm --skill asw-refactor -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wjgoarxiv/antigravity-swarm asw-refactor --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wjgoarxiv/antigravity-swarm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/antigravity-swarm/skills/asw-refactor .agents/skills/asw-refactor && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "asw-refactor" agent skill from https://github.com/wjgoarxiv/antigravity-swarm/tree/main/plugins/antigravity-swarm/skills/asw-refactor into .agents/skills/asw-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asw-refactor", 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 wjgoarxiv/antigravity-swarm --skill asw-refactor -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wjgoarxiv/antigravity-swarm asw-refactor --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wjgoarxiv/antigravity-swarm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/antigravity-swarm/skills/asw-refactor .cursor/skills/asw-refactor && 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 "asw-refactor" agent skill from https://github.com/wjgoarxiv/antigravity-swarm/tree/main/plugins/antigravity-swarm/skills/asw-refactor into .cursor/skills/asw-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asw-refactor", 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/wjgoarxiv/antigravity-swarm.git --path plugins/antigravity-swarm/skills/asw-refactor--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 wjgoarxiv/antigravity-swarm --skill asw-refactor -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wjgoarxiv/antigravity-swarm asw-refactor --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wjgoarxiv/antigravity-swarm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/antigravity-swarm/skills/asw-refactor .gemini/skills/asw-refactor && 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 "asw-refactor" agent skill from https://github.com/wjgoarxiv/antigravity-swarm/tree/main/plugins/antigravity-swarm/skills/asw-refactor into .gemini/skills/asw-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asw-refactor", 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 wjgoarxiv/antigravity-swarm asw-refactorInstalls 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 wjgoarxiv/antigravity-swarm --skill asw-refactor -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wjgoarxiv/antigravity-swarm.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/antigravity-swarm/skills/asw-refactor .github/skills/asw-refactor && 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 "asw-refactor" agent skill from https://github.com/wjgoarxiv/antigravity-swarm/tree/main/plugins/antigravity-swarm/skills/asw-refactor into .github/skills/asw-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asw-refactor", 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 wjgoarxiv/antigravity-swarm --skill asw-refactor -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wjgoarxiv/antigravity-swarm asw-refactor --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wjgoarxiv/antigravity-swarm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/antigravity-swarm/skills/asw-refactor .opencode/skills/asw-refactor && 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 "asw-refactor" agent skill from https://github.com/wjgoarxiv/antigravity-swarm/tree/main/plugins/antigravity-swarm/skills/asw-refactor into .opencode/skills/asw-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "asw-refactor", 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.
asw-refactorBehavior-preserving Antigravity Swarm refactoring with characterization, impact mapping, diagnostics, and real-surface verification.
Asw Refactor is an agent skill from wjgoarxiv/antigravity-swarm. Behavior-preserving Antigravity Swarm refactoring with characterization, impact mapping, diagnostics, and real-surface verification.
Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Refactoring. The repository describes itself as: ::A team of AI agents to code for you.::. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a949cb8. 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.
No scripts in the folder and no shell commands in SKILL.md.
From 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.
Asw Refactor loads about 3.9k tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 1,964 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 wjgoarxiv/antigravity-swarm at commit a949cb8, republished under its MIT licence (© wjgoarxiv). 1,964 words, ~3,923 tokens.
.claude/skills/asw-refactor/SKILL.md (or your agent's skills folder).Use this skill for behavior-preserving structure changes: moving code, splitting files, simplifying APIs internally, reducing duplication, or preparing a safer implementation path.
The invariant: refactoring changes structure, not observable behavior.
Before editing:
Characterization tests should cover:
Do not characterize private implementation details unless the refactor is explicitly about that internal contract.
Build an impact map before edits:
Behavior owner:
Callers:
Tests:
Docs:
Package/install:
Generated output:
Manual QA surface:
Rollback:For each affected file, list whether it is source, test, docs, generated asset, package metadata, or runtime state.
Do not mix:
If the user asks for both feature and refactor, separate them in the plan and commit strategy.
Allowed when covered:
High-risk moves:
High-risk moves require explicit tests and manual QA.
Run the repo's authoritative checks. If unavailable, use fallbacks:
Treat hook diagnostics as early warnings and rerun the real command.
Stop and report when:
If a gate fails:
Do not use broad destructive commands.
Report:
Run this gate before touching files. Refactor requests are often mixed with feature requests, cleanup requests, or migration requests; separating them prevents accidental behavior changes.
Use this template:
Intent:
Allowed structural changes:
Behavior that must not change:
Public contracts:
Non-goals:
Refactor mode:
Risk:Reject the refactor if the user-facing behavior cannot be named. A refactor without a behavior boundary is unbounded redesign.
For broad refactors, inspect in parallel before planning. Use read-only subagents or direct searches to answer independent questions:
Exploration agents must return evidence, not opinions:
Question:
Files inspected:
References found:
Tests found:
Public surface:
Risk:
Recommendation:Do not start moving files while exploration is still incomplete for the same dependency graph. Direct local inspection may continue while background exploration runs, but edits wait for enough evidence to build the codemap.
Use the fastest appropriate tool:
For dynamic references, search strings too. Renames often fail through config files, CLI examples, hook manifests, status-line command strings, and README snippets.
Before planning, write a codemap. It is the source of truth for the refactor.
CODEMAP: <target>
Core files:
- path: role, owner, public/private
Callers:
- path: call shape, risk
Tests:
- path: behavior covered
- missing: behavior not covered
Docs and examples:
- path: wording or command that must stay true
Package/install surface:
- package path, config path, hook path, generated asset, status line
Impact zones:
- low risk:
- medium risk:
- high risk:
Constraints:
- compatibility:
- manual QA:
- rollback:A codemap is not optional for multi-file refactors. If there is only one tiny local edit, a compact paragraph is enough, but it must still identify callers and tests.
Create the verification plan before the first edit.
Baseline:
- command:
- expected:
Narrow checks:
- after rename:
- after extract:
- after split:
Diagnostics:
- language:
- package:
- plugin:
Manual QA:
- surface:
- transcript or screenshot:
Regression indicators:
- what would prove behavior changed:The baseline must be green before a behavior-preserving refactor. If the baseline is red, either prove it is unrelated and stable, or stop and report.
Detect the repo's test infrastructure before planning:
Then assess coverage:
Behavior:
Existing tests:
Weak spots:
Characterization needed:
Manual QA needed:Coverage is strong when a failing refactor would fail a test for the right reason. Coverage is weak when the test only checks that a command exits, a file exists, or a broad snapshot changed.
If no test infrastructure exists, create the smallest local reproduction or smoke script that can be run again after the move. If even that is impossible, stop and explain why the refactor is unsafe.
Define checkpoints for each phase:
Each checkpoint should name:
Example:
Checkpoint: package surface
Command: npm pack --dry-run --json
Expected: changed files included, private/runtime files absent
Failure means: allowlist or ignore boundary changed
Recovery: inspect package files and restore boundaryThe plan should be stepwise and reversible:
Each step must include:
Execute deterministically:
Do not batch unrelated moves just because they are easy to edit together. Reviewability matters; a future maintainer should be able to understand each structural change.
Use subagents when the refactor has independent unknowns:
Subagents should not edit unless explicitly assigned an implementation slice. Read-only exploration is safer for mapping.
For implementation slices:
Do not launch many implementation agents against overlapping files. Merge conflicts in a refactor are usually a sign that the responsibility boundary is unclear.
When moving code:
New names should describe ownership:
statusline-payload beats helpers,installer-paths beats utils,hook-aliases beats common,cover-renderer beats misc.Treat these as public until proven otherwise:
Changing any public surface requires an explicit behavior-change plan, not a refactor plan.
When the refactor includes deprecated paths:
Migration refactors should report:
If the user asked for commits, organize commits around reviewable behavior:
Do not commit red checkpoints. Do not mix a feature change with the refactor commit unless the user explicitly requested a combined commit.
Commit message should describe the structural change:
refactor(installer): split config path handling,refactor(hud): isolate quota formatting,refactor(skills): expand execution contracts.If the user did not ask for commit, leave the worktree ready and report status.
Use precise tools early:
Use direct file reads when a decision depends on exact wording. Do not rely on summary memory for refactor safety.
When a tool fails:
Never claim a diagnostic passed unless it ran and the output was read.
When a check fails:
Never hide a failed check by weakening the test unless the test is proven wrong and the proof is documented.
Abort and report when:
Use this shape:
REFACTOR REPORT
Scope:
Intent:
Codemap:
Characterization:
Steps:
Verification:
Manual QA:
Public surface:
Skipped:
Final status:For every skipped refactor, include why it was skipped and what evidence would make it safe later.
The refactor is complete only when the code is easier to reason about and the user-facing behavior is proven unchanged.
© wjgoarxiv, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/antigravity-swarm/skills/asw-refactor of wjgoarxiv/antigravity-swarm.
Open the folder on GitHubat commit a949cb8
Asw Refactor 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 |
|---|---|---|---|---|---|---|
| Asw Refactor this skillwjgoarxiv/antigravity-swarm | 166 | — | ~3.9k | Automated safety check: Pass | MIT | |
| Guidelinesakash-network/node | 1.1k | 20 repos | ~577 | Automated safety check: Pass | MIT | |
| Migrate Core Code to Submodulestinyhumansai/openhuman | 42k | — | ~2.6k | Automated safety check: Pass | GPL-3.0 | |
| Component Refactoringlangflow-ai/langflow | 155k | — | ~3.5k | Automated safety check: Pass | MIT | |
| Ponytail Lazy Developer ModeDietrichGebert/ponytail | 160k | 1 repos | ~873 | Automated safety check: Pass | MIT | |
| ast-grep Structural Searchcode-yeongyu/oh-my-openagent | 70k | — | ~3.3k | Automated safety check: Pass | MIT |
akash-network/node
Behavioral guidelines to reduce common LLM coding mistakes. An agent skill from akash-network/node.
tinyhumansai/openhuman
Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.
langflow-ai/langflow
Refactor high-complexity React components in Langflow frontend.
DietrichGebert/ponytail
Makes the agent pick the laziest solution that works: skip unneeded work, reuse what exists, prefer the standard library and platform features, and keep diffs small.
code-yeongyu/oh-my-openagent
Searches and rewrites code by syntax-tree shape across 25 languages with ast-grep, for codemods, structural queries and YAML lint rules, using a Python wrapper script.
luongnv89/claude-howto
Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.
wjgoarxiv/antigravity-swarm
Antigravity Swarm execution loop for evidence-driven implementation with tests, subagents, hooks, and manual QA.
wjgoarxiv/antigravity-swarm
Remove AI-looking clutter and temporary artifacts without changing behavior.
wjgoarxiv/antigravity-swarm
Hypothesis-driven Antigravity Swarm debugging for crashes, hangs, wrong output, and runtime drift.
wjgoarxiv/antigravity-swarm
Durable Antigravity Swarm goal orchestration with explicit success criteria, evidence ledger, manual QA channels, and completion audit.
wjgoarxiv/antigravity-swarm
Antigravity Swarm Loop executes RED to GREEN to real-surface QA with cleanup receipts.
wjgoarxiv/antigravity-swarm
Antigravity Swarm Plan creates a decision-complete plan before large or ambiguous work.
Categories
Behavior-preserving Antigravity Swarm refactoring with characterization, impact mapping, diagnostics, and real-surface verification. Asw Refactor is an agent skill from wjgoarxiv/antigravity-swarm. Behavior-preserving Antigravity Swarm refactoring with characterization, impact mapping, diagnostics, and real-surface verification.
Asw Refactor fits situations like: tasks that involve Refactoring.
Run `npx skills add wjgoarxiv/antigravity-swarm --skill asw-refactor -a claude-code`. Or copy the skill folder (plugins/antigravity-swarm/skills/asw-refactor in wjgoarxiv/antigravity-swarm) into .claude/skills/asw-refactor in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wjgoarxiv/antigravity-swarm --skill asw-refactor -a codex`. Or copy the skill folder (plugins/antigravity-swarm/skills/asw-refactor in wjgoarxiv/antigravity-swarm) into .agents/skills/asw-refactor 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 wjgoarxiv/antigravity-swarm --skill asw-refactor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/asw-refactor, .gemini/skills/asw-refactor, .github/skills/asw-refactor and .opencode/skills/asw-refactor in your project.
SKILL.md names no scripts, command-line tools or credentials: Asw Refactor is instructions for the agent only.
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.
Asw Refactor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.9k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Asw Refactor: Guidelines (akash-network/node, 1.1k stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Component Refactoring (langflow-ai/langflow, 155k stars) and Ponytail Lazy Developer Mode (DietrichGebert/ponytail, 160k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
wjgoarxiv (a GitHub user) maintains it in wjgoarxiv/antigravity-swarm, which has 166 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on June 19, 2026.
Source: wjgoarxiv/antigravity-swarm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.