Commit Graph

3 Commits

Author SHA1 Message Date
Martin cd2cb11aad 完善 issue/pr/search/user/pm 五个 Skill,新增 Claude Code 启用脚本
- issue/pr:补充真实数据 examples(PR #1 全流程、6 个 Issue)
- search/user/pm:重写 SKILL.md v2.0.0 + 新增 REFERENCE.md + examples
- 新增 scripts/setup-skills.sh:把 skills/gitlink-* 链接到 ~/.claude/skills/,
  使 Claude Code 可通过 Skill 工具直接调用(Windows junction / Unix symlink)
- README 增补「在 Claude Code 中通过 Skill 工具调用」一节

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 16:38:18 +08:00
wbtiger 90dee6eeb5 fix(skills): add tool boundary rules to prevent gh/hub misuse on GitLink
Problem:
AI agents (e.g., Claude Code) sometimes use `gh` (GitHub CLI) instead of
`gitlink-cli` when operating on GitLink repositories, causing 'command not
found' errors or targeting the wrong platform.

Solution:
- Add ' Tool Boundary' section to gitlink-shared/SKILL.md with platform-
  to-tool mapping table, judgment criteria, and dual-platform guidance
- Add CRITICAL one-liner to all 10 sub-skills ensuring agents see the
  constraint even without reading shared
- Does NOT block `gh` for GitHub operations — only prevents misuse on
  GitLink resources

Tested with 5 scenarios confirming:
1. GitLink operations correctly use gitlink-cli
2. GitHub operations still use gh when appropriate
3. Ambiguous cases default to gitlink-cli when skill is loaded
2026-04-18 16:14:20 +08:00
wbtiger e892370de8 init gitlink-cli 2026-04-17 10:01:30 +08:00