增加wiki管理的shortcut #30

Open
mengcheng wants to merge 121 commits from zzx-coder/gitlink-cli:mc_branch into master
First-time contributor
No description provided.
mengcheng added 1 commit 2026-05-23 08:42:53 +08:00
mengcheng added 1 commit 2026-05-23 16:44:04 +08:00
mengcheng added 1 commit 2026-05-28 16:05:11 +08:00
mengcheng added 1 commit 2026-05-28 17:00:01 +08:00
mengcheng added 1 commit 2026-06-01 21:38:49 +08:00
mengcheng added 21 commits 2026-06-04 10:52:51 +08:00
789c32cc64 Add webhook and wiki management features
- Added webhook shortcuts and skill
- Added wiki management shortcuts and skill
- Updated workflow examples and references
- Enhanced skills documentation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5fd2ad0c6d Update webhook functionality and fix authentication issues
- Updated webhook shortcuts with enhanced functionality
- Fixed authentication issues in login.go and auth.go
- Improved repo context resolution
- Added npm package configuration
- Updated binary build

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mengcheng added 12 commits 2026-06-14 08:31:01 +08:00
466a7ab181 feat: add wiki +lint command and dry-run support for all write operations
- Add wiki +lint: check empty pages, missing H1, short content, dead links, broken images
- Fix lint to use sub_url for fetching page content instead of title
- Skip system pages (_Sidebar, _Footer, _Header) in lint checks
- Add CHANGELOG.md for wiki module
- Add dry-run support to branch, ci, issue, org, pr, release, repo commands
- Add batch operations for org and repo members
- Add gitlink-wiki skill definition

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
36b8a912a5 feat: add label/review/milestone/team shortcuts, merge master updates
- issue: add label add/remove/list subcommands, add reopen command
- pr: add approve/request-changes/reviews subcommands
- org: merge update/delete from master, add invite/remove-member
- repo: add update command
- release: add update command, clean up comments
- search: add issues search
- register: add milestone, team, webhook modules

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
d122b95d6c Merge branch 'master' into zk_branch
- resolve conflicts in register.go, release/release.go, repo/repo.go, SKILL.md
- keep milestone/team/webhook registrations from zk_branch
- incorporate batch_create/batch_update from master

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
682dbf8619 feat: add one-line install script, remove Go/npm dependency for end users
- Add install.sh: auto-detect platform, download prebuilt binary, install skills
- Bump npm package to v0.2.0
- Update README (EN/CN) with curl-based one-line install as primary method
- No Go, no npm required for standard installation

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
8f420e5ef2 fix: update RequireArg calls to match new 2-arg signature from master merge
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
3edc27fac9 Update documentation and user functionality
- Updated design documentation with latest features
- Updated API reference documentation
- Enhanced user shortcuts functionality
- Added new gitlink-cli binary

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1e36747b00 Add uninstall functionality and update installation scripts
- Added uninstall scripts for multiple platforms (install/uninstall.sh, .ps1)
- Updated installation documentation with INSTALL.md and UNINSTALL.md
- Enhanced npm package with uninstall and update scripts
- Improved README files with latest changes
- Updated install.sh with better functionality

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mengcheng added 1 commit 2026-06-14 19:41:39 +08:00
mengcheng added 3 commits 2026-06-14 22:36:36 +08:00
mengcheng added 8 commits 2026-06-23 21:18:52 +08:00
0ed9dcabfc Add onboard, compliance, and contrib shortcuts with skill docs
- onboard: new contributor onboarding with --issues/--tag support
- compliance: license audit, secret scan, PII check, sensitive vocab scan
- contrib: contribution report generation
- Update register.go to register all three shortcut groups
- Add skills/gitlink-onboard and skills/gitlink-compliance skill docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
be837d4f8e Improve onboard template: per-issue content-aware welcome comments
- fetchIssueDetail now gets both subject and description
- renderComment substitutes {subject}, {description}, {number}, {login}
- defaultTemplate includes issue summary for targeted guidance
- dry-run preview shows the full rendered comment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
58c9f77b6b Add --force flag to onboard +welcome for re-adding comments
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
mengcheng added 3 commits 2026-06-23 22:36:22 +08:00
mengcheng added 12 commits 2026-06-24 00:20:16 +08:00
7ed6fd565a fix: 修复流水线验证部署节点的参数解析错误
- 将verify_deployment_0节点的ssh_cmd从'gitlink-cli version && ls -lh /opt/gitlink-cli/gitlink-cli'简化为'gitlink-cli version'
- 修复原因:&&符号在GitLink流水线参数解析器中被当作特殊字符处理,导致"未找到对应的参数"错误
- 简化后的验证命令足以确认部署成功

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5a590f6850 feat(skills): add gitlink-code-review and gitlink-issue-triage skills
Add two new AI Agent skills for automated GitLink workflows:

