activity-campaign-from-ui
Generate a new campaign from campaign UI references, then deliver an H5/Web visual-first front-end draft on a fixed stack.
Use when
Use this skill when the user:
- provides one or more campaign/activity page screenshots
- provides a campaign design preview and wants a new campaign generated from it
- wants campaign references turned into a proposal, page architecture, or H5/Web high-fidelity draft code
- wants a structured handoff for an activity page on a fixed stack
Do not use when
Do not use this skill when:
- the request is unrelated to campaign/activity pages
- the user only wants raw OCR
- the task requires exact locked-design export
- the user wants production-ready backend logic or hidden business rules not visible from the reference
- the user wants a delivery stack outside this skill's fixed target
Fixed platform and stack
Always stay on this fixed delivery target:
- Platform: H5 / Web
- Stack: HTML + CSS + JavaScript
Do not output code in other stacks.
Modes
This skill supports one skill with multiple modes.
analysis
Use when the user wants to understand the reference.
Return:
- observed UI structure
- visible text
- gameplay clues
- user flow clues
- uncertainty notes
proposal
Use when the user wants a new campaign idea from the reference.
Return:
- reference summary
- gameplay abstraction
- new campaign concept
- target users
- goals
- rewards and participation path
- anti-copy explanation
- visual proposal direction that reads more like an operations campaign deck than a plain memo
architecture
Use when the user wants implementation planning without full code.
Return:
- page module list
- module order
- popup system
- state flow
- tracking suggestions
- delivery schema
delivery
Use when the user wants code on the fixed stack.
Return:
- file structure
index.html
styles.css
main.js
mock-data.js
- visual extraction summary
- implementation notes
full
Use when the user wants the full flow.
Return:
- reference analysis
- gameplay abstraction
- new campaign proposal
- page architecture
- delivery schema
- visual direction
- H5/Web high-fidelity draft code
Default mode rules
If the user does not specify a mode:
- default to
proposal if they want a new campaign/event idea
- default to
delivery if they explicitly ask for code
- default to
full if they ask for both plan and code
For delivery and full, when the brief implies poster-style character focus and the page would otherwise become too long, default to a female-led, launch-ready, tab-first H5 front-end draft.
Core job
Given one or more campaign references, do all relevant parts of the following:
- Identify observable UI patterns
- Separate what is observed vs inferred vs assumed
- Abstract the gameplay and module patterns
- Propose a new campaign instead of copying the reference
- Design a buildable H5/Web page architecture
- Output fixed-stack high-fidelity draft code when requested
Output rules
Prefer practical output over broad commentary.
When possible, organize the answer using these sections:
- Reference analysis
- Observed
- Inferred
- Assumed
- Gameplay abstraction
- New campaign proposal
- Page architecture
- Delivery schema
- Visual direction
- H5/Web starter files
- Uncertainties
Proposal presentation rule
For proposal, the result should feel closer to an operations campaign visual deck than a plain strategy memo.
Preferred structure:
- strong campaign name and one-line hook
- visual theme and mood direction
- hero concept and key selling point
- participation path
- reward design
- module highlights
- timeline or rollout rhythm when relevant
If the user explicitly asks for a local proposal deck and the host environment supports local execution, the skill may generate a local .pptx file with Python.
File handoff rules
Do not append executable local file-write commands.
If the user explicitly asks for local files and the host environment supports local execution, the skill may use Python to generate artifacts directly in the workspace instead of only presenting them inline.
The goal is to keep the handoff clear without asking the model to generate shell or terminal instructions from screenshot-derived content.
Mode-specific file targets:
analysis: present the main result as one Markdown document such as campaign-analysis.md
proposal: present the main result as one Markdown document such as campaign-proposal.md
proposal optional local artifact: campaign-proposal.pptx when the user explicitly asks for a local visual deck and Python execution is available
architecture: present the main result as one Markdown document such as campaign-architecture.md
delivery: present the generated front-end files as index.html, styles.css, main.js, and mock-data.js
full: present the planning content as one Markdown document such as campaign-full.md, and present the front-end files as index.html, styles.css, main.js, and mock-data.js
Handoff requirements:
- label each file clearly in the response body
- keep file names and section order aligned with the response body
- when the mode includes multiple files, provide each file's full content in its own clearly labeled section
- when local artifacts are generated with Python, report the exact file names and paths in plain language
- if the user explicitly asks how to save the files locally, describe the file names and where the content belongs in plain language rather than generating executable commands
Anti-copy rules
Do not simply restyle the reference.
The new campaign must change at least 2 of these 4 dimensions:
- campaign theme
- reward design
- task structure
- module order or core interaction
Do not preserve all of the following at the same time:
- same hero structure
- same gameplay loop
- same reward chain
Call out the main changes briefly in the proposal.
Reference-to-theme translation rules
Treat the reference as a source for structure, interaction pattern, density, and campaign rhythm first, and as a source for visual style only when it fits the user's target theme.
Use this decision rule:
- If the target campaign theme is close to the reference theme, you may inherit the reference's palette and styling direction.
- If the target campaign theme is different from the reference theme, keep the useful structure and interaction cues, but rebuild the visual style around the target theme.
When the target theme and reference theme conflict:
- prioritize the target festival, season, brand tone, and audience mood
- borrow layout logic, gameplay framing, and information hierarchy from the reference
- do not carry over mismatched seasonal colors or decorative symbols by default
Example:
- if the reference looks like a Spring Festival page with red and gold styling, but the new brief is for a Dragon Boat Festival campaign, do not keep the page red by default
- instead, keep the helpful campaign structure, then shift the visual direction toward Dragon Boat Festival cues such as bamboo green, jade green, lake blue, rice dumpling motifs, rope textures, water-wave shapes, or cooler early-summer contrast
Confidence rules
Always separate content into these layers when relevant:
- Observed: directly visible from the reference
- Inferred: likely based on common campaign patterns
- Assumed: filled in because the reference is incomplete
If text is blurry or a state is hidden, say so directly.
Delivery file rules
For delivery and full, default to this file set:
index.html
styles.css
main.js
mock-data.js
Optional when a character-led hero is requested and image generation is available:
If the user explicitly asks for local front-end files and the host environment supports local execution, the skill may use Python to write these files directly to the workspace or user-specified directory.
File responsibilities:
index.html: page structure, visible module internals, decorative wrappers, and realistic placeholder copy
styles.css: design tokens, background atmosphere, section chrome, CTA styling, popup styling, and responsive behavior
main.js: render repeating data, event binding, state updates, popup control, and lightweight view-state changes
mock-data.js: campaign meta, tasks, prizes, CTA text, popup data, and enough mock content to render a visually complete first screen
Optional hero asset generation
When the user wants a character-led campaign page but does not provide a source image, the skill may generate one original hero asset before front-end delivery if the host environment supports image generation.
Constraints:
- generate one original adult female hero image
- image direction should prioritize theme-matched wardrobe, dominant colors, accessories, props, and styling
- use a glamorous, attractive, stylish, slightly sexy commercial campaign poster direction
- do not generate a male hero by default
- do not generate explicit sexual content, nudity, fetish styling, or pornographic framing
- save or label the asset as
assets/hero-figure.png
- if image generation is unavailable, still output the hero structure and clearly reserve the asset slot
Female-led hero default
For character-led campaign delivery, the default first-screen visual should use one adult female hero figure as the dominant visual focus.
Requirements:
- the hero figure must be an adult woman
- do not replace the hero with a male figure by default
- do not generate mixed-gender hero focus unless the user explicitly asks for it
- the wardrobe, dominant colors, accessories, props, and styling must match the campaign theme
- if the campaign is festival-based, the character styling should visibly reflect that festival rather than using a generic outfit
- prioritize glamour, attractiveness, confidence, and poster-like visual appeal
- allow stylish and slightly sexy commercial-fashion styling for stronger attention
- keep the result within public campaign standards: no nudity, no explicit sexual pose, no fetish styling, and no pornographic framing
- the female figure should remain the main first-screen anchor, with title, CTA, and reward device arranged around her
Theme examples:
- Spring Festival: red as the dominant color, with gold accents, festive dress or qipao-inspired styling, lanterns, knots, and warm holiday accessories
- Dragon Boat Festival: bamboo green, jade green, lake blue, lighter summer styling, rope knots, leaf textures, and seasonal props
- Valentine-style campaign: rose red, wine red, blush pink, elegant fitted styling, floral or gift-box props
H5 length control rule
Do not default to a full top-to-bottom stack for every module.
Prefer a tab-first H5 layout when any of the following is true:
- there are more than 5 major modules
- the page includes task lists, prize pools, records, and long rules together
- the default layout would likely become an overly long mobile page
In these cases:
- keep the first screen focused on hero + core action + one key summary module
- move secondary content into sticky tabs
- render only the active tab panel by default
- place verbose rules, records, and explanations in popups, drawers, or accordions when appropriate
- use tabs as a page-shortening strategy, not as a cosmetic decoration
Delivery schema guidance
Prefer a schema that covers both campaign config and page delivery contract.
Typical sections:
campaignMeta
hero
tasks
rewards
lottery
modules
popups
stateMachine
tracking
Important constraints
- Stay on H5/Web + HTML/CSS/JS only
- Never pretend uncertain text is exact
- Never invent backend endpoints
- Never claim pixel-perfect parity from a blurry image
- Favor reusable modules and editable data structures
Visual fidelity rules
For delivery and full, default to a high-fidelity visual draft, not a low-fidelity wireframe.
Before writing code, extract the screenshot's likely visual language in 4 to 8 short bullets:
- palette and contrast style
- hero composition
- decoration density
- card or panel treatment
- CTA style
- icon/badge/tag style
- popup tone
- overall mood keywords
Then make the code reflect that visual language directly.
But do not follow the screenshot's visual language blindly.
Use this priority order for visual decisions:
- explicit user brief and target campaign theme
- target holiday/season/brand tone
- reference layout and interaction cues
- reference palette and decorative styling
If the reference palette conflicts with the new campaign brief, say so briefly and switch to a target-appropriate palette.
In that case, the visual extraction summary should separate:
- reusable structural cues from the reference
- replaced visual cues that should be rebuilt for the new theme
Launch-ready front-end quality rule
For delivery and full, the generated result should feel like a launch-ready H5 front-end deliverable rather than a starter scaffold, plain wireframe, or demo shell.
Requirements:
- render a visually complete mobile-first first screen with strong hierarchy, atmosphere, and branded tone
- include representative internal structure for each major module instead of empty containers
- use realistic mock copy, labels, badges, numbers, CTA text, and popup content
- cover key front-end states such as active, selected, disabled, claimed, exhausted, popup-open, and tab-selected when relevant
- prefer compact, production-like H5 information architecture instead of excessive vertical stacking
- include responsive behavior, stable spacing, and usable touch targets for mobile rendering
- make CTA areas, popup layers, tab bars, and reward/task states feel polished enough for design review or front-end handoff
- keep the code editable and data-driven without inventing backend APIs or hidden business logic
Boundary:
- this means production-like front-end finish, not a fully backend-connected production deployment
HTML expectations
- Do not output only empty section containers.
- Include representative nested content for the hero, progress/task/reward modules, active tab panels, and popup shells.
- When a female-led hero is used, include an explicit figure wrapper and image slot such as
assets/hero-figure.png instead of leaving the hero text-only.
- For tab-first pages, include a sticky tab bar and representative nested content inside each tab panel.
- Use realistic wrappers such as badges, ribbons, tabs, stat chips, progress nodes, reward cards, glow layers, and floating ornaments when the reference implies them.
- Keep the structure editable, but visually expressive on first render.
CSS expectations
- Start with
:root tokens for major colors, gradients, shadows, radii, and spacing.
- Build atmosphere first: page background, hero backdrop, decorative light/shapes, panel chrome, and CTA emphasis.
- Prefer layered gradients, image-free ornaments, shadows, strokes, masks, and glow treatments over flat white cards.
- Style sections as distinct visual modules instead of repeating the same generic card everywhere.
- Support sticky mobile tabs, active tab states, and compact tab-panel switching for long H5 pages.
- When a female-led hero is used, style the figure area as a real visual focal point with framing, light, depth, and theme-specific ornaments.
- Include responsive handling for mobile-first rendering.
JavaScript expectations
- Render repeated lists from data, but avoid reducing the whole page to blank placeholders.
- Support interactive states that help sell the concept visually, such as active tabs, selected rewards, progress states, countdown text, and popup opening.
- Support lightweight tab switching and active panel state when the delivery uses a tab-first layout.
- Keep interactions lightweight and front-end only unless the user provides real APIs.
Mock data expectations
- Provide enough titles, subtitles, badges, numbers, and CTA text to make the page look complete.
- Use mock labels that match the proposed campaign tone instead of filler text.
Delivery anti-patterns
Avoid these default outputs unless the user explicitly asks for minimal scaffolding:
Arial plus gray background plus white rounded cards for every module
- repetitive
.section-card wrappers with empty containers
- only one-line
<h1> and <p> placeholders in the hero
- visually neutral buttons with no hierarchy
- a page that reads like a wireframe rather than a campaign landing page
- a character-led brief solved with a text-only hero and no figure slot
- a long H5 page created by vertically stacking every module by default
- rules, records, and prize details all expanded on the main page without tabs or progressive disclosure
- output that looks like a bare demo, starter, or wireframe instead of a near-launch H5 front-end draft
- placeholder-only sections with weak hierarchy and incomplete module internals
- visually finished hero areas paired with unfinished lower modules that break the sense of a shippable page
Example user requests
- “参考这几个活动页,给我出一个新的 H5 活动方案。”
- “根据这个参考图,先做玩法抽象,再给我页面架构。”
- “按这个活动参考,输出 HTML + CSS + JS 版本。”
- “我想同时要策划和代码,你走 full mode。”
1---2name: activity-campaign-from-ui3description: "Turn campaign UI references into a new H5/Web campaign proposal, page architecture, and HTML/CSS/JavaScript high-fidelity front-end draft. Supports mode-based responses: analysis, proposal, architecture, delivery, and full."4metadata:5 source: https://skillmd.com/skills/leoyeai-openclaw-master-skills/activity-campaign-from-ui6 openclaw:7 homepage: "https://github.com/bigin58/activity-campaign-from-ui"8---910# activity-campaign-from-ui1112Generate a **new** campaign from campaign UI references, then deliver an H5/Web visual-first front-end draft on a fixed stack.1314## Use when15Use this skill when the user:16- provides one or more campaign/activity page screenshots17- provides a campaign design preview and wants a new campaign generated from it18- wants campaign references turned into a proposal, page architecture, or H5/Web high-fidelity draft code19- wants a structured handoff for an activity page on a fixed stack2021## Do not use when22Do not use this skill when:23- the request is unrelated to campaign/activity pages24- the user only wants raw OCR25- the task requires exact locked-design export26- the user wants production-ready backend logic or hidden business rules not visible from the reference27- the user wants a delivery stack outside this skill's fixed target2829## Fixed platform and stack30Always stay on this fixed delivery target:31- Platform: **H5 / Web**32- Stack: **HTML + CSS + JavaScript**3334Do not output code in other stacks.3536## Modes37This skill supports one skill with multiple modes.3839### `analysis`40Use when the user wants to understand the reference.41Return:42- observed UI structure43- visible text44- gameplay clues45- user flow clues46- uncertainty notes4748### `proposal`49Use when the user wants a new campaign idea from the reference.50Return:51- reference summary52- gameplay abstraction53- new campaign concept54- target users55- goals56- rewards and participation path57- anti-copy explanation58- visual proposal direction that reads more like an operations campaign deck than a plain memo5960### `architecture`61Use when the user wants implementation planning without full code.62Return:63- page module list64- module order65- popup system66- state flow67- tracking suggestions68- delivery schema6970### `delivery`71Use when the user wants code on the fixed stack.72Return:73- file structure74- `index.html`75- `styles.css`76- `main.js`77- `mock-data.js`78- visual extraction summary79- implementation notes8081### `full`82Use when the user wants the full flow.83Return:841. reference analysis852. gameplay abstraction863. new campaign proposal874. page architecture885. delivery schema896. visual direction907. H5/Web high-fidelity draft code9192## Default mode rules93If the user does not specify a mode:94- default to `proposal` if they want a new campaign/event idea95- default to `delivery` if they explicitly ask for code96- default to `full` if they ask for both plan and code9798For `delivery` and `full`, when the brief implies poster-style character focus and the page would otherwise become too long, default to a female-led, launch-ready, tab-first H5 front-end draft.99100## Core job101Given one or more campaign references, do all relevant parts of the following:1021. Identify observable UI patterns1032. Separate what is observed vs inferred vs assumed1043. Abstract the gameplay and module patterns1054. Propose a **new** campaign instead of copying the reference1065. Design a buildable H5/Web page architecture1076. Output fixed-stack high-fidelity draft code when requested108109## Output rules110Prefer practical output over broad commentary.111112When possible, organize the answer using these sections:113- Reference analysis114- Observed115- Inferred116- Assumed117- Gameplay abstraction118- New campaign proposal119- Page architecture120- Delivery schema121- Visual direction122- H5/Web starter files123- Uncertainties124125## Proposal presentation rule126For `proposal`, the result should feel closer to an operations campaign visual deck than a plain strategy memo.127128Preferred structure:129- strong campaign name and one-line hook130- visual theme and mood direction131- hero concept and key selling point132- participation path133- reward design134- module highlights135- timeline or rollout rhythm when relevant136137If the user explicitly asks for a local proposal deck and the host environment supports local execution, the skill may generate a local `.pptx` file with Python.138139## File handoff rules140Do not append executable local file-write commands.141142If the user explicitly asks for local files and the host environment supports local execution, the skill may use Python to generate artifacts directly in the workspace instead of only presenting them inline.143144The goal is to keep the handoff clear without asking the model to generate shell or terminal instructions from screenshot-derived content.145146Mode-specific file targets:147- `analysis`: present the main result as one Markdown document such as `campaign-analysis.md`148- `proposal`: present the main result as one Markdown document such as `campaign-proposal.md`149- `proposal` optional local artifact: `campaign-proposal.pptx` when the user explicitly asks for a local visual deck and Python execution is available150- `architecture`: present the main result as one Markdown document such as `campaign-architecture.md`151- `delivery`: present the generated front-end files as `index.html`, `styles.css`, `main.js`, and `mock-data.js`152- `full`: present the planning content as one Markdown document such as `campaign-full.md`, and present the front-end files as `index.html`, `styles.css`, `main.js`, and `mock-data.js`153154Handoff requirements:155- label each file clearly in the response body156- keep file names and section order aligned with the response body157- when the mode includes multiple files, provide each file's full content in its own clearly labeled section158- when local artifacts are generated with Python, report the exact file names and paths in plain language159- if the user explicitly asks how to save the files locally, describe the file names and where the content belongs in plain language rather than generating executable commands160161## Anti-copy rules162Do not simply restyle the reference.163164The new campaign must change at least **2 of these 4 dimensions**:1651. campaign theme1662. reward design1673. task structure1684. module order or core interaction169170Do not preserve all of the following at the same time:171- same hero structure172- same gameplay loop173- same reward chain174175Call out the main changes briefly in the proposal.176177## Reference-to-theme translation rules178Treat the reference as a source for **structure, interaction pattern, density, and campaign rhythm** first, and as a source for **visual style** only when it fits the user's target theme.179180Use this decision rule:181- If the target campaign theme is close to the reference theme, you may inherit the reference's palette and styling direction.182- If the target campaign theme is different from the reference theme, keep the useful structure and interaction cues, but rebuild the visual style around the **target** theme.183184When the target theme and reference theme conflict:185- prioritize the target festival, season, brand tone, and audience mood186- borrow layout logic, gameplay framing, and information hierarchy from the reference187- do not carry over mismatched seasonal colors or decorative symbols by default188189Example:190- if the reference looks like a Spring Festival page with red and gold styling, but the new brief is for a Dragon Boat Festival campaign, do **not** keep the page red by default191- instead, keep the helpful campaign structure, then shift the visual direction toward Dragon Boat Festival cues such as bamboo green, jade green, lake blue, rice dumpling motifs, rope textures, water-wave shapes, or cooler early-summer contrast192193## Confidence rules194Always separate content into these layers when relevant:195- **Observed**: directly visible from the reference196- **Inferred**: likely based on common campaign patterns197- **Assumed**: filled in because the reference is incomplete198199If text is blurry or a state is hidden, say so directly.200201## Delivery file rules202For `delivery` and `full`, default to this file set:203- `index.html`204- `styles.css`205- `main.js`206- `mock-data.js`207208Optional when a character-led hero is requested and image generation is available:209- `assets/hero-figure.png`210211If the user explicitly asks for local front-end files and the host environment supports local execution, the skill may use Python to write these files directly to the workspace or user-specified directory.212213File responsibilities:214- `index.html`: page structure, visible module internals, decorative wrappers, and realistic placeholder copy215- `styles.css`: design tokens, background atmosphere, section chrome, CTA styling, popup styling, and responsive behavior216- `main.js`: render repeating data, event binding, state updates, popup control, and lightweight view-state changes217- `mock-data.js`: campaign meta, tasks, prizes, CTA text, popup data, and enough mock content to render a visually complete first screen218219## Optional hero asset generation220221When the user wants a character-led campaign page but does not provide a source image, the skill may generate one original hero asset before front-end delivery if the host environment supports image generation.222223Constraints:224- generate one original adult female hero image225- image direction should prioritize theme-matched wardrobe, dominant colors, accessories, props, and styling226- use a glamorous, attractive, stylish, slightly sexy commercial campaign poster direction227- do not generate a male hero by default228- do not generate explicit sexual content, nudity, fetish styling, or pornographic framing229- save or label the asset as `assets/hero-figure.png`230- if image generation is unavailable, still output the hero structure and clearly reserve the asset slot231232## Female-led hero default233234For character-led campaign delivery, the default first-screen visual should use one adult female hero figure as the dominant visual focus.235236Requirements:237- the hero figure must be an adult woman238- do not replace the hero with a male figure by default239- do not generate mixed-gender hero focus unless the user explicitly asks for it240- the wardrobe, dominant colors, accessories, props, and styling must match the campaign theme241- if the campaign is festival-based, the character styling should visibly reflect that festival rather than using a generic outfit242- prioritize glamour, attractiveness, confidence, and poster-like visual appeal243- allow stylish and slightly sexy commercial-fashion styling for stronger attention244- keep the result within public campaign standards: no nudity, no explicit sexual pose, no fetish styling, and no pornographic framing245- the female figure should remain the main first-screen anchor, with title, CTA, and reward device arranged around her246247Theme examples:248- Spring Festival: red as the dominant color, with gold accents, festive dress or qipao-inspired styling, lanterns, knots, and warm holiday accessories249- Dragon Boat Festival: bamboo green, jade green, lake blue, lighter summer styling, rope knots, leaf textures, and seasonal props250- Valentine-style campaign: rose red, wine red, blush pink, elegant fitted styling, floral or gift-box props251252## H5 length control rule253254Do not default to a full top-to-bottom stack for every module.255256Prefer a tab-first H5 layout when any of the following is true:257- there are more than 5 major modules258- the page includes task lists, prize pools, records, and long rules together259- the default layout would likely become an overly long mobile page260261In these cases:262- keep the first screen focused on hero + core action + one key summary module263- move secondary content into sticky tabs264- render only the active tab panel by default265- place verbose rules, records, and explanations in popups, drawers, or accordions when appropriate266- use tabs as a page-shortening strategy, not as a cosmetic decoration267268## Delivery schema guidance269Prefer a schema that covers both campaign config and page delivery contract.270271Typical sections:272- `campaignMeta`273- `hero`274- `tasks`275- `rewards`276- `lottery`277- `modules`278- `popups`279- `stateMachine`280- `tracking`281282## Important constraints283- Stay on H5/Web + HTML/CSS/JS only284- Never pretend uncertain text is exact285- Never invent backend endpoints286- Never claim pixel-perfect parity from a blurry image287- Favor reusable modules and editable data structures288289## Visual fidelity rules290For `delivery` and `full`, default to a **high-fidelity visual draft**, not a low-fidelity wireframe.291292Before writing code, extract the screenshot's likely visual language in 4 to 8 short bullets:293- palette and contrast style294- hero composition295- decoration density296- card or panel treatment297- CTA style298- icon/badge/tag style299- popup tone300- overall mood keywords301302Then make the code reflect that visual language directly.303304But do not follow the screenshot's visual language blindly.305306Use this priority order for visual decisions:3071. explicit user brief and target campaign theme3082. target holiday/season/brand tone3093. reference layout and interaction cues3104. reference palette and decorative styling311312If the reference palette conflicts with the new campaign brief, say so briefly and switch to a target-appropriate palette.313In that case, the visual extraction summary should separate:314- reusable structural cues from the reference315- replaced visual cues that should be rebuilt for the new theme316317## Launch-ready front-end quality rule318319For `delivery` and `full`, the generated result should feel like a launch-ready H5 front-end deliverable rather than a starter scaffold, plain wireframe, or demo shell.320321Requirements:322- render a visually complete mobile-first first screen with strong hierarchy, atmosphere, and branded tone323- include representative internal structure for each major module instead of empty containers324- use realistic mock copy, labels, badges, numbers, CTA text, and popup content325- cover key front-end states such as active, selected, disabled, claimed, exhausted, popup-open, and tab-selected when relevant326- prefer compact, production-like H5 information architecture instead of excessive vertical stacking327- include responsive behavior, stable spacing, and usable touch targets for mobile rendering328- make CTA areas, popup layers, tab bars, and reward/task states feel polished enough for design review or front-end handoff329- keep the code editable and data-driven without inventing backend APIs or hidden business logic330331Boundary:332- this means production-like front-end finish, not a fully backend-connected production deployment333334### HTML expectations335- Do not output only empty section containers.336- Include representative nested content for the hero, progress/task/reward modules, active tab panels, and popup shells.337- When a female-led hero is used, include an explicit figure wrapper and image slot such as `assets/hero-figure.png` instead of leaving the hero text-only.338- For tab-first pages, include a sticky tab bar and representative nested content inside each tab panel.339- Use realistic wrappers such as badges, ribbons, tabs, stat chips, progress nodes, reward cards, glow layers, and floating ornaments when the reference implies them.340- Keep the structure editable, but visually expressive on first render.341342### CSS expectations343- Start with `:root` tokens for major colors, gradients, shadows, radii, and spacing.344- Build atmosphere first: page background, hero backdrop, decorative light/shapes, panel chrome, and CTA emphasis.345- Prefer layered gradients, image-free ornaments, shadows, strokes, masks, and glow treatments over flat white cards.346- Style sections as distinct visual modules instead of repeating the same generic card everywhere.347- Support sticky mobile tabs, active tab states, and compact tab-panel switching for long H5 pages.348- When a female-led hero is used, style the figure area as a real visual focal point with framing, light, depth, and theme-specific ornaments.349- Include responsive handling for mobile-first rendering.350351### JavaScript expectations352- Render repeated lists from data, but avoid reducing the whole page to blank placeholders.353- Support interactive states that help sell the concept visually, such as active tabs, selected rewards, progress states, countdown text, and popup opening.354- Support lightweight tab switching and active panel state when the delivery uses a tab-first layout.355- Keep interactions lightweight and front-end only unless the user provides real APIs.356357### Mock data expectations358- Provide enough titles, subtitles, badges, numbers, and CTA text to make the page look complete.359- Use mock labels that match the proposed campaign tone instead of filler text.360361## Delivery anti-patterns362Avoid these default outputs unless the user explicitly asks for minimal scaffolding:363- `Arial` plus gray background plus white rounded cards for every module364- repetitive `.section-card` wrappers with empty containers365- only one-line `<h1>` and `<p>` placeholders in the hero366- visually neutral buttons with no hierarchy367- a page that reads like a wireframe rather than a campaign landing page368- a character-led brief solved with a text-only hero and no figure slot369- a long H5 page created by vertically stacking every module by default370- rules, records, and prize details all expanded on the main page without tabs or progressive disclosure371- output that looks like a bare demo, starter, or wireframe instead of a near-launch H5 front-end draft372- placeholder-only sections with weak hierarchy and incomplete module internals373- visually finished hero areas paired with unfinished lower modules that break the sense of a shippable page374375## Example user requests376- “参考这几个活动页,给我出一个新的 H5 活动方案。”377- “根据这个参考图,先做玩法抽象,再给我页面架构。”378- “按这个活动参考,输出 HTML + CSS + JS 版本。”379- “我想同时要策划和代码,你走 full mode。”