Legacy Web Standard
Use when maintaining or safely modifying existing non-framework frontend code: vanilla JavaScript, jQuery, HTML/CSS, MPA pages, server-rendered templates, legacy plugins, or long-l…
Bovin Phang
@bovinphang
Install
$ openclaw skills install @bovinphang/fec-legacy-web-standardTraditional front-end project specifications (JS + jQuery + HTML)
Purpose
Safely maintain vanilla JS, jQuery, HTML/CSS and server-side template projects without rewriting the technology stack.
Procedure
- First confirm whether this change is to maintain the old stack or migrate; switch to the modern migration workflow when migrating to React/Vue/TypeScript.
- Use the existing architecture and coding style, prioritize fixing problems, and do not introduce multiple modernizations in one change.
- JavaScript uses IIFE/namespace to reduce global pollution, and event binding is delegated to reasonable containers first.
- DOM updates cache selectors, batch operations, and escapes user input; Ajax must handle loading, error, empty status, and prevention of repeated submissions.
- HTML/CSS maintains semantics, label, alt, BEM/existing naming and low selector depth.
- Key security checks:
.html(),innerHTML, URL parameter rendering, CSRF token and file upload.
Detailed reference
Load references/legacy-patterns.md when it comes to jQuery namespaces, event binding, Ajax, XSS escaping, file organization, and maintenance checklist examples.
Constraints
- Improve within the existing architecture and do not introduce modern frameworks that are incompatible with the project.
- Progressive enhancement is better than reinventing the wheel.
- Disable using
innerHTML/.html()to directly insert user input. - Avoid global variable pollution.
- Focus on one maintenance point at a time to avoid rebuilding the entire module.
Expected Output
The changes are consistent with the style of the old project, no global variables are leaked, events and DOM operations are maintainable, Ajax state is intact, user input has been escaped, and incremental improvements do not destroy existing functionality.
Top skills in this category
Skill Vetter
@spclaudehomeSecurity-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
Github
@steipeteInteract with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Humanizer
@biostartechnologyRemove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Free Ride - Unlimited free AI
@shaivpidadiManages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
Elite Longterm Memory
@nextfrontierbuildsUltimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.