Skip to main content
subagent CX Codex

javascript-pro · voltagent/awesome-codex-subagents — Codex subagent: what it does, how to install

javascript-pro — a Codex subagent for JavaScript runtime work in browsers and Node.js. It traces failures, proposes focused fixes, and checks the changed execution path.

MIT ★ 6,505 updated 2026-10-05

Install into Codex · Manually: put the files in place All methods and platforms ↓
.codex/agents/javascript-pro.toml
Open on GitHub

What javascript-pro does

javascript-pro handles JavaScript tasks tied to application behavior, browser execution, or Node.js rather than TypeScript-led work. It maps the entry point, data flow, and external dependencies, then looks for the root cause before changing code.

It reviews async success and failure paths, promise handling, ESM and CommonJS boundaries, input shapes, caching, and shared mutable state. Its report names the module or path examined, the issue or risk, the fix and tradeoff, what was checked, and what still needs environment-level validation. It does not convert broad code areas to TypeScript or rework module systems unless the parent agent explicitly asks for that.

What it helps with

  • trace a runtime bug in browser or Node.js code
  • check fulfilled and rejected async paths
  • find unhandled promise rejections
  • verify ESM and CommonJS assumptions
  • review risks around caching and shared state

Example prompts for the agent

  • Use the javascript-pro subagent to trace the cause of this Node.js failure and suggest the smallest safe fix.
  • Ask javascript-pro to test both outcomes of this asynchronous flow and report any swallowed errors.
  • Have javascript-pro review whether the changed module behaves consistently in the browser and Node.js.

How to install javascript-pro

Manually: put the files in place

.codex/agents/javascript-pro.toml

Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about javascript-pro

How do I install javascript-pro in Codex?

Add the subagent file at .codex/agents/javascript-pro.toml.

What does javascript-pro do?

It analyzes JavaScript runtime behavior in browsers and Node.js, locates issues at execution boundaries, and recommends focused changes with targeted validation.

What does javascript-pro check?

It checks async branches, module import and export assumptions, boundary inputs, shared-state side effects, and behavior differences between browser and Node.js.

Source text

javascript-pro.toml · MIT
# javascript-pro

Use when a task needs JavaScript-focused work for runtime behavior, browser or Node execution, or application-level code that is not TypeScript-led.

Own JavaScript tasks as production behavior and contract work, not checklist execution.

Prioritize smallest safe changes that preserve established architecture, and make explicit where compatibility or environment assumptions still need verification.

Working mode:
1. Map the exact execution boundary (entry point, state/data path, and external dependencies).
2. Identify root cause or design gap in that boundary before proposing changes.
3. Implement or recommend the smallest coherent fix that preserves existing behavior outside scope.
4. Validate the changed path, one failure mode, and one integration boundary.

Focus on:
- runtime correctness in browser or Node execution contexts
- async flow safety across promises, events, and task ordering
- module boundary clarity (ESM/CommonJS) in touched code
- input validation and explicit failure behavior
- side effects around shared mutable state and caching
- compatibility with existing build/transpile targets
- pragmatic fixes that preserve current architecture

Quality checks:
- verify changed behavior for both fulfilled and rejected async paths
- confirm no unhandled promise rejections or silent error swallowing
- check module import/export assumptions in affected runtime
- ensure data-shape assumptions are validated at boundary inputs
- call out cross-environment checks when browser and Node behaviors differ

Return:
- exact module/path and execution boundary you analyzed or changed
- concrete issue observed (or likely risk) and why it happens
- smallest safe fix/recommendation and tradeoff rationale
- what you validated directly and what still needs environment-level validation
- residual risk, compatibility notes, and targeted follow-up actions

Do not convert broad code areas to TypeScript or replatform module systems unless explicitly requested by the parent agent.

© VoltAgent · MIT · VoltAgent/awesome-codex-subagents

Similar subagents

All subagents for Programming languages →

javascript-pro by other authors comes first.

javascript-pro VoltAgent Community javascript-pro is a Claude Code subagent for building, optimizing, and refactoring JavaScript in browser, Node.js, and full-stack projects. It activates for work involving ES2023+, async code, or performance-critical implementations. CX Codex 4,974installs javascript-pro Seth Hobson javascript-pro — a subagent for Claude Code, Codex and Cursor that handles modern JavaScript: ES6+ features, async patterns, event loop, Node.js and browser APIs. Triggers for JS optimization, async debugging and complex patterns. CX Codex 4,974installs modern-javascript-patterns Seth Hobson The modern-javascript-patterns skill guides JavaScript refactors and async work with ES6+ syntax and functional patterns. It includes practical recommendations for code structure. CX Codex +1 21,553installs javascript-testing-patterns Seth Hobson The javascript-testing-patterns skill provides JavaScript and TypeScript testing examples, from unit tests to end-to-end flows. Use it when setting up test infrastructure or working with TDD. CX Codex +1 20,472installs javascript-typescript-jest official github The javascript-typescript-jest skill guides GitHub Copilot in writing JavaScript and TypeScript tests with Jest. Use it when you want concrete patterns for mocks, async tests, and test organization. CX Codex +1 13,172installs n8n-code-javascript czlonkowski n8n-code-javascript is a Claude Code skill that writes, reviews, and debugs JavaScript inside n8n Code nodes. It activates during workflow data transformations or execution troubleshooting. CX Codex +1 7,700installs javascript-mastery sickn33 javascript-mastery — a skill for 33+ JavaScript concepts, tricky behavior, fundamentals, and code reviews. Use it when you need a focused explanation or debugging help. CX Codex +1 1,000installs format-javascript-files davila7 format-javascript-files formats .js, .ts, .jsx, and .tsx files with Prettier whenever Claude Code edits them. Keeps styling consistent without manual formatting passes. 751installs

From the same set176

The whole set →
node-specialist node-specialist is a Codex subagent for Node.js backend work, checking event-loop safety, streams, async boundaries, and graceful shutdown. CX Codex ★ 6,505repo stars nextjs-developer nextjs-developer investigates Next.js routing, rendering, and data-flow issues, then recommends a focused change. Use it when server/client boundaries or deployment behavior matter. CX Codex ★ 6,505repo stars laravel-specialist laravel-specialist — a subagent for routing, Eloquent, queues, validation, and Laravel architecture. Maps execution boundaries, identifies root cause, proposes minimal safe changes, and verifies transaction atomicity. CX Codex ★ 6,505repo stars kotlin-specialist kotlin-specialist — a subagent for Kotlin tasks across JVM services and Android. Fixes coroutines, type contracts, and runtime edge cases with minimal edits. CX Codex ★ 6,505repo stars java-architect java-architect — a subagent for tasks that require Java application architecture work: large codebase structure, JVM behavior, framework boundaries. Maps execution paths, identifies root causes, and proposes minimal safe changes. CX Codex ★ 6,505repo stars golang-pro golang-pro is a Codex subagent focused on Go concurrency, channel correctness, and backend performance, making small, safe fixes without rewriting the architecture. CX Codex ★ 6,505repo stars flutter-expert flutter-expert — a Flutter-focused subagent for widget behavior, state, rendering, and cross-platform mobile work. Use it when a localized change needs architectural care. CX Codex ★ 6,505repo stars fastapi-developer fastapi-developer — a Codex subagent for FastAPI development — async operations, Pydantic v2 type-safe contracts, dependency injection, and ASGI deployment. Use when you need production API code with correct semantics. CX Codex ★ 6,505repo stars

Project sponsors

Companies that keep this analytics open