Nodejs Project Arch — Data skill for Claude Code
🏗️ AI-friendly Node.js project architecture standards.
How to install Nodejs Project Arch
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open abczsl520/nodejs-project-arch and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Nodejs Project Arch does
🏗️ AI-friendly Node.js project architecture standards. Keep files <400 lines for AI agents. Covers H5 games, data tools, APIs, SDKs. 70-93% token savings. OpenClaw skill.
Alternatives in Data
- Portaljs Add Dcat — Make a PortalJS portal harvestable by national/EU/US open-data portals — emit standards-compliant DCAT catalog 2.3k ★
- Soul.Md — The best way to build a personality for your agent 381 ★
- Sdd POC — /sdd-poc — Pipeline minimaliste POC (FEAT → arch → back → front) 193 ★
README
nodejs-project-arch
**Node.js project architecture standards for AI-assisted development.**
An [OpenClaw](https://openclaw.ai) / AI agent skill that enforces modular file structures, keeping every file small enough for AI to read and edit without blowing the context window.
✨ Why?
When AI agents work with large single-file codebases, things go wrong fast:
| Scenario | Tokens per read | Context usage (200K) |
|---|---|---|
3000-line server.js |
~40K | 20% |
| 200-line module | ~2.7K | 1.3% |
**Result:** Splitting files means **10-15 productive rounds** before context compression, vs 3-5 with monolithic files. That's **70-93% token savings** per file read.
📐 Core Rules
- Single file ≤ 400 lines /
index.html≤ 200 lines /server.jsentry ≤ 100 lines - All tunable values in
config.json— loaded at runtime, editable via admin dashboard - Backend:
routes/by domain,services/for shared logic,db.jsfor database init - Frontend: HTML skeleton only, JS/CSS in separate files under
public/ - Every project gets
admin.html+routes/admin.jsfor config hot-reload + stats
🎮 Supported Project Types
| Type | Signals | Reference |
|---|---|---|
| H5 Game | Canvas, Phaser, Matter.js, game loop, sprites | references/game.md |
| Data Tool | Crawler, scraper, scheduler, data sync, analytics | references/tool.md |
| Content/Utility | Generator, library, publisher, file processing | references/tool.md |
| Dashboard/Monitor | Charts, real-time, alerts, metrics | references/tool.md |
| API Service | REST endpoints, middleware, microservice | references/tool.md |
| SDK/Library | Shared module, build step, multi-consumer | references/sdk.md |
📁 Typical Structure
project-name/
server.js ← Entry point,
Related Skills
LLM Analytics Apps
Node.js and Python examples for integrating LLM providers with PostHog's AI SDKs for observability and analyti
Nodejs Backend Patterns
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error
How To Make A Leaderboard
Delta-based multi-device Game Center leaderboard system for iOS/Mac games. Covers local delta accumulation, as
Openclaw Multiagent Fleet
Multi-agent Claude+Codex code pipeline: plan -> implement on isolated node -> merge request -> review -> merge
Personalization Writer
Generate personalized first lines, email copy, or LinkedIn messages based on prospect data and copy frameworks
Cfn Dry Review
MUST BE USED before merging any PR that adds 3+ new functions or 50+ lines. Run after implementation. Reviews
Related Agents
Arch Cost Optimizer
Berelain sur Paendrag, the cloud cost optimization expert who models TCO, finds and ranks savings, plans budge
Game Developer
Game development across all platforms (PC, Web, Mobile, VR/AR). Use when building games with Unity, Godot, Unr
Nodejs Backend Patterns
Comprehensive guidance for building scalable, maintainable, and production-ready Node.js backend app... - wsho