- gitlink-code-review: automated PR/code review with quality and security analysis
- gitlink-issue-triage: automated issue classification (tracker/priority/labels)

Each skill includes SKILL.md, README.md, examples, and references.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
de6f94351e feat(skills): add gitlink-stale skill for stale issue/PR detection
Add a new AI Agent skill for detecting and managing stale issues and PRs:

- SKILL.md - main skill guide
- README.md - overview documentation
- examples/ - AI judgment demo, PR stale workflow, weekly cleanup workflow
- references/ - scan, judge, actions, and exempt rules

The skill automates stale detection with AI-powered judgment and supports
weekly cleanup workflows with configurable exemption rules.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mengcheng added 13 commits 2026-07-02 14:56:45 +08:00
93d695d1b3 Add gitlink-code-insight skill: interactive dashboard for all shortcuts
New skill that generates an HTML dashboard showcasing all 69 gitlink-cli
shortcuts organized into 14 categories with search and collapsible UI.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
3e867d23f8 refactor: improve error handling, output formatting, and wiki/webhook shortcuts
- Add dedicated error_print.go for centralized error output
- Enhance formatter with better table/json/yaml rendering
- Add unit tests for output formatter
- Improve runner with cleaner error propagation
- Update globals and root command configuration
- Refine webhook and wiki shortcut implementations

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
b1bf96141c feat: add repo batch-delete, unify api error envelope, harden wiki handling
- repo: 新增 `+batch-delete` shortcut(--names / --from CSV / --dry-run),
  补齐 batch-create / batch-update / batch-delete 三件套
- api: 新增 `--body-file` 解决 PowerShell 调用 .exe 时剥离内嵌引号的问题;
  JSON 解析、参数冲突、读文件失败、网络错误统一按 envelope 输出,
  便于 --format json + jq 自动化解析
- wiki: unwrapGatewayResponse 接受全部 HTTP 2xx(修复 DELETE 返回 204 被误判失败);
  错误改返回 *clierrors.CLIError 让 envelope 输出生效;fetchPageContent 自动重试
  ".-" 后缀(GitLink 后端给 sub_url 加后缀导致 GET 404);outputWithDecodedContent
  解码 base64 字段为明文提升 agent 可读性;wiki +delete 先解析实际 pageName 再
  DELETE,删除后强制 GET 验证并返回结构化结果

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
mengcheng added 16 commits 2026-07-07 09:39:52 +08:00
dc5425690d Add gitlink-code-insight skill: interactive dashboard for all shortcuts
New skill that generates an HTML dashboard showcasing all 69 gitlink-cli
shortcuts organized into 14 categories with search and collapsible UI.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
a3c433e697 feat(workflows): add 5 workflow scripts with bug fixes
Add workflow automation scripts for GitLink CLI:
- 01-community-ops: issue triage, weekly reports, release notes
- 02-code-quality-gatekeeper: PR review, quality scoring, auto-merge
- 03-project-init: repo creation, branch protection, wiki setup
- 04-multi-repo-collab: cross-repo dashboard, health monitoring
- 05-contributor-growth: AHP-weighted scoring, HTML reports, wiki publish

Fixes applied during testing:
- common.sh: fix SIGPIPE error in gl_check (use here-string instead of pipe)
- common.sh: add WinGet Links to PATH for jq availability on Windows
- 05-contributor-growth: fix pull_request_number → pull_request_id
- 05-contributor-growth: fix null total_addition/total_deletion (sum from files)
- 05-contributor-growth: fix wiki publish 400 error (use timestamp in title)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ecf16b379d feat(workflows): add PowerShell scripts and refactor workflow Skill
- Add 4 PowerShell workflow scripts for cross-platform automation:
  - 01-community-ops.ps1: Issue auto-classify, assign, weekly report, release notes
  - 03-project-init.ps1: One-click project init with README, CONTRIBUTING, CI guide, issues, branch protection, release
  - 04-multi-repo-collab.ps1: Cross-repo dashboard with HTML output and coordinated release
  - 05-contributor-growth.ps1: Contributor scoring (AHP), HTML report, Wiki, badge awards
