Commit Graph

5 Commits

Author SHA1 Message Date
Surponess a7c16d64fe 1. 🆕 新人引导 Skill (gitlink-onboarding)
创建了 SKILL.md,包含 4 个完整工作流:
项目新人入门(项目概览 + 环境搭建)
寻找适合新人的 Issue(good-first-issue 搜索 + 5 维度友好度评估)
Issue 引导评论生成(自动生成个性化引导并发布)
新人贡献全流程引导(Fork → Branch → Code → PR)
创建了 examples/onboarding-workflow.md
2. 📦 补全 examples 示例文件
从 3/28 提升到 28/28 全覆盖
新增 24 个 examples 文件,每个包含场景描述、分步操作、输出示例、命令速览
3. 📋 Agent 平台验证记录
创建了 docs/agent-platform-verification.md
记录 27 个 Skills 的逐项验证结果 + 5 个典型验证案例
4. 📝 任务总结文档
创建了 docs/skills-completion-report.md
包含:设计思路(三层架构 + 三种类型 + 设计原则)、27 个 Skills 全景表、与课程要求对照、关键设计决策、后续建议
2026-06-12 10:08:28 +08:00
wauxing bf75410586 fix: 审查修复 — 汇总表数据、SKILL.md 文档完善、代码简化
- doc/shortcut-gaps.md: 修正汇总表错误 (pr 0→2, ci 0→3, 合计 16→21)
- repo.go: 提取 newRepoGetShortcut 消除 contributors/languages/tags 重复
- user_test.go: MissingLogin 测试合并为表驱动
- SKILL.md x6: 删除已有 Shortcut 对应的 Raw API, 补全缺失的表格列/使用示例
2026-06-03 20:55:25 +08:00
wauxing 0d58f04808 docs: 更新 SKILL.md — 删除虚假端点,新 Shortcut 从 Raw API 升级
SKILL.md 清理:
- gitlink-pr: 删除 check_can_merge/get_branches 虚假端点
- gitlink-ci: 删除 activate/deactivate/ci_authorize 虚假端点(整节移除)

SKILL.md 升级(Raw API → Shortcuts 表):
- gitlink-issue: +journals 加入 Shortcuts 表,从 Raw API 移除
- gitlink-repo: +readme +contributors +languages +commits +tags +raw 加入 Shortcuts 表,更新使用示例
- gitlink-org: +teams +create-team +remove-member 加入 Shortcuts 表,更新使用示例
- gitlink-user: +headmaps +stats-* +trends 加入 Shortcuts 表,更新使用示例
2026-06-02 15:22:15 +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