Skill Index

maestro-flow/

spec-setup

community[command]

Initialize specs from project structure

$/plugin install maestro-flow

details

<purpose> Initialize the project-level specs directory by scanning the codebase for conventions, patterns, and tech stack. Core files (coding, arch, knowhow) are always created. Optional files (quality, debug, test, review) are created only when relevant signals are detected. All output lands in `.workflow/specs/`. </purpose>

<required_reading> @~/.maestro/workflows/specs-setup.md </required_reading>

<context> $ARGUMENTS (no arguments expected)

Preconditions:

  • .workflow/ directory must exist (created by /maestro-init) # (see code: E001)
  • Project must contain source files to scan # (see code: E002) </context>
<execution> Follow '~/.maestro/workflows/specs-setup.md' completely. </execution>

<error_codes>

CodeSeverityDescriptionStage
E001fatal.workflow/ directory not initialized -- run /maestro-init firstparse_input
E002fatalNo source files found in project -- nothing to scanscan_codebase
W001warningConvention detection uncertain for one or more categories -- marked [UNCERTAIN]generate_specs
</error_codes>

<success_criteria>

  • .workflow/specs/ directory created
  • Core files always created: coding-conventions.md, architecture-constraints.md, knowhow.md
  • Optional files created when detected: quality-rules.md (linter/CI), test-conventions.md (test framework), debug-notes.md (on demand), review-standards.md (on demand)
  • Report displayed with summary and next steps </success_criteria> </output>

technical

github
catlog22/maestro-flow
stars
340
license
unspecified
contributors
1
last commit
2026-05-25T02:58:12Z
file
.claude/commands/spec-setup.md

related