Skip to content

fix: treat missing slash commands as warning#211

Merged
alexec merged 1 commit intokitproj:mainfrom
nettapper:fix-treat-slash-commands-as-warnings
Apr 3, 2026
Merged

fix: treat missing slash commands as warning#211
alexec merged 1 commit intokitproj:mainfrom
nettapper:fix-treat-slash-commands-as-warnings

Conversation

@nettapper
Copy link
Copy Markdown
Collaborator

When parsing prompts, file paths should not be treated as slash commands and should not throw an error.

This PR downgrades missing slash commands to warnings, when linting missing slash commands are still treated as an error.

> go clean -testcache && go test ./...
ok  	github.com/kitproj/coding-context-cli	64.939s
ok  	github.com/kitproj/coding-context-cli/pkg/codingcontext	2.808s
ok  	github.com/kitproj/coding-context-cli/pkg/codingcontext/markdown	0.903s
ok  	github.com/kitproj/coding-context-cli/pkg/codingcontext/mcp	0.313s
ok  	github.com/kitproj/coding-context-cli/pkg/codingcontext/selectors	0.716s
ok  	github.com/kitproj/coding-context-cli/pkg/codingcontext/skills	0.588s
ok  	github.com/kitproj/coding-context-cli/pkg/codingcontext/taskparser	1.308s
ok  	github.com/kitproj/coding-context-cli/pkg/codingcontext/tokencount	0.470s

@nettapper nettapper changed the title fix: treat slash commands as warning fix: treat missing slash commands as warning Apr 3, 2026
@alexec alexec enabled auto-merge (squash) April 3, 2026 15:59
@alexec alexec merged commit 17ef0c7 into kitproj:main Apr 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants