jira-doc-generator
БесплатноБез исполняемых скриптовНе проверенDetailed implementation guide for recursively analyzing Jira features and generating comprehensive documentation
Об этом скилле
Jira Feature Documentation Generator
This skill provides detailed step-by-step implementation guidance for the /jira:generate-feature-doc command, which generates comprehensive feature documentation by recursively analyzing a Jira feature and all its related issues and GitHub pull requests.
IMPORTANT FOR AI: This is a procedural skill - when invoked, you should directly execute the implementation steps defined in this document. Do NOT look for or execute external scripts. Follow the step-by-step instructions below, starting with Step 1.
When to Use This Skill
This skill is automatically invoked by the /jira:generate-feature-doc command and should not be called directly by users.
Prerequisites
- MCP Jira server configured and running (required - see
plugins/jira/README.mdfor setup) - GitHub CLI (
gh) installed and authenticated (for analyzing PRs) - User has read access to Jira issues (including private issues via MCP authentication)
- User has read access to linked GitHub repositories
- Working directory has
.work/jira/feature-doc/for output (will be created if needed)
Implementation Steps
Step 1: Initialize and Fetch Main Feature Issue
Objective: Set up environment and fetch main feature issue.
Actions:
Save initial directory:
INITIAL_DIR=$(pwd)(save at start, before any cd commands)Check prerequisites: Verify
jqandghCLI are installed and authenticated- If missing, display error with installation instructions
Create output directory:
WORK_DIR=$INITIAL_DIR/.work/jira/feature-doc/<feature-key>(usemkdir -p)Fetch main feature via
getJiraIssuewith the feature key. If MCP is unavailable, display error pointing toplugins/jira/README.md.Parse response: Extract
key,summary,description,issuetype,status- If fetch fails, display error and exit
Display progress: Show feature summary and type
Step 2: Analyze Each GitHub PR
Important: This step expects PR data as input from the jira:extract-prs skill (invoked by the command file). The input is structured JSON containing all discovered PRs with their metadata.
Input Format:
{
"pull_requests": [
{
"url": "https://github.com/org/repo/pull/123",
"state": "MERGED",
"title": "PR title",
"isDraft": false,
"sources": ["remote_link", "description"],
"found_in_issues": ["ISSUE-123"]
}
]
}
Objective: Fetch and analyze PR details to extract implementation information.
Important: This command is for documenting completed features. Only analyze PRs that have been MERGED. Skip OPEN, DRAFT, WIP, or CLOSED (but not merged) PRs.
Actions:
Filter for MERGED PRs: Only analyze PRs with
state == "MERGED"ANDisDraft == false- Skip OPEN PRs (work in progress)
- Skip PRs with
isDraft == true(not ready for review) - Skip CLOSED PRs (not merged)
For each MERGED PR, fetch detailed data:
- Parse PR URL to extract org/repo/number
- Fetch metadata:
gh pr view {number} --repo {org}/{repo} --json title,body,mergedAt,author,commits,files - Fetch diff:
gh pr diff {number} --repo {org}/{repo} - Fetch comments:
gh pr view {number} --repo {org}/{repo} --json comments
Extract key information:
- From body: Purpose, approach, breaking changes
- From commits: Implementation steps, testing
- From diff: New APIs, architectural changes, config updates
- From comments: Design decisions, rationale, considerations
Handle errors: If PR inaccessible (403, 404), log warning and continue
Save data: Store metadata, diff, and comments to
${WORK_DIR}/pr-{org}-{repo}-{number}.*
Step 3: Synthesize Documentation Structure
Objective: Organize information into structured outline.
Available sections (calling command specifies which to generate):
- Overview: Jira link, status, counts, dates, authors (from main issue + PR metadata)
- Background and Goals: Description from main issue (clean Jira formatting)
- Architecture and Design: High-level changes, components, design decisions (from PRs)
- Implementation Details: Core changes, API changes, configuration (from PR diffs, code snippets)
- Usage Guide: Prerequisites, basic/advanced usage (from README updates, PR descriptions)
- Testing: Test coverage, strategies, key test PRs
- Related Resources: Can include external links, issue tables, PR tables, dependency graphs
Step 4: Generate Documentation Content
Objective: Fill in the outline with actual content based on command requirements.
Section generation guidelines:
- Overview: Extract from main issue + PR metadata (Jira link, status, counts, dates, authors)
- Background: Clean Jira formatting from main issue description
- Architecture: Synthesize from PR descriptions and comments (high-level overview, c
Установить jira-doc-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл jira-doc-generator?
Detailed implementation guide for recursively analyzing Jira features and generating comprehensive documentation
Как установить скилл jira-doc-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл jira-doc-generator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic