From starry-harness
This skill should be used when the user asks to "check upstream", "check PRs", "what's been fixed upstream", "overlap check", "check rcore-os PRs", "sync with upstream", "deduplicate fixes", or wants to see which bugs from known.json have already been fixed or claimed by upstream PRs in rcore-os/tgoskits and rcore-os/linux-compatible-testsuit.
How this skill is triggered — by the user, by Claude, or both
Slash command
/starry-harness:check-upstreamThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Compares the local bug registry (`known.json`) against open and recently merged PRs in the upstream repos to identify:
Compares the local bug registry (known.json) against open and recently merged PRs in the upstream repos to identify:
Run this before starting a submission and periodically during development sessions to avoid wasted work.
start-submission invocationevolve session (after loading strategy)Use the gh CLI to list open and recently merged PRs:
# Open PRs targeting fixbug-based-dev
gh pr list --repo rcore-os/tgoskits --base fixbug-based-dev --state open --json number,title,body,files,commits,author --limit 50
# Recently merged PRs (last 30 days)
gh pr list --repo rcore-os/tgoskits --base fixbug-based-dev --state merged --json number,title,body,files,mergedAt --limit 50
# Test repo PRs
gh pr list --repo rcore-os/linux-compatible-testsuit --state open --json number,title,body --limit 20
gh pr list --repo rcore-os/linux-compatible-testsuit --state merged --json number,title,body,mergedAt --limit 20
For each PR, extract which syscalls it fixes by:
fix(prlimit64): ... → prlimit64)os/StarryOS/kernel/src/syscall/fs/io.rs → io-related syscalls)Read os/StarryOS/tests/known.json. For each buggy/broken syscall:
Update docs/starry-reports/strategy.json:
upstream_status section tracking overlapPresent a clear table to the user:
Upstream Overlap Check (as of YYYY-MM-DD)
MERGED (do not submit):
accept4 (peer_addr) — PR #203 by yks23, merged 2026-04-15
CLAIMED (open PR, not yet merged):
lseek negative offset — PR #204 by ZhiyuanSue (commit ffeabdc)
fcntl_catchall — PR #204 by ZhiyuanSue (commits 56c2822, 3a3a8bd)
...
SAFE (no upstream overlap):
sigaltstack off-by-one
getgroups size=0
clock_gettime invalid clock_id
ftruncate negative length
pwrite64 negative offset
getrandom invalid flags
...
Also update the journal: bash ${CLAUDE_PLUGIN_ROOT}/scripts/journal-entry.sh NOTE "Upstream overlap check" "<summary>"
fixbug-based-dev branch, not main or dev — that's where fix PRs target.Provides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
npx claudepluginhub josephjoshua/starry-harness --plugin starry-harness