Skip to content

feat(jira): add create-initiative skill#434

Open
katherinekeane wants to merge 2 commits into
openshift-eng:mainfrom
katherinekeane:add-create-initiative-skill
Open

feat(jira): add create-initiative skill#434
katherinekeane wants to merge 2 commits into
openshift-eng:mainfrom
katherinekeane:add-create-initiative-skill

Conversation

@katherinekeane
Copy link
Copy Markdown
Contributor

@katherinekeane katherinekeane commented Apr 27, 2026

Summary

Add AI helper skill for creating Jira initiatives, following Platform Engineering initiative template from platform-engineering-enhancements#29.

What this PR does

Creates /jira:create initiative skill for strategic architectural and improvement-focused work spanning ~6 months.

Pattern

Follows same pattern as existing create-feature skill with adaptations for initiative-specific content:

Feature focus: Customer value, market problems, product capabilities
Initiative focus: Technical excellence, architectural improvements, operational excellence

Skill provides

  • Interactive workflow guiding users through strategic thinking
  • SMART success criteria guidance (Specific, Measurable, Achievable, Relevant, Time-bound)
  • Scope definition (included + explicitly NOT included)
  • Validation and error handling
  • Complete working example (CI/CD modernization)

Template structure

## Goal
## Benefit Hypothesis
## Success Criteria
## Scope (Included / NOT Included)
## Responsibilities
## Dependencies
## Additional Context
## Resources
## Results

Related work

  • Platform Engineering initiative template: openshift-online/platform-engineering-enhancements#29
  • Feature skill (pattern reference): plugins/jira/skills/create-feature/

Testing

  • Skill file follows established pattern
  • Template matches platform-engineering-enhancements#29
  • Interactive workflow guides strategic thinking
  • Validation catches common errors
  • Example is complete and realistic

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Added a comprehensive guide for creating Jira initiatives with strategic planning templates, formatting best practices, and workflow instructions for defining goals, benefit hypotheses, SMART success criteria, scope (inclusions/exclusions), responsibilities, dependencies, and milestones.
    • Includes validation rules for required fields and initiative quality, security guidance for sensitive-data handling, common error-handling steps, a payload template with a full example, anti-patterns, and a workflow summary.

Add AI helper skill for creating Jira initiatives following Platform
Engineering initiative template pattern. Supports strategic architectural
and improvement-focused work spanning ~6 months.

Related to:
- openshift-online/platform-engineering-enhancements#29

Skill provides:
- Interactive workflow for initiative creation
- SMART success criteria guidance
- Scope definition (included/NOT included)
- Validation and error handling
- Complete working example

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 27, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: katherinekeane
Once this PR has been reviewed and has the lgtm label, please assign enxebre for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 27, 2026

Walkthrough

Adds a new comprehensive skill guide describing how to create Jira "initiatives": definitions, distinctions from features/epics, a Markdown issue-template, an interactive data-collection workflow, validation and security rules, MCP Jira payload/template, examples, error-handling, best practices, anti-patterns, and cross-references.

Changes

