Agent skill

Asw Programming

by wjgoarxiv in wjgoarxiv/antigravity-swarm

Strict Antigravity implementation discipline for Python, TypeScript, JavaScript, Go, and Rust work.

MITAuto-check passedTesting & QA

Install Asw Programming

skills CLI
$ npx skills add wjgoarxiv/antigravity-swarm --skill asw-programming -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wjgoarxiv/antigravity-swarm asw-programming --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ 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-programming .claude/skills/asw-programming && rm -rf skills-src

Use ~/.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/

Facts

Skill name
asw-programming
GitHub stars
167
Token cost
~3k tokens
SKILL.md length
1,721 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Strict Antigravity implementation discipline for Python, TypeScript, JavaScript, Go, and Rust work.

  • Works in 5 steps: Identify the language and runtime. → Read local project conventions. → Find the authoritative test command. → …
  • Testing & QA work in your project
  • SKILL.md covers Language Gate, Shared Philosophy, TDD Contract and TypeScript And JavaScript, plus 15 more sections
  • Calls npm, python3 and node

What it does

Asw Programming is an agent skill from wjgoarxiv/antigravity-swarm. Strict Antigravity implementation discipline for Python, TypeScript, JavaScript, Go, and Rust work.

Its SKILL.md is about 3k 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 Testing & QA. It works with JavaScript, Python, Rust and TypeScript. The repository describes itself as: ::A team of AI agents to code for you.::. The licence is MIT.

When your agent uses it

  • Testing & QA work in your project

Example prompts

  • “/asw-programming”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Identify the language and runtime.
  2. Read local project conventions.
  3. Find the authoritative test command.
  4. Find typecheck, lint, format, and package commands if present.
  5. Write or identify the RED test before production edits.

What it can do on your machine

Read from SKILL.md and the folder at commit a949cb8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • python3
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Asw Programming loads about 3k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 1,721 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~3k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from wjgoarxiv/antigravity-swarm at commit a949cb8, republished under its MIT licence (© wjgoarxiv). 1,721 words, ~3,038 tokens.

