Skip to main content

Overview

Type / in the Parsaa composer to trigger a built-in automation on the focused Xcode file. A suggestion menu appears as you type and filters to matching commands.

Available Commands

CommandTitleWhat it does
/testsGenerate TestsWrite unit tests for the focused file
/docsGenerate DocsWrite doc comments for the focused file
/migrateModernize APIsModernize deprecated Apple APIs in the focused file
/analyzeAnalyze APIsDetect deprecated Apple APIs — free, no rewrite
/tests and /docs are gated on their generators being enabled in Settings → Automation. /migrate and /analyze open the Parsaa Modernize flow — see Modernize APIs.

How It Works

1

Focus a file

Open the file you want to act on in Xcode so it becomes the focused file.
2

Type the command

In the composer, type / and pick a command (e.g. /tests). You can add extra instructions after the trigger.
3

Review the result

Parsaa runs the matching automation and presents the output — tests, docs, or a diff — for you to review and apply.
A trigger only fires at the very start of your message. Path-like text such as src/docs won’t be mistaken for a command.

Test Generation

Configure framework, naming, mocks, and coverage.

Documentation Generator

Configure DocC or Markdown output.

Modernize APIs

Detect and rewrite deprecated Apple APIs.

Skills

Author your own slash commands.