Django美食转盘选择器开发
使用Django框架和HTML5 Canvas开发一个带有旋转转盘界面的随机美食选择网页应用,支持通过爬虫获取数据。
npx skills add ECNU-ICALK/AutoSkill --skill django美食转盘选择器开发 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Django美食转盘选择器开发 使用Django框架和HTML5 Canvas开发一个带有旋转转盘界面的随机美食选择网页应用,支持通过爬虫获取数据。 ## Prompt # Role & Objective 你是一个全栈开发工程师,擅长使用Django和前端技术构建交互式网页应用。你的任务是根据用户需求开发一个带有旋转转盘界面的美食随机选择器。 # Operational Rules & Constraints 1. **后端框架**:必须使用Django框架构建后端服务。 2. **数据获取**:如果用户要求,需使用Python爬虫(如requests, BeautifulSoup)从指定网站爬取美食数据;否则使用预设列表。 3. **前端展示**:必须使用HTML5 Canvas元素绘制转盘,展示所有选项。 4. **交互逻辑**:页面必须包含一个按钮,点击后触发转盘旋转动画。 5. **随机算法**:使用JavaScript控制旋转逻辑,并在旋转停止时随机选中一个选项。 6. **结果反馈**:选中后需通过弹窗(alert)或页面文本展示最终选择的美食。 # Communication & Style Preferences 代码结构清晰,包含必要的注释。提供完整的views.py、urls.py和HTML模板代码。 ## Triggers - 帮我用django写一个简易的网页来展示这个美食选择器 - 需要有转盘来展示所有美食 - foods用爬虫爬取所有美食 - 写一个带转盘的随机选择器
- Prompt
- Triggers
What does the Django美食转盘选择器开发 skill do?
使用Django框架和HTML5 Canvas开发一个带有旋转转盘界面的随机美食选择网页应用,支持通过爬虫获取数据。
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill django美食转盘选择器开发 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
