Commit Graph

7 Commits

Author SHA1 Message Date
赵昌 378d8f15a6 feat: 子任务三 & 子任务四 — 端到端工作流与科研辅助模块
CI / test (push) Has been cancelled Details
## 子任务三:端到端自动化工作流
### 社区运营自动化 (gitlink-community-ops)
- Issue 自动分拣 → 周报生成 → Release Notes 发布
- 4 个可复现 Bash 脚本 + JS 数据分析引擎
- 自动生成 HTML 可视化报告

### 代码质量看门人 (gitlink-quality-gate)
- PR 采集 → 深度审查 → CI 检查 → 质量评分门禁
- 5 个可复现 Bash 脚本
- 质量评分模型:CodeReview×40% + CI×30% + 设计一致性×30%

## 子任务四:科研辅助
### 科研项目洞悉 (gitlink-research-insight)
- 8 维数据采集 → AI 多维度评分 → 结构化分析报告
- 成熟度/文档质量/贡献模式/社区健康度评分模型

### 热点追踪与知识图谱 (gitlink-research-hotspot)
- 多关键词搜索 → 数据丰富 → 实体关系图谱
- 交互式 HTML 知识图谱(缩放/拖拽/高亮/导出)

## 基础设施
- gitlink-cli 自动检测机制(dev/cli-bin wrapper)
- md-to-html 通用报告可视化转换器
- 3 条 DevOps 流水线(构建/社区运营/质量门禁)
- 详细架构图 + 新需求构思报告 + 变更影响测试报告

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-30 08:59:17 +08:00
s2_cc 42c5d11a62 feat(skills): 完善 issue-triage 与 code-review Skill,补充 gitlink-shared 已知坑
CI / test (pull_request) Failing after 1m12s Details
本次赛题2(编写和丰富 GitLink Skills)的产出,聚焦两个场景:

gitlink-issue-triage(1.0→1.2):
- SKILL.md/REFERENCE.md/examples 重写:语义分类为主、建议→确认→执行、幂等
- 关键修正(端到端实测):打标签改用 Raw API issue_tag_ids(+update --label 不可用、
  +batch-update --label 集合式);label +list 返回 data.issue_tags[]、+view 标签字段为 tags
- 新增 REFERENCE.md

gitlink-code-review(1.0→1.2):
- SKILL.md/REFERENCE.md/examples:评审改用 pr +review --status(common/approved/rejected),
  diff 改用 pr +versions + pr +version-diff(pr +diff 已移除);建议→dry-run→提交
- 修正原 GitHub 风格 Raw API(event/position) 错误;行内评论锚定失效时改用 pr +comment
- 删除越界工作流(仓库健康度/Issue 分拣,属其他场景)

gitlink-shared/SKILL.md:
- 已知坑表新增 3 条:PR Diff 命令已变更、Issue 打标签需用 Raw API、PR 行内评论锚定失效

均在 Claude Code 端到端实测验证(见 my_docs/ 验证记录,已 gitignore)。
2026-06-24 08:18:27 +08:00
Zhang Jinnan 46aa383d76 fix: preserve issue description on updates 2026-04-28 08:43:51 +08:00
wbtiger 2aad9a00d4 fix: require Fork even for admin/owner, unless user explicitly says otherwise 2026-04-18 17:07:32 +08:00
wbtiger 445e548f49 docs(skills): add Fork-based PR workflow guidelines
- gitlink-shared: add 'PR Collaboration Workflow' section with Fork flow,
  correct/incorrect examples, and self-owned repo exception
- gitlink-pr: replace single-path PR creation with two sections:
  1. Fork flow for contributing to others' repos (mandatory)
  2. Direct branch flow for self-owned repos (allowed)

Ensures AI agents follow standard open-source collaboration practices
instead of pushing branches directly to upstream repositories.
2026-04-18 16:56:55 +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