documenting-module
БесплатноБез исполняемых скриптовНе проверенUse when documenting modules (libraries/addons) in create-faster MDX docs - covers standalone module pages with supported stacks, dependencies, env vars, and…
от plvo★ 31 звезда на GitHubОб этом скилле
Documenting Module
Overview
Document what create-faster configures for each module. Focus on technical changes, not library features.
Core principle: Document OUR additions, link to THEIR docs. Each module gets its own standalone page.
When to Use
Use when:
- Adding a new module documentation page
- Updating existing module docs after template changes
- Extracting module docs from stack pages into standalone pages
Do NOT use for:
- Stack documentation (use
documenting-stackskill) - Database/ORM documentation (use
documenting-stackskill) - General library tutorials (link to official docs)
Architecture Context
Where things live:
- Module metadata:
META.libraries[name]inapps/cli/src/__meta__.ts - Module templates:
apps/cli/templates/libraries/{library}/ - Documentation pages:
apps/www/content/docs/modules/{category}/{module}.mdx - Dependencies/scripts:
META.libraries[name].packageJson(NOT in templates) - Env vars:
META.libraries[name].envs(NOT in templates) - Supported stacks:
META.libraries[name].support.stacks - Requirements:
META.libraries[name].require - Monorepo scope:
META.libraries[name].mono
Package.json is programmatic. Dependencies are declared in META, not in template files.
Env vars are programmatic. Check envs fields in META, not template files.
Structure Template
---
title: Module Name
description: One-line description of what create-faster sets up for this module
---
## Presentation
Brief description of what you get (1-2 sentences).
[→ Official Documentation](https://...)
**Supported stacks:** Next.js, TanStack Start (list from META.support.stacks)
**Requirements:** ORM (Drizzle or Prisma) — only if META.require exists
## What create-faster adds
**Technical changes:**
Files added:
\`\`\`
src/
├── path/to/
│ └── file.tsx # Description
└── config.json # Description
# Turborepo only:
packages/name/
└── package.json # Description
\`\`\`
**Modified files:**
- `file.tsx` - What changed and why
**Dependencies:**
- List from META.libraries[name].packageJson.dependencies
- List from META.libraries[name].packageJson.devDependencies (as dev deps)
**Environment variables:** (only if META.libraries[name].envs exists)
- `VAR_NAME` - Purpose and scope
**Turborepo mode:**
How it behaves differently in monorepo (package name, imports, scope).
**Integration notes:**
How it works with ORM/database/other modules (only if relevant).
Documentation Workflow
Step 1: Analyze META for Module Metadata
CRITICAL: META is the source of truth for dependencies, env vars, and support.
# Check module metadata in META
grep -A 30 "'modulename'" apps/cli/src/__meta__.ts
# Check supported stacks
grep -B 2 -A 5 "'modulename'" apps/cli/src/__meta__.ts | grep support
# Check requirements
grep -A 3 "'modulename'" apps/cli/src/__meta__.ts | grep require
# Check mono config
grep -A 3 "'modulename'" apps/cli/src/__meta__.ts | grep mono
# Check env vars
grep -A 10 "'modulename'" apps/cli/src/__meta__.ts | grep -A 5 envs
Step 2: Analyze Template Files
# Find all template files for module
ls -la apps/cli/templates/libraries/{modulename}/
# Check for frontmatter (only/mono filters)
grep -l '^---' apps/cli/templates/libraries/{modulename}/*.hbs
head -5 apps/cli/templates/libraries/{modulename}/*.hbs
# Check for stack-specific templates (.nextjs.hbs, .expo.hbs)
ls apps/cli/templates/libraries/{modulename}/*.*.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: Module display name (from META.libraries[name].label)description: What create-faster sets up (NOT what the library does)
CRITICAL - Don't add # Title:
Title in frontmatter already renders as H1. Adding # Title creates duplicate.
Document structure:
## Presentation- Brief description + link to official docs- Supported stacks list
- Requirements (if any)
## What create-faster adds- Technical changes
Step 4: Focus on Technical Changes
DO document:
- Files we create (verifiable in
apps/cli/templates/libraries/) - Files we modify (verifiable in templates with conditionals)
- Dependencies from META
packageJson.dependencies - Dev dependencies from META
packageJson.devDependencies - Env vars from META
envsfields (with scope) - Turborepo vs single repo differences (check
monoconfig and frontmatteronlyfilters) appPackageJsondependencies (installed in the app, not the module package)exportsfrom METApackageJson.exports(package entry points)
DON'T document:
- What the library does (official docs)
- Generic "benefits" or "why use"
- Basic usage examples (they have tutorials)
- Dependencies not in META (verify!)
- Configuration that comes from the library itself, not our templates
Step 5: Verify Every Claim
**MANDATO
Установить documenting-module в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл documenting-module?
Use when documenting modules (libraries/addons) in create-faster MDX docs - covers standalone module pages with supported stacks, dependencies, env vars, and file structures
Как установить скилл documenting-module?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл documenting-module запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic