style_sniffer
Analyze code samples to infer project style and generate PROJECT_RULES.md content, optionally saving it to a directory.
Instructions
Sniff project code style from samples → PROJECT_RULES.md content (returns text; output dir optional).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Overwrite existing PROJECT_RULES.md when output is set (default: false) | |
| scope | No | Scan scope: directory relative to workspace_dir (default: ".") | |
| output | No | Directory to write PROJECT_RULES.md into (default: none, returns content only). Will NOT overwrite an existing file unless force=true | |
| workspace_dir | Yes | REQUIRED: absolute path of the project root to sniff style in |