Skip to content

docs(skill): join word variants with OR in search messages - #908

Merged
leemour merged 1 commit into
mainfrom
docs/skill-search-or
Nov 17, 2026
Merged

leemour merged 1 commit into
mainfrom
docs/skill-search-or

Conversation

@leemour

@leemour leemour commented Nov 17, 2026

Copy link
Copy Markdown
Member

Task

Plain words in search messages must all match. An agent unsure which word a message uses put several spellings in one search and got only the messages that hold all of them. a OR b exists in the query language, but the skill did not teach it.

What

  • One sentence in step 2 of the skill's question path: every word must match; join variants with a capital OR (invoice OR счёт, colour OR color). OR binds tighter than the implicit AND, so chat:<id> a OR b needs no parentheses.
  • SKILL.md: 8,851 → 8,992 bytes, under the 9 KiB limit.
  • Change note: changes/docs-skill-search-or.md.

Testing

  • scripts/check-agent-docs.ts (skill validation, size limit): ok.
  • pnpm docs:check: ok.
  • Skill-related tests (postinstall, archive, setup, context): 63 passed.

🤖 Generated with Claude Code

Plain words in search messages must all match, so an agent unsure of the exact
word got nothing back from several spellings in one search. One line in the
skill's question path says so and shows the OR form. SKILL.md stays under its
9 KiB limit (8,992 bytes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit 45f949b into main Nov 17, 2026
14 checks passed
@leemour
leemour deleted the docs/skill-search-or branch November 17, 2026 16:57
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.

1 participant