AgentSkillsCN

jira-create

在根据代码文件或描述创建 JIRA 英雄、故事与任务时,可优先选用此技能。它会分析所提供的输入,确定恰当的议题层级,并按照测试先行开发与文档编写的全面质量要求创建议题。

SKILL.md
--- frontmatter
name: jira-create
description: This skill should be used when creating JIRA epics, stories, and tasks from code files or descriptions. It analyzes the provided input, determines the appropriate issue hierarchy, and creates issues with comprehensive quality requirements including test-first development and documentation.
allowed-tools: ["Read", "Glob", "LS", "mcp__atlassian__createJiraIssue", "mcp__atlassian__getVisibleJiraProjects", "mcp__atlassian__getJiraProjectIssueTypesMetadata", "mcp__atlassian__getAccessibleAtlassianResources"]
argument-hint: "<file-or-directory-path> [project-key]"

Create JIRA Issues from $ARGUMENTS

Analyze the provided file(s) and create a comprehensive JIRA hierarchy with all mandatory quality gates.

Process

  1. Analyze: Read $ARGUMENTS to understand scope
  2. Determine Structure:
    • Epic needed if: multiple features, major changes, >3 related files
    • Direct tasks if: bug fix, single file, minor change
  3. Create Issues with hierarchy:
    code
    Epic → User Story → Tasks (test, implement, document, cleanup)
    

Mandatory for Every Code Issue

Test-First: Write tests before implementation Quality Gates: All tests/checks must pass, no SonarCloud violations Documentation: Check existing, update/create new, remove obsolete Feature Flags: All features behind flags with lifecycle plan Cleanup: Remove temporary code, scripts, dev configs

Issue Requirements

Each issue must clearly communicate to:

  • Coding Assistants: Implementation requirements
  • Developers: Technical approach
  • Stakeholders: Business value

Default project: SE (override via arguments) Exclude unless requested: migration plans, performance tests

Execute the analysis and create the complete JIRA structure with proper parent-child relationships.