网页免费 已验证

Slate 管理控制台界面组件

可复用的运营控制台组件,包含关键指标、可搜索的账户记录和可用的编辑控件。适合需要聚焦管理界面的产品团队。

你会得到

  • 标签清晰、易于浏览的运营指标行。
  • 包含搜索、排序和可用编辑控件的真实记录表格。
  • 响应式布局建议与统一的中性色视觉样式。

适合

  • 为产品发布制作运营仪表盘预览。
  • 创建聚焦的内部工具或管理页面区块。

不适合

  • 包含实时集成的完整多页面仪表盘。
  • 宣传首页或品牌营销活动。

你需要提供

  • 工作区名称与运营用途。
  • 指标、账户字段、可编辑字段及相关状态。

运行要求

  • A modern browser
  • Node.js 20+ for the validator

运行成本

No external services. Runs entirely on your agent.

试试这个提示词

/sl-slate-admin-console-ui-block 为 Vela Thread 订阅软件团队制作 Slate Console 风格的账户管理页面,面向管理账户的团队成员。按顺序展示“Workspace pulse”:1,284 个活跃账户、$48.2k 月度经常性收入、18 个待处理支持案例、最近 30 天 96.4% 服务可用性;再展示“Account records”,包含六条记录:Pine Works、Cedar Field、Harbor Supply、Morrow Systems、Juniper Studio、Westline Labs,每条显示账户 ID、负责人、状态、日期、收入和版本。

后续提示词

  • 添加账户状态和套餐筛选,同时保持可编辑记录表格简洁。
  • 将同一控制台组件改为适用于库存运营团队的版本。

验证情况

已验证

render-checkpass5.0 / 515s

常见问题

这会生成完整的仪表盘应用吗?

不会。它生成一个包含指标摘要和可在页面内编辑的记录表格的区块;后端功能和完整应用路由不在范围内。

可以适配现有产品的强调色吗?

可以。保留中性基础色,并将唯一强调色替换为符合对比度要求的品牌色。

SKILL.md

SKILL.md

Slate Admin Console UI Block

Create a focused admin console block with operational metrics and account records users can search and edit.

Style: Slate Console. Restrained and practical, with cool paper surfaces, crisp typography, and one focused accent for meaningful state. Follow references/style-guide.md exactly.

Use this skill when

  • Launching a product with an operational dashboard preview.
  • Creating a focused internal tool or admin page section.

Do not use

  • Marketing landing pages, editorial dashboards, or consumer-facing account pages.
  • A complete admin application requiring authentication, live data, or backend integrations.
  • To reproduce another company's brand, logo, product UI or copyrighted characters.

Inputs

  • Product or workspace name and the operational area this console serves.
  • Primary audience, key metrics, and the records or entities users need to scan.
  • Account fields, relevant statuses, editable fields, and any brand color that should replace the default accent.

If something essential is missing, ask one short question before starting. Never invent facts, numbers, quotes or customer names; mark gaps as [needs source].

Workflow

  1. Read the brief and references/section-library.md. Confirm which block the user needs and where it will live (plain HTML or a framework component).
  2. Copy references/template.html to section.html. Keep the <style> block and the one focal section; delete every other section.
  3. Apply the tokens from references/style-guide.md in the :root block. Do not introduce colors, fonts or radii outside the tokens.
  4. Write real copy from the user's brief for every REPLACE_ placeholder, inside the word limits. Never invent customer names, logos or numbers; label fictional testimonials and figures as sample content.
  5. Check the layout at 390px, 768px and 1280px wide: no horizontal scrolling, readable type, tap targets at least 44px.
  6. If the user works in React/Next.js, Vue or Tailwind, port the result with references/framework-adaptation.md after the HTML version passes.
  7. Run the validator and fix every problem it reports:

``bash node scripts/validate-html.mjs section.html ``

  1. Open the file in a browser (from file://) and check keyboard focus, the FAQ toggles and the mobile menu.

What makes this excellent

  • Build one self-contained admin console section with a metric row and a six-row editable records grid; do not add navigation or a footer.
  • Give every metric a clear label, unit, period where relevant, and plausible value.
  • Use explicit account columns: Account, ID, Owner, Status, Updated, Monthly value, and Version. Do not render numbered or generic field headers.
  • Provide working record editing: an accessible Edit action for each row opens labelled fields, Save commits the changes in the current page, and Cancel leaves the row unchanged.
  • Provide a visibly labelled account search input of type search that filters records by account name, ID, owner, plan if present, or status.
  • Keep filter, sort, New record, and edit controls keyboard accessible and usable at 390px; prioritize account identity, status, and edit actions on narrow screens.
  • Use only fictional organizations and people. Keep the block functional from file:// without network requests or storage APIs.

Output contract

  • section.html: one self-contained HTML file (inline CSS, inline SVG, no network requests, no storage APIs) that opens from file://.
  • Exactly one <h1>, labelled form inputs, alt text on every image, no REPLACE_ placeholders or filler text.
  • Responsive at 390 / 768 / 1280px, using only the style-guide tokens.
  • A hand-off note: sections used, any sample content that must be replaced, framework port (if any) and the validator output.
  • Deliver one editable page block with metrics and an editable records grid; omit navigation and footer.
  • Search must use a labelled type=search input with working record filtering, not an email or newsletter form.
  • Use specific account-field headers, realistic fictional data, labelled edit controls, strong contrast, stable alignment, and responsive narrow-screen behavior.
  • Deliver a self-contained section.html and a hand-off note covering sections used, sample content to replace, any framework port, and validator output.

Reference demo and agent run

The preview (preview/demo.html) is a static reference built from sample content: it shows the layout, style, copy structure and the visible controls every interactive part needs (labelled form fields, carousel buttons, player chrome). Image areas are labelled placeholders and sample quotes or figures are marked as samples. In a real run the agent uses the user's content and assets, wires behaviour (form destinations, media sources, data) and keeps every promise in the output contract above.

Failure rules

  • Never hand over a file that fails the validator; fix it and run it again.
  • If the brief lacks facts (prices, numbers, customer names), ask once; otherwise mark them clearly as sample content.
  • Do not reproduce another company's website, logo or copy, even if asked to "make it look like" one; build an original page in this style instead.

相似技能

Slate 管理控制台界面组件 · SkillLoom