Commit Graph

18 Commits

Author SHA1 Message Date
wbtiger e92caeacda Merge pull request 'Test PR for full testing' (#1) from pr-test-0407 into master 2026-04-07 11:48:01 +08:00
wbtiger 405f6e0a9c test: add pr test file 2026-04-07 11:45:56 +08:00
wbtiger 342badbdd2 feat: add Windows (x64/arm64) support
- Add windows/amd64 and windows/arm64 to build targets with .zip packaging
- Update npm install.js: win32 platform detection, .exe binary, PowerShell zip extraction
- Update npm cli.js wrapper to append .exe on Windows
- Fix credential path to use filepath.Join for cross-platform compatibility
- Update README with Windows support docs and FAQ

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 10:52:56 +08:00
wbtiger 0aed7ad2d7 refactor: upgrade skills to Anthropic agent skills standard
Structure changes:
- Add metadata (requires.bins, cliHelp) to all SKILL.md frontmatter
- Add CRITICAL prerequisite notices for authentication/authorization
- Create references/ directory with per-shortcut reference files
  (34 new reference files across 8 skills)
- Migrate examples/ to references/ (standard structure)
- Move REFERENCE.md and TROUBLESHOOTING.md into references/

New reference files:
- gitlink-issue: 6 refs (list, create, view, update, close, comment)
- gitlink-pr: 6 refs (list, create, view, merge, close, files)
- gitlink-repo: 9 refs (5 repo + 4 branch shortcuts)
- gitlink-release: 4 refs (list, create, view, delete)
- gitlink-org: 3 refs (list, info, members)
- gitlink-search: 2 refs (repos, users)
- gitlink-user: 2 refs (me, info)
- gitlink-shared: 2 refs (api-reference, troubleshooting)

Each reference follows lark-cli standard: prerequisites, commands,
parameters table, workflow steps, caution notices, cross-references.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 18:22:38 +08:00
wbtiger 66beb075da fix: pr merge requires 'do' param, update skills docs with test findings
Code fixes:
- pr +merge: add 'do' parameter (merge/rebase/squash) and --method flag
  to fix "请选择合并方式" error

Skills documentation updates:
- gitlink-pr: add complete PR workflow with create_file/update_file,
  document merge methods, PR status values, state filter behavior
- gitlink-shared: update API notes table (release delete now works,
  create_file needs base64, update_file needs SHA), add file operations
  API section with create/update/delete examples
- gitlink-release: update delete docs (now works with version_id)

All 8 scenarios tested and passing (2026-04-04):
  auth/user , repo , branch (delete=API bug),
  issue , PR , release , search/org , CI (no config)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 18:10:48 +08:00
wbtiger 798bc7d18f cleanup: remove test file pr-test-file.md 2026-04-04 18:09:47 +08:00
wbtiger 25e158ceea cleanup: remove test file skill-pr-test.md 2026-04-04 18:09:45 +08:00
wbtiger 1d685f72ca Merge pull request 'test: Skill PR 全流程测试' (#3) from skill-pr-test-0404 into master 2026-04-04 17:43:00 +08:00
wbtiger 8eab488eb1 test: skill PR test file 2026-04-04 17:26:21 +08:00
wbtiger 83c3cfb68b cleanup: remove test file 2026-04-04 16:48:38 +08:00
wbtiger 78a1de8c99 Merge pull request 'test: PR workflow test (0404)' (#1) from pr-test-0404 into master 2026-04-04 16:47:15 +08:00
wbtiger 483f7495ae feat: add pr test file 2026-04-04 16:26:03 +08:00
wbtiger 32bc53c2bf test: update file via API 2026-04-04 16:25:33 +08:00
wbtiger 0c9fab21cb test: create file via API 2026-04-04 16:24:52 +08:00
wbtiger 0d0f79f3e7 Update README.md 2026-04-03 11:03:39 +08:00
Your GitHub Username 3c2e8f0580 feat: include skills in npm package, update README with AI Agent quick start
- Bundle skills/ directory into npm package for local installation
- Add npx skills add instructions for both human users and AI agents
- Update README installation section to match larksuite/cli style
- Bump npm version to 0.1.1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 23:06:06 +08:00
Your GitHub Username 381a32a49f feat: add npm distribution support (@gitlink-ai/cli)
- Add npm package structure (package.json, install script, bin wrapper)
- Add cross-platform build script (darwin/linux × amd64/arm64)
- Add local pack script for embedding binary in npm package
- Update README with larksuite/cli-style installation docs
- Published as @gitlink-ai/cli@0.1.0 on npmjs.com

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 22:57:37 +08:00
Your GitHub Username bd2d8b52d6 initial commit: gitlink-cli project 2026-04-02 16:50:00 +08:00