Cohort / File(s) Summary
New Jira Initiative Skill Documentation
plugins/jira/skills/create-initiative/SKILL.md
Adds a 777-line skill guide that defines "initiative", contrasts it with feature/epic, supplies a Markdown issue template and formatting guide, specifies an interactive workflow (goal, benefit hypothesis, SMART success criteria, scope, exclusions, responsibilities, timeline), lists validation rules and security/redaction guidance, documents the mcp__atlassian__jira_create_issue payload template and parameters, includes examples, error-handling steps, best practices, anti-patterns, and workflow summary.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes


Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
No Assumed Git Remote Names ❓ Inconclusive Unable to locate the file plugins/jira/skills/create-initiative/SKILL.md in the repository to verify assumptions about git remote names. Ensure the file is accessible in the repository and provide its location or contents for inspection.
✅ Passed checks (9 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat(jira): add create-initiative skill' accurately and concisely summarizes the main change—addition of a new Jira initiative creation skill guide.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
No Real People Names In Style References ✅ Passed Documentation contains no references to real people's names as style references, instructions, or examples. All names are generic team identifiers or company/product names.
Git Push Safety Rules ✅ Passed The SKILL.md file contains no git push commands, force push operations, or autonomous push workflows. It is purely documentation.
No Untrusted Mcp Servers ✅ Passed The create-initiative skill file is purely documentation for Jira initiatives using existing MCP tools with no untrusted dependencies.
Ai-Helpers Overlap Detection ✅ Passed The new create-initiative skill introduces a distinct Jira issue type with 43% semantic similarity to the most comparable existing skill, well below the 60% threshold, with clearly differentiated strategic focus and purposes.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@plugins/jira/skills/create-initiative/SKILL.md`:
- Line 63: Several fenced code blocks in SKILL.md are unlabeled and trigger
markdownlint MD040; update each unlabeled opening fence (the triple-backtick
blocks used around examples like the Goal/Problem/Acceptance sections) to
include a language identifier such as text (i.e., change ``` to ```text). Locate
the unlabeled fences referenced in the review (examples at the blocks that
currently open with ``` near the Goal, Fix CI/CD, and the other flagged ranges)
and replace their opening fences with ```text consistently across the file so
all MD040 warnings are resolved.
- Line 12: The SKILL.md line claiming auto-invocation by `/jira:create
initiative` is inaccurate; either remove or rewrite that line and then choose
one of two fixes: (A) Add "initiative" as a supported type to the `/jira:create`
command dispatcher and its documentation (update the create command’s supported
types list and plugin registration so `/jira:create initiative` is valid), or
(B) reframe this SKILL.md entry as a standalone guide (remove the
auto-invocation wording and state it is a manual/standalone initiative creation
reference). Update the SKILL.md text accordingly and ensure the `/jira:create`
command dispatcher and docs (if choosing A) include "initiative" so references
stay consistent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 539f29c1-5a17-411e-bbce-0f844476c81a

📥 Commits

Reviewing files that changed from the base of the PR and between 08a3877 and c8ab6a0.

📒 Files selected for processing (1)
  • plugins/jira/skills/create-initiative/SKILL.md

Comment thread plugins/jira/skills/create-initiative/SKILL.md Outdated
Comment thread plugins/jira/skills/create-initiative/SKILL.md Outdated
- Remove auto-invocation claim (command doesn't exist yet)
- Add markdown language identifiers to code blocks (fixes MD040)

Addresses review feedback from openshift-eng#434
@katherinekeane
Copy link
Copy Markdown
Contributor Author

Thanks @coderabbitai for the review! I've addressed both issues in commit 77d270d:

Fixed auto-invocation claim - Removed the inaccurate statement about /jira:create initiative command. The skill is now described as a standalone guide that can be integrated into custom workflows.

Fixed unlabeled code blocks - Added markdown language identifiers to all example code blocks to resolve MD040 linting warnings.

The skill is now ready for human review.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 27, 2026

Tip

For best results, initiate chat on the files or code changes.

@katherinekeane: Thanks for the quick follow-up! Both fixes look good:

  • ✅ Removing the auto-invocation claim makes the skill's role clearer as a standalone guide.
  • ✅ Adding markdown language identifiers to the code blocks resolves the MD040 linting warnings cleanly.

The skill is well-structured and ready for human review. 🚀

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (1)
plugins/jira/skills/create-initiative/SKILL.md (1)

733-753: ⚠️ Potential issue | 🟡 Minor

Fix remaining unlabeled fenced code blocks (MD040).

Lines 733, 739, 745, and 751 still open fenced blocks without a language identifier, which keeps markdownlint warnings active.

Suggested patch
-```
+```text
 "Add security scanning to pipeline" (single capability, 1-2 months)

@@
- +text
"Fix CI/CD problems"

@@
-```
+```text
"Pipeline works better"

@@
- +text
"Modernize everything"

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@plugins/jira/skills/create-initiative/SKILL.md` around lines 733 - 753, The
markdown has unlabeled fenced code blocks causing MD040 warnings at the example
lines containing the phrases "Add security scanning to pipeline", "Fix CI/CD
problems", "Pipeline works better", and "Modernize everything"; update each
triple-backtick fence to specify a language (e.g., use ```text) so the blocks
are properly labeled, ensuring the opening and closing fences match for the
blocks that include those exact strings in SKILL.md (lines showing those quoted
phrases).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In `@plugins/jira/skills/create-initiative/SKILL.md`:
- Around line 733-753: The markdown has unlabeled fenced code blocks causing
MD040 warnings at the example lines containing the phrases "Add security
scanning to pipeline", "Fix CI/CD problems", "Pipeline works better", and
"Modernize everything"; update each triple-backtick fence to specify a language
(e.g., use ```text) so the blocks are properly labeled, ensuring the opening and
closing fences match for the blocks that include those exact strings in SKILL.md
(lines showing those quoted phrases).

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: e2c4eeba-6387-4367-800d-ce20e2d1f8f1

📥 Commits

Reviewing files that changed from the base of the PR and between c8ab6a0 and 77d270d.

📒 Files selected for processing (1)
  • plugins/jira/skills/create-initiative/SKILL.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant