Skill Creator

mcclowes

51 published skills · 46 GitHub stars across the catalog. View on GitHub ↗

typescript-library

mcclowes's avatarfrom mcclowes★ 1

Use when developing TypeScript npm packages including tsconfig, package.json exports, dual CJS/ESM builds, and publishing

vscode-extension

mcclowes's avatarfrom mcclowes★ 1

Use when developing VS Code extensions including TextMate grammars, language configuration, and extension manifest

reqon

mcclowes's avatarfrom mcclowes

Use when writing or editing .vague files for Reqon declarative API data pipelines

nextjs-anti-patterns

mcclowes's avatarfrom mcclowes

Identify and fix common Next.js App Router anti-patterns and mistakes. Use when reviewing code for Next.js best practices, debugging performance issues, migrating from Pages Router patterns, or preventing common pitfalls. Activates for code review, performance optimization, or detecting inappropriate useEffect/useState usage. CRITICAL: For browser detection, keep the logic in the user-facing component (or a composed helper that it renders) rather than isolating it in unused files.

nextjs-client-cookie-pattern

mcclowes's avatarfrom mcclowes

Pattern for client components calling server actions to set cookies in Next.js. Covers the two-file pattern of a client component with user interaction (onClick, form submission) that calls a server action to modify cookies. Use when building features like authentication, preferences, or session management where client-side triggers need to set/modify server-side cookies.

nextjs-server-client-components

mcclowes's avatarfrom mcclowes

Guide for choosing between Server Components and Client Components in Next.js App Router. CRITICAL for useSearchParams (requires Suspense + 'use client'), navigation (Link, redirect, useRouter), cookies/headers access, and 'use client' directive. Activates when prompt mentions useSearchParams, Suspense, navigation, routing, Link component, redirect, pathname, searchParams, cookies, headers, async components, or 'use client'. Essential for avoiding mixing server/client APIs.

nextjs-server-navigation

mcclowes's avatarfrom mcclowes

Guide for implementing navigation in Next.js Server Components using Link component and redirect() function. Covers the difference between server and client navigation methods. Use when adding links, redirects, or navigation logic in server components without converting them to client components unnecessarily.

nextjs-use-search-params-suspense

mcclowes's avatarfrom mcclowes

Pattern for using useSearchParams hook with Suspense boundary in Next.js. Covers the required combination of 'use client' directive and Suspense wrapper when accessing URL query parameters in client components. Use when building search interfaces, filters, pagination, or any feature that needs to read/manipulate URL query parameters client-side.

openapi

mcclowes's avatarfrom mcclowes

Use when working with OpenAPI Specification files to validate, create/modify paths and schemas, check references, and enforce best practices

vague

mcclowes's avatarfrom mcclowes

Use when writing Vague (.vague) files - a declarative language for generating realistic test data with superposition, constraints, and cross-references

weavr-components

mcclowes's avatarfrom mcclowes

Use when building applications with Weavr for payments, cards, accounts, and identity verification. Covers both API integration and secure UI components.

weavr-ui

mcclowes's avatarfrom mcclowes

Use when implementing Weavr UI components for secure payment flows, authentication (password/passcode), KYC/KYB verification, or card display

weavr-api

mcclowes's avatarfrom mcclowes

Use when making Weavr API calls for corporates, consumers, cards, accounts, transfers, or KYC/KYB

weavr-simulator

mcclowes's avatarfrom mcclowes

Use when testing Weavr integrations in sandbox - simulate deposits, card transactions, KYC/KYB verification, wire transfers, and 2FA challenges

docusaurus-glossary

mcclowes's avatarfrom mcclowes

Use when working with docusaurus-plugin-glossary to configure, manage glossary terms, troubleshoot issues, and explain features

docusaurus-plugin-dev

mcclowes's avatarfrom mcclowes

Helps develop and build Docusaurus plugins using this starter template

nextjs-advanced-routing

mcclowes's avatarfrom mcclowes

Guide for advanced Next.js App Router patterns including Route Handlers, Parallel Routes, Intercepting Routes, Server Actions, error boundaries, draft mode, and streaming with Suspense. CRITICAL for server actions (action.ts, actions.ts files, 'use server' directive), setting cookies from client components, and form handling. Use when requirements involve server actions, form submissions, cookies, mutations, API routes, `route.ts`, parallel routes, intercepting routes, or streaming. Essential for separating server actions from client components.

nextjs-app-router-fundamentals

mcclowes's avatarfrom mcclowes

Guide for working with Next.js App Router (Next.js 13+). Use when migrating from Pages Router to App Router, creating layouts, implementing routing, handling metadata, or building Next.js 13+ applications. Activates for App Router migration, layout creation, routing patterns, or Next.js 13+ development tasks.

nextjs-dynamic-routes-params

mcclowes's avatarfrom mcclowes

Guide for Next.js App Router dynamic routes and pathname parameters. Use when building pages that depend on URL segments (IDs, slugs, nested paths), accessing the `params` prop, or fetching resources by identifier. Helps avoid over-nesting by defaulting to the simplest route structure (e.g., `app/[id]` instead of `app/products/[id]` unless the URL calls for it).

nextjs-pathname-id-fetch

mcclowes's avatarfrom mcclowes

Focused pattern for fetching data using URL parameters in Next.js. Covers creating dynamic routes ([id], [slug]) and accessing route parameters in server components to fetch data from APIs. Use when building pages that display individual items (product pages, blog posts, user profiles) based on a URL parameter. Complements nextjs-dynamic-routes-params with a simplified, common-case pattern.

railway

mcclowes's avatarfrom mcclowes

Use when user mentions Railway deployment, production environment issues, environment variables, database migrations, deployment failures, or Railway CLI commands - provides Railway.com platform integration for Next.js with PostgreSQL operations, monitoring, and troubleshooting

vercel-ai-sdk

mcclowes's avatarfrom mcclowes

Guide for Vercel AI SDK v5 implementation patterns including generateText, streamText, useChat hook, tool calling, embeddings, and MCP integration. Use when implementing AI chat interfaces, streaming responses, tool/function calling, text embeddings, or working with convertToModelMessages and toUIMessageStreamResponse. Activates for AI SDK integration, useChat hook usage, message streaming, or tool calling tasks.

docusaurus-config

mcclowes's avatarfrom mcclowes

Use when working with docusaurus.config.js/ts files to validate or modify Docusaurus configuration

docusaurus-documentation

mcclowes's avatarfrom mcclowes

Use when looking up information from the latest Docusaurus documentation at https://docusaurus.io/docs