Skip to content

docs: clarify task search relevance filters#1884

Merged
luoyangxing merged 1 commit into
larksuite:mainfrom
ILUO:docs/task-search-relevance-filter-hint
Jul 14, 2026
Merged

docs: clarify task search relevance filters#1884
luoyangxing merged 1 commit into
larksuite:mainfrom
ILUO:docs/task-search-relevance-filter-hint

Conversation

@ILUO

@ILUO ILUO commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Clarify task search guidance for requests involving tasks “related to me.” The +search shortcut does not automatically infer relevance to the current user, so agents must explicitly provide the appropriate relationship filter.

Changes

  • Document that +search does not automatically filter results by their relationship to the search requester.
  • Require resolving the current user’s open_id and using --assignee, --creator, or --follower as appropriate.

Test Plan

  • node scripts/skill-format-check/index.js
  • go test ./cmd/skill ./internal/qualitygate/rules ./internal/qualitygate/skillscan
  • Verified the updated skill content locally.

Related Issues

  • None

Summary by CodeRabbit

  • Documentation
    • Clarified how task searches determine relevance to the requesting user.
    • Added guidance to identify the user relationship and apply the appropriate assignee, creator, or follower filters when searching for tasks related to oneself.
    • Helps ensure task search results accurately reflect the requested relationship.

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 951428b1-403d-4e54-a070-76c964a0b084

📥 Commits

Reviewing files that changed from the base of the PR and between 37d490a and 3021857.

📒 Files selected for processing (1)
  • skills/lark-task/SKILL.md

📝 Walkthrough

Walkthrough

更新任务搜索技能文档,说明“与我相关”的任务搜索需要获取当前用户 open_id,并显式传入 assignee、creator 或 follower 过滤条件。

Changes

任务搜索相关性指导

Layer / File(s) Summary
搜索相关性提示
skills/lark-task/SKILL.md
说明 +search 不会自动判断结果与发起人的关系;用户请求“与我相关”任务时,需获取当前用户 open_id 并显式使用对应过滤条件。

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested labels: domain/ccm

Suggested reviewers: liangshuo-1

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the documentation update about task search relevance filters.
Description check ✅ Passed The description follows the template and includes summary, changes, test plan, and related issues.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added domain/task PR touches the task domain size/M Single-domain feat or fix with limited business impact labels Jul 14, 2026
@github-actions

Copy link
Copy Markdown

🚀 PR Preview Install Guide

🧰 CLI update

npm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@30218576eedbf94ef7ae6ac3789af021eedb81d2

🧩 Skill update

npx skills add ILUO/cli#docs/task-search-relevance-filter-hint -y -g

@luoyangxing
luoyangxing merged commit 1c36744 into larksuite:main Jul 14, 2026
33 checks passed
@liangshuo-1 liangshuo-1 mentioned this pull request Jul 15, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain/task PR touches the task domain size/M Single-domain feat or fix with limited business impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants