Skill Index

maestro-flow/

manage-issue-discover

community[command]

Discover issues via multi-perspective analysis

$/plugin install maestro-flow

details

<purpose> Automated issue discovery via multi-perspective codebase analysis (8 perspectives) or prompt-driven exploration. Discovers issues, deduplicates findings, and records them in `.workflow/issues/issues.jsonl`.
  • Default (no args): Interactive mode selection — choose multi-perspective or prompt-driven.
  • multi-perspective: 8-perspective parallel agent scan — security, performance, reliability, maintainability, scalability, UX, accessibility, compliance.
  • by-prompt "...": Prompt-driven — CLI delegate plans exploration strategy, agents explore iteratively with cross-dimension analysis.

For CRUD operations (create, list, update, close, link), use /manage-issue.

After discovery, use /maestro-analyze --gaps <ISS-ID> to perform root cause analysis on individual findings. </purpose>

<required_reading> @~/.maestro/workflows/issue-discover.md </required_reading>

<deferred_reading>

  • issue.json template — read when creating issue records from findings (Step 6/11)
  • search-tools — search tool priority, passed to agents via workflow </deferred_reading>
<context> $ARGUMENTS -- optional. Parse first token to determine mode.

Modes:

  • (empty) -- interactive mode selection (AskUserQuestion)
  • multi-perspective -- 8-perspective parallel agent scan
  • by-prompt "..." -- prompt-driven iterative agent exploration (CLI-planned)

Flags:

  • -y / --yes -- auto mode, skip confirmations
  • --scope=<pattern> -- file scope (default: **/*)
  • --depth=standard|deep -- exploration depth (by-prompt only, default: standard)

State files:

  • .workflow/issues/issues.jsonl -- issues appended here (set source: "discover" on each row so concurrent writers like manage-harvest with source: "harvest" can be distinguished and deduplicated)
  • .workflow/issues/discoveries/{SESSION_ID}/ -- session artifacts

Pre-load specs

  1. Debug specs: Run maestro spec load --category debug to load known antipatterns, root causes, and gotchas. Informs discovery perspectives with prior findings.
  2. Optional — proceed without if unavailable. </context>
<execution> Determine mode from $ARGUMENTS: - No arguments or empty → interactive selection via AskUserQuestion - First token is `multi-perspective` → multi-perspective mode - First token is `by-prompt` → prompt-driven mode, remaining tokens are the user prompt

Follow '~/.maestro/workflows/issue-discover.md' completely. </execution>

<error_codes>

CodeSeverityConditionRecovery
E_NO_PROJECTerror.workflow/ does not existPrompt user to run /maestro-init first
E_DISCOVERY_FAILEDerrorCLI analysis returned no resultsRetry with different tool or report partial findings
E_EMPTY_PROMPTwarningby-prompt used without prompt textInteractive prompt with suggested options
</error_codes>

<success_criteria>

  • Discovery mode correctly determined from arguments
  • All perspectives analyzed (multi-perspective) or dimensions explored (by-prompt)
  • Findings deduplicated before issue creation
  • Issues appended to issues.jsonl with correct schema
  • Discovery session fully traceable via session directory
  • Next step routing: /maestro-analyze --gaps <ISS-ID> for root cause analysis, or /manage-issue list to review all issues </success_criteria>

technical

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

related