contact-widget
Design a compact contact, support, or lead-capture widget with clear fields, validation states, privacy copy, and responsive embed behavior. Use when the brief asks for a contact widget, support widget, inquiry form, lead form, or callback request.
- License 许可
- Apache-2.0
- 所属仓库
- bravew/Neumar
- 最近更新
- 2026-11-14
- Stars
- ★ 12
- Forks
- 4
01 前言 Front Matter
- od
- { "mode": "prototype", "craft": { "requires": [ "state-coverage" ] }, "outputs": { "primary": "index.html" }, "preview": { "type": "html", "entry": "example.html" }, "platform": "desktop", "scenario": "support", "design_system": { "requires": true, "sections": [ "color", "typography", "layout", "components" ] }, "example_prompt": "Create a contact widget for a B2B SaaS site with name, work email, topic, message, validation states, and a privacy note.", "capabilities_required": [ "file_write" ] }
- name
- contact-widget
- triggers
- [ "contact widget", "support widget", "contact form", "lead form", "inquiry widget", "callback request" ]
- description
- Design a compact contact, support, or lead-capture widget with clear fields, validation states, privacy copy, and responsive embed behavior. Use when the brief asks for a contact widget, support widget, inquiry form, lead form, or callback request.
02 资源文件 1
- 参考文档example.html2.9 KB
03 SKILL.md 正文
Contact Widget Skill
Create a compact, embeddable contact or support widget. The result should be easy to scan, keyboard-accessible, and explicit about what happens after the user submits.
License note: First-party Neuma-authored skill content for this repository. No upstream proprietary text, images, templates, or third-party code were copied.
Workflow
-
Define the task
- Identify whether the widget is for sales, support, callback scheduling, community contact, or general inquiries.
- Pick only the fields needed for that task. Do not ask for unnecessary personal data.
-
Required widget anatomy
- Header: short title and response-time expectation.
- Fields: name, email, topic, message, and optional company/phone only when the brief justifies them.
- Consent/privacy note: concise, plain-language, and close to submit.
- Submit button and secondary route such as help center, email, or status.
-
State coverage
- Normal, focus, invalid, submitting, success, and failure states.
- Inline validation messages tied to fields with accessible descriptions.
- Disabled submit state when required fields are missing.
-
Layout rules
- Widget fits in a card no wider than 440px and can embed in a sidebar, modal, or floating panel.
- On mobile, full-width with stable spacing and no text clipped inside buttons or fields.
- Use the active DESIGN.md tokens and component rules.
-
Self-check
- Every input has a visible label.
- Error copy says how to fix the issue.
- The success state confirms the next step, not just "submitted".
- No hidden tracking, fake urgency, or deceptive consent language.
Output Contract
Emit a self-contained HTML artifact named index.html with data-od-id on
the widget shell, each field, submit action, and state message.
04 同仓库更多 Skills
yt-dlp
A robust CLI wrapper for yt-dlp to download videos, playlists, and audio from YouTube and thousands of other sites. Supports format selection, quality control, metadata embedding, and cookie authentication.
weather
Get current weather and forecasts (no API key required).
video-editing
Video Mode editing guidance for agentic storyboard, timeline, caption, audio, render, and publish work through video_* MCP tools.
video-edit
Conversational video editing workflow for cuts, transcript-based edits, overlays, captions, subtitle burn-in, and render planning with ffmpeg. Use when the user asks to edit video by instruction, cut silence or words, add subtitles, add overlays, transcribe video, or render a final clip.
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
ship
Full shipping workflow: test, review, version, changelog, and PR creation. Use when: preparing to ship code, creating releases, merging PRs.