From insights-share
Query the team insights database for relevant lessons. Trigger when user asks about a problem, says "any insights on X?", "what traps exist for Y?", "X 有什么坑", "帮我查一下"
How this skill is triggered — by the user, by Claude, or both
Slash command
/insights-share:query-insightsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Search team insights database for relevant lessons and traps.
Search team insights database for relevant lessons and traps.
When user says:
UserPromptSubmit hookquery-insights.sh searches index.json for matchesSearches three fields:
when_to_use: Situation/contextdescription: What to do/avoidname: Insight nameUses case-insensitive substring match.
📚 Relevant Insights:
### Don't mock database in integration tests
**When:** Integration tests with real DB
**Uploader:** alice @ 192.168.1.101
**Description:** Mocks passed but prod migration failed. Always use real DB for integration tests.
---
Results are cached in ~/.claude-team/cache/query_cache.json to avoid repeated searches.
Clear cache: rm ~/.claude-team/cache/query_cache.json
# Search for "Python" insights
jq -r '.[] | select(.when_to_use | test("Python"; "i"))' ~/.claude-team/insights/index.json
# Search for "rate limit" insights
jq -r '.[] | select(.description | test("rate limit"; "i"))' ~/.claude-team/insights/index.json
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub liush2yuxjtu/insights-share-lan