The /snapr file command runs an issue file-splitting workflow on the current GitHub issue. It interprets the issue’s title and description as an umbrella goal and uses your project’s code, documentation, tests, and any comments or discussion in the issue thread as context. The file command proposes a set of child issues to be created for each actionable task identified from the umbrella issue.
After refining a large or complex issue, /snapr file can automatically create GitHub issues for each task. If more context is required before issue creation, it will ask for clarification in the discussion instead of generating issues. Typically, this command is used after entering the refine phase to turn refined tasks into actual issues.
/snapr file
/snapr file only on GitHub issues. It has no effect in pull request comments.
When /snapr file is invoked, Snapr adds the GitHub label snapr/phase: file to the issue to mark the file-splitting phase. While that label remains set:
- Snapr analyzes the issue discussion and automatically creates GitHub issues for each identified task.
- If more context or clarification is needed before creating issues, Snapr will ask questions in the discussion instead of creating issues.
To exit file mode, simply remove the snapr/phase: file label and Snapr will stop monitoring the issue.