Add create-issue skill with Haiku delegation and cross-shell fix#13
Open
oto-macenauer-absa wants to merge 3 commits into
Open
Add create-issue skill with Haiku delegation and cross-shell fix#13oto-macenauer-absa wants to merge 3 commits into
oto-macenauer-absa wants to merge 3 commits into
Conversation
…tter triggering - Delegate template discovery to Haiku subagent (Phase 1) for cost reduction on template-heavy repos (~25-30% effective cost savings) - Expand trigger description to catch more phrasings (log bug, report problem, submit ticket, track as issue) - Add behavioral guardrails: no extra sections beyond template, fix suggestions only when root cause clear - Delete redundant --help sub-skill and gh-commands.md reference - Condense templates.md from 146 to 22 lines (rendering rules only) - Add evals for automated testing (3 test cases with assertions) - Net: -282 lines across skill files
…sue body Heredocs and --body-file - break across shells (PowerShell here-strings, special chars in markdown). Write body to temp file, use --body-file <path>, delete after creation.
lsulak
approved these changes
Jun 8, 2026
lsulak
left a comment
There was a problem hiding this comment.
LGTM, although, why not just just adjust the existing create-issue skill we have on the other place?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves #12
create-issueskill — two-phase architecture: Haiku subagent discovers repo templates (cheap), primary model drafts and postsRelease Notes
Two-phase architecture with Haiku delegation
Template discovery (repo scanning, API calls, YAML parsing) is delegated to a Haiku subagent in Phase 1. Only drafting and posting runs on the primary model.
Instruction footprint reduced by 68%
Skill definition went from 347 lines across 4 files down to 109 lines across 3 files (net -238 lines):
--help/SKILL.mdsub-skillreferences/gh-commands.mdreferences/templates.mdSKILL.md(74 to 57 lines)Every line of skill definition is injected into context when the skill triggers. 238 fewer lines = ~950 fewer input tokens per invocation.
Broader trigger matching
Description now catches natural language variations: "log a bug", "report a problem", "submit a ticket", "track as an issue" — not just "create an issue".
Behavioral guardrails
Eval suite
3 test cases covering distinct scenarios:
-Rflag and remote template discoveryMeasured results
--body-fileToken cost analysis:
Architecture
Test plan
gh issue create --body-file tempfileworks across PowerShell and Bash