Commit Graph

3 Commits

Author SHA1 Message Date
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
Your GitHub Username bd2d8b52d6 initial commit: gitlink-cli project 2026-04-02 16:50:00 +08:00