Skip to content

Add ani-issue skill for filing and auditing GitHub issues - #140

Merged
zhollis21 merged 3 commits into
mainfrom
feature/ani-issue-skill
Aug 27, 2026
Merged

zhollis21 merged 3 commits into
mainfrom
feature/ani-issue-skill

Conversation

@zhollis21

@zhollis21 zhollis21 commented Aug 27, 2026 •

Copy link
Copy Markdown
Owner

Adds .claude/skills/ani-issue/SKILL.md, corrects two stale examples in
.claude/skills/ani-kickoff/SKILL.md, and brings both skills' allowed-tools in line with the shell
commands 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, and
writes nothing without approval.

Why the create path is shaped this way

Issues here get read cold by /ani-kickoff months later, so the bar is that every factual claim must
be checkable and must have been checked before it was written. A path:line that drifted two
refactors 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. ## Proposal and **Fix:** read as settled even when the author
meant 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:

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:

  • The src/ → src/AniSprinkles/ path drift, as a red flag on sight.
  • The shell-quoting damage taxonomy, including that cat -v renders a real BEL byte and the literal
    text ^G identically — confirm with od -c before writing a substitution.
  • Compose and edit issue bodies through --body-file and Read/Edit, never sed/perl one-liners;
    that is how the corrupted bodies got that way in the first place.
  • Bodies never restate a priority the labels already carry (Voice Roles section: expose media-level sorts (Popularity, Score, Date) #90 had a ## Priority section
    disagreeing 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:

And declares the shell commands both skills run

Raised in review. Each body instructs Bash commands that Bash(gh *) / Bash(git *) do not cover, so
they fell through to the interactive permission flow rather than being pre-approved — harmless
interactively, effectively blocking in a non-interactive run. ani-debug already enumerates its
binaries this way; these two had not kept up. ani-issue adds grep, sed, cp, diff, cat,
od and head; ani-kickoff adds cp and diff for its fetch-edit-diff-write-back flow.

Copilot AI lite review requested due to automatic review settings August 27, 2026 00:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.md documenting 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.

Comment thread .claude/skills/ani-issue/SKILL.md Resolved
Zach Hollis added 2 commits August 26, 2026 20:27
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.
@zhollis21
zhollis21 force-pushed the feature/ani-issue-skill branch from 49998a1 to e0173d8 Compare August 27, 2026 00:28
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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

@zhollis21
zhollis21 merged commit fee737d into main Aug 27, 2026
4 checks passed
@zhollis21
zhollis21 deleted the feature/ani-issue-skill branch August 27, 2026 02:32
zhollis21 added a commit that referenced this pull request Nov 19, 2026
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants