fec-legacy-web-standard

Installation
SKILL.md

Traditional 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

  1. 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.
  2. Use the existing architecture and coding style, prioritize fixing problems, and do not introduce multiple modernizations in one change.
  3. JavaScript uses IIFE/namespace to reduce global pollution, and event binding is delegated to reasonable containers first.
  4. DOM updates cache selectors, batch operations, and escapes user input; Ajax must handle loading, error, empty status, and prevention of repeated submissions.
  5. HTML/CSS maintains semantics, label, alt, BEM/existing naming and low selector depth.
  6. 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.

Installs
1
GitHub Stars
23
First Seen
Oct 28, 2026