Commit Graph

16 Commits

Author SHA1 Message Date
Zhang Jinnan 46aa383d76 fix: preserve issue description on updates 2026-04-28 08:43:51 +08:00
wbavon 7516ea8de9
Merge pull request #4 from ccfos/docs/fork-based-pr-workflow
docs(skills): add Fork-based PR workflow guidelines
2026-04-18 17:13:56 +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
wbavon c2cc921908
Merge pull request #3 from ccfos/fix/skill-tool-boundary
fix(skills): add tool boundary rules to prevent gh/hub misuse on GitLink
2026-04-18 16:21:46 +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
wbavon 61d7e2577a
Merge pull request #2 from wbavon/docs/license-mulanpsl2
docs: update license references from Apache 2.0 to MulanPSL-2.0
2026-04-17 11:46:15 +08:00
wbtiger 46c2b0353b docs: update license from Apache 2.0 to MulanPSL-2.0
- 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
2026-04-17 11:44:08 +08:00
wbavon 96c14dce97
Merge pull request #1 from /docs/i18n-readme-en-zh
docs: translate README to English, add Chinese README.zh-CN.md
2026-04-17 11:27:15 +08:00
wbavon 147033c73a
change license to mulan 2026-04-17 11:25:01 +08:00
wbtiger 6b656852c5 docs: translate README to English, add Chinese README.zh-CN.md
- 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
2026-04-17 10:58:21 +08:00
wbavon adfa5b6141
remove test log
Removed outdated project links and updated document names.
2026-04-17 10:13:11 +08:00
wbavon d484ef1449
remove test log 2026-04-17 10:08:13 +08:00
wbtiger 5adbe4b111 delete test log 2026-04-17 10:07:03 +08:00
wbavon 91547de16b
add npx 2026-04-17 10:03:50 +08:00
wbtiger e892370de8 init gitlink-cli 2026-04-17 10:01:30 +08:00