Token导航 LogoToken导航TokenDH.com
前端设计执行命令github未标认证来源可访问许可证需确认审计通过

ui-document-intake-dropzoneui 文档摄入 dropzone

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

188

周安装

8

GitHub Stars

公开资料未说明

下载量

66
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ui-document-intake-dropzone(ui 文档摄入 dropzone)
来源仓库:https://github.com/ajrlewis/ai-skills
仓库路径:skills/ui-document-intake-dropzone
安装命令:
npx skills add https://github.com/ajrlewis/ai-skills --skill ui-document-intake-dropzone
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ajrlewis/ai-skills --skill ui-document-intake-dropzone

简介

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。

  • 适合根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。
  • 使用时需结合现有品牌、设计系统和用户任务,避免堆砌装饰元素;涉及页面改动时应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。
  • 安装方式:github,可通过 npx skills add 命令从指定仓库添加。
  • 适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。

SKILL.md

UI: Document Intake Dropzone

Use this skill when a Next.js app needs a clean UI for adding source documents (especially PDF and Markdown) before ingestion/indexing.

Compatibility

  • Best with architect-nextjs-bun-app.
  • Recommended with addon-domain-semantic-adaptation for domain-specific intake wording.
  • Common pairings:
  • addon-rag-ingestion-pipeline
  • addon-docling-legal-chunk-embed
  • UI-only skill: ingestion logic should remain in add-on/backend modules.

Inputs

Collect:

  • ALLOWED_FORMATS: default pdf,md,markdown.
  • MAX_FILE_MB: default 25.
  • INTAKE_MODE: upload-only | upload+url | upload+paste.
  • STYLE_DIRECTION: minimal | high-contrast.

Integration Workflow

  1. Add UI files:
src/app/sources/page.tsx
src/app/sources/sources.css
src/components/sources/intake-shell.tsx
src/components/sources/file-dropzone.tsx
src/components/sources/source-list.tsx
src/components/sources/ingest-actions.tsx
  • Import ./sources.css from src/app/sources/page.tsx.
  1. Wire existing ingestion adapter:
  • onFilesAccepted(files) dispatches to existing upload/ingest endpoint or queue handler.
  • Keep adapter interface explicit and injected via props/hooks.
  1. Ensure responsive behavior:
  • Desktop: dropzone + queue + action rail.
  • Mobile: stacked flow with clear primary action.

Required UI Contract

  • Drag-and-drop + click-to-select path.
  • Client-side format/size validation with clear errors.
  • Queue list showing filename, size, and status (queued, uploading, indexed, error).
  • Ingest action disabled unless at least one valid file is queued.
  • Internal navigation uses next/link.

Minimal Template Snippets

src/app/sources/page.tsx

import IntakeShell from "@/components/sources/intake-shell";
import "./sources.css";

export default function SourcesPage() {
  return <IntakeShell />;
}

src/components/sources/file-dropzone.tsx

type FileDropzoneProps = {
  onFilesAccepted: (files: File[]) => void;
  accept: string;
};

export default function FileDropzone({ onFilesAccepted, accept }: FileDropzoneProps) {
  return (
    <section>
      <input
        accept={accept}
        multiple
        onChange={(e) => onFilesAccepted(Array.from(e.target.files ?? []))}
        type="file"
      />
    </section>
  );
}

Design Guardrails

  • Keep upload states explicit; avoid silent failures.
  • Do not place API keys or ingestion secrets in UI code.
  • Keep heavy file parsing server-side unless explicitly required.
  • Keep components presentational; ingestion/persistence logic lives in add-ons.

Validation Checklist

  • Confirm generated code includes required docstrings/JSDoc and rationale comments for non-obvious logic.
# Use the project's package manager (examples):
bun run lint
bun run build
pnpm run lint
pnpm run build

Fallback (offline-smoke):

test -f src/app/sources/page.tsx
test -f src/app/sources/sources.css
test -f src/components/sources/file-dropzone.tsx
rg -n "next/link" src/components/sources || true

Manual checks:

  • PDF and Markdown files can be queued.
  • Invalid file types/sizes are rejected with visible messages.
  • Queue status transitions are visible without page reload.

Decision Justification Rule

  • Every non-trivial decision must include a concrete justification.
  • Capture the alternatives considered and why they were rejected.
  • State tradeoffs and residual risks for the chosen option.
  • If justification is missing, treat the task as incomplete and surface it as a blocker.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.55%
按下载量换算22

Claude

30.35%
按下载量换算20

Cursor

18.46%
按下载量换算12

Gemini CLI

9.08%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/ajrlewis/ai-skills --skill ui-document-intake-dropzone 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills