Skip to content

cogni-dao/cogni / .claude/skills/git-app-expert

git-app-expert

Verified

GitHub App + VCS operations expert for the cogni-template stack. Load this skill when working on anything involving: GitHub App permissions or installation auditing (cogni-node-template, cogni-git-review), VCS tool layer changes (VcsCapability interface, GitHubVcsAdapter, vcs-flight-candidate tool schema), operator flight dispatch debugging (workflow_dispatch permissions, Argo sync, buildSha verify), or wiring VCS flight dispatch end-to-end. Use proactively whenever the user mentions "flight", "flight dispatch", "workflow permissions", "GH_REVIEW_APP", "VcsCapability not configured", "actions:write", or asks to add a workflowRef / VCS tool parameter.

FileKindSize
SKILL.mdskill md14.7 KB
evals/evals.jsonconfig2.1 KB

evals/evals.json

View on GitHub
{
  "skill_name": "git-app-expert",
  "evals": [
    {
      "id": 0,
      "prompt": "The VCS flight tool is failing to dispatch candidate-a flights. I see it call core__vcs_flight_candidate and get no error back (dispatched: true), but no workflow run ever appears on GitHub. The GH_REVIEW_APP_ID is set to 3062001. Walk me through what's wrong and how to fix it.",
      "expected_output": "Identifies that cogni-node-template (3062001) org installation previously had actions:read not actions:write, gives the gh api audit command to verify current permission, explains the app definition vs installation permission divergence gotcha, and points to the GitHub org settings URL for installation 115515535 to approve the upgrade.",
      "assertions": []
    },
    {
      "id": 1,
      "prompt": "I want to test PR #1003 (which fixes the Argo wait-for-argocd.sh Deployment sync check) by using its workflow version to flight PR #1004's app build. Does the current vcs_flight_candidate tool support specifying which branch's workflow to use? If not, tell me exactly what to change.",
      "expected_output": "Confirms ref is hardcoded to 'main' in github-vcs.adapter.ts line 264. Lists the 4-5 files to change (tool schema, VcsCapability interface, adapter, tool description), gives the exact field name (workflowRef), shows the ref: params.workflowRef ?? 'main' change, and mentions running pnpm check:fast to catch missed call sites.",
      "assertions": []
    },
    {
      "id": 2,
      "prompt": "A candidate-a flight just ran for PR #999 but verify-buildsha failed with: operator returns HTML at /version, resy SHA mismatch. The slot is now in state=failed. I want to flight PR #1001 (poly-only changes) right now. Will it work? What should I expect?",
      "expected_output": "Confirms slot state=failed means it IS available for acquisition (only state=leased with unexpired TTL blocks). Explains poly-only PRs only promote poly images so promoted_apps='poly' and verify-buildsha only checks poly. The operator HTML issue and resy stale SHA won't affect a poly-only flight. Gives the lease check command to verify slot is free.",
      "assertions": []
    }
  ]
}
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall