scaffold

Generate boilerplate scaffolds by inferring project conventions from existing code.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/Kikolator/claude-toolkit --skill scaffold-kikolator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold
Source: https://github.com/Kikolator/claude-toolkit/tree/main/skills/scaffold
Command: npx skills add https://github.com/Kikolator/claude-toolkit --skill scaffold-kikolator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates boilerplate by reading an existing project to infer conventions and create scaffolds for common patterns.

Core Features & Use Cases

  • Infers project conventions from existing code (CLAUDE.md, package.json, tsconfig.json) to tailor scaffolds.
  • Supports scaffolds for api-route, server-action, component, page, supabase-table, and webhook.
  • Reduces setup time by generating ready-to-run boilerplate with tests and typings (when applicable).

Quick Start

Run the scaffold command with a pattern and name to generate boilerplate in your current project.

Frequently Asked Questions about scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate boilerplate code from an existing TypeScript project?

You can generate Next.js boilerplate like pages, API routes, and server actions by running the scaffold command with a pattern and name, which infers project conventions to output ready-to-run files.

Can I auto-scaffold Supabase migrations and webhooks in a Next.js codebase?

Yes, you can auto-scaffold Supabase table migrations and webhooks in a Next.js codebase. The generator inspects your project to infer conventions and outputs deterministic boilerplate files for these patterns.

What files do I need in my repository for codebase scaffolding to work?

For codebase scaffolding to work, your repository needs detectable project-wide conventions. Having files like CLAUDE.md, package.json, and tsconfig.json allows the tool to infer rules and generate accurate boilerplate.

What is the best way to automate component creation in a TypeScript project?

The best way to automate component creation in a TypeScript project is using a scaffolding tool that reads existing configurations to generate boilerplate. This ensures new components match your project's specific naming rules and standard locations.

Are there limitations to generating project templates from an existing codebase?

A key limitation of generating project templates this way is the requirement for project-wide conventions to be detectable. If your repository lacks consistent configurations like CLAUDE.md or tsconfig.json, the tool cannot infer rules to generate deterministic files.