agentleFS
pfeffpfeff/claude-skills/skills/github-projects/SKILL.md

github-projects

Skill3 starsChanged 3 months agoMITView on GitHub

Manage GitHub Projects V2 boards — list items by sprint, set status/sprint fields, add issues to boards, query field metadata. Use when working with GitHub project boards, sprint assignments, or board status transitions.

  • Installs packages

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When: Before any query operation, or after mutations to refresh state

    line 41
  2. Distinctive:

    When: Add a GitHub issue to the project board

    line 66
  3. Very specific:

    All read operations query the local SQLite cache.

    line 81

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GitHub Projects V2

Consolidated operations for GitHub Projects V2 board management. Provides query and mutation operations backed by a local SQLite cache (project-board-helper) and GraphQL mutations via gh api graphql.

Prerequisites

  • project-board-helper binary: go install github.com/pfeff/project-board-helper/cmd/project-board-helper@latest
  • gh CLI with project scope: gh auth refresh -s project
  • sqlite3 (ships with macOS)
  • jq for JSON processing

Cache DB: ~/Library/Caches/<project>/project-board.db

Operations

1. Sync Cache

When: Before any query operation, or after mutations to refresh state Implementation: Load operations/sync-cache.md Quick summary: Runs project-board-helper sync to refresh the local SQLite cache from the GitHub API

2. Field Metadata

When: Need field IDs or option IDs for mutations (Status, Sprint, etc.) Implementation: Load operations/field-metadata.md Quick summary: Queries field definitions via project-board-helper field <name>, extracts field IDs and option IDs

3. List by Sprint

When: Query board items for a specific sprint, optionally filtered by status Implementation: Load operations/list-by-sprint.md Quick summary: SQLite query against cache DB filtering by Sprint field value, with optional Status filter

4. Set Status

When: Change an item's status (e.g., to "In Progress", "Done") Implementation: Load operations/set-status.md Quick summary: GraphQL updateProjectV2ItemFieldValue mutation for the Status field. Item must already be on the board.

5. Set Sprint

When: Assign an item to a sprint Implementation: Load operations/set-sprint.md Quick summary: GraphQL updateProjectV2ItemFieldValue mutation for the Sprint field. Item must already be on the board.

6. Add to Board

When: Add a GitHub issue to the project board Implementation: Load operations/add-to-board.md Quick summary: gh project item-add with project number and owner. Idempotent — safe to call on items already on the board.

7. Lookup Item

When: Need to resolve an issue reference (owner/repo#number) to a project item ID for mutations Implementation: Load operations/lookup-item.md Quick summary: project-board-helper lookup <owner/repo> <number> against the local cache

Common Patterns

Read Path (cache-backed)

sync-cache → field-metadata / list-by-sprint / lookup-item

All read operations query the local SQLite cache. Call sync-cache first to ensure freshness.

Write Path (GraphQL mutations)

lookup-item → set-status / set-sprint

Mutations require the item ID (from lookup-item) and field/option IDs (from field-metadata).

Add + Configure

add-to-board → sync-cache → lookup-item → set-sprint + set-status

New items need to be added to the board first, then cache synced to pick up the new item ID.

Quick Reference

OperationToolCommand
Sync cacheproject-board-helperproject-board-helper sync
Field metadataproject-board-helperproject-board-helper field <name>
List by sprintsqlite3Query against cache DB
Set statusgh api graphqlupdateProjectV2ItemFieldValue mutation
Set sprintgh api graphqlupdateProjectV2ItemFieldValue mutation
Add to boardghgh project item-add <number> --owner <owner> --url <url>
Lookup itemproject-board-helperproject-board-helper lookup <owner/repo> <number>

Defaults

SettingValue
Ownerpfeff
Project number4
Project node IDPVT_kwHNa8POARiyqQ
Cache DB~/Library/Caches/<project>/project-board.db

For full default configuration, see references/project-defaults.md.

Error Handling

ErrorResolution
project-board-helper not foundgo install github.com/pfeff/project-board-helper/cmd/project-board-helper@latest
Auth failure / missing project scopegh auth refresh -s project
Item not found on boardUse add-to-board first, then sync-cache
Stale cacheRun sync-cache to refresh
Unknown field nameCheck available fields with project-board-helper field (no args)

Progressive Disclosure

  • operations/*.md — Detailed implementation steps for each operation
  • references/graphql-templates.md — Reusable GraphQL mutation and query blocks
  • references/project-defaults.md — Default project IDs, field names, and configuration

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.