Skip to content

refactor(commands): remove hardcoded organization from global commands#50

Merged
kcenon merged 1 commit into
mainfrom
refactor/issue-43-remove-hardcoded-org
Jan 19, 2026
Merged

refactor(commands): remove hardcoded organization from global commands#50
kcenon merged 1 commit into
mainfrom
refactor/issue-43-remove-hardcoded-org

Conversation

@kcenon

@kcenon kcenon commented Jan 19, 2026

Copy link
Copy Markdown
Owner

Closes #43

Summary

  • Remove hardcoded kcenon organization from /issue-work and /pr-work commands
  • Add Organization Detection section with three input formats:
    1. Auto-detect from git remote (default)
    2. Explicit --org flag
    3. Full path format (org/project)
  • Update all gh command references to use $ORG/$PROJECT variables
  • Add organization detection error handling to Prerequisites Check section

Test Plan

  • Verify /issue-work project-name auto-detects org from git remote
  • Verify /issue-work project-name --org custom-org uses explicit org
  • Verify /issue-work custom-org/project-name parses full path correctly
  • Verify error message when organization cannot be detected

Replace hardcoded 'kcenon' organization with dynamic organization
detection. Commands now support:
- Auto-detection from git remote origin
- Explicit --org flag
- Full path format (org/project)

This makes /issue-work and /pr-work reusable across different
GitHub organizations.
@kcenon kcenon merged commit 4c17924 into main Jan 19, 2026
@kcenon kcenon deleted the refactor/issue-43-remove-hardcoded-org branch January 19, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[High Priority] Remove hardcoded organization name from global commands

1 participant