aigc: Skill for Claude Code

.claude/skills/frontend-design/SKILL.md

frontend-design is a skill for Claude Code from xiaoyuge886/aigc. It costs 54 tokens per session (7,367 once invoked), scanned A, original, MIT.

A senior SQL development guide for designing complex database queries, improving their speed, and shaping database structures across PostgreSQL, MySQL, SQL Server, and Oracle. SQL is the language used to read and change information in databases.

In plain words
What is it for?
Use it to write or optimize SQL, inspect execution plans, improve indexes, design database structures, and enforce data rules. It can also provide technical guidance for SQL-related implementation work.
Why use it?
It helps address slow queries, inefficient indexes, database design problems, and risks such as deadlocks or inconsistent data. It also provides guidance for database work across several systems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is xiaoyuge886/aigc's own configuration. It tells Claude Code how to work on aigc itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aigc configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xiaoyuge886/aigc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/xiaoyuge886/aigc/main/.claude/skills/frontend-design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/xiaoyuge886/aigc

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for frontend-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaoyuge886/aigc/frontend-design/github.svg)](https://agentmods.dev/skills/xiaoyuge886/aigc/frontend-design)
Your own site
<a href="https://agentmods.dev/skills/xiaoyuge886/aigc/frontend-design"><img src="https://agentmods.dev/badge/skills/xiaoyuge886/aigc/frontend-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for frontend-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaoyuge886/aigc/frontend-design"><img src="https://agentmods.dev/badge/skills/xiaoyuge886/aigc/frontend-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,367 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 108
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.07367
Opus 5.5 $0.00022 $0.02947
Sonnet 5.5 $0.00011 $0.01473
Haiku 4.5 $0.00005 $0.00737

Measured 1mo ago against content hash b45c4a9ec8e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

frontend-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (examples/typescript/design-tokens.ts, examples/typescript/utils.ts, templates/tailwind.config.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/frontend-design/SKILL.md · 982 lines

How it starts

The opening of the file, as written. The whole thing — 982 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Frontend Design Skill — Systematic & Creative Web Development

Skill Location: {project_path}/skills/frontend-design/

This skill transforms vague UI style requirements into executable, production-grade frontend code through a systematic design token approach while maintaining creative excellence. It ensures visual consistency, accessibility compliance, and maintainability across all deliverables.


When to Use This Skill (Trigger Patterns)

MUST apply this skill when:

  • User requests any website, web application, or web component development
  • User mentions design styles: "modern", "premium", "minimalist", "dark mode", "SaaS-style"
  • Building dashboards, landing pages, admin panels, or any web UI
  • User asks to "make it look better" or "improve the design"
  • Creating component libraries or design systems
  • User specifies frameworks: React, Vue, Svelte, Next.js, Nuxt, etc.
  • Converting designs/mockups to code
  • User mentions: Tailwind CSS, shadcn/ui, Material-UI, Chakra UI, etc.

Trigger phrases:

  • "build a website/app/component"
  • "create a dashboard/landing page"
  • "design a UI for..."
  • "make it modern/clean/premium"
  • "style this with..."
  • "convert this design to code"

DO NOT use for:

  • Backend API development
  • Pure logic/algorithm implementation
  • Non-visual code tasks

Skill Architecture

This skill provides:

  1. SKILL.md (this file): Core methodology and guidelines
  2. examples/css/: Production-ready CSS examples
    • tokens.css - Design token system
    • components.css - Reusable component styles
    • utilities.css - Utility classes
  3. examples/typescript/: TypeScript implementation examples
    • design-tokens.ts - Type-safe token definitions
    • theme-provider.tsx - Theme management
    • sample-components.tsx - Component examples
  4. templates/: Quick-start templates
    • tailwind-config.js - Tailwind configuration
    • globals.css - Global styles template

Core Principles (Non-Negotiable)

Read the full file on GitHub · 982 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 982 lines · 54 tokens per session scan A b45c4a9ec8e1

Subscribe to this mod's changes

frontend-design is a skill published in the GitHub repository xiaoyuge886/aigc (200 stars, last pushed 3mo ago), licensed MIT. It adds 54 tokens to every session and 7,367 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

alloydb-basics

Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB Model Context Protocol (MCP) tools for automated database operations. Use when creating, configuring, or administering AlloyDB databases. Do NOT use for general PostgreSQL instances (e.g. Cloud SQL) or other GCP databases.

google/skills · 72 tokens

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

db-repair

Auto-fix gbrain's Postgres access so the brain stays available. When any gbrain command or MCP tool result carries a GBRAINDBACCESS marker (or an operator reports the brain database is down), run the hardcoded gbrain db-repair ladder: diagnose, apply the safe tier, verify. The action is ALWAYS the hardcoded command …

garrytan/gbrain · 96 tokens

volcengine-rds-postgresql

A tool for operating PostgreSQL databases hosted by Volcano Engine's managed database service. PostgreSQL is a relational database used to store structured application data.

bytedance/agentkit-samples · 63 tokens

analyzing-insights-across-teams

Analyze PostHog insights, dashboards, or teams beyond the current project by querying the prod Postgres replicas synced into the dogfood data warehouse (US project 2, "PostHog App + Website"). Use when asked to analyze insights across all teams or projects, another team's insights, or fleet-wide insight/dashboard…

PostHog/posthog-foss · 115 tokens

dsql

Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, diagnose cluster performance, load data, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL and PostgreSQL-to-DSQL schema conversion, foreign key…

awslabs/agent-plugins · 246 tokens