investigate
Phase 1 — Context Gathering (sequential, no parallelism)
CRITICAL: Complete ALL of Phase 1 before starting Phase 2. Do NOT launch any code search, devsql queries, or subagents until the ticket/thread content is fully available and summarized. The entire point of this phase is to build context that makes Phase 2 searches effective.
1.0 Detect Input Type
Inspect $ARGUMENTS to determine the source:
Slack URL (matches https://<workspace>.slack.com/archives/<channel_id>/p<timestamp>):
- Extract
channel_idfrom the path segment after/archives/(e.g.,C09JSQNCR33) - Extract message timestamp: remove the
pprefix from the last path segment, insert.before the last 6 digits (e.g.,p1773934352256539→1773934352.256539) - Proceed to Step 1.1a.
Linear URL (contains linear.app):
- Parse the issue ID from the path (pattern:
[A-Z]+-\d+, e.g.,linear.app/<workspace>/issue/ENG-1234/...→ENG-1234) - Proceed to Step 1.1b.
Jira URL (contains atlassian.net):
- Parse the issue ID from the path (pattern:
[A-Z]+-\d+)
More from benjaming/ai-skills
confluence-cli
Use confluence-cli (NPM package) to manage Confluence content, pages, and spaces from the command line. Ideal for documentation workflows, bulk content operations, page migration, and when users request CLI-based Confluence interactions. Trigger on requests like "use Confluence CLI", "create Confluence pages via CLI", "migrate Confluence content", "automate documentation workflows", or when users want to script Confluence operations.
43atlassian-cli-jira
Use Atlassian CLI (acli) to manage Jira work items, projects, and workflows from the command line. Ideal for bulk operations, automation, scripting, and when users request CLI-based Jira interactions. Trigger on requests like "use Jira CLI", "create Jira issues via CLI", "bulk update Jira tickets", "automate Jira workflows", or when users want to script Jira operations.
29ralph-loop
Create autonomous iterative loops (Ralph Wiggum pattern) for multi-step tasks. Use when setting up automated workflows that iterate over a backlog of tasks with clear acceptance criteria. Triggers on requests like "create a ralph loop", "set up an iterative agent", "automate this migration", or "create an autonomous loop".
22interview
Interview user to clarify any topic - exploring codebase, investigating issues, planning features, understanding requirements, or drilling into plans. Socratic questioning to uncover details.
20codex-cli
Use OpenAI Codex CLI in non-interactive mode for automated code analysis, review, and programmatic task execution. Trigger on requests like "use Codex to analyze", "run codex exec", "codex code review", or when users want AI-powered code analysis without interactive prompts. Ideal for automation workflows, code quality checks, and generating structured analysis reports.
19ui-skills
Opinionated constraints for building better interfaces with agents.
19