Command Palette

Search for a command to run...

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

documenting-stack

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

Use when documenting stacks, databases, or ORMs in create-faster MDX docs - focuses on technical changes and what we add beyond official setup

plvoот plvo★ 31 звезда на GitHub8 установок в других каталогах

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

Documenting Stack

Overview

Document what create-faster adds beyond official framework setup. Focus on technical changes, not framework features.

Core principle: Document OUR additions, link to THEIR docs.

When to Use

Use when:

  • Adding new stack documentation (Next.js, Expo, TanStack Start, Hono)
  • Documenting database/ORM integration (Drizzle, Prisma, PostgreSQL, MySQL)
  • Updating existing stack docs after template changes

Do NOT use for:

  • Project-specific documentation
  • General framework tutorials (link to official docs)
  • Module documentation (separate workflow)

Architecture Context

Where things live:

  • Stack templates: templates/stack/{framework}/
  • Library templates: templates/libraries/{library}/
  • Project addon templates: templates/project/{category}/{name}/
  • Dependencies/scripts: META.stacks[name].packageJson in __meta__.ts (NOT in templates)
  • Env vars: META.libraries[name].envs and META.project.*.options.*.envs (NOT in templates)
  • Library compatibility: META.libraries[name].support.stacks
  • Documentation site: apps/www/content/docs/

Package.json is programmatic. Scripts and dependencies are declared in META, not in template files. To verify what a stack provides, check META.stacks[name].packageJson in __meta__.ts.

Env vars are programmatic. Check envs fields in META addons, not template files.

Structure Template

---
title: Stack Name
description: Keep original style - framework presentation (don't change)
---

## Presentation

Brief explicit description of what you get as result (Full-stack X framework...).

[→ Official Documentation](https://...)

## What create-faster adds

Beyond the official setup, we include:

**Project Structure:**
- Pre-configured error pages
- Custom utilities directory
- Optimized layouts

**Development Scripts:**
- Custom scripts with purpose (build:analyze - Bundle analysis)
- Debug helpers (start:inspect - Node inspector)

**DO NOT include:**
- Framework-agnostic options (Biome, git, etc.)
- Default framework features (TypeScript, build tools)
- Optional features as if they're default

## Compatible Modules

List modules available for this stack with links to their standalone pages.

→ [shadcn/ui](/docs/modules/ui/shadcn) · [Next Themes](/docs/modules/ui/next-themes) · ...

Module documentation lives in `modules/{category}/`. Do NOT document modules inline.

Documentation Workflow

Step 1: Analyze META for Dependencies and Scripts

CRITICAL: META is the source of truth for dependencies and scripts, not template files.

# Check META for stack's packageJson
grep -A 30 "'stackname'" apps/cli/src/__meta__.ts

# Check what libraries support this stack
grep -B 2 -A 5 "stacks:.*'stackname'" apps/cli/src/__meta__.ts
# Also check for stacks: 'all' (available to every stack)
grep -A 2 "stacks: 'all'" apps/cli/src/__meta__.ts

Step 2: Analyze Template Files

# Find all template files for stack
ls -la apps/cli/templates/stack/{stackname}/

# Check library templates
ls -la apps/cli/templates/libraries/

# Verify specific files mentioned in docs
find apps/cli/templates -name "filename.hbs"

# Check for frontmatter (only/mono filters)
grep -l '^---' apps/cli/templates/stack/{stackname}/*.hbs
head -5 apps/cli/templates/stack/{stackname}/*.hbs

Document EXACTLY what files we create/modify. Cross-reference every claim with actual template files AND META.

Step 3: Structure Document

Frontmatter (YAML):

  • title: Stack name
  • description: Keep original style - framework presentation (DON'T change)

Document structure:

  1. Brief explicit description (what you get as result)
  2. Link to official docs (MANDATORY, → syntax)
  3. "What create-faster adds" section
  4. "Compatible Modules" section with links to standalone module pages

CRITICAL - Don't add # Title: Title in frontmatter already renders as H1. Adding # Title creates duplicate.

For compatible modules: Link to standalone module pages in modules/{category}/. Do NOT document modules inline on stack pages. Use documenting-module skill for module documentation.

Step 4: Focus on Technical Changes

DO document:

  • Files we create (verifiable in apps/cli/templates/)
  • Files we modify (verifiable in templates with conditionals)
  • Custom utilities (functions in template files)
  • Scripts from META packageJson.scripts (with their purpose)
  • Dependencies from META packageJson.dependencies
  • Turborepo vs single repo differences (check frontmatter only: mono filters)
  • Env vars from META envs fields (with scope resolution)

DON'T document:

  • What the framework/module does (official docs)
  • Generic "benefits" or "why use"
  • Basic usage examples (they have tutorials)
  • Framework-agnostic options (Biome, git - user chooses)
  • Optional features as defaults
  • Standard configs everyone uses (TypeScript strict)
  • Dependencies not in META (verify!)
  • Scripts not in META (verify!)
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Use when documenting stacks, databases, or ORMs in create-faster MDX docs - focuses on technical changes and what we add beyond official setup

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

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

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

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

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

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