Skip to content

feat(skill): refactor skill system with router + references structure#192

Closed
Citrus086 wants to merge 1 commit intoPanniantong:mainfrom
Citrus086:skill-router-system
Closed

feat(skill): refactor skill system with router + references structure#192
Citrus086 wants to merge 1 commit intoPanniantong:mainfrom
Citrus086:skill-router-system

Conversation

@Citrus086
Copy link
Copy Markdown
Contributor

Summary

  • Add router-based SKILL.md with trigger keywords for each category
  • Split detailed docs into references/ directory for better organization
  • Update _install_skill() to copy entire skill directory with references

Changes

SKILL.md (Router)

  • Add routing table for quick navigation
  • Add rich trigger keywords (e.g., xiaohongshu/xhs/小红书/红书)
  • Include zero-config quick commands

references/ directory

  • search.md — Exa AI search
  • social.md — XHS, Douyin, Twitter, Weibo, Bilibili, V2EX, Reddit
  • career.md — LinkedIn
  • dev.md — GitHub CLI
  • web.md — Jina Reader, WeChat Articles, RSS
  • video.md — YouTube, Bilibili, Podcast transcription

CLI

  • _install_skill() now copies entire skill directory including references/

Benefits

  1. Better organization — Main SKILL.md stays concise, details in references
  2. Richer triggers — More keywords for better intent matching
  3. Easier maintenance — Each category in its own file
  4. Backward compatible — Install command works the same way

Test plan

  • Run agent-reach install — verify skill files are copied correctly
  • Check ~/.agents/skills/agent-reach/ structure
  • Verify references/ directory exists with all 6 files

🤖 Generated with Claude Code

- Add router-based SKILL.md with trigger keywords for each category
- Split detailed docs into references/ directory:
  - search.md (Exa AI)
  - social.md (XHS, Douyin, Twitter, Weibo, Bilibili, V2EX, Reddit)
  - career.md (Boss直聘, LinkedIn)
  - dev.md (GitHub CLI)
  - web.md (Jina Reader, WeChat Articles, RSS)
  - video.md (YouTube, Bilibili, Podcast transcription)
- Update _install_skill() to copy entire skill directory with references
- Add richer trigger keywords (e.g., xiaohongshu/xhs/小红书/红书)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Panniantong added a commit that referenced this pull request Mar 31, 2026
Kept PR #192 router skill structure + main's improved error messaging
and xueqiu docs. Also fixed xreach→bird in SKILL.md quick commands.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Panniantong added a commit that referenced this pull request Mar 31, 2026
…#192)

Refactors SKILL.md into a router + reference documentation system:
- Main SKILL.md now contains routing table and quick commands
- Detailed docs split into references/ (search, social, career, dev, web, video)
- CLI skill install copies entire directory including references/
- Resolves conflicts with recent merges (#210, #213)
- Fixes xreach→bird in quick commands

Original PR by @Citrus086, merged with conflict resolution.

Co-Authored-By: Citrus086 <Citrus086@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Panniantong added a commit that referenced this pull request Mar 31, 2026
feat(skill): refactor skill system with router + references (#192)
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