- Add workflows/lib/common.psm1 shared PowerShell module
- Refactor gitlink-workflow SKILL.md to focus on AI-powered code review (workflow 2)
- Retain original .sh scripts alongside new .ps1 scripts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
012c197ee6 fix(workflows): make PowerShell scripts compatible with PS 5.1
- Replace ?? operator with if/else for Windows PowerShell 5.1 compatibility
- Remove Chinese characters to avoid encoding issues
- Use string concatenation instead of complex expressions in here-strings
- Update common.psm1 to remove PS 7+ syntax

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4f3ae280b7 feat(workflows): add workflow skill system and fix batch commands
- Fix batch-label: use issue_tag_ids instead of tracker_id
- Fix parseTracker: support Chinese label names (缺陷/功能/疑问 etc.)
- Add workflow skill menu (workflows/SKILL.md) with 5 automation options
- Add workflow reference files: community-ops, contributor-growth, multi-repo
- Fix PowerShell scripts: Invoke-GL array syntax, remove ConvertFrom-Json
- Fix wiki +create flag from --body to --content
- Update contributor-growth doc with known issues and field corrections
- Add contributor leaderboard HTML report

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
a8f8a30953 feat(workflows): add gitlink-research skill and academic workflow scripts
Add 5 research auxiliary scenarios: project insights, compliance check,
progress tracking, citation format, and knowledge graph support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4379b16083 feat: add interactive showcase frontend (demo/) for gitlink-cli
新增 GitLink CLI 交互式展示平台,提供 Web UI 一键执行所有 CLI 命令及 AI Agent Skills,
无需记忆命令行参数即可完成功能演示、测试和验证。

- server.py:Python stdlib HTTP 服务 (127.0.0.1:8765),提供 /api/exec(执行 gitlink-cli
  命令)、/api/claude(执行 Claude Code Skills 提示词,支持多轮 session)、/api/cancel
- index.html:原生 JS/HTML/CSS 单文件 SPA(~1260 行),包含:
  - 双引擎切换:PowerShell 模式(8 模块 ~60 条预设命令)和 Claude Code 模式(9 模块 ~22 条
    预设提示词)
  - 双运行模式:Direct Run(点选即执行)和 Edit Mode(填入终端编辑后手动执行)
  - 终端模拟器:命令回显、stdout/stderr 着色、多行编辑、Ctrl+L 清屏
  - 智能链接提取:从输出中自动解析 owner/repo 及 Issue/PR/Webhook/Wiki 编号,生成 GitLink
    网页端可点击链接
  - 可折叠侧边栏 + 拖拽调节宽度 + 执行引擎状态指示

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
mengcheng added 7 commits 2026-07-08 15:19:08 +08:00
mengcheng added 11 commits 2026-07-10 10:50:35 +08:00
152cb108d6 Update health skill docs and demo files on zzx_branch
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
86eff95244 Update research-compliance workflow on zzx_branch
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
17a876b0bd Update community-ops workflows and demo index on zzx_branch
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
9f0973f80a 完成两条自动化工作流:社区运营自动化 + 代码质量看门人
工作流一(社区运营自动化):
- Webhook 监听 Issue 创建 → 自动关键词分类 → 打标签 + 分配责任人
- 修复 assigner_ids 字段名(原 assigned_to_id 已被后端静默忽略)
- 修复标签 ID 从项目 issue_tags API 动态获取(原 tracker ID 与 issue_tag ID 不匹配)
- 新增 Windows PowerShell 版本脚本

工作流二(代码质量看门人):
- Webhook 监听 PR 创建 → 数据采集 → AI 代码审查 → 本地 CI → 冲突检测 → 自动合并
- 新增 02a-pr-gatekeeper.sh 核心编排脚本(603 行)
- 新增 Windows PowerShell 版本
- Webhook 监听器增加 pull_request 事件路由
mengcheng added 1 commit 2026-07-10 18:38:01 +08:00
3988802e2c 完成项目一键初始化工作流(03-project-init):重构为文件模式生成README/LICENSE/CI配置+里程碑+Issue+分支保护+Release
- README/LICENSE/CONTRIBUTING/.gitlink-ci.yml 生成在仓库内,而非Wiki页面
- 新增里程碑创建步骤、欢迎Issue
- README中文标题(快速开始、环境要求、安装、使用、测试)
- git clone/push免密认证、git作者行内传参
- 修复CRLF换行符、反引号命令替换等问题
- 同步更新PowerShell版本(03-project-init.ps1)
- 更新workflows文档和SKILL菜单
mengcheng added 3 commits 2026-07-10 20:54:28 +08:00
8a2c4d3bd9 实现多仓库协同自动化工作流(04)
串联 repo/issue/pr/release +list 命令完成端到端任务链:
逐仓库采集数据 → 对齐 gitlink-health 的健康度评分 → 生成中文 HTML
看板 → 协调发版(支持真 --dry-run 预览)
mengcheng added 1 commit 2026-07-11 00:39:00 +08:00
mengcheng added 4 commits 2026-07-12 18:30:59 +08:00
This pull request has changes conflicting with the target branch.
  • Makefile
  • README.md
  • README.zh-CN.md
  • cmd/api/api.go
  • cmd/auth/auth.go
  • doc/design.md
  • internal/client/client.go
  • internal/config/config.go
  • internal/output/formatter_test.go
  • npm/package.json
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b zzx-coder-mc_branch master
git pull mc_branch

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff zzx-coder-mc_branch
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Gitlink/gitlink-cli#30
No description provided.