# summary

List phase-to-playbook mappings for the current workspace.

# description

Shows which generator playbooks are mapped to each workflow phase and
whether each file exists on disk. Missing playbooks are non-blocking —
the workflow engine will emit a warning and continue without them.

Run `sf setup-agents local` to generate missing playbooks for the
profiles active in this workspace.

# flags.instructions-dir.summary

Directory to resolve playbooks from.

# flags.instructions-dir.description

Path relative to the workspace root where generator playbooks are stored.
Defaults to `.a4drules/workflows`. Override for non-cursor/agentforce
targets if playbooks are stored elsewhere.

# flags.scaffold.summary

Generate stub files for missing playbooks.

# flags.scaffold.description

Writes default playbook stubs into the instructions directory for every missing playbook. Existing files are never overwritten.

# flags.phase.summary

Scaffold only the specified phase.

# flags.phase.description

Limits --scaffold to a single phase (e.g. developer, qa, release).

# flags.dry-run.summary

Preview scaffold output without writing files.

# examples

- Show playbook mapping for the current workspace:

  <%= config.bin %> <%= command.id %>

- Show mapping for a custom instructions directory:

  <%= config.bin %> <%= command.id %> --instructions-dir .cursor/rules/workflows

# info.header

Playbook mapping — %s

# info.phase

%s

# info.playbook

    %s  %s  (%s)
