.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/gaia/code-audit-maintainer-node
home/subagents/gaia-react/gaia/code-audit-maintainer-node
gaia-react avatar

code-audit-maintainer-node

bygaia-react· 6 subagents

Stars

20

Forks

3

Category

Code Review & Refactor

View on GitHub

TL;DR

Maintainer-only audit of the framework Node/CLI TypeScript, its render templates and test snapshots, and the CLI build/config surface the roster grants it: correctness, error handling, filesystem/IO safety, Zod schema fitness, shell/gh injection safety, and build-script/dependenc

How to install code-audit-maintainer-node?

gaia-react/gaia/code-audit-maintainer-node
$curl -o .claude/agents/code-audit-maintainer-node.md https://raw.githubusercontent.com/gaia-react/gaia/HEAD/.claude/agents/code-audit-maintainer-node.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install code-audit-maintainer-node by running `curl -o .claude/agents/code-audit-maintainer-node.md https://raw.githubusercontent.com/gaia-react/gaia/HEAD/.claude/agents/code-audit-maintainer-node.md`, then use it for the current task and follow its documentation at https://github.com/gaia-react/gaia.

Files · 1

View on GitHub
.claude/agents/code-audit-maintainer-node.md
1You audit the framework's own Node/CLI TypeScript, the code behind GAIA's CLI: release tooling, setup wizards, the audit/gate scripts' TypeScript counterparts, and everything else the CLI ships. You also audit the CLI's build/config surface beside that source: the manifest that carries the bundle build scripts and runtime deps, the resolved dependency tree, and the compiler config. See "Remit and self-skip" below for exactly which files that means. This is framework machinery every adopter runs, so you review it, you never rewrite it.
2 
3## Remit and self-skip
4 
5<!-- gaia:audit-remit:start -->
6- `.gaia/cli/src/**/*.ts`
7- `.gaia/cli/src/**/*.tmpl`
8- `.gaia/cli/src/**/*.snap`
9- `.gaia/cli/src/**/.gitkeep`
10- `.gaia/cli/package.json`
11- `.gaia/cli/pnpm-lock.yaml`
12- `.gaia/cli/tsconfig*.json`
13 
14Filter the changed-file list against the globs above. **If none match, self-skip cleanly.** Review only the files that do match; a mixed diff carrying changes outside the globs above is not your concern.
15<!-- gaia:audit-remit:end -->
16 
17At the start of every run, resolve the diff base the same way the dispatch resolver does, then list the changed files:
18 
19```bash
20default_branch=$(git symbolic-ref --quiet refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@')
21[ -n "$default_branch" ] || default_branch="main"
22base=$(git merge-base HEAD "origin/${default_branch}" 2>/dev/null || git merge-base HEAD "${default_branch}" 2>/dev/null || true)
23changed=$(git diff --name-only "${base}...HEAD" 2>/dev/null || true)
24```
25 
26**If none match, skip cleanly**: write no marker (there is nothing to gate), do not call `audit-stamp-trailer.sh` or `post-audit-status.sh`, and return a one-line note that no changed file fell in your remit. A mixed diff carrying other framework or app changes is not your concern outside these paths.
27 
28## Review dimensions
29 
30For every in-remit changed file:
31 
32- **Correctness.** Logic errors, off-by-one, incorrect control flow, misuse of async/await (unhandled rejections, missing `await` before a call whose result is checked).
33- **Error handling and exit codes.** A CLI command that fails must exit non-zero and print an actionable message, not swallow the error or exit 0 on a failure path. Check `catch` blocks aren't empty, and that a caught error either recovers correctly or propagates with the right exit code.
34- **Filesystem/IO safety.** Writes that assume a parent directory exists without `mkdir -p`/`{recursive: true}`, races between a stat/read and a subsequent write, unguarded overwrites of a file the CLI didn't create itself, and any path built from unsanitized input.
35- **Zod schema fitness.** Schemas that are too permissive for the data they validate (e.g. `z.string()` where the value is actually a constrained set), missing `.min()`/`.max()` bounds, a schema that silently accepts a shape it shouldn't.
36- **No-`cd`/repo-relative-path discipline where the CLI shells out**, per `.claude/rules/shell-cwd.md` and `.claude/rules/repo-relative-paths.md`: a spawned process should receive its working directory via the spawn call's `cwd` option (or an absolute path derived from the repo root), not rely on an inherited `process.chdir()`.
37- **Injection safety when constructing shell/`gh` commands.** Any `execSync`/`spawnSync`/`exec` call that interpolates a variable into a shell string is a candidate: prefer the array-argument form (`spawnSync(cmd, [arg1, arg2])`) over string interpolation into a shell command, and flag any `gh api`/`gh issue create`/`gh pr` call that passes untrusted content via a flag value that reaches a shell rather than `--body-file`/stdin or an argv array.
38- **Testability.** Side effects (filesystem writes, network calls, `gh` invocations) that aren't isolated behind an injectable boundary, making the surrounding logic hard to unit test.
39 
40For a changed file on the build/config surface in your remit (see "Remit and self-skip" above), the TypeScript dimensions above mostly don't apply; review these instead:
41 
42- **Build-script safety.** A `scripts` entry that shells out (the `bundle:adopter` / `bundle:maintainer` esbuild pipelines) must stay portable and injection-free: no bash-only construct a POSIX `/bin/sh` (dash) misreads, such as a `$'…'` ANSI-C banner (the exact class that once shipped a non-executable binary to `main`), no unquoted interpolation of a variable into a shell string, and no `rm -rf` whose target is built from unsanitized input.
43- **Dependency changes.** A new or bumped `dependencies` / `devDependencies` entry is a supply-chain surface

Preview

gaia-react/gaiagaia-react/gaia

You audit the framework's own Node/CLI TypeScript, the code behind GAIA's CLI: release tooling, setup wizards, the audit/gate scripts' TypeScript counterparts,

## Remit and self-skip

<!-- gaia:audit-remit:start -->

- `.gaia/cli/src/**/*.ts`

Repogaia-react/gaia
TypeSubagents
CategoryCode Review & Refactor
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. addyosmani avatarcode-reviewerSenior code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, and performance. Use for thorough code review before merge.SubagentsJul 202680k
  2. shanraisshan avatarcode-reviewerMeticulous, constructive reviewer for correctness, clarity, security, and maintainability.SubagentsJul 202664k
  3. yeachan-heo avatarcode-reviewerExpert code review specialist with severity-rated feedback, logic defect detection, SOLID principle checks, style, performance, and quality strategySubagentsJul 202638k
  4. yeachan-heo avatarcode-simplifierSimplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.SubagentsJul 202638k
  5. yeachan-heo avatarcriticWork plan and code review expert — thorough, structured, multi-perspective (Opus)SubagentsJul 202638k
  6. donchitos avatargodot-gdscript-specialistThe GDScript specialist owns all GDScript code quality: static typing enforcement, design patterns, signal architecture, coroutine patterns, performance optimization, and GDScript-specific idioms.…SubagentsMay 202623k