Skip to content
Development
Skill

/init

Initialize Maister framework with intelligent project analysis and documentation generation

From plugin
maister
27217 skills25 agents6 commands1 MCP

Claude Code

$ npx -y skills add SkillPanel/maister --skill init --agent claude-code

SKILL.md

init.SKILL.md
name: init
description: Initialize Maister framework with intelligent project analysis and documentation generation
argument-hint: "[--standards-from=PATH]"

Initialize Maister Framework

Initialize `.maister/docs/` with intelligent project analysis and meaningful documentation generation based on actual codebase inspection.

**NOTE**: This skill invokes other skills and subagents at specific phases. Use the **Task tool with `docs-operator` subagent** (subagent_type: `maister-docs-operator`) for all docs-manager operations, and **Task tool** for project-analyzer. Use the **Skill tool** only for standards-discover (Phase 8, last phase). The Task tool returns control to this skill after completion; the Skill tool does not.

Phase Configuration

| Phase | Subject | activeForm | |-------|---------|------------| | 1 | Pre-flight checks | Running pre-flight checks | | 2 | Analyze project codebase | Analyzing project codebase | | 3 | Present findings & gather context | Gathering project context | | 4 | Select standards to initialize | Selecting standards | | 5 | Initialize documentation structure | Initializing documentation | | 6 | Generate project documentation | Generating project documentation | | 7 | Validate | Validating initialization | | 8 | Discover coding standards | Discovering coding standards |

**Task Tracking**: Before Phase 1, use `TaskCreate` for all phases (pending), then set sequential dependencies with `TaskUpdate addBlockedBy`. At each phase: `TaskUpdate` to `in_progress` → execute → `TaskUpdate` to `completed`. If skipped (e.g., user selects "Update existing"), mark skipped phases as `completed` with `metadata: {skipped: true}`.

---

PHASE 1: Pre-flight Checks

**If `--standards-from=PATH` is provided:** 1. Resolve the path (absolute or relative to current working directory) 2. Check if `PATH/.maister/docs/standards/` exists. If not, inform the user and stop — the specified project doesn't have maister standards initialized. 3. Store the resolved standards source path for use in Phases 4 and 5.

Check if `.maister/` directory already exists.

**If exists**, use ask_user:

  • Options: "Backup and reinitialize", "Update existing documentation", "Cancel"
  • If "Backup": Create `.maister.backup-$(date +%Y%m%d-%H%M%S)/` using Bash tool
  • If "Update": Skip to PHASE 6 (documentation generation only)
  • If "Cancel": Stop execution

---

PHASE 2: Project Analysis

Invoke `project-analyzer` subagent via the Task tool.

Wait for completion. Store analysis results for use in Phases 3 and 6.

---

PHASE 3: Present Findings & Gather Context

**Step 1**: Present analysis results to the user (project type, primary language/framework, architecture, tech stack, conventions, strengths/opportunities).

**Step 2**: Use ask_user to confirm analysis accuracy. If corrections needed, collect them.

**Step 3**: Gather additional context via ask_user (adapt to project type): 1. Project name (if not obvious) 2. Project description (1-2 sentences) 3. Primary goals (adapt question to new/existing/legacy project) 4. Team context (optional) 5. Special requirements (optional)

**Step 4**: Ask which project documentation to generate using ask_user (sequential single-select):

  • "Vision" — Project vision, goals, and purpose
  • "Roadmap" — Development roadmap and planned features
  • "Tech Stack" — Technology choices and rationale (ALWAYS selected, required)
  • "Architecture" — System architecture and design patterns (optional)

Smart defaults based on `projectArchitectureType`:

  • Standard/Frontend-only/Backend-only: All selected
  • Monorepo/Umbrella: Only "Tech Stack" selected

Store selections for Phase 6.

---

PHASE 4: Select Standards to Initialize

Before presenting options, explain to the user:

  • **What standards are**: Coding standards are documented conventions and best practices (naming, error handling, testing patterns, etc.) that guide consistent development across the project.
  • **Starting point**: If `--standards-from` was provided, standards come from the referenced project. Otherwise, the plugin includes generic built-in standards. Either way, they serve as a starting point and can be fully customized or extended later.

**Determine available categories:**

  • **If `--standards-from` was provided**: Scan `PATH/.maister/docs/standards/*/` to discover all available categories from the external project (may include custom categories beyond the baseline global/frontend/backend/testing).
  • **Otherwise**: Use built-in baseline categories (global, frontend, backend, testing).

Calculate smart defaults based on analysis:

  • **Global**: Always recommended (if available)
  • **Frontend**: If frontend framework detected or projectArchitectureType includes frontend (if available)
  • **Backend**: If backend framework detected or projectArchitectureType includes backend (if available)
  • **Testing**: Always recommended (if available)

Also scan `.maister/docs/standards/*/` for any existing custom categories to include.

Show smart defaults summary (noting the source: external project or built-in), then use ask_user:

  • "Use smart defaults" → proceed with calculated defaults
  • "Customize selection" → show sequential single-select with all discovered categories + "Add custom category" option

Custom categories: if user adds a new category, create the directory and include it in the selection.

Store selection for Phase 5.

---

PHASE 5: Initialize Documentation Structure

**Invoke `docs-operator` subagent** via Task tool (subagent_type: `maister-docs-operator`) with prompt:

> "Initialize documentation structure. Standards selection: [array from Phase 4]. [If --standards-from was provided: Standards source path: [resolved path]/.maister/docs/standards/. Copy standards from this external path instead of built-in defaults.] Only copy selected standard categories. Do NOT copy project templates — only create the project/ directory. Project documentation will be generated in Phase 6 with real content f

Read more
@skillpanel
Ships withmaister

Structured, standards-aware development workflows for Claude Code Describe what you want to build, and the plugin handles the rest - from specification through implementation to verification - while enforcing your project's coding standards at every step.

27217 skills25 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
272
Star history of SkillPanel/maister on GitHub, a chart by star-history.com

Other skills on maister.

codebase-analyzer

codebase-analyzer

Analyzes codebase using adaptive parallel Explore subagents based on task complexity. Selects agent roles from a pool, launches…

@skillpanel@skillpanelInstall Skill
development

development

Unified orchestrator for all development tasks. ALWAYS execute when invoked — never skip for 'straightforward' tasks. Phases…

@skillpanel@skillpanelInstall Skill
docs-manager

docs-manager

Internal engine for managing project documentation and technical standards in .maister/docs/. Handles file operations, INDEX.md…

@skillpanel@skillpanelInstall Skill
implementation-verifier

implementation-verifie…

Verify completed implementations for quality assurance. Delegates all verification work to specialized subagents - completeness…

@skillpanel@skillpanelInstall Skill
migration

migration

Orchestrates the complete migration workflow from current state analysis through implementation to compatibility verification.…

@skillpanel@skillpanelInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills3w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc3w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2w252k
@facebook@facebookInstall Skill

Questions about init.

Which coding agents can use init?
init installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.