Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

extracting-blueprints

БесплатноБез исполняемых скриптовНе проверен

Use when extracting a working project into a create-faster blueprint - triggers on phrases like "turn my project into a blueprint", "extract blueprint from my…

plvoот plvo★ 31 звезда на GitHub

Об этом скилле

Extracting Blueprints from External Projects

Overview

Extract a real-world project and convert it into a generic, functional create-faster blueprint. The external project is a reference for understanding the architecture and patterns, not a source to copy-paste from.

Core principle: Understand the project's architecture, identify the generic patterns, strip the business logic, verify everything against current library docs, then build a clean blueprint. The project shows you WHAT to build — the docs tell you HOW to build it correctly.

When to Use

Use this skill when:

  • You have a working project and want to make it a create-faster blueprint
  • The user says "I built a CRM, let's extract a dashboard blueprint from it"
  • Converting project-specific code into a generic starter

Do NOT use for:

  • Creating a blueprint from scratch without a reference project (use adding-blueprints skill directly)
  • Extracting a single library integration (use extracting-templates skill)
  • Fixing existing blueprints (use fixing-templates skill)

What is a Blueprint

A blueprint is a complete starter project that combines:

  1. A preset composition — stacks, libraries, and project addons defined in META.blueprints
  2. Application code — pages, layouts, components, routes in templates/blueprints/{name}/
  3. Extra dependencies — blueprint-specific packages not covered by the composition
  4. Extra env vars — blueprint-specific environment variables

How it works at generation time:

  1. Normal template resolution runs (stacks → libraries → project addons → repo config)
  2. Blueprint templates are collected from templates/blueprints/{name}/
  3. Blueprint templates override structural templates with the same destination path
  4. Blueprint packageJson is merged into app packages
  5. Blueprint envs are collected alongside library/project envs

Key distinction from library extraction: Extracting a library (extracting-templates) is surgical — one concern, one setup. Extracting a blueprint is architectural — you're extracting an entire application's structure, patterns, and flows while stripping domain-specific business logic.

Data Model (MetaBlueprint in types/meta.ts)

interface MetaBlueprint {
  label: string;
  hint: string;
  category: string;
  context: {
    apps: { appName: string; stackName: StackName; libraries: string[] }[];
    project: { database?: string; orm?: string };
  };
  packageJson?: PackageJsonConfig;
  envs?: EnvVar[];
}

The Process

digraph extracting_blueprint {
    node [fontsize=11];
    edge [fontsize=9];

    "Start" [shape=doublecircle];
    "Scan project" [shape=box];
    "Map architecture" [shape=box];
    "Classify every file" [shape=box];
    "Identify composition" [shape=box];
    "Research library docs\n(context7)" [shape=box];
    "Confident in understanding?" [shape=diamond];
    "Design META entry" [shape=box];
    "Genericize templates" [shape=box];
    "Hand off to\nadding-blueprints" [shape=box];
    "Done" [shape=doublecircle];

    "Start" -> "Scan project";
    "Scan project" -> "Map architecture";
    "Map architecture" -> "Classify every file";
    "Classify every file" -> "Identify composition";
    "Identify composition" -> "Research library docs\n(context7)";
    "Research library docs\n(context7)" -> "Confident in understanding?";
    "Confident in understanding?" -> "Design META entry" [label="yes"];
    "Confident in understanding?" -> "Research library docs\n(context7)" [label="no — re-read docs"];
    "Design META entry" -> "Genericize templates";
    "Genericize templates" -> "Hand off to\nadding-blueprints";
    "Hand off to\nadding-blueprints" -> "Done";
}

Phase 1: Scan the Project

User tells you: project path + what kind of blueprint to extract.

  1. Scan the file tree — get the complete directory structure
  2. Read package.json — map all dependencies and their versions
  3. Identify the stack — Next.js? Expo? Hono? Multi-app?
  4. Identify the routing structure — pages, layouts, route groups
  5. Map the component tree — shared components, page-specific components

Output: A complete file map with initial purpose annotations.

Example for a CRM project:

src/app/page.tsx                         → Landing/redirect
src/app/(dashboard)/layout.tsx           → Dashboard shell (sidebar + header)
src/app/(dashboard)/page.tsx             → Dashboard overview
src/app/(dashboard)/clients/page.tsx     → Client list (BUSINESS LOGIC)
src/app/(dashboard)/clients/[id]/page.tsx → Client detail (BUSINESS LOGIC)
src/app/(dashboard)/settings/page.tsx    → Settings page
src/components/sidebar.tsx               → Navigation sidebar
src/components/header.tsx                → App header
src/components/client-table.tsx          → Data table (BUSINESS LOGIC)
src/components/stats-cards.tsx           → Generic stat cards
src/lib/auth.ts                          → Auth setup (co
Полный SKILL.md на GitHub

Установить extracting-blueprints в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл extracting-blueprints?

Use when extracting a working project into a create-faster blueprint - triggers on phrases like "turn my project into a blueprint", "extract blueprint from my CRM", "make this project a create-faster template"

Как установить скилл extracting-blueprints?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл extracting-blueprints запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить extracting-blueprints с