diff --git a/.storkit/work/1_backlog/420_story_loc_for_a_specified_file_bot_command_and_web_ui_slash_command.md b/.storkit/work/1_backlog/420_story_loc_for_a_specified_file_bot_command_and_web_ui_slash_command.md new file mode 100644 index 00000000..f0f9ae90 --- /dev/null +++ b/.storkit/work/1_backlog/420_story_loc_for_a_specified_file_bot_command_and_web_ui_slash_command.md @@ -0,0 +1,22 @@ +--- +name: "loc for a specified file — bot command and web UI slash command" +--- + +# Story 420: loc for a specified file — bot command and web UI slash command + +## User Story + +As a developer, I want to send `loc ` to the bot or use it as a slash command in the web UI to see the line count for a specific file, so I can quickly check how large a file is without leaving my workflow. + +## Acceptance Criteria + +- [ ] loc returns the line count for the specified file +- [ ] Relative paths are resolved against the project root +- [ ] If the file does not exist, returns a clear error +- [ ] Works from all transports (Matrix, WhatsApp, Slack) +- [ ] Works as a slash command in the web UI +- [ ] loc with no argument retains existing behavior (top files by line count) + +## Out of Scope + +- TBD