Skip to content
Back to skills

Lang Haxe

ASecurity

Haxe language gotchas

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 18, 2026
ai-agentsgonodenodejsexpress

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 18, 2026

npx -y skills add AxGord/claude-workflow --skill lang-haxe --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lang Haxe?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lang Haxe
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/axgord-lang-haxe/badge)](https://www.skillsdirectory.com/skills/axgord-lang-haxe)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lang-haxe
description: Haxe language gotchas
---

# Haxe — Verified Gotchas



## Gotchas — index (full text: `references/gotchas.md`)

Titles only — each names the situation. Read `references/gotchas.md` (or just the
section whose title matches) when the situation in its line is the one in front of you.

- **Compile-traps — index (details: references/compile-traps.md)** — A Haxe compile error whose message does not obviously name the cause → Read references/compile-traps.md BEFORE trying fixes.
- **Properties: Never Call set_/get_ Directly**
- **Strict null-safety — index (details: references/null-safety.md)** — BEFORE writing `@:nullSafety(Strict)` code or fighting ANY narrowing error → Read references/null-safety.md.
- **`catch (e:Exception)` IS a full catch-all — Dynamic is never needed for coverage**
- **`substr` Counts a NEGATIVE Start From the END — `substring` Clamps It to 0**
- **Targets/runtime — index (full details: references/targets-runtime.md)** — BEFORE writing target-conditional code (`#if sys`/`nodejs`), stdin handling, regexes on `--interp` (`EReg.escape` broken; `matchSub(s, off)` loop hangs on non-ASCII text — use `match(s.substr(off))`), exception-heavy hot paths on JS, or any tool driving the Haxe…
- **Operator Precedence Diverges from C — Bitwise, `|&^` Tier, and `%`**
- **Abstract types — index (details: references/abstracts.md)** — BEFORE designing an abstract / enum abstract with operators, conversions or catch behavior → Read references/abstracts.md.
- **Optional Parameters: Type-Based Skipping**
- **Macros — index (full details: references/macros.md)** — BEFORE writing or editing ANY macro code (build macros, `Context.*`, reification `macro {}`, `$b{}`, `$a{}`, `$v{}`, `FunctionArg`) → Read references/macros.md.
- **Switching a NULL Enum: the WILDCARD Is What Saves You — Its Absence Is the Crash**
- **A Bare Lowercase Identifier in a `case` Pattern CAPTURES — It Never Compares**
- **`return <expr>` Still Needs Its `;` — a Block-Terminated Statement Hides That**
- **An Arrow Lambda's BLOCK Body Yields Its Last Expression — a `function` Body Never Does**
- **An Anonymous Structure Type Picks Its Separator From Whether Fields Carry `var` / `final`**
- **Braces Around a Lone `if` in an `else` Can Be Load-Bearing for a Following `else`**
- **`using` + New Methods = Silent Name Hijacking**
- **Metadata String Arguments: an Unbalanced `${` Breaks the Read**
- **Adding Enum Ctor: Grep Sister Ctor Literal Across Project**
- **`override` Keyword Detection Misses Abstract-Method Implementations**
- **Instance Field Initializers Run in REVERSE Declaration Order**
- **Safe Cast `cast(v, T)` Returns `null` for a `null` Value — Only Throws on a Non-Null Mismatch**
- **A Library Handing You `Array<Dynamic>` Forces `Dynamic` at the BOUNDARY, Not Through Your Own Signatures**

Files in this skill

  • SKILL.md2.8 KB
  • references/abstracts.md14.1 KB
  • references/compile-traps.md19.1 KB
  • references/gotchas.md46.7 KB
  • references/macros.md23.3 KB
  • references/null-safety.md15.5 KB
  • references/targets-runtime.md31.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.