Download SKILL.mdSave it as .claude/skills/asw-programming/SKILL.md (or your agent's skills folder).
name
asw-programming
description
Strict Antigravity implementation discipline for Python, TypeScript, JavaScript, Go, and Rust work.

Antigravity Swarm Programming

Use this skill when editing source code, tests, hook scripts, installer logic, package scripts, or generated-asset tooling.

Language Gate

Before editing:

  1. Identify the language and runtime.
  2. Read local project conventions.
  3. Find the authoritative test command.
  4. Find typecheck, lint, format, and package commands if present.
  5. Write or identify the RED test before production edits.

Do not start implementation from memory. Let the repo tell you how code is shaped.

Shared Philosophy

The Type System Is A Proof System

Make invalid states hard to express:

  • use semantic names for IDs, paths, modes, states, and options,
  • prefer discriminated variants over loose strings,
  • keep nullable values near the boundary,
  • do not use catch-all shapes when the variants are known.
Parse, don't validate

Untrusted input crosses a boundary once:

  • CLI args,
  • JSON payloads,
  • config files,
  • environment variables,
  • hook payloads,
  • package manifests,
  • external API responses.

At that boundary, parse into a typed or structured value. Inside the code, operate on parsed values instead of re-validating the same assumptions.

One name, one concept

Avoid using one primitive to represent several concepts. A path, package name, plugin id, color, model label, and command are different concepts even if all are strings.

Exhaustive variants

When handling modes, commands, languages, colors, result states, or hook phases, make the handling exhaustive. Unknown values should fail clearly at the boundary.

Small files, honest ownership

Use a 250 pure LOC ceiling as a warning. A file above that line count needs either a clear reason or a split by responsibility. Split by concept, never by chunk number.

TDD Contract

Use RED to GREEN for behavior changes:

  1. Name the observable behavior.
  2. Write the failing test or reproduction.
  3. Capture RED output.
  4. Implement the smallest change.
  5. Capture GREEN output.
  6. Run the real surface when users can observe the change.

For refactors, write or identify characterization coverage first. The test should be green before the refactor and stay green after.

Test Pyramid

Use the smallest test that proves the behavior, then climb only when needed:

  • pure function tests for deterministic formatting and parsing,
  • command tests for CLI arguments and stdout,
  • file-system tests for installers and package layout,
  • hook payload tests for Antigravity lifecycle behavior,
  • integration tests for config merge and installed paths,
  • manual QA for terminal rendering, browser rendering, IDE behavior, or generated images.

Avoid replacing a narrow deterministic test with a broad smoke test. Broad smoke tests are useful after the narrow test has made the failure easy to locate.

Given / When / Then

Behavior tests should make the scenario obvious:

  • Given: existing config, payload, files, flags, or state.
  • When: the command, hook, helper, or UI action runs.
  • Then: the observable output, file, error, or status line is asserted.

BDD comments are allowed when they clarify the shape of the scenario. Do not delete them as clutter.

Less Mocking

Prefer real temp directories, real files, real JSON parsing, real process execution, and real stdout when the behavior depends on those surfaces.

Mocks are appropriate when:

  • the external service is slow or unavailable,
  • the test would mutate a real user account,
  • the dependency is nondeterministic,
  • the mock captures a stable contract.

If a mock hides path handling, shell output, terminal width, package contents, or config merge behavior, it is probably the wrong test.

Prompt And Skill Tests

Markdown skills and agent prompts are product code in this repo. Test them when they define behavior:

  • inventory tests for names,
  • section tests for required execution contracts,
  • residue tests for private terminology,
  • line-depth tests when a port must preserve operational substance,
  • README tests when examples must match hook or HUD output.

Do not treat docs as harmless if users copy commands from them.

TypeScript And JavaScript

Prefer:

  • explicit command parsing,
  • small pure helpers around string formatting,
  • Map or object lookup tables for closed sets,
  • narrow error handling,
  • package tests for npm surfaces,
  • no implicit mutation of shared process env unless scoped to the command.

Avoid:

  • broad any shapes,
  • hidden process exits inside helpers,
  • catch-all catch blocks that swallow errors,
  • stringly config updates when JSON parsing is available,
  • long functions combining parse, IO, rendering, and write phases.

Recommended checks:

  • npm test,
  • project typecheck if defined,
  • targeted script smoke,
  • package dry run when shipped files changed.

Python

Prefer:

  • small scripts with explicit main,
  • typed helper signatures,
  • Path for filesystem paths,
  • structured command arguments,
  • deterministic output for generated assets,
  • narrow exceptions around optional fonts or platform-specific paths.

Avoid:

  • broad exceptions around core logic,
  • comments explaining what a function name already says,
  • global writes that cannot be overridden in tests,
  • mutable default arguments,
  • silently ignoring missing dependencies.

Recommended checks:

  • python3 -m py_compile <file>,
  • project test,
  • run the script through the real command path.

Go

Prefer:

  • explicit context propagation,
  • structured logging at boundaries,
  • small interfaces only where they decouple real implementations,
  • table tests for variants,
  • clear error wrapping.

Avoid:

  • panic for ordinary errors,
  • global mutable state,
  • broad utility packages,
  • interface definitions with one local implementation and no test seam.

Rust

Prefer:

  • typed errors,
  • exhaustive matches,
  • small modules,
  • Result over panic,
  • clear ownership boundaries.

Avoid:

  • unwrap in non-test paths,
  • large enum matches without default audit,
  • hidden clones in loops,
  • unsafe code unless the task explicitly requires it and tests cover it.

Cross-language Iron List

These rules apply everywhere:

  • no behavior change without behavior proof,
  • no catch-all type when variants are known,
  • no duplicate validation inside trusted internal paths,
  • no global mutable state unless it is the platform contract,
  • no hidden IO inside pure-named helpers,
  • no silent fallback that hides broken config,
  • no broad exception swallowing,
  • no public API removal without explicit request,
  • no generated asset change without regeneration proof,
  • no package surface claim without dry-run evidence,
  • no user-visible text drift from README examples,
  • no oversized module split by arbitrary chunk names,
  • no new dependency for a small local helper,
  • no final status that hides skipped checks.

Canonical Libraries

Prefer established standard or project-local facilities:

  • filesystem paths through the language path library,
  • JSON through structured parsers,
  • TOML/YAML through the project parser when already present,
  • CLI args through the existing command parser,
  • subprocesses through explicit argv arrays,
  • colors through the existing palette or UI helper,
  • terminal rendering through tested width-aware helpers,
  • image generation through deterministic scripts,
  • package validation through the package manager,
  • plugin validation through the Antigravity CLI.

Adding a dependency is justified only when it removes real complexity and is acceptable for the package surface.

Show full SKILL.md (660 more words)Show less

Modern Toolchain Expectations

Before adding new tools, inspect what the repo already uses. Prefer:

  • npm test or the package's test script for Node repos,
  • project typecheck when configured,
  • focused node --test files for fast RED/GREEN,
  • python3 -m py_compile for standalone Python scripts,
  • project linters when present,
  • package dry-run for npm shipping,
  • plugin validation for Antigravity plugins,
  • temp install smoke for installer changes.

If a tool is absent, say N/A with reason instead of pretending the check passed.

Implementation Order

  1. Read local rules and nearby patterns.
  2. Determine behavior owner and test owner.
  3. Add or identify RED.
  4. Implement the smallest production change.
  5. Run narrow GREEN.
  6. Run language diagnostics.
  7. Run full relevant suite.
  8. Run real-surface QA.
  9. Clean temporary state.
  10. Review package/git boundaries when files can ship.

Error Handling

  • Preserve boundary error handling.
  • Narrow broad catches where safe.
  • Rethrow unknown errors after handling known cases.
  • Keep user-facing error messages stable unless the request changes them.
  • Do not hide failures to make tests green.

File Size And Structure

Measure pure LOC for files that feel oversized. If a file is over 250 pure LOC:

  • identify responsibilities,
  • split by concept,
  • preserve imports and exports,
  • run tests after each split,
  • avoid catch-all names like utils or helpers.

Standalone scripts may exceed the ceiling only when they are truly one responsibility and easier to ship as one file.

250 Pure LOC Ceiling

The 250 pure LOC ceiling is architectural pressure, not a style game. Count non-blank, non-comment lines. When a source file crosses the ceiling:

  1. Identify responsibilities.
  2. Name the owner module for each responsibility.
  3. Split by concept.
  4. Preserve public imports through logic-free re-exports when needed.
  5. Run tests after each split.
  6. Re-check the line count.

Forbidden escapes:

  • "It is generated" when it is actually source,
  • "It is almost 250",
  • utils, helpers, common, part1, or chunk-number names,
  • moving code without moving tests,
  • counting comments or blanks to justify staying.

Acceptable exceptions are rare. They require a note explaining why the file is one responsibility and easier to maintain as one file.

Post-write Review Loop

After writing code, review it before claiming completion:

  1. Measure changed source files that may be oversized.
  2. Re-read the diff as a reviewer.
  3. Check for behavior drift.
  4. Check for missing tests.
  5. Check for boundary validation.
  6. Check for duplicated parsing.
  7. Check for broad catches.
  8. Check for stale docs or examples.
  9. Check for package/private leakage.
  10. Run the verification plan.

If the diff would make you ask a reviewer to trust intent instead of evidence, add evidence.

Companion Skills

Invoke or follow the relevant ASW skill when the request crosses into another mode:

  • use asw-refactor for behavior-preserving structural change,
  • use asw-debug for runtime failures,
  • use asw-review before release or merge claims,
  • use asw-remove-ai-slops for branch-wide generated-looking cleanup,
  • use asw-lsp for diagnostics when language tooling matters,
  • use asw-ui-ux for visual, README, terminal UI, and cover work,
  • use asw-plan when scope is broad and execution should wait for a plan.

Do not blend all modes into one vague implementation pass. Name the mode and use its safety contract.

Package And Hook Work

When editing installer, hooks, skills, agents, or status line:

  • test the function,
  • test the installed package surface,
  • validate the plugin,
  • smoke the command through an installed path,
  • keep README examples in sync with real output.

Completion Gate

Do not declare done until:

  • RED and GREEN evidence exist for changed behavior,
  • diagnostics or fallback checks are clean,
  • the user-facing surface was exercised,
  • package/private boundaries are clean,
  • temporary QA state is cleaned.
  • README or user-facing examples are updated when behavior changed.
  • The final report names residual risk instead of hiding uncertainty.

Stop Conditions

Stop and report if:

  • no green baseline can be established,
  • a requested change conflicts with repo rules,
  • behavior cannot be characterized safely,
  • an external platform contract is unknown and current docs are needed,
  • two attempts fail the same gate for the same reason.

© wjgoarxiv, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/antigravity-swarm/skills/asw-programming of wjgoarxiv/antigravity-swarm.

Open the folder on GitHubat commit a949cb8

Compare with similar skills

Asw Programming 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.

Asw Programming compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Asw Programming this skillwjgoarxiv/antigravity-swarm167—~3kAutomated safety check: PassMIT
Supercovsupercorp-ai/supercov1501 repos~415Automated safety check: PassMIT
Supercov Securitysupercorp-ai/supercov1501 repos~236Automated safety check: PassMIT
Polyglot Test Agentboshi-xixixi/TraeSkill275—~1.7kAutomated safety check: PassMIT
jscpd Code Migration Trackerkucherenko/jscpd6.4k—~5kAutomated safety check: PassMIT
Cross-Language Coding Standardszereight/gitlab-mcp2k1 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Supercov

    supercorp-ai/supercov

    Measures test coverage and code quality in a repository with the supercov CLI, and turns what it finds into small, focused tests or fixes.

    150 GitHub starsUsed in 1 repo~415 tokens
    Testing & QAAuto-check passed
  • Supercov Security

    supercorp-ai/supercov

    Scans a repository's source for security vulnerabilities with the supercov CLI, pointing to the line of each finding and mapping it to CWE classes.

    150 GitHub starsUsed in 1 repo~236 tokens
    Testing & QAAuto-check passed
  • Polyglot Test Agent

    boshi-xixixi/TraeSkill

    Generates comprehensive, workable unit tests for any programming language using a multi-agent pipeline.

    275 GitHub stars~1.7k tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Measures a code port between languages or frameworks with jscpd's function-level comparison, porting tests before code and tracking what is left unmatched.

    6.4k GitHub stars~5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Shared reference for naming, function size, complexity and error handling rules that reviewer agents apply across TypeScript, Python, Go, Rust, Java, C# and Swift.

    2k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Coding Agent

    mastra-ai/mastra

    Authoring playbook for building agents that write, edit, review, or refactor code.

    29k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed

More from wjgoarxiv/antigravity-swarm

All 15 skills in this repo
  • Asw

    wjgoarxiv/antigravity-swarm

    Antigravity Swarm execution loop for evidence-driven implementation with tests, subagents, hooks, and manual QA.

    167 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Asw Cleanup

    wjgoarxiv/antigravity-swarm

    Remove AI-looking clutter and temporary artifacts without changing behavior.

    167 GitHub stars~1.2k tokensUpdated 3 mo ago
    Auto-check passed
  • Asw Debug

    wjgoarxiv/antigravity-swarm

    Hypothesis-driven Antigravity Swarm debugging for crashes, hangs, wrong output, and runtime drift.

    167 GitHub stars~1k tokensUpdated 3 mo ago
    Auto-check passed
  • Asw Goal

    wjgoarxiv/antigravity-swarm

    Durable Antigravity Swarm goal orchestration with explicit success criteria, evidence ledger, manual QA channels, and completion audit.

    167 GitHub stars~905 tokensUpdated 3 mo ago
    Auto-check passed
  • Asw Loop

    wjgoarxiv/antigravity-swarm

    Antigravity Swarm Loop executes RED to GREEN to real-surface QA with cleanup receipts.

    167 GitHub stars~824 tokensUpdated 3 mo ago
    Auto-check passed
  • Asw Plan

    wjgoarxiv/antigravity-swarm

    Antigravity Swarm Plan creates a decision-complete plan before large or ambiguous work.

    167 GitHub stars~1.4k tokensUpdated 3 mo ago
    Auto-check passed

Categories

Questions about Asw Programming

What does Asw Programming do?

Strict Antigravity implementation discipline for Python, TypeScript, JavaScript, Go, and Rust work. Asw Programming is an agent skill from wjgoarxiv/antigravity-swarm. Strict Antigravity implementation discipline for Python, TypeScript, JavaScript, Go, and Rust work.

When should I use Asw Programming?

Asw Programming fits situations like: testing & QA work in your project.

How do I install Asw Programming in Claude Code?

Run `npx skills add wjgoarxiv/antigravity-swarm --skill asw-programming -a claude-code`. Or copy the skill folder (plugins/antigravity-swarm/skills/asw-programming in wjgoarxiv/antigravity-swarm) into .claude/skills/asw-programming in your project. Claude Code loads it when a task matches its description.

How do I install Asw Programming in Codex?

Run `npx skills add wjgoarxiv/antigravity-swarm --skill asw-programming -a codex`. Or copy the skill folder (plugins/antigravity-swarm/skills/asw-programming in wjgoarxiv/antigravity-swarm) into .agents/skills/asw-programming in your project. Codex loads it when a task matches its description.

Can I use Asw Programming in Cursor, Gemini CLI or GitHub Copilot?

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-programming -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-programming, .gemini/skills/asw-programming, .github/skills/asw-programming and .opencode/skills/asw-programming in your project.

What does Asw Programming need to run?

Going by SKILL.md and its folder, Asw Programming needs the command-line tools its instructions call (npm, python3 and node). Our summary lists: Python 3.

Does Asw Programming access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Asw Programming safe to install?

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.

What licence does Asw Programming use?

Asw Programming is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Asw Programming use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Asw Programming?

Skills that share tags, products or a category with Asw Programming: Supercov (supercorp-ai/supercov, 150 stars), Supercov Security (supercorp-ai/supercov, 150 stars), Polyglot Test Agent (boshi-xixixi/TraeSkill, 275 stars) and jscpd Code Migration Tracker (kucherenko/jscpd, 6.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Asw Programming?

wjgoarxiv (a GitHub user) maintains it in wjgoarxiv/antigravity-swarm, which has 167 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.