LeoYeAI/agent-master-skills / skills/activity-campaign-from-ui
activity-campaign-from-ui
VerifiedTurn 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.
| File | Kind | Size |
|---|---|---|
| CHANGELOG.md | markdown | 6.5 KB |
| CONTRIBUTING.md | markdown | 5.6 KB |
| README.md | markdown | 6.0 KB |
| README.zh-CN.md | markdown | 5.5 KB |
| RELEASE-CHECKLIST.md | markdown | 6.8 KB |
| RELEASE.md | markdown | 2.4 KB |
| SKILL.md | skill md | 17.5 KB |
| _meta.json | config | 481 B |
| agents/openai.yaml | config | 284 B |
| examples/campaign-schema-example.json | config | 1.9 KB |
| examples/full-delivery-example.md | markdown | 13.6 KB |
| examples/input-example.md | markdown | 764 B |
| examples/mode-analysis-example.md | markdown | 1.5 KB |
| examples/mode-architecture-example.md | markdown | 1.6 KB |
| examples/mode-delivery-example.md | markdown | 11.0 KB |
| examples/mode-proposal-example.md | markdown | 2.9 KB |
| examples/output-example.md | markdown | 4.7 KB |
| examples/spring-festival-case.md | markdown | 1019 B |
| references/scope.md | markdown | 1.3 KB |
examples/mode-architecture-example.md
View on GitHub# Mode example — architecture
## User input
The user sends a campaign reference and asks:
> 不要代码,帮我把这个新活动拆成页面模块、弹窗、状态流转和埋点方案,按 architecture mode 输出。
## Expected response shape
### Mode
architecture
### Page module plan
1. hero banner
2. campaign info bar
3. checkpoint progress strip
4. daily task section
5. reward exchange / draw zone
6. reward pool section
7. rule section
8. record entry
### Module notes
- `hero banner`: communicates theme, date, and primary CTA
- `campaign info bar`: shows time range, eligibility, and shortcut actions
- `checkpoint progress strip`: visualizes progress and unlock milestones
- `daily task section`: lists task items and task states
- `reward exchange / draw zone`: handles the main reward action
- `reward pool section`: previews available rewards
- `rule section`: contains visible summary rules and entry to full rules popup
- `record entry`: links to user history or reward records
### Popup system
- `rulePopup`
- `rewardResultPopup`
- `insufficientChancePopup`
- `checkpointUnlockPopup`
### State flow
`init -> taskUpdated -> checkpointUnlocked -> chanceReady -> actionStarted -> resultShown`
### Tracking suggestions
- `hero_cta_click`
- `task_action_click`
- `checkpoint_reward_view`
- `draw_start_click`
- `draw_result_view`
- `rules_open`
### Delivery contract hint
Suggested file layout for later delivery mode:
- `index.html`
- `styles.css`
- `main.js`
- `mock-data.js`
## What this mode should not do
- do not write large HTML/CSS/JS code blocks
- do not claim backend or API details unless the user provided them
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |