2 Commits

Author SHA1 Message Date
Vince Lozada 06042234cb Add inline comment automation for MR code reviews (#27)
* Add inline comment automation script

- Add glab-add-inline-comment.sh for posting inline MR comments
- Posts comments at specific file:line locations via GitLab API
- Auto-extracts token and fetches MR metadata
- Validates inline placement (DiffNote type)
- Add comprehensive documentation (README-inline-comments.md)
- Update scripts/README.md with new script listing

Closes #26

* Rename script: glab-add-inline-comment.sh → add-inline-comment.sh

Drop glab- prefix per review feedback.

- Rename scripts/glab-add-inline-comment.sh to scripts/add-inline-comment.sh
- Update all references in documentation (README.md, README-inline-comments.md)
- Update usage examples and command names

---------

Co-authored-by: Steven (Bot) <steven@winkintel.com>
2026-02-23 16:50:48 -06:00
Vince Lozada c29467a0e7 Phase 2: Add scripts, TOCs, and troubleshooting (#14)
- Added 5 high-value automation scripts:
  * mr-review-workflow.sh - Automated MR review with tests
  * create-mr-from-issue.sh - Create branch + draft MR from issue
  * ci-debug.sh - Debug CI failures (find failed jobs + logs)
  * batch-label-issues.sh - Apply labels to multiple issues
  * sync-fork.sh - Sync fork with upstream
- Created scripts/README.md with usage documentation
- Added TOC to glab-mr/references/commands.md (656 lines)
- Updated SKILL.md files to reference relevant scripts
- Added troubleshooting sections to:
  * glab-mr: merge conflicts, approval issues, pipeline problems
  * glab-repo: clone failures, fork issues, transfer problems
  * (glab-auth and glab-ci already had troubleshooting from Phase 1)

Addresses #13 Phase 2 objectives:
✅ 5 high-value scripts created and documented
✅ TOC added to long reference file (>100 lines)
✅ Troubleshooting sections added to top 5 skills
✅ Scripts follow OpenClaw patterns (token-efficient, deterministic)
✅ All scripts executable and well-documented

Token efficiency improvements:
- Scripts execute without loading into context
- Only script output consumes tokens
- Reduces need to regenerate same code repeatedly
- Better navigability via TOC in reference docs

Co-authored-by: Ubuntu <ubuntu@vps-9755df38.vps.ovh.us>
2026-02-11 22:51:20 -06:00