| name | file-issue |
| description | File a bug report or feature request for the odd-pipeline itself, with auto-gathered context from the current project and session. Use when the user says "/file-issue", "file a bug", "report an issue", "this is a pipeline problem", or encounters a pipeline defect during daily use. |
File Issue
Gathers context from the current project and session to file a structured issue on the TonyWu20/odd-pipeline repository. Lowers friction for reporting pipeline defects encountered during daily use.
Trigger
/file-issue
No arguments. The skill prompts the user for issue details interactively.
Step 0: Resolve Agent Mapping
The pipeline uses pluggable agents. Determine which agent to use for context gathering:
- Check CLI args: If the user's invocation includes
--agent-griller=<agent-name>, use that agent. CLI args override everything.
- Check AGENT_CONFIG.md: Read
AGENT_CONFIG.md from the project root. If it exists, parse **griller:** <agent-name>. Apply if not already set by CLI args.
- Apply default: If still unset,
griller defaults to general-purpose.
- Build resolved mapping: Record which agent will be used for
griller.
Throughout this skill, whenever a subagent is launched, use the resolved agent name.
Process
Step 1: Gather Context (Subagent)
Launch the griller subagent (resolved in Step 0) to collect relevant context:
Agent: {griller} (subagent, discardable context)
Task: Gather context for a pipeline issue report.
Collect the following:
-
Current pipeline state:
ls skills/*/SKILL.md 2>/dev/null
-
Pipeline version:
git log --oneline -5
-
Current project context (from the working directory where the issue was encountered):
pwd
git remote -v 2>/dev/null
git log --oneline -3 2>/dev/null
Output the gathered context as structured data for the issue template.
Step 2: Build Issue Template
Format the issue using the GitHub issue template:
---
title: "[pipeline]: <short description>"
---
## Description
{User's description of the problem or feature request}
## Context
- **Pipeline version**: {commit hash from git log}
- **Project**: {current project URL or path}
- **Session**: {what skills were being used when the issue occurred}
## Reproduction Steps
{User-provided or auto-detected steps}
## Expected vs Actual
- **Expected**: {what should happen}
- **Actual**: {what actually happened}
## Environment
- **Pipeline branch**: {current branch}
- **OS**: {auto-detected}
- **Claude Code version**: {if available}
## Relevant Artifacts
{Paths to relevant plan files, directions.json, execution reports, etc.}
Step 3: User Review
Present the formatted issue to the user for review and editing:
"Here's the draft issue for TonyWu20/odd-pipeline:
{ISSUE_BODY}
Please review and edit the description above, then confirm to file the issue.
Type 'confirm' to file, or provide changes."
Step 4: File the Issue
Once the user confirms, file the issue:
gh issue create --repo TonyWu20/odd-pipeline --title "<title>" --body "<body>"
Report the resulting issue URL to the user.
Boundaries
Will:
- Auto-gather context from the current project and pipeline state
- Format a structured issue using the project's template
- Let the user review and edit before filing
- File via
gh CLI
Will not:
- File issues without user review
- Modify any project files
- Include sensitive information (API keys, tokens) in the issue