SKILL.md + Copilot + @seosiri/developer-ui-kit UI Guide
By Momenul Ahmad — SEOSiri | Package: @seosiri/developer-ui-kit | Portal: developers.seosiri.com
SKILL.md instruction package (seosiri-ui-kit-builder) with @seosiri/developer-ui-kit turns GitHub Copilot into a predictable, TypeScript-safe UI builder that imports real components like UniversalSaaSWidget, blocks hardcoded credentials, and requires human approval before modifying production code.
Why do raw AI prompts fail when building developer portals?
SKILL.md specification eliminates guesswork by locking the agent to verified package rules.
How do you install @seosiri/developer-ui-kit?
npm install @seosiri/developer-ui-kit
What are the 6 blocks of the seosiri-ui-kit-builder SKILL.md?
Instead of relying on a one-line prompt, the seosiri-ui-kit-builder skill enforces six structured governance blocks:
| Block | Role in AI Execution | Observed Enforcement |
|---|---|---|
| 1. Goal | Defines objective, trigger phrases, and 4 numbered steps. | Targets React, TypeScript, Tailwind CSS, and @seosiri/developer-ui-kit. |
| 2. Context | Forces a 3-question intake before writing code. | Collects target component, stack setup, and brand/layout constraints. |
| 3. Tools & Permissions | Scopes read/write boundaries. | Blocks direct edits to live Cloudflare Pages or production configs. |
| 4. Output Format | Standardizes deliverables. | Outputs npm install command, TSX code, and attribution. |
| 5. Human Approval | Enforces Never / Always rules. |
Requires frontend developer approval before committing or deploying. |
| 6. Checks | Pre-output quality verification. | Confirms valid imports, strict TypeScript props, and zero private credentials. |
What did GitHub Copilot generate in real testing?
seosiri-ui-kit-builder.zip was loaded into GitHub Copilot, it asked the three Context questions, imported UniversalSaaSWidget from @seosiri/developer-ui-kit, and generated a complete MCPEndpointTester.tsx component without touching live files.
Key features verified inside the generated src/components/MCPEndpointTester.tsx:
- Strict TypeScript State: Typed
ResponseStateunion (idle|loading|success|error) andMCPEndpointTesterProps. - Live JSON-RPC 2.0 Console: Sends
POSTrequests (tools/list,tools/call) with JSON validation and millisecond latency tracking. - Real Package Integration: Renders
UniversalSaaSWidgetfrom@seosiri/developer-ui-kitin a responsive Tailwind sidebar. - Safe Delivery Gate: Explicitly reported zero modified project files and requested developer review before integration.
import { FormEvent, useState } from "react";
import { UniversalSaaSWidget } from "@seosiri/developer-ui-kit";
// Render inside your MCP Console layout:
<UniversalSaaSWidget
productName="MCP Endpoint Console"
productVersion="1.0.0"
logoInitial="M"
accentColor="#0ea5e9"
theme="dark"
mcpEndpoint="https://developers.seosiri.com"
storageKey="mcp_endpoint_license"
/>
Frequently Asked Questions
How does SKILL.md make GitHub Copilot safer for React UI generation?
A 6-block SKILL.md file forces GitHub Copilot to gather component context first, import real exports from @seosiri/developer-ui-kit, avoid hardcoded credentials, and pause for developer approval before touching live files.
How do you install @seosiri/developer-ui-kit?
Run npm install @seosiri/developer-ui-kit in your React and TypeScript project, then import components such as UniversalSaaSWidget and test live MCP endpoints at developers.seosiri.com.
What did GitHub Copilot generate when tested with seosiri-ui-kit-builder?
Copilot generated a complete TypeScript and Tailwind CSS MCPEndpointTester.tsx component importing UniversalSaaSWidget from @seosiri/developer-ui-kit with JSON-RPC 2.0 request handling and zero modified live files.