maestro-companion
Quick execution for small tasks — minimal run lifecycle (start + done) with evidence recording. Full LLM capability, scoped to mechanically clear tasks.
User-invoked learning toolkit — guided reading, investigation, pattern extraction, or second opinions. Manual `/maestro-learn` only; NEVER auto-invoke for code exploration or analysis — route those intents to the analyze step via /maestro-next
$ npx -y skills add catlog22/maestro-flow --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/maestro-learnContext preview
What this command does when you run it.
User-invoked learning toolkit — guided reading, investigation, pattern extraction, or second opinions. Manual `/maestro-learn` only; NEVER auto-invoke for code exploration or analysis — route those intents to the analyze step via /maestro-next
name: maestro-learn disable-model-invocation: true description: User-invoked learning toolkit — guided reading, investigation, pattern extraction, or second opinions. Manual `/maestro-learn` only; NEVER auto-invoke for code exploration or analysis — route those intents to the analyze step via /maestro-next argument-hint: "follow|investigate|decompose|consult [args...]" allowed-tools: - Read - Write - Bash - Glob - Grep - Agent - AskUserQuestion session-mode: none
<purpose> Learning toolkit for building understanding of code, decisions, and plans. Four subcommands:
All findings persist to `.workflow/knowhow/` and append `<learning-entry>` blocks to `.workflow/specs/learnings.md`. </purpose>
<routing> $ARGUMENTS — parse first token as `<subcommand>`, remainder as that subcommand's args.
| Subcommand | Section | |------------|---------| | `follow` | [Subcommand: follow](#subcommand-follow) | | `investigate` | [Subcommand: investigate](#subcommand-investigate) | | `decompose` | [Subcommand: decompose](#subcommand-decompose) | | `consult` | [Subcommand: consult](#subcommand-consult) |
**Routing errors:** | Code | Condition | Recovery | |------|-----------|----------| | E_NO_SUBCOMMAND | No subcommand provided in $ARGUMENTS | Display valid subcommands (follow, investigate, decompose, consult), prompt user to select | | E_INVALID_SUBCOMMAND | Unrecognized first token | Display valid subcommands with usage hints |
**Subcommand selection guide:**
</routing>
---
**Usage**: `/maestro-learn follow <path|wiki-id|topic> [--depth shallow|deep] [--save-wiki] [-y]`
<purpose> Guided reading: walk through content section-by-section using forcing questions to extract patterns, identify assumptions, and build an understanding map. Findings persist to `.workflow/specs/learnings.md` as `<learning-entry>` blocks. </purpose>
<context> Arguments — target and optional flags.
**Target resolution** (auto-detected): | Input | Resolution | |-------|-----------| | File path (contains `/` or `\`) | Read source file | | Wiki ID (`<type>-<slug>`) | `maestro wiki get <id>` | | Topic string | `maestro search "<topic>"` → top result; fallback: Grep src/ |
**Flags**:
**Storage read**: target file + wiki forward/backlinks + `coding-conventions.md` + `.workflow/specs/learnings.md` (dedup) **Storage write**: `.workflow/knowhow/KNW-follow-{slug}-{date}.md` + append `.workflow/specs/learnings.md`
**Output boundary**: ALL file writes MUST target `.workflow/knowhow/KNW-follow-{slug}-{date}.md` and `.workflow/specs/learnings.md` only. NEVER modify source code or files outside these paths. </context>
<invariants> 1. **Read-only traversal** — NEVER modify source code or wiki entries under analysis; all writes go to `.workflow/` only 2. **Forcing questions mandatory** — each section MUST have all 4 forcing questions applied; NEVER skip questions even for trivial sections 3. **Anchor requirement** — every extracted pattern MUST include a `file:line` anchor; unanchored patterns SHALL NOT be persisted to learnings.md 4. **Convention cross-ref** — MUST check every finding against `coding-conventions.md` and mark status (documented/candidate); NEVER persist without status tag 5. **Append-only learnings** — `.workflow/specs/learnings.md` MUST be appended, NEVER overwritten or truncated 6. **Confirmation gate** — unless `-y` is set, MUST present findings and target files via [@ask] AskUserQuestion before any writes 7. **Depth contract** — `--depth shallow` MUST NOT descend into function bodies; `--depth deep` MUST cover every branch and sub-expression </invariants>
<execution>
**GATE 1: Resolve → Context Building** (S_RESOLVE → S_CONTEXT)
**GATE 2: Reading → Extraction** (S_READ → S_EXTRACT)
**GATE 3: Extraction → Persistence** (S_EXTRACT → S_PERSIST)
**GATE 4: Persistence → Completion** (S_PERSIST → END)
Intent-driven workflow orchestration for multi-agent AI development — adaptive lifecycle engine, self-reinforcing knowledge graph, and visual dashboard for Claude Code, Gemini, Codex & more
Repo: catlog22/maestro-flow
Quick execution for small tasks — minimal run lifecycle (start + done) with evidence recording. Full LLM capability, scoped to mechanically clear tasks.
Use when designing, reviewing, refining, fixing, or codifying frontend UI with Maestro's self-contained Impeccable core
Intent-driven issue lifecycle management — describe what you want in natural language (报告一个 bug / 列出开放 issue / 关掉 ISS-xxx / 关联到 task / 扫描发现问题) and the workflow…