Skip to content

aiskillstore/marketplace / skills/aayushbaniya2006/plate-handler

plate-handler

Verified

Implement rich text editors using Plate.js. Supports creating both simple (comment/chat) and detailed (document/blog) editors.

FileKindSize
SKILL.mdskill md2.0 KB
reference.mdmarkdown4.4 KB
skill-report.jsonconfig22.2 KB

skill-report.json

View on GitHub
{
  "schema_version": "2.0",
  "meta": {
    "generated_at": "2026-07-09T12:32:42.040Z",
    "slug": "aayushbaniya2006-plate-handler",
    "source_url": "https://github.com/AayushBaniya2006/blinkfund/tree/main/.claude/skills/plate-handler",
    "source_ref": "main",
    "model": "codex",
    "analysis_version": "3.0.0",
    "source_type": "community",
    "content_hash": "f5d2f7a7b7abbc2579a7820c2fb94f542efb3f72413974d4ebcc58cfbbb11a92",
    "tree_hash": "95afc6ce26695d020be6066f86f1faef2e7262ea547152fb101f564198c0c3e9",
    "provenance": {
      "model_requested": "gpt-5.5:high",
      "model_effective": "codex:gpt-5.5:high",
      "fallback_chain": [
        {
          "agent": "codex",
          "model": "gpt-5.5",
          "effort": "high",
          "outcome": "success"
        }
      ],
      "analysis_version": "3.0.0"
    }
  },
  "skill": {
    "name": "plate-handler",
    "description": "Build Plate.js rich text editors for React applications, including simple comment editors and detailed document editors.",
    "summary": "Guides implementation of Plate.js editors with shadcn UI components, plugin choices, toolbars, and state handling.",
    "icon": "📦",
    "version": "1.0.0",
    "author": "AayushBaniya2006",
    "license": "MIT",
    "tags": [
      "Plate.js",
      "rich text editor",
      "React",
      "shadcn UI",
      "editor components"
    ],
    "supported_tools": [
      "claude",
      "codex",
      "claude-code"
    ],
    "risk_factors": [
      "external_commands"
    ],
    "category": "coding"
  },
  "security_audit": {
    "risk_level": "safe",
    "is_blocked": false,
    "safe_to_publish": true,
    "analysis_status": "ok",
    "summary": "The confirmed risk is setup guidance that uses pnpm dlx with shadcn@latest, which runs remote package tooling. Other backtick hits are component names, paths, or safe guidance. No prompt injection, data exfiltration intent, or malicious behavior was found.",
    "remediation": [
      {
        "issue": "Remote CLI execution during setup",
        "suggestion": "Pin shadcn and package versions, and require user confirmation before running pnpm dlx commands.",
        "severity": "medium"
      },
      {
        "issue": "Generated dependency changes need review",
        "suggestion": "Tell users to inspect generated files and lockfile changes before committing the editor setup.",
        "severity": "medium"
      }
    ],
    "risk_factor_evidence": [
      {
        "factor": "external_commands",
        "evidence": [
          {
            "file": "SKILL.md",
            "line_start": 13,
            "line_end": 13
          },
          {
            "file": "SKILL.md",
            "line_start": 14,
            "line_end": 14
          },
          {
            "file": "SKILL.md",
            "line_start": 15,
            "line_end": 15
          },
          {
            "file": "SKILL.md",
            "line_start": 16,
            "line_end": 16
          },
          {
            "file": "SKILL.md",
            "line_start": 24,
            "line_end": 24
          },
          {
            "file": "SKILL.md",
            "line_start": 25,
            "line_end": 25
          },
          {
            "file": "SKILL.md",
            "line_start": 30,
            "line_end": 30
          },
          {
            "file": "SKILL.md",
            "line_start": 31,
            "line_end": 31
          },
          {
            "file": "SKILL.md",
            "line_start": 34,
            "line_end": 34
          },
          {
            "file": "SKILL.md",
            "line_start": 35,
            "line_end": 35
          },
          {
            "file": "SKILL.md",
            "line_start": 36,
            "line_end": 36
          },
          {
            "file": "SKILL.md",
            "line_start": 37,
            "line_end": 37
          },
          {
            "file": "SKILL.md",
            "line_start": 38,
            "line_end": 38
          }
        ]
      }
    ],
    "static_findings": [
      {
        "id": "blocker:reference.md:119:system-reconnaissance",
        "category": "blocker",
        "severity": "low",
        "pattern": "System reconnaissance",
        "file": "reference.md",
        "line_start": 119,
        "line_end": 119,
        "snippet": "2.  **Storage**: Use `onChange` to capture `value` (JSON) and store it. Avoid `dangerouslySetInnerHT"
      },
      {
        "id": "external_commands:SKILL.md:13:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 13,
        "line_end": 13,
        "snippet": "Use the `shadcn` CLI to install Plate components."
      },
      {
        "id": "external_commands:SKILL.md:14:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 14,
        "line_end": 14,
        "snippet": "1.  **Core Installation**: `pnpm dlx shadcn@latest add @plate/editor`"
      },
      {
        "id": "external_commands:SKILL.md:15:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 15,
        "line_end": 15,
        "snippet": "2.  **Basic Nodes**: `pnpm dlx shadcn@latest add @plate/basic-nodes-kit @plate/fixed-toolbar @plate/"
      },
      {
        "id": "external_commands:SKILL.md:16:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 16,
        "line_end": 16,
        "snippet": "3.  **Preset (Optional)**: For a quick comprehensive setup, use `pnpm dlx shadcn@latest add @plate/e"
      },
      {
        "id": "external_commands:SKILL.md:24:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 24,
        "line_end": 24,
        "snippet": "*   **UI**: Simple `FixedToolbar` or no toolbar (shortcuts only)."
      },
      {
        "id": "external_commands:SKILL.md:25:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 25,
        "line_end": 25,
        "snippet": "*   **Location**: `src/components/plate-editor/simple-editor.tsx`"
      },
      {
        "id": "external_commands:SKILL.md:30:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 30,
        "line_end": 30,
        "snippet": "*   **UI**: Full `FixedToolbar` with multiple groups, Floating Toolbar."
      },
      {
        "id": "external_commands:SKILL.md:31:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 31,
        "line_end": 31,
        "snippet": "*   **Location**: `src/components/plate-editor/detailed-editor.tsx`"
      },
      {
        "id": "external_commands:SKILL.md:34:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 34,
        "line_end": 34,
        "snippet": "1.  **Scaffold Components**: Ensure the base UI components (`Editor`, `EditorContainer`, `Toolbar`) "
      },
      {
        "id": "external_commands:SKILL.md:35:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 35,
        "line_end": 35,
        "snippet": "2.  **Create Editor Component**: Create the wrapper component using `usePlateEditor` and `<Plate>`."
      },
      {
        "id": "external_commands:SKILL.md:36:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 36,
        "line_end": 36,
        "snippet": "3.  **Configure Plugins**: Import and add plugins to the `plugins` array."
      },
      {
        "id": "external_commands:SKILL.md:37:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 37,
        "line_end": 37,
        "snippet": "4.  **Bind UI**: Add `FixedToolbar` and buttons (`MarkToolbarButton`, `ToolbarButton`) inside the `<"
      },
      {
        "id": "external_commands:SKILL.md:38:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 38,
        "line_end": 38,
        "snippet": "5.  **State Management**: Use `value` and `onChange` props on `<Plate>` to handle content. Sync with"
      }
    ],
    "finding_verdicts": [
      {
        "id": "blocker:reference.md:119:system-reconnaissance",
        "verdict": "false_positive",
        "confidence": 0.96,
        "reason": "Line 119 gives storage and rendering safety guidance, including avoiding dangerouslySetInnerHTML. It does not request host discovery or system reconnaissance."
      },
      {
        "id": "external_commands:SKILL.md:13:ruby-shell-backtick-execution",
        "verdict": "confirmed",
        "confidence": 0.72,
        "severity": "medium",
        "reason": "The instruction directs the agent to use the shadcn CLI for installation. That can execute external package tooling and modify the project."
      },
      {
        "id": "external_commands:SKILL.md:14:ruby-shell-backtick-execution",
        "verdict": "confirmed",
        "confidence": 0.88,
        "severity": "medium",
        "reason": "The pnpm dlx command downloads and runs shadcn@latest to add Plate editor files. Using latest remote tooling creates supply chain and execution risk."
      },
      {
        "id": "external_commands:SKILL.md:15:ruby-shell-backtick-execution",
        "verdict": "confirmed",
        "confidence": 0.88,
        "severity": "medium",
        "reason": "The pnpm dlx command runs remote shadcn@latest tooling to install Plate packages. It is legitimate setup guidance but still external code execution."
      },
      {
        "id": "external_commands:SKILL.md:16:ruby-shell-backtick-execution",
        "verdict": "confirmed",
        "confidence": 0.88,
        "severity": "medium",
        "reason": "The optional preset command runs remote shadcn@latest tooling through pnpm dlx. That creates execution and dependency integrity risk."
      },
      {
        "id": "external_commands:SKILL.md:24:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "Line 24 references the FixedToolbar component as UI guidance. It is not a shell command or executable instruction."
      },
      {
        "id": "external_commands:SKILL.md:25:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.97,
        "reason": "Line 25 contains a suggested local file path for a simple editor component. It does not execute commands or invoke external tooling."
      },
      {
        "id": "external_commands:SKILL.md:30:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "Line 30 references FixedToolbar as a UI component name. The backticks are Markdown formatting, not command execution."
      },
      {
        "id": "external_commands:SKILL.md:31:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.97,
        "reason": "Line 31 contains a suggested local file path for a detailed editor component. It is not a shell command."
      },
      {
        "id": "external_commands:SKILL.md:34:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "Line 34 names local UI components and an import alias. It describes project structure, not command execution."
      },
      {
        "id": "external_commands:SKILL.md:35:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.95,
        "reason": "Line 35 names Plate APIs used in React components. These are code symbols, not shell commands."
      },
      {
        "id": "external_commands:SKILL.md:36:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.95,
        "reason": "Line 36 references a plugins array in application code. It does not invoke a command or external process."
      },
      {
        "id": "external_commands:SKILL.md:37:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "Line 37 names toolbar components and JSX structure. It is implementation guidance, not shell execution."
      },
      {
        "id": "external_commands:SKILL.md:38:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.94,
        "reason": "Line 38 references React props and localStorage for state handling. It does not contain or request command execution."
      }
    ],
    "semantic_findings": [],
    "critical_findings": [],
    "high_findings": [],
    "medium_findings": [
      {
        "title": "Ruby/shell backtick execution",
        "description": "Use the `shadcn` CLI to install Plate components.",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 13,
            "line_end": 13
          }
        ],
        "review_kind": "capability",
        "source_category": "external_commands",
        "source_severity": "medium",
        "confidence": 0.72,
        "confidence_reasoning": "The instruction directs the agent to use the shadcn CLI for installation. That can execute external package tooling and modify the project."
      },
      {
        "title": "Ruby/shell backtick execution",
        "description": "1.  **Core Installation**: `pnpm dlx shadcn@latest add @plate/editor`",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 14,
            "line_end": 14
          }
        ],
        "review_kind": "capability",
        "source_category": "external_commands",
        "source_severity": "medium",
        "confidence": 0.88,
        "confidence_reasoning": "The pnpm dlx command downloads and runs shadcn@latest to add Plate editor files. Using latest remote tooling creates supply chain and execution risk."
      },
      {
        "title": "Ruby/shell backtick execution",
        "description": "2.  **Basic Nodes**: `pnpm dlx shadcn@latest add @plate/basic-nodes-kit @plate/fixed-toolbar @plate/",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 15,
            "line_end": 15
          }
        ],
        "review_kind": "capability",
        "source_category": "external_commands",
        "source_severity": "medium",
        "confidence": 0.88,
        "confidence_reasoning": "The pnpm dlx command runs remote shadcn@latest tooling to install Plate packages. It is legitimate setup guidance but still external code execution."
      },
      {
        "title": "Ruby/shell backtick execution",
        "description": "3.  **Preset (Optional)**: For a quick comprehensive setup, use `pnpm dlx shadcn@latest add @plate/e",
        "locations": [
          {
            "file": "SKILL.md",
            "line_start": 16,
            "line_end": 16
          }
        ],
        "review_kind": "capability",
        "source_category": "external_commands",
        "source_severity": "medium",
        "confidence": 0.88,
        "confidence_reasoning": "The optional preset command runs remote shadcn@latest tooling through pnpm dlx. That creates execution and dependency integrity risk."
      }
    ],
    "low_findings": [],
    "dangerous_patterns": [],
    "files_scanned": 2,
    "total_lines": 165,
    "audit_model": "codex",
    "audited_at": "2026-07-09T12:32:42.040Z",
    "agent_auto_install_policy": "allowed",
    "manual_install_policy": "allowed"
  },
  "content": {
    "user_title": "Build Plate.js Rich Text Editors",
    "value_statement": "React teams need rich text editors that match their design system. This skill guides Plate.js setup, plugins, toolbars, and state handling.",
    "seo_keywords": [
      "Plate.js editor",
      "rich text editor",
      "shadcn UI",
      "React editor",
      "Next.js editor",
      "Claude",
      "Codex",
      "Claude Code",
      "content editor",
      "toolbar plugins"
    ],
    "actual_capabilities": [
      "Choose between simple comment editors and detailed document editors.",
      "Provide shadcn CLI commands for installing Plate editor components.",
      "Recommend component paths for simple and detailed editor implementations.",
      "Configure Plate plugins for marks, headings, blockquotes, and toolbars.",
      "Use value and onChange patterns for editor state management.",
      "Reference example implementations for small and detailed editors."
    ],
    "limitations": [
      "Requires a React project that can use Plate.js and shadcn UI.",
      "Does not implement backend persistence, access control, or file uploads.",
      "Package names and shadcn commands may change across Plate.js versions.",
      "Does not provide full sanitization logic for rendering stored HTML."
    ],
    "use_cases": [
      {
        "title": "Add comment formatting",
        "description": "Create a compact editor with bold, italic, underline, and minimal toolbar controls.",
        "target_user": "Frontend developer"
      },
      {
        "title": "Build a blog editor",
        "description": "Create a detailed editor with headings, blockquotes, marks, and a fixed toolbar.",
        "target_user": "CMS builder"
      },
      {
        "title": "Standardize editor setup",
        "description": "Give teams a repeatable Plate.js setup path with shared components and state patterns.",
        "target_user": "Engineering lead"
      }
    ],
    "prompt_templates": [
      {
        "title": "Create a simple editor",
        "scenario": "Beginner setup for comments or short text fields.",
        "prompt": "Use plate-handler to build a simple Plate.js editor for comments. Include basic marks and a compact toolbar."
      },
      {
        "title": "Add a detailed editor",
        "scenario": "Intermediate setup for documents or blog posts.",
        "prompt": "Use plate-handler to create a detailed Plate.js editor. Include headings, blockquote, marks, and a fixed toolbar."
      },
      {
        "title": "Integrate editor state",
        "scenario": "State handling for forms and drafts.",
        "prompt": "Use plate-handler to connect Plate.js value changes to my form state. Keep the editor reusable and typed."
      },
      {
        "title": "Plan a full editor system",
        "scenario": "Advanced setup for shared product components.",
        "prompt": "Use plate-handler to design simple and detailed Plate.js editors for our app. Include paths, plugins, toolbar groups, and persistence notes."
      }
    ],
    "output_examples": [
      {
        "input": "I need a small editor for chat messages.",
        "output": "Recommendation: use the simple editor path. Include bold, italic, underline, and a compact toolbar. Store changes through value and onChange."
      },
      {
        "input": "I need a blog post editor with headings and quotes.",
        "output": "Recommendation: use the detailed editor path. Add heading plugins, blockquote support, mark buttons, and a fixed toolbar."
      },
      {
        "input": "I want consistent Plate.js setup across the app.",
        "output": "Recommendation: install shared Plate UI components first. Then create reusable simple and detailed editor components in one folder."
      }
    ],
    "best_practices": [
      "Confirm package installation commands before running them in a project.",
      "Keep simple editors minimal and reserve complex plugins for document editing.",
      "Store Plate values through controlled state or form state, then sanitize rendered output."
    ],
    "anti_patterns": [
      "Running latest package commands without reviewing generated file changes.",
      "Using a full document editor for short chat or comment fields.",
      "Rendering stored rich text with raw HTML without a sanitization plan."
    ],
    "faq": [
      {
        "question": "What does this skill build?",
        "answer": "It guides Plate.js rich text editor setup for React projects using shadcn UI components."
      },
      {
        "question": "Can it create both simple and detailed editors?",
        "answer": "Yes. It separates compact comment editors from detailed document or CMS editors."
      },
      {
        "question": "Does it require shadcn UI?",
        "answer": "The guidance expects shadcn UI components for editor surfaces, toolbars, and generated component files."
      },
      {
        "question": "Does it store editor content?",
        "answer": "It explains value and onChange patterns, but storage implementation remains part of the host app."
      },
      {
        "question": "Does it cover secure HTML rendering?",
        "answer": "It warns against unsafe raw HTML rendering and recommends Plate serialization when read-only HTML is needed."
      },
      {
        "question": "Can Claude, Codex, and Claude Code use it?",
        "answer": "Yes. The report lists support for Claude, Codex, and Claude Code compatible workflows."
      }
    ]
  },
  "file_structure": [
    {
      "name": "reference.md",
      "type": "file",
      "path": "reference.md",
      "lines": 122
    },
    {
      "name": "SKILL.md",
      "type": "file",
      "path": "SKILL.md",
      "lines": 43
    }
  ]
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall