Repository navigation
Add ani-issue skill for filing and auditing GitHub issues - #140
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The new skill’s allowed-tools list doesn’t permit several commands the skill instructs running (e.g., grep/cat/od/cp/diff/head), which will break parts of the workflow at runtime.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Adds a new repo-specific agent skill (/ani-issue) that standardizes how issues are created and audited so future readers (especially /ani-kickoff) can trust every claim and reproduce/verify the evidence.
Changes:
- Introduces
.claude/skills/ani-issue/SKILL.mddocumenting a structured “create” flow (dig → verify → interrogate → label → file). - Adds an “audit” mode checklist for validating existing issues (truthiness, citation drift, body corruption, labels).
File summaries
| File | Description |
|---|---|
.claude/skills/ani-issue/SKILL.md |
New skill definition and procedural guidance for filing/auditing GitHub issues in this repo |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Two modes: - create (default) interrogates for what only the author knows, verifies every claim against the code before writing it down, states the problem as options rather than a decree, labels it, and files it. - audit <N> / audit all applies the same bar to issues that already exist and reports findings without writing anything unapproved. The create path exists because issues here are read cold by ani-kickoff months later, so an unverified path:line costs the next reader time before it costs them trust. The audit path exists because the backlog had already drifted: bodies contradicted by their own comments, citations broken by the Core extraction, deferrals blocked on issues that had since closed, and several bodies corrupted by shell quoting. Documents the repo-specific traps found while exercising it: the src/ to src/AniSprinkles/ path drift from #62, the shell-quoting damage patterns and why cat -v cannot distinguish a control byte from literal caret notation, and the rule that bodies never restate a priority the labels already carry.
Both were examples the skill uses to teach verifying claims against the code, so a wrong one costs more than usual. - The grep-miss example named IsDisplayPreferencesExpanded, which does not exist. The properties are IsDescriptionExpanded and IsStatusExpanded. - #64 was cited as a premise that moved, on the grounds that the lists migrated from BindableLayout to CollectionView. MyAnimeLoadedContentView still forces MeasureAllItems at xaml:395 and xaml.cs:311, so that investigation is valid and only its citations had drifted. Replaced with #12, where the premise genuinely moved when #43 removed the flyout, plus a warning against over-applying the check.
49998a1 to
e0173d8
Compare
Each skill's body instructs Bash commands that Bash(gh *) / Bash(git *) do not cover, so they fell through to the interactive permission flow instead of being pre-approved. ani-debug already enumerates its binaries this way; these two had not kept up. - ani-issue: grep (Step 2), sed, cp and diff (Step 8 and audit mode), plus cat, od and head, which the corruption checks call for. - ani-kickoff: cp and diff, used by the fetch-edit-diff-write-back flow in Step 6. Pre-existing gap, fixed here since the file is already in this change.
There was a problem hiding this comment.
🟢 Approval recommended
Changes are limited to skill documentation/configuration and the updated examples/allowlists are consistent with the commands and symbols verified in-repo.
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0 new
- Review effort level: Lite
* Add ani-issue skill for filing and auditing GitHub issues Two modes: - create (default) interrogates for what only the author knows, verifies every claim against the code before writing it down, states the problem as options rather than a decree, labels it, and files it. - audit <N> / audit all applies the same bar to issues that already exist and reports findings without writing anything unapproved. The create path exists because issues here are read cold by ani-kickoff months later, so an unverified path:line costs the next reader time before it costs them trust. The audit path exists because the backlog had already drifted: bodies contradicted by their own comments, citations broken by the Core extraction, deferrals blocked on issues that had since closed, and several bodies corrupted by shell quoting. Documents the repo-specific traps found while exercising it: the src/ to src/AniSprinkles/ path drift from #62, the shell-quoting damage patterns and why cat -v cannot distinguish a control byte from literal caret notation, and the rule that bodies never restate a priority the labels already carry. * Correct two stale examples in ani-kickoff Both were examples the skill uses to teach verifying claims against the code, so a wrong one costs more than usual. - The grep-miss example named IsDisplayPreferencesExpanded, which does not exist. The properties are IsDescriptionExpanded and IsStatusExpanded. - #64 was cited as a premise that moved, on the grounds that the lists migrated from BindableLayout to CollectionView. MyAnimeLoadedContentView still forces MeasureAllItems at xaml:395 and xaml.cs:311, so that investigation is valid and only its citations had drifted. Replaced with #12, where the premise genuinely moved when #43 removed the flyout, plus a warning against over-applying the check. * Allowlist the shell commands both issue skills actually run Each skill's body instructs Bash commands that Bash(gh *) / Bash(git *) do not cover, so they fell through to the interactive permission flow instead of being pre-approved. ani-debug already enumerates its binaries this way; these two had not kept up. - ani-issue: grep (Step 2), sed, cp and diff (Step 8 and audit mode), plus cat, od and head, which the corruption checks call for. - ani-kickoff: cp and diff, used by the fetch-edit-diff-write-back flow in Step 6. Pre-existing gap, fixed here since the file is already in this change.
Adds
.claude/skills/ani-issue/SKILL.md, corrects two stale examples in.claude/skills/ani-kickoff/SKILL.md, and brings both skills'allowed-toolsin line with the shellcommands they actually run. No source changes — skills only.
What it does
/ani-issue <what's wrong>— the create path. Works out what it already knows from the session,digs into the code to find the mechanism, halts if the dig shows the problem is already fixed or the
fix is smaller than the issue describing it, grills for what only the author knows, then labels and
files.
/ani-issue audit <N>/audit all— applies the same bar to issues that already exist, andwrites nothing without approval.
Why the create path is shaped this way
Issues here get read cold by
/ani-kickoffmonths later, so the bar is that every factual claim mustbe checkable and must have been checked before it was written. A
path:linethat drifted tworefactors ago costs the next reader time before it costs them trust.
It states problems rather than deciding fixes — options with tradeoffs, with any leading candidate
explicitly marked a hypothesis.
## Proposaland**Fix:**read as settled even when the authormeant them as suggestions, which is what had happened in #125 and #134.
Why the audit path exists
The backlog had drifted in ways that were invisible from the outside:
Add unit test suite for PageModels, Services, and Converters #52 deferred three items as blocked when AuthService.LoadAsync races on concurrent first-token reads and can wipe a valid token #119, Extract the shared spine from the four details page models #120 and Give AppSettings an injectable preferences store so its callers are testable #121 had all closed; No way to get diagnostics off a device, and Release logs only warnings anyway #112 held its only
real content in a comment.
src/Views/…andsrc/Platforms/…in Investigate ItemSizingStrategy.MeasureFirstItem for MyAnime CollectionView perf #64, Notification small icon appears as a blank circle #68 andDeep-link airing notifications to the media details page #111, plus a method name that no longer existed.
Exercised before merging
Audited all 26 open issues and used the create path for three new ones (#136, #137, #138, #139). The
repo-specific traps that turned up are documented in the skill itself:
src/→src/AniSprinkles/path drift, as a red flag on sight.cat -vrenders a real BEL byte and the literaltext
^Gidentically — confirm withod -cbefore writing a substitution.--body-fileand Read/Edit, neversed/perlone-liners;that is how the corrupted bodies got that way in the first place.
## Prioritysectiondisagreeing with its own label).
Also fixes two stale examples in ani-kickoff
Both are examples that skill uses to teach verifying claims against the code, so a wrong one costs
more than usual:
IsDisplayPreferencesExpanded, which does not exist. The propertiesare
IsDescriptionExpandedandIsStatusExpanded.BindableLayouttoCollectionView.MyAnimeLoadedContentViewstill forcesMeasureAllItemsatxaml:395andxaml.cs:311, so that investigation is valid and only its citations had drifted. Replaced withManga support #12, where the premise genuinely moved when Replace hamburger flyout with bottom tab bar navigation #43 removed the flyout, plus a warning against
over-applying the check.
And declares the shell commands both skills run
Raised in review. Each body instructs Bash commands that
Bash(gh *)/Bash(git *)do not cover, sothey fell through to the interactive permission flow rather than being pre-approved — harmless
interactively, effectively blocking in a non-interactive run.
ani-debugalready enumerates itsbinaries this way; these two had not kept up.
ani-issueaddsgrep,sed,cp,diff,cat,odandhead;ani-kickoffaddscpanddifffor its fetch-edit-diff-write-back flow.