All skills
vincentkoc avatar

/openclaw-github-dedupe

@e0b7247
by Vincent Kocvincentkoc/dotskills108 stars
9

Investigate a cluster of GitHub issues and PRs, determine canonical candidates, post duplicate/related status, preserve contributor credit, and execute cleanup actions. Supports autonomous mode for provided-link-only closeout, merge/fix follow-through, changelog, and post-merge issue/PR cleanup.

Use this Skill: https://skilld.dev/gh/vincentkoc/dotskills/openclaw-github-dedupe

This session only. Nothing lands on disk.

referencesflow.md

≈491 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Flow

The prose workflow owns the guards. Apply this per item; merging the canonical PR and closing a covered duplicate are distinct actions. Plan mode and dry_run=1 never enter the mutation paths.

stateDiagram-v2
    [*] --> ClusterIntake
    ClusterIntake --> AutonomousViability: autonomous
    ClusterIntake --> SimilaritySweep: plan or execute
    AutonomousViability --> FetchEvidence: needed or covered canonical path proven
    AutonomousViability --> ReportBlocked: ambiguous or no actionable path
    SimilaritySweep --> FetchEvidence
    FetchEvidence --> NormalizeGuardrails
    NormalizeGuardrails --> ReportBlocked: hard-stop failure
    NormalizeGuardrails --> ReviewAndDecide: evidence sufficient
    ReviewAndDecide --> DraftPlan: plan mode or dry-run override
    ReviewAndDecide --> ChooseAuthorizedAction: execution allowed by user and repo
    state ChooseAuthorizedAction <<choice>>
    ChooseAuthorizedAction --> RepairAndQualifyCanonical: selected open canonical PR needs landing
    ChooseAuthorizedAction --> CloseCoveredDuplicate: duplicate closure authorized and coverage proven
    ChooseAuthorizedAction --> KeepOpen: canonical issue, related, unrelated, or no mutation needed
    RepairAndQualifyCanonical --> MergeCanonical: exact-head proof and review pass
    RepairAndQualifyCanonical --> ReportBlocked: unresolved fix, CI, or review
    MergeCanonical --> VerifyGitHubState
    CloseCoveredDuplicate --> VerifyGitHubState
    VerifyGitHubState --> EmitOutcomes: intended state confirmed
    VerifyGitHubState --> ReportBlocked: failure or uncertain outcome
    KeepOpen --> EmitOutcomes
    DraftPlan --> EmitOutcomes
    ReportBlocked --> EmitOutcomes
    EmitOutcomes --> [*]

After a canonical merge is confirmed, re-evaluate covered items through the same decision path. An already-merged canonical commit needs no second merge; covered issues can close without inventing an open green PR prerequisite.

Source: SKILL.md on GitHub

2 warnings6mo4 checks · Risk SAFE
  • Gen Agent Trust Hub7mo

    The skill automates GitHub issue and pull request management, including merging and closing actions. It is susceptible to indirect prompt injection because it processes untrusted content from GitHub issues and PRs, which could potentially influence the agent's triage decisions or lead to unintended repository modifications.

  • Socket6mo

    No alerts

  • Snyk7mo

    Risk: MEDIUM · No issues

  • Runlayer7mo

    2/2 files flagged

Signed by skilld at e0b7247. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 3 weeks ago
Other metadata
metadata
{
  "short-description": "GitHub triage for issue/PR clusters, autonomous closeout, and dedupe decisions",
  "source": "https://github.com/vincentkoc/dotskills"
}

README badge

README badge for vincentkoc/dotskills/openclaw-github-dedupe