Core architecture:
- tui/app.go: Root Bubble Tea model with view routing, layout engine,
global keybindings (Ctrl+A/Ctrl+Space/Ctrl+P/?), AI panel toggle
- tui/store/store.go: Central state store with auth detection and
project context resolution (reuses gitlink-cli internal packages)
- tui/navigation/router.go: Stack-based view navigation for back support
- tui/ui/: Theme, keymap, styles, StatusBar, TabBar components
- tui/views/home.go: Dashboard view with onboarding wizard for first run
- main.go: TUI mode dispatch via "gitlink-cli tui"
Entry point: gitlink-cli tui
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add a convenience command to comment on pull requests directly,
without needing to look up the underlying issue ID first.
Internally resolves the PR's issue ID via pr +view, then posts
to the issues journals API.
- 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.
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
- Update badge, description, and footer link in README.md
- Update badge, description, and footer link in README.zh-CN.md
- License URL: https://license.coscl.org.cn/MulanPSL2
- Convert README.md to full English version
- Add README.zh-CN.md as the Chinese translation
- Add cross-links between the two versions
- Clean up mixed-language content in both files
- No content changes, translation only