Skip to content

Commit 518b34e

Browse files
committed
feat: integrate Shortcut CLI for work machine workflow
Added Shortcut CLI integration to enable seamless workflow between Shortcut.com project management and GitHub development on work machine. New Instruction File: - instructions/shortcut-cli-awareness.md (320 lines) - Complete Shortcut CLI usage guide for PM, research, and git agents - Shortcut → GitHub workflow patterns - Commit linking with dual references (GitHub #123 + Shortcut sc-XXXXX) - Best practices for query optimization and memory storage - Error handling for both Shortcut and GitHub APIs - Machine-specific awareness (work only, not personal) Work Config Changes (opencode.work.json): 1. Added shortcut-cli-awareness.md to instructions array - Only work machine loads this instruction - Personal machine remains Shortcut-agnostic 2. Enhanced project-manager bash permissions: - Added: gh issue view/list/create/edit (direct GitHub issue mgmt) - Added: export PROJECT_ID, cat, uuidgen, echo, tee (utility commands) - Keeps: remory * and short * (already existed) - Maintains: git operations delegated to @git-autonomous-agent Workflow Enabled: 1. User: "Check Shortcut story sc-45678" 2. PM: Uses short CLI directly to read story 3. PM: Delegates research if needed to @research-specialist 4. PM: Uses gh issue create to link GitHub issue to Shortcut story 5. PM: Delegates implementation to specialists 6. Git agent: Creates commits with both GitHub + Shortcut references Agents Affected: - project-manager: Direct short + gh issue CLI access for orchestration - research-specialist: Short CLI for investigation (via instruction) - git-autonomous-agent: Short CLI for commit linking (via instruction) - All other agents: Unchanged, work with GitHub issues only Benefits: - Eliminates clunky delegation for simple issue queries - Maintains clean separation: PM orchestrates, git-agent does version control - Single instruction file (no prompt duplication) - Machine-specific via instruction loading (elegant separation) - Optimizes real-world workflow for Shortcut → GitHub coordination Personal machine unchanged: Shortcut CLI remains blocked, no instruction loaded.
1 parent 0c8e536 commit 518b34e

2 files changed

Lines changed: 419 additions & 1 deletion

File tree

0 commit comments

Comments
 (0)