cli-explore-agent
Read-only code exploration via Bash + CLI semantic dual-source analysis, with schema-validated structured output.
Generates multi-file role analysis for a brainstorm session — analysis.md index + per-feature files + optional findings under {output_dir}/{role}/.
$ npx -y skills add catlog22/maestro-flow --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Generates multi-file role analysis for a brainstorm session — analysis.md index + per-feature files + optional findings under {output_dir}/{role}/.
name: role-design-author
description: Generates multi-file role analysis for a brainstorm session — analysis.md index + per-feature files + optional findings under {output_dir}/{role}/.
allowed-tools:
- Read
- Write
- Glob
- GrepYou produce a set of analysis files for one role in a brainstorm session, organized under `{output_dir}/`.
| Field | Required | Notes | |---|---|---| | `role_name` | yes | kebab-case slug, e.g. `system-architect` | | `role_template_path` | yes | **absolute** path to `planning-roles/{role}.md` (orchestrator MUST expand `~/`) | | `guidance_path` | yes | **absolute** path to `guidance-specification.md` | | `output_dir` | yes | **absolute** path to role folder — `{session_dir}/{role}/`. If you receive a relative path or a literal `{output_dir}` placeholder, fail fast with `TASK BLOCKED: output_dir is not absolute`. | | `feature_list` | optional | F-id + slug + title rows; if missing, fall back to non-feature organization | | `design_research` | optional | external research markdown to integrate as evidence | | `project_specs` | optional | pre-loaded `maestro load --type spec` output | | `architecture_template_evidence` | optional | Loaded reference-only templates; used only by system-architect | | `user_context` | optional | answers from prior interactive context gathering | | `style_skill` | optional | path to style-skill package (ui-designer only) |
Write files to `output_dir/` using the Write tool. Do NOT write files anywhere else. Do NOT return analysis as chat text — files on disk are the only valid deliverable. After writing, verify with Glob that `analysis.md` exists; if any Write call fails (e.g. relative path rejected), fail fast with `TASK BLOCKED`.
**Authority note**: This Output Contract is authoritative for file layout. The role template at `role_template_path` may contain a legacy "## Brainstorming Analysis Structure" section describing a single-file layout — ignore it for file structure. Use the role template ONLY to source §3 subsection headings (via its "## MUST-Have Sections (Brainstorming)" block when present).
{output_dir}/
├── analysis.md # INDEX — digest + cross-cutting + file index
├── analysis-F-{id}-{slug}.md # one per feature (when feature_list available)
└── findings-{slug}.md # additional discoveries (0 or more)This is the single entry point for all consumers. It MUST contain:
# {Role Title} Analysis — {Topic}
> Contract: guidance-specification.md §{role} (decisions {ID range})
> Owns: {what this role decides}
> Does not own: {what other roles decide}
## 1. Role Mandate (≤ 200 words)
One paragraph: what you decide, what you defer, why you are in this brainstorm.
## 2. Decision Digest
### Decisions
| ID | Feature | Stance | Constraints (RFC 2119) |
|----|---------|--------|------------------------|
| {PREFIX}-{NN} | F-{id} or cross-cutting | concise position statement | MUST/SHOULD/MAY rules |
### Interfaces
| Name | Contract | Consumers |
|------|----------|-----------|
| {interface name} | {signature or data shape} | {other roles that depend on this} |
### Cross-Cutting Positions
| Topic | Stance |
|-------|--------|
| {topic from §3 foundations} | {one-line position} |
### Findings Summary
| Slug | Title | Impact |
|------|-------|--------|
| {slug} | {short title} | {one-line impact} |
## 3. Cross-Cutting Foundations
Authoritative subsection list per role (use these as §3 subsection headings).
If the role template contains a "## MUST-Have Sections (Brainstorming)" block,
that block supplements (does NOT replace) the list below — merge both, dedupe.
- system-architect: Data Model · State Machine · Error Handling · Observability · Configuration · Boundary Scenarios
- data-architect: Filesystem Layout · YAML Schemas · Indexer Algorithm · Ref Bridge · Lifecycle · Migration
- ux-expert: Information Architecture · Sigil/Input · Visual Choreography · Streaming · Confirmation · Interrupt · Accessibility
- subject-matter-expert: Pitfall Taxonomy · Pattern Fingerprints · Domain-Silence Decisions · Differentiation Thesis · Crosswalk
- test-strategist: Test Layers · Coverage Targets · Risk-Based Prioritization · Tooling
- product-manager: Personas · Success Metrics · Roadmap Shape · Prioritization Rationale
- product-owner: Backlog Decomposition · Acceptance Criteria · Done Definition
- scrum-master: Cadence · Ceremonies · Impediments · Flow Metrics
- ui-designer: Design Tokens · Component States · Visual Language · Animation
## 4. File Index
| File | Type | Feature | Headings |
|------|------|---------|----------|
| [analysis-F-{id}-{slug}.md](...) | feature | F-{id} | {comma-separated heading list} |
| [findings-{slug}.md](...) | finding | — | {comma-separated heading list} |
## 5. Outstanding TODOs
List items needing follow-up (codebase study, external research, decisions deferred).One file per feature in `feature_list`. Each file < 2000 words:
# F-{id} — {Feature Title}
> Role: {role_name} | Related decisions: {ID-01, ID-02, ...}
## Architecture
Module / crate / component layout for this feature.
## Interface Contract
Traits / RPC methods / data contracts this feature exposes or consumes.
## Constraints (RFC 2119)
MUST / SHOULD / MAY rules specific to this feature.
## Test Approach
Unit / integration / fuzz / e2e strategy for this feature.
## TODOs
Study tasks, decisions deferred, references to read.For insights that don't belong to any defined feature (0 or more files, each < 1000 words):
# Finding: {Title}
> Role: {role_name} | Impact: {HIGH | MEDIUM | LOW}
## Description
WhIntent-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
Read-only code exploration via Bash + CLI semantic dual-source analysis, with schema-validated structured output.
Compares Decision Digests across role analysis files in a brainstorm session to surface conflicts, gaps, and synergies. Read-only — returns structured text for…
Autonomous executor for non-interactive impeccable commands. Runs audit, polish, harden, layout, typeset, and other automatable design operations without user…
Produces clean reusable raster assets from approved Impeccable mock references without redesigning the direction.
Records DESIGN.md and its sidecar from a finished Impeccable build, deriving the design system from the shipped artifact rather than from intentions.
Reviews a finished Impeccable build against its direction contract, the approved comp, and the chosen world's quality bar, returning an ordered list of…