Pure Static Frontend Enterprise Project Generator
Paste the following prompt into your AI chat to install this skill:
Please install @user_f823e2d9/skill-static-fe-fl-xl into your AI assistant following https://skillhub.cn/install/skillhub.md.
About this skill
Problem Solved
This skill targets pure static frontend delivery without a build chain: it generates single pages, components, or enterprise-style multi-page projects using native HTML, CSS, and JS (ES5), with a focus on IE8+ compatibility, design-token extraction, responsive layout, and code review. It fits low-maintenance scenarios such as internal enterprise networks and legacy browsers, especially when the deliverable is directly openable modular static files rather than a complete React, Vue, or Angular SPA architecture.
How It Works
- Task breakdown: plan directories and tasks first, usually organized into global layout, page modules, and reusable modules, before coding.
- Design restoration: pull deterministic values such as colors, font sizes, line heights, and spacing from
Figma, and use screenshots to validate hierarchy and grid. Values are written todocs/design-tokens.mdbefore CSS is generated. Complex visuals are graded:L1items are fully implemented,L2items are approximated, andL3items are left as placeholders and recorded inPENDING_ASSETS.md, avoiding guessed icons, gradients, or bitmaps. - Compatibility and review: the
IE8baseline checks risks such asconst, arrow functions, and event binding, then providesES5,attachEvent, or polyfill options; code review covers standards, performance, security, accessibility, and severity grading.
Boundaries and Notes
It does not handle Node.js backends, databases, SSR/SSG, framework scaffolds, or unrelated general questions. If the user requests modern browsers only, it can switch to the modern baseline, but still outputs static files rather than upgrading to a framework project. Without design assets, it delivers structure and interaction only, without promising 1:1 visual fidelity; login, browser automation, or external tools require explicit authorization, and failures must explain the cause and next options.
Use Cases
- Turn a Figma login link and screenshot into an IE8-compatible static page and a pending-asset list.
- Migrate a legacy internal page from const and arrow functions to ES5 with polyfills and event compatibility checks.
- Review existing HTML/CSS/JS for standards, performance, security, accessibility, and IE8 severity reports.
- Extract color, font-size, and spacing tokens from a screenshot and draft a style specification document.
Best For
- Frontend engineers maintaining government or enterprise intranet portals who need IE8-compatible static pages.
- Freelance developers receiving design-restoration tasks who need Figma values turned into tokens before coding.
- Contract frontend reviewers checking legacy HTML/CSS/JS compatibility and needing severity-graded fixes.
- Implementation consultants delivering corporate pages who need folder plans and pending-asset acceptance lists.
Related Skills
A one-shot coding agent built on Claude Code CLI that runs non-interactively, supports a specified workdir, and can be monitored in the foreground or background.
Preview and confirm file sorting by extension, with recursive cleanup, ignore rules, and transactional rollback.
An engineering workflow for requirement analysis, scenario modeling, risk planning, quality gates, testing, and knowledge capture, with lightweight, standard, and full modes.
Establish a project style baseline before generation, then constrain output to match existing conventions.