Command Palette

Search for a command to run...

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

documenting-blueprint

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

Use when documenting blueprints in create-faster MDX docs - covers pre-composed starter projects with composition, architecture, application code, CLI usage…

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

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

Documenting Blueprint

Overview

Document what create-faster generates for each blueprint. Focus on the composition, architecture, and application code — not on teaching each library.

Core principle: Document the COMPOSITION and what APPLICATION CODE is included. For individual libraries in the composition, link to their standalone module/stack pages.

When to Use

Use when:

  • Adding a new blueprint documentation page
  • Updating existing blueprint docs after template changes
  • Documenting newly created blueprints

Do NOT use for:

  • Stack documentation (use documenting-stack skill)
  • Module documentation (use documenting-module skill)
  • Creating blueprints (use adding-blueprints skill)
  • Database/ORM documentation (use documenting-stack skill)

Architecture Context

Where things live:

  • Blueprint metadata: META.blueprints[name] in apps/cli/src/__meta__.ts
  • Blueprint templates: apps/cli/apps/cli/templates/blueprints/{name}/
  • Composition stacks: META.stacks[stackName]
  • Composition libraries: META.libraries[libName]
  • Composition project addons: META.project.{category}.options[name]
  • Documentation pages: apps/www/content/docs/blueprints/{category}/{name}.mdx

Key concepts:

  • context.apps[] — what stacks and libraries are pre-selected
  • context.project — what project addons are pre-selected (database, orm, deployment)
  • packageJson — extra dependencies ONLY for the blueprint (not from composition)
  • envs — extra env vars ONLY for the blueprint (not from composition)
  • Blueprint templates override structural templates with the same destination path

Package.json is programmatic. Composition dependencies come from META stacks/libraries/addons. Blueprint packageJson only declares EXTRA dependencies.

Env vars are programmatic. Composition envs come from META libraries/addons. Blueprint envs only declares EXTRA env vars.

Structure Template

---
title: Blueprint Name
description: One-line description of the starter project (from META.blueprints[name].hint)
---

## Presentation

Brief description of the complete starter project (2-3 sentences). What does the user get?

## Composition

**Apps:**
- `appName` — Stack ([→ docs](/docs/stacks/stackname)) + modules ([→ module](/docs/modules/category/name), ...)

**Project addons:**
- Database: [→ PostgreSQL](/docs/database/postgresql)
- ORM: [→ Drizzle](/docs/orm/drizzle)
- Deployment: [→ SST](/docs/deployment/sst) (if applicable)

## Architecture

File tree of the blueprint-specific application code (only what the blueprint ADDS beyond structural templates):

\`\`\`
src/
├── app/
│   ├── page.tsx                # Description
│   └── (section)/
│       ├── layout.tsx          # Description
│       └── page.tsx            # Description
├── components/
│   └── component.tsx           # Description
└── lib/
    └── util.ts                 # Description
\`\`\`

For multi-app blueprints (turborepo), show per-app structure.

## What's included

Describe the key application features the blueprint provides. Keep it factual — what pages exist, what functionality they have. Use subsections if the blueprint has multiple significant features.

Code examples ONLY for blueprint-specific patterns (e.g., custom auth integration, special middleware). Do NOT show code for standard library setup — link to module docs instead.

## Extra dependencies

Only if `META.blueprints[name].packageJson` exists:

\`\`\`
package        version     purpose
recharts       ^2.15.0     Dashboard charts
\`\`\`

## Environment variables

Only if `META.blueprints[name].envs` exists:

- `VAR_NAME` - Purpose (scope: app/root/pkg)

## CLI usage

\`\`\`bash
bunx create-faster myproject --blueprint {name} --linter biome --git --pm bun
\`\`\`

Documentation Workflow

Step 1: Analyze META for Blueprint Metadata

CRITICAL: META is the source of truth for composition, dependencies, and env vars.

# Check blueprint metadata in META
grep -A 40 "'{blueprintname}'" apps/cli/src/__meta__.ts

# Check composition: apps, stacks, libraries
grep -A 20 "context:" apps/cli/src/__meta__.ts | grep -A 15 "'{blueprintname}'"

# Check extra dependencies
grep -A 10 "packageJson:" apps/cli/src/__meta__.ts | grep -A 8 "'{blueprintname}'"

# Check extra env vars
grep -A 10 "envs:" apps/cli/src/__meta__.ts | grep -A 8 "'{blueprintname}'"

Step 2: Analyze Blueprint Template Files

# List all blueprint template files
find apps/cli/templates/blueprints/{blueprintname}/ -name "*.hbs" | sort

# Check for frontmatter (path/scope overrides)
grep -l '^---' apps/cli/templates/blueprints/{blueprintname}/**/*.hbs

# Check for stack-specific templates
ls apps/cli/templates/blueprints/{blueprintname}/**/*.*.hbs

# Check for mono/single filtering
grep 'only:' apps/cli/templates/blueprints/{blueprintname}/**/*.hbs

Document EXACTLY what files the blueprint adds. Cross-reference every claim with actual template files.

Step

Полный SKILL.md на GitHub

Установить documenting-blueprint в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл documenting-blueprint?

Use when documenting blueprints in create-faster MDX docs - covers pre-composed starter projects with composition, architecture, application code, CLI usage, and extra dependencies

Как установить скилл documenting-blueprint?

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

Скилл documenting-blueprint запускает скрипты?

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

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

Сравнить documenting-blueprint с