Skip to content

fix(skills): dogfood skill hardcodes wrong GitHub repo slug - #2361

Merged
carlos-alm merged 1 commit into
mainfrom
fix/issue-2184-dogfood-repo-slug
Aug 8, 2026
Merged

carlos-alm merged 1 commit into
mainfrom
fix/issue-2184-dogfood-repo-slug

Conversation

@carlos-alm

Copy link
Copy Markdown
Contributor

Summary

Closes #2184

Three gh --repo flags in .claude/skills/dogfood/SKILL.md pointed at optave/codegraph instead of the actual repo, optave/ops-codegraph-tool: gh release list (finding the latest dev version, line 48), gh issue list (duplicate-bug check, Phase 7a), and gh issue create (filing a new bug, Phase 7b).

Fix

Hardcoded the correct literal slug at each site rather than detecting it dynamically via gh repo view (the approach used for /resolve and /sweep, #1966): unlike those skills, /dogfood's own Phase 0 explicitly creates and cds into a separate temp npm project to install and test the published package, so by the time Phase 7 runs, the working directory is very unlikely to be a checkout of this repo at all — gh repo view there would fail or resolve to the wrong repo entirely. This also matches the file's own existing pattern — the release tarball URLs a few lines above line 48 already hardcode the correct slug literally.

Every other optave/codegraph occurrence in this file is the npm package name (@optave/codegraph, @optave/codegraph-<platform>-<arch>), which is correct and untouched.

Test plan

  • Confirmed no remaining --repo optave/codegraph occurrences; every other optave/codegraph mention is a legitimate npm package name.
  • .claude/skills/create-skill/scripts/lint-skill.sh against this file: identical findings before and after (1 pre-existing error, 12 pre-existing warnings, none related to this change).

Closes #2184

Three gh --repo flags pointed at optave/codegraph instead of the actual
repo, optave/ops-codegraph-tool: gh release list (finding the latest dev
version), gh issue list (duplicate-bug check), and gh issue create (filing
a new bug) in Phase 7.

Hardcoded the correct literal slug at each site rather than detecting it
dynamically via `gh repo view` (the approach used for /resolve and /sweep,
#1966): unlike those skills, /dogfood's own Phase 0 explicitly creates and
cds into a separate temp npm project to install and test the published
package, so by the time Phase 7 runs, the working directory is very
unlikely to be a checkout of this repo at all — `gh repo view` there would
fail or resolve to the wrong repo. This also matches the file's own
existing pattern (e.g. the release tarball URLs a few lines above already
hardcode the correct slug literally).

Every other optave/codegraph occurrence in this file is the npm package
name (@optave/codegraph, @optave/codegraph-<platform>-<arch>), which is
correct and untouched.
@greptile-apps

greptile-apps Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Corrects three GitHub CLI commands in the dogfood skill so releases and issues target the actual optave/ops-codegraph-tool repository.

  • Updates the development-release lookup repository.
  • Updates duplicate issue searches and new bug creation to use the correct repository.

Confidence Score: 5/5

The PR appears safe to merge with no actionable issues identified.

The documentation-only changes consistently point GitHub release and issue operations at the correct repository without altering the valid npm package references.

Important Files Changed

Filename Overview
.claude/skills/dogfood/SKILL.md All three incorrect gh --repo values are consistently replaced with the repository slug supplied by the PR context.

Reviews (1): Last reviewed commit: "fix(skills): dogfood skill hardcodes wro..." | Re-trigger Greptile

@carlos-alm
carlos-alm merged commit 6c024b9 into main Aug 8, 2026
27 checks passed
@carlos-alm
carlos-alm deleted the fix/issue-2184-dogfood-repo-slug branch August 8, 2026 12:57
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: /dogfood skill hardcodes wrong GitHub repo slug (optave/codegraph instead of optave/ops-codegraph-tool)

1 participant