javascript
Original:🇺🇸 English
Translated
Advanced JavaScript patterns, ES2024+, and runtime optimization
14installs
Sourceolino3/forge
Added on
NPX Install
npx skill4agent add olino3/forge javascriptTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Skill: javascript - Advanced JavaScript Engineering
Purpose
Provide advanced JavaScript guidance across runtimes, focusing on modern language features, performance optimization, and robust async patterns.
File Structure
forge-plugin/skills/javascript/
├── SKILL.md
└── examples.mdInterface References
- Context: Load guidance via ContextProvider Interface
- Memory: Store project knowledge via MemoryStore Interface
- Output: Save reports to using OUTPUT_CONVENTIONS.md
/claudedocs/
Mandatory Workflow
Step 1: Initial Analysis
- Identify runtime (Node.js, browser, edge) and deployment constraints
- Confirm module system (ESM/CJS) and bundler/tooling
- Capture performance goals and latency budgets
Step 2: Load Memory
- Use to load prior decisions
memoryStore.getSkillMemory("javascript", "{project-name}") - Review cross-skill notes via
memoryStore.getByProject("{project-name}")
Step 3: Load Context
- Use to select relevant guidance
contextProvider.getDomainIndex("engineering") - Load only the context files required for the task
Step 4: Perform Analysis
- Review async patterns (promise chains, async/await, streaming)
- Evaluate module boundaries, dependency graphs, and bundling strategy
- Identify performance optimizations (event loop, caching, memory usage)
- Address runtime-specific security and stability concerns
Step 5: Generate Output
- Provide code samples, optimization plans, and rollout steps
- Save the report to following OUTPUT_CONVENTIONS
/claudedocs/javascript_{project}_{YYYY-MM-DD}.md
Step 6: Update Memory
- Record runtime constraints, module strategies, and performance baselines
- Update memory with
memoryStore.update("javascript", "{project-name}", ...)
Compliance Checklist
- Step 1 captured runtime and tooling constraints
- Step 2 loaded project memory via MemoryStore
- Step 3 loaded relevant context via ContextProvider
- Step 4 analysis covered async patterns and performance
- Step 5 output saved to with correct naming
/claudedocs/ - Step 6 memory updated with new insights
Version History
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2026-02-12 | Initial release |