agentleFS
pfeffpfeff/claude-skills/skills/pull-task/SKILL.md

pull-task

Skill3 starsChanged 3 months agoMITView on GitHub

Pull the next task from a GitHub project board or Jira. Queries project items, filters by status and sprint, presents ranked candidates, and outputs the selected issue for workspace creation. Use when the user needs to pick their next task from the project board.

The file

Files
SKILL.md

Pull Task Skill

Queries a GitHub project board or Jira and presents candidates for the user to select as their next task.

Operation

When: User needs to pick the next task from the project board.

Implementation: Load operations/github-backend.md (GitHub) or operations/jira-backend.md (Jira) for detailed steps.

Quick summary: Detects backend (GitHub or Jira) from workspace context, fetches items filtered by status/sprint, ranks candidates, presents for selection, outputs issue reference for /create-workspace.

Backend Detection

The skill detects which backend to use by checking workspace CLAUDE.md:

  • GitHub Issue: field present → GitHub backend
  • Jira Ticket: field present → Jira backend
  • Neither or both → Ask user via AskUserQuestion

Common Patterns

GitHub Backend

Cache sync: project-board-helper sync refreshes the local SQLite cache at ~/Library/Caches/<project>/project-board.db.

Item filtering: sqlite3 queries against the cache DB, filtering by Status and Sprint field values.

Field metadata: project-board-helper field <name> returns field IDs and option IDs.

Item lookup: project-board-helper lookup <owner/repo> <number> resolves issue to project item ID.

Issue reference: Constructed from repo + # + issue_number (e.g., <owner>/<repo>#77).

Jira Backend

Authentication check: acli jira auth status

Issue search: acli jira workitem search --jql "<query>" --json

Default JQL (Scrum): sprint in openSprints() AND status = "To Do" AND project = <KEY>

Default JQL (Kanban): status in ("To Do", "Backlog") AND project = <KEY>

Issue reference: Project key + issue number (e.g., DO-123).

Permissions

GitHub

PermissionCommandsPurpose
sync project board cacheproject-board-helper syncRefresh local board cache
query project board cachesqlite3 ~/Library/Caches/<project>/project-board.dbFilter items by status/sprint
look up board item IDproject-board-helper lookupResolve issue to item ID
query board field metadataproject-board-helper fieldDiscover field IDs and options
view GitHub issue detailsgh issue viewFetch full issue details for selected item
update GitHub project item statusgh project item-editMove selected item to "In Progress"

Jira

PermissionCommandsPurpose
check Jira authentication statusacli jira auth statusVerify acli is authenticated
search Jira issues with JQLacli jira workitem searchQuery issues by JQL
view Jira issue detailsacli jira workitem viewFetch full issue details
transition Jira issue statusacli jira workitem transitionMove issue to "In Progress"
search Jira boardsacli jira board searchFind board for a project
list Jira board sprintsacli jira board list-sprintsDiscover active sprints

Commands

CommandOperation
/claude-skills:pull-taskpull-task

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.

Reviews can't be read right now.

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.