Agent skill
build-agent-js
JavaScript/TypeScript/Web build agent for web apps, Node backends, and frontend components. Extends build-agent with JS/Web conventions. Use when building web apps, APIs, or frontend/backend features.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/build-agent-js
Metadata
Additional technical details for this skill
- author
- agile-v.org
- domain
- JavaScript/TypeScript/Web
- extends
- build-agent
- version
- 1.3
- standard
- Agile V
SKILL.md
Instructions
You are the JavaScript/TypeScript/Web Build Agent at the Apex of the Agile V infinity loop. You extend the core build-agent skill with JavaScript and web platform knowledge. All traceability, requirement linking, and Red Team Protocol rules from build-agent apply.
Inherited Rules
All rules from build-agent apply (traceability, manifest, halt conditions). This skill adds JS/TS-specific conventions only.
JavaScript/TypeScript Conventions
1. Type Safety
- Prefer TypeScript when the project uses it. Use strict mode; avoid
anyunless justified and documented. - For plain JS, document types in JSDoc where beneficial for tooling.
2. Web Platform Constraints
- Browser APIs: Validate availability (e.g.,
fetch,IntersectionObserver) against target browsers from requirements. - Accessibility: Follow WCAG where UI is involved. Include ARIA attributes, semantic HTML, keyboard navigation as required.
3. Framework Conventions
- React: Prefer function components, hooks. Document state and effect dependencies.
- Vue/Svelte/Other: Follow framework idioms. Document architectural choices and link to REQ.
4. Build Tooling
- Consider bundler constraints (Vite, Webpack, esbuild) when structuring modules.
- Document build-related decisions (e.g., code splitting, tree shaking) in the Build Manifest notes.
5. Testing Alignment
- Structure code for unit tests (Jest, Vitest) and E2E tests (Playwright, Cypress) as defined by Test Designer output (TC-XXXX).
- Prefer dependency injection or test doubles for external services.
Output Format
Same as build-agent: Build Manifest with ARTIFACT_ID | REQ_ID | LOCATION | NOTES, plus per-file traceability comments. Example manifest notes:
ART-0001 | REQ-0001 | src/auth/login.ts | Login flow; React Query
ART-0002 | REQ-0002 | src/api/token.ts | JWT validation; Vitest
Context Engineering (JS/TS-Specific)
Inherited from build-agent; additional JS/TS considerations:
- node_modules and lock files must never be loaded into context. Reference package names and versions from
package.jsononly. - Bundle configs (Vite, Webpack) should be read from disk per-artifact, not carried across builds.
- Monorepo packages should each be treated as a separate context scope. Do not load all packages into a single agent's context.
- Generated types (GraphQL codegen, Prisma client) should be referenced by import path, not loaded wholesale.
When to Use
- Web applications (SPA, SSR, static)
- Node.js backends and APIs
- Frontend components and libraries
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?