project-initialization-phase
БесплатноБез исполняемых скриптовНе проверенOrchestrates /init-project command execution through interactive questionnaire (15 questions), brownfield codebase scanning (tech stack detection, ERD from…
от marcusgoll★ 97 звёзд на GitHubОб этом скилле
This skill orchestrates one-time project setup, producing foundation documentation that all features must align with.
Core responsibilities:
- Detect project type (greenfield vs brownfield)
- Run interactive questionnaire (15 questions covering vision, scale, tech stack, constraints)
- Scan existing codebase (if brownfield) to auto-fill docs
- Launch project-architect agent to generate 8 documentation files
- Validate cross-document consistency
- Present summary with [NEEDS CLARIFICATION] count
Inputs: User answers (15 questions), existing codebase (if brownfield), templates from .spec-flow/templates/project/
Outputs: 8 markdown files in docs/project/ (overview, architecture, tech-stack, data, API, capacity, deployment, workflow)
Expected duration: 15-20 minutes (10 min questions + 5-10 min generation/review)
- Detect project type - Check for package.json, requirements.txt, etc. (greenfield vs brownfield)
- Interactive questionnaire - Ask 15 questions (project name, vision, scale, tech stack, constraints)
- Brownfield scanning (if applicable) - Auto-detect tech stack, ERD from migrations, architecture pattern
- Launch project-architect agent - Generate 8 docs from templates + answers + scan results
- Validate documentation - Verify all 8 files exist, [NEEDS CLARIFICATION] count < 20, Mermaid diagrams present
- Summary report - Show coverage (greenfield: 70% filled, brownfield: 80% filled), next steps
Key principle: Mark unknowns with [NEEDS CLARIFICATION] instead of hallucinating.
- All 8 files generated in
docs/project/(overview, system-architecture, tech-stack, data-architecture, api-strategy, capacity-planning, deployment-strategy, development-workflow) - [NEEDS CLARIFICATION] count < 20 (indicates good coverage from questionnaire/scan)
- Mermaid diagrams present and valid (C4 in system-architecture, ERD in data-architecture)
- Cross-document consistency validated (tech stack, database, deployment model aligned)
- Tech stack accurately detected (brownfield only)
- User informed of next steps (review docs, fill clarifications, commit)
If [NEEDS CLARIFICATION] count > 30, re-run questionnaire with more detailed answers or manually fill post-generation.
- Templates exist in
.spec-flow/templates/project/(8 files: overview-template, system-architecture-template, etc.) docs/directory exists or can be created- Project-architect agent available at
.claude/agents/phase/project-architect.md
Knowledge requirements:
- Understanding of greenfield vs brownfield projects
- Familiarity with tech stack detection strategies (package.json, requirements.txt parsing)
- ERD generation from database migrations (Alembic, Prisma)
- Cross-document consistency validation patterns
Before running:
⚠️ WARNING: /init-project generates 8 files in docs/project/. If directory already exists, offer user to:
- A) Backup existing docs to
docs/project-backup-{timestamp}/ - B) Append to existing docs (merge new sections)
- C) Abort (user will manually update)
Determine if starting from scratch (greenfield) or with existing codebase (brownfield).
Detection Logic:
# Check for existing codebase indicators
if [ -f "package.json" ]; then
PROJECT_TYPE="brownfield"
TECH_DETECTED="Node.js"
elif [ -f "requirements.txt" ] || [ -f "pyproject.toml" ]; then
PROJECT_TYPE="brownfield"
TECH_DETECTED="Python"
elif [ -f "Cargo.toml" ]; then
PROJECT_TYPE="brownfield"
TECH_DETECTED="Rust"
elif [ -f "go.mod" ]; then
PROJECT_TYPE="brownfield"
TECH_DETECTED="Go"
elif [ -f "Gemfile" ]; then
PROJECT_TYPE="brownfield"
TECH_DETECTED="Ruby"
else
PROJECT_TYPE="greenfield"
fi
Inform user:
if [ "$PROJECT_TYPE" = "brownfield" ]; then
echo "✅ Detected existing codebase ($TECH_DETECTED)"
echo " Will scan codebase to auto-fill project docs"
else
echo "ℹ️ No existing codebase detected (greenfield project)"
echo " Will generate templates with [NEEDS CLARIFICATION] markers"
fi
Quality check: Correct project type detected? If unclear (e.g., multiple languages), ask user which is primary.
Gather essential project context to fill documentation templates.
Question Flow (full list in reference.md):
# Q1: Project name
read -p "Q1. Project n
Установить project-initialization-phase в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл project-initialization-phase?
Orchestrates /init-project command execution through interactive questionnaire (15 questions), brownfield codebase scanning (tech stack detection, ERD from migrations), and 8-document generation (overview, architecture, tech-stack, data, API, capacity, deployment, workflow). Use when user runs /init-project, requests project documentation generation, or asks about architecture setup for greenfield/brownfield projects. (project)
Как установить скилл project-initialization-phase?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл project-initialization-phase запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic