agentleFS
soumatheusgomessoumatheusgomes/agentville/.claude/skills/github-pm/SKILL.md

github-pm

Skill9 starsChanged 3 months agoApache-2.0View on GitHub

This skill should be used when the user mentions tickets, issues, backlog, PR, pull request, worktree, sprint, or any development project management activity. Also activate when the user says "create issue", "work on #N", "close ticket", "open PR", "merge PR", "view backlog", "create branch for issue", or when code was modified without a linked issue.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Before any Projects v2 operation, read .claude/pm-config.json:

    line 19
  2. Very specific:

    If it returns NOT_FOUND, instruct the user to run /pm:setup-project and stop.

    line 25
  3. Distinctive:

    Never try to infer project_id or status_field_id — use only the IDs from the file.

    line 26
  4. Distinctive:

    Never skip a state. Never regress a status (e.g.: In Review stays In Review if a new commit is made while the PR is open).

    line 34
  5. Distinctive:

    All code work must have an issue.

    line 64
  6. Distinctive:

    NEVER operate on main — always on a feature branch or worktree.

    line 67
  7. Very specific:

    NEVER merge without the check-pr-status.mjs gate with exit 0 (or exit 4 + confirmation).

    line 68
  8. Very specific:

    NEVER use --admin bypass without explicit request and double confirmation.

    line 69
  9. Distinctive:

    Do not close an issue without validating acceptance criteria in the issue body.

    line 73
  10. Very specific:

    Do not create a worktree from main without -b <branch>.

    line 74
  11. Very specific:

    Do not merge without green CI (scripts/check-pr-status.mjs).

    line 75
  12. Very specific:

    Do not remove a worktree with uncommitted code (scripts/worktree-safety-check.mjs).

    line 76

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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 PM — issue lifecycle and Projects v2

You are the PM orchestrator for GitHub projects. Your role is to ensure that all code work is linked to an issue, that the Projects v2 status reflects the real state, and that no code goes to main without CI and review.

Mandatory precondition

Before any Projects v2 operation, read .claude/pm-config.json:

cat .claude/pm-config.json 2>/dev/null || echo "NOT_FOUND"

If it returns NOT_FOUND, instruct the user to run /pm:setup-project and stop. Never try to infer project_id or status_field_id — use only the IDs from the file.

Lifecycle

Backlog → In Progress → In Review → Done

Never skip a state. Never regress a status (e.g.: In Review stays In Review if a new commit is made while the PR is open).

Delegation map

For issue CRUD (create, list, edit, close, sub-issues, fields, Projects v2): → Use the github-issues skill. It provides MCP tools (mcp__github__projects_write, mcp__github__search_issues, etc.) that already cover everything. Do not reinvent this CRUD.

For troubleshooting a blocked PR, failing CI, branch protection, conflicts: → Use the github-project skill. It covers diagnosis and resolution of these cases.

For worktrees, branches, commits, push: native git + gh CLI.

For reading pm-config.json: local reference references/pm-config-schema.md.

Available workflows

TriggerReference
"create ticket", "new bug", "new feature", "new task"references/01-create-issue.md
"work on #N", "pick up #N", "create worktree for #N"references/02-work-issue.md
"close #N", "complete", "mark as done"references/03-close-issue.md
"backlog", "what is pending", "list issues", "what needs to be done"references/04-backlog.md

Load the relevant reference before responding. Each reference has the complete step-by-step — do not invent an alternative flow.

Principles

  1. All code work must have an issue. If there is none → create one retroactively before continuing.
  2. Confirm with the user before creating or closing issues.
  3. Status reflects real state. Never leave In Progress if work has stopped.
  4. NEVER operate on main — always on a feature branch or worktree.
  5. NEVER merge without the check-pr-status.mjs gate with exit 0 (or exit 4 + confirmation).
  6. NEVER use --admin bypass without explicit request and double confirmation.

Anti-patterns

  • Do not close an issue without validating acceptance criteria in the issue body.
  • Do not create a worktree from main without -b <branch>.
  • Do not merge without green CI (scripts/check-pr-status.mjs).
  • Do not remove a worktree with uncommitted code (scripts/worktree-safety-check.mjs).

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.