Repository navigation
feat: link docs search results to markdown pages for coding agents - #755
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #755 +/- ##
==========================================
+ Coverage 78.41% 78.46% +0.05%
==========================================
Files 240 240
Lines 18179 18193 +14
==========================================
+ Hits 14255 14276 +21
+ Misses 3924 3917 -7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
mwbrooks
marked this pull request as ready for review
November 6, 2026 05:35
mwbrooks
requested review from
WilliamBergamin,
lukegalbraithrussell and
zimeg
and removed request for
a team
November 6, 2026 05:35
zimeg
approved these changes
Nov 6, 2026
| } | ||
| } | ||
|
|
||
| func Test_Docs_makeMarkdownURL(t *testing.T) { |
Member
There was a problem hiding this comment.
🧹 quibble: I think our test ordering keeps the command test first, so perhaps this can move below Test_Docs_SearchCommand?
Member
Author
|
Thanks @zimeg for the quick review! 🙇 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog
When a coding agent runs
slack docs search, text results now link to the markdown version of each page, so the agent can read it without parsing HTML.Summary
This pull request links
slack docs searchresults to each page's markdown version when a coding agent runs the command, so the agent can read the result straight away instead of fetching the HTML page..md. Agents are detected with the sameuseragentcheck the CLI already uses for its user agent..htmlhave no markdown version, so they keep their original link.Testing
CLAUDECODE=1, runslack docs search "socket mode" --limit=3and confirm each link ends in.mdand opens as markdown.env -u CLAUDECODE -u AGENT slack docs search "socket mode" --limit=3), confirm the links are the usual page URLs.Notes
slack docs.Requirements