โ† Back to list
ryancnelson

delegating-to-jira-agent

by ryancnelson

AI Assistant Delegation Framework - Keep your context clean by delegating API queries to specialized sub-agents ๐ŸŠ

โญ 32๐Ÿด 5๐Ÿ“… Dec 26, 2025

SKILL.md


name: Delegating to Jira Agent description: Recognize Jira queries and delegate to specialized sub-agent to avoid context pollution keywords: jira, atlassian, devops, issue, ticket, bug, task, search, comment, delegate, agent when_to_use: When user mentions "jira", "issue", "ticket", or asks to view/create/search/update Acme Jira issues. ALWAYS delegate to sub-agent. version: 1.0.0

Delegating to Jira Agent

Core Principle

Never handle Jira operations directly. Always delegate to a specialized sub-agent to keep your context clean and costs low.

Recognition Patterns

Delegate when user says:

  • "show me jira issue PROJ-1234"
  • "what jira issues do I have?"
  • "search jira for nginx"
  • "create a jira for this work"
  • "add a comment to PROJ-1234"
  • Any mention of: jira, issue, ticket, PROJ-, AcmeED-

How to Delegate

Use the Task tool with a specialized prompt:

Task(
  subagent_type: "general-purpose",
  description: "Query Acme Jira",
  prompt: "<full agent instructions from AGENT-INSTRUCTIONS.md>"
)

Agent Prompt Template

When delegating, include:

  1. The complete agent instructions (see AGENT-INSTRUCTIONS.md)
  2. The user's specific request
  3. Clear output format requirements

Example:

You are a Acme Jira specialist. Your job is to query Acme's Atlassian Jira using shell wrappers and return clean results.

<AGENT INSTRUCTIONS HERE>

USER REQUEST: Show me my jira issues for production-main

Return a clean summary with:
- Issue keys
- Summaries
- Status
- URLs

After Agent Returns

  1. Present results cleanly to user
  2. Offer follow-up if relevant (e.g., "Would you like details on PROJ-1234?")
  3. Don't expose mechanics (curl, auth, etc.) to user

Benefits

  • โœ… Main context stays clean
  • โœ… Cheaper queries (sub-agent uses less expensive model)
  • โœ… Specialized knowledge isolated
  • โœ… Scalable pattern for other services

Example Flow

User: "show me my open jira issues"

Main Assistant: [Recognizes Jira query]
              โ†’ Invokes Task tool with agent instructions
              โ†’ Agent runs issuetracker-mine wrapper
              โ†’ Agent returns formatted results

Main Assistant: "You have 20 open issues. Here are the highlights:
                - PROJ-1638: production-main (In Development)
                - PROJ-2216: Reduce catdv log noise (Scheduled)
                ..."

Red Flags

DON'T:

  • โŒ Try to run issuetracker-* scripts yourself
  • โŒ Construct curl commands in main session
  • โŒ Load detailed Jira API knowledge
  • โŒ Handle authentication directly

DO:

  • โœ… Immediately delegate on Jira keywords
  • โœ… Trust the sub-agent's results
  • โœ… Present clean summaries to user

Version History

  • 1.0.0 (2025-10-14): Initial delegation skill created to reduce context pollution

Score

Total Score

65/100

Based on repository quality metrics

โœ“SKILL.md

SKILL.mdใƒ•ใ‚กใ‚คใƒซใŒๅซใพใ‚Œใฆใ„ใ‚‹

+20
โœ“LICENSE

ใƒฉใ‚คใ‚ปใƒณใ‚นใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

+10
โœ“่ชฌๆ˜Žๆ–‡

100ๆ–‡ๅญ—ไปฅไธŠใฎ่ชฌๆ˜ŽใŒใ‚ใ‚‹

+10
โ—‹ไบบๆฐ—

GitHub Stars 100ไปฅไธŠ

0/15
โ—‹ๆœ€่ฟ‘ใฎๆดปๅ‹•

3ใƒถๆœˆไปฅๅ†…ใซๆ›ดๆ–ฐใŒใ‚ใ‚‹

0/10
โ—‹ใƒ•ใ‚ฉใƒผใ‚ฏ

10ๅ›žไปฅไธŠใƒ•ใ‚ฉใƒผใ‚ฏใ•ใ‚Œใฆใ„ใ‚‹

0/5
โœ“Issue็ฎก็†

ใ‚ชใƒผใƒ—ใƒณIssueใŒ50ๆœชๆบ€

+5
โœ“่จ€่ชž

ใƒ—ใƒญใ‚ฐใƒฉใƒŸใƒณใ‚ฐ่จ€่ชžใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

+5
โ—‹ใ‚ฟใ‚ฐ

1ใคไปฅไธŠใฎใ‚ฟใ‚ฐใŒ่จญๅฎšใ•ใ‚Œใฆใ„ใ‚‹

0/5

Reviews

๐Ÿ’ฌ

Reviews coming soon