Install
$ agentstack add skill-hsienw-ai-agent-engineering-playbook-node-engineering ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Node Engineering
Skill Interface
- Name: node-engineering.
- Description: Guide robust Node.js and TypeScript engineering for services, scripts, CLIs, tests, streams, async workflows, module boundaries, environment configuration, logging, caching, profiling, and graceful shutdown.
- Parameters: Runtime entry points, package scripts, environment variables, async resources, dependency boundaries, logging requirements, test commands, and representative input or fixtures.
- Instructions: Use this skill when working in Node.js or TypeScript runtimes. Make runtime contracts explicit, validate external data and environment at boundaries, manage async resources deliberately, and run the local lint, type-check, test, or build commands that apply.
Prefer explicit runtime behavior over framework assumptions. Treat process lifetime, async resources, environment variables, and module boundaries as production contracts.
Core Rules
- Validate environment variables at startup and fail fast with safe messages.
- Keep secrets in environment or secret managers, never in code or logs.
- Use structured errors with stable codes for expected failures.
- Use
unknownfor external data until parsed. - Keep module imports consistent with the project module system.
- Close servers, database clients, workers, timers, file handles, and streams in
tests and shutdown paths.
- Bound concurrency for network, file, and CPU-heavy work.
Async Patterns
- Use
AbortSignalor equivalent cancellation propagation for long operations. - Prefer
Promise.allonly when work is independent and failure behavior is
acceptable.
- Use concurrency limits when fan-out can grow with input size.
- Avoid unhandled promises and fire-and-forget work unless supervised.
Testing
- Make tests deterministic.
- Avoid fixed sleeps; wait for observable conditions.
- Isolate process-level state such as environment variables, timers, and global
caches.
- Ensure tests release resources in the same scope that creates them.
- When a process hangs, inspect open handles before adding timeouts.
Observability
- Log structured events at boundaries and failures.
- Include correlation identifiers when available.
- Do not log tokens, credentials, raw authorization headers, or sensitive
payloads.
Verification
Use the local package's lint, test, type-check, and build commands when they exist. For scripts, run the smallest representative command with safe fixture input.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: HsienW
- Source: HsienW/ai-agent-engineering-playbook
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.