# Work Item Handler

> Fetch and manage work items from issue trackers. Use this skill when: - User references an issue number (#42, PROJ-123) - User asks about requirements or acceptance criteria - User needs to understand current task scope

- Skill: `majiayu000/work-item-handler-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/work-item-handler-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/work-item-handler-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/majiayu000/work-item-handler-2

---


# Work Item Handler

Integrate with issue trackers (GitHub, JIRA, Azure DevOps) for context-aware assistance.

## When to Use This Skill

Proactively invoke when user:
- Mentions an issue number
- Asks about requirements or "what needs to be done"
- Needs to fetch/refresh issue details
- Is unclear about task scope

## Context Files (Auto-Injected)

- **git.yml**: Commit and PR format rules (SINGLE SOURCE OF TRUTH)
- **git.md**: Detailed commit/PR examples
- **work-items.yml**: Work item lifecycle
- **work-items.md**: Multi-platform patterns and examples

Read these files for complete guidance. This skill provides quick reference only.

## Quick Reference

### Fetch Issue (GitHub)
```bash
gh issue view <number> --json number,title,body,state,labels
```

### Use /onus:fetch Command
For full fetch with caching:
```
/onus:fetch 42
```

### Caching
- Location: `~/.claude/onus/work-item-cache.json`
- Expires: 1 hour
- Refresh: `/onus:fetch <number>`

## Key Rules

1. **Don't define commit/PR formats here** — that's git.yml's job
2. **Don't guess issue numbers** — verify with user or parse from branch
3. **Track acceptance criteria** — warn before PR if unaddressed

## What This Skill Does NOT Do

- Define commit message format (see git.yml/git.md)
- Define PR format (see git.yml/git.md)
- Define work item lifecycle (see work-items.yml)
- Provide detailed fetch examples (see work-items.md, commands/fetch.md)

