Agent skill · Audited from source
Antfu Coding Style
skill · Dokhacgiakhoa/antigravity-ideNOASSERTION licenceAudited 19 Oct 2026 · source d1a0c85a714a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit d1a0c85a714a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Opinionated coding style and tooling preferences by Anthony Fu.
Cite
Cite this page
ModelsAtlas. “Antfu Coding Style (Dokhacgiakhoa/antigravity-ide)”. Retrieved 19 Oct 2026. https://modelsatlas.com/skills/dokhacgiakhoa/antfu-coding-style
Trust audit
Audit 0.4.1 · source read 19 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha d1a0c85a714a · 19 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherDokhacgiakhoa GitHub userOwner of the repository this skill is read from
- Source folderDokhacgiakhoa/antigravity-ide/.agent/skills/antfu-coding-styleThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdictd1a0c85a714aA new audit runs when the source changes
- Repository statusNot archivedLast push 130 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Opinionated coding style and tooling preferences by Anthony Fu.
---
name: antfu-coding-style
description: Opinionated coding style and tooling preferences by Anthony Fu.
category: development
version: 4.1.0-fractal
layer: master-skill
---
# Antfu Coding Style & Philosophy
> **Goal**: Maximal Developer Experience (DX) through minimalism and smart defaults. "Works out of the box."
## 1. Code Organization
- **Single Responsibility**: Keep files small. If you scroll too much, split it.
- **Export**: Use Named Exports for libraries, Default Exports for components.
- **Constants**: Extract magic strings/numbers to `constants.ts`.
## 2. TypeScript Preferences
- **Implicit over Explicit**: Let TS infer types when obvious.
- *Bad*: `const count: number = 0`
- *Good*: `const count = 0`
- **Return Types**: Explicitly type return values for library limits (public API), infer for internal functions.
- **No Enums**: Use `const assertion` object or String Unions.
- `type Mode = 'dark' | 'light'` > `enum Mode { ... }`
## 3. Tooling Stack
- **Package Manager**: `pnpm` (Fast, disk efficient).
- **Runner**: `ni` (NPM/Yarn/PNPM/Bun Agnostic runner).
- `ni` -> install
- `nr dev` -> run dev
- `nu` -> upgrade
- **Testing**: `Vitest` (Fast, Jest compatible, Native ESM).
- Naming: `*.test.ts`.
- Verification: Use `toMatchSnapshot()` sparingly, prefer `toMatchInlineSnapshot()`.
## 4. CSS / Styling
- **UnoCSS**: Atomic CSS engine.
- **Attributify**: Use attributes for styles to keep clean class strings.
- `<div text="red 4xl" hover="text-blue">` (Controversial but preferred by Antfu for clean template).
## 5. Vue.js Specifics
- **Script Setup**: `<script setup lang="ts">`.
- **ReactivityTransform**: Previously experimental, now prefer `ref` with `.value` or explicit `.value` macros if configured.
- **Structure**:
- `defineProps` and `defineEmits` at the top.
- `watch` / `computed` grouped together.
---
**The "Antfu" Vibe**:
- Delete dead code immediately.
- If it can be automated, write a script.
- Aesthetics matter: Code should look beautiful.Excerpt, first 2,047 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit d1a0c85
git clone https://github.com/Dokhacgiakhoa/antigravity-ide git -C antigravity-ide checkout d1a0c85a714a
The author documents no install command, so this uses the repository directly. Our verdict covers commit d1a0c85a714a only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
d1a0c85a714a
Similar skills
All coding & review skills →Dokhacgiakhoa/antigravity-ide
2D game development principles.
Dokhacgiakhoa/antigravity-ide
3D game development principles.
Dokhacgiakhoa/antigravity-ide
Multi-agent orchestration and state management.
Dokhacgiakhoa/antigravity-ide
Principal AI Architect and Machine Learning Engineer.
Dokhacgiakhoa/antigravity-ide
Master API documentation with OpenAPI 3.1.
Dokhacgiakhoa/antigravity-ide
API design principles and decision-making.
Questions about Antfu Coding Style
Is Antfu Coding Style safe to install?
What can Antfu Coding Style access on my machine?
How current is this page?
Sources
- github.com/Dokhacgiakhoa/antigravity-ide/tree/main/.agent/skills — the audited source at commit d1a0c85a714a and every finding aboveObserved · 19 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- Is Antfu Coding Style safe to install?
- What can Antfu Coding Style access on my machine?
- How current is this page?