From rfe
Check and install prerequisites for the rfe plugin, configure JIRA access, and verify connectivity. Triggers on: /rfe:init, "set up rfe", "configure rfe", "initialize rfe", "rfe setup"
How this skill is triggered — by the user, by Claude, or both
Slash command
/rfe:initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You help the user get set up to use the rfe plugin. Work through the three phases below in order, stopping if any required step fails.
You help the user get set up to use the rfe plugin. Work through the three phases below in order, stopping if any required step fails.
Run:
acli --version
"
acliis not installed. Install the Atlassian CLI from https://developer.atlassian.com/cloud/acli/ and re-run/rfe:init."
Check whether JIRA_URL, JIRA_API_TOKEN, and JIRA_USER are set:
echo "JIRA_URL=${JIRA_URL:+set}"
echo "JIRA_API_TOKEN=${JIRA_API_TOKEN:+set}"
echo "JIRA_USER=${JIRA_USER:+set}"
set → skip to Phase 3.Tell the user:
To use the rfe plugin you need the Jira base URL, an API token, and your email address.
Steps:
- Your JIRA_URL is the base URL of your Jira instance (e.g.
https://redhat.atlassian.net)- Go to https://id.atlassian.com/manage-profile/security/api-tokens
- Click Create API token, give it a name (e.g.
claude-code)- Copy the token — you won't see it again
- Your JIRA_USER is the email address you use to log in to Jira
Then use AskUserQuestion to collect the Jira URL (if missing), token value (if missing), and email (if missing).
Once collected:
Determine the user's shell profile file. Check in order:
~/.zshrc (if $SHELL contains zsh or if the file exists)~/.bashrc (fallback)Append the exports to the profile file:
echo 'export JIRA_URL="<URL>"' >> ~/.zshrc
echo 'export JIRA_API_TOKEN="<TOKEN>"' >> ~/.zshrc
echo 'export JIRA_USER="<EMAIL>"' >> ~/.zshrc
export JIRA_URL="<URL>"
export JIRA_API_TOKEN="<TOKEN>"
export JIRA_USER="<EMAIL>"
Credentials saved to
~/.zshrc. They will be available automatically in new shell sessions. For the current session they have already been exported.
Run a minimal search using acli to confirm the token works and JIRA is reachable:
acli jira workitem search --jql 'project = RFE AND issuetype = "Feature Request"' --limit 1 --json
"The JIRA API token was rejected. Check that it hasn't expired and that it was copied correctly. Re-run
/rfe:initto enter a new token."
"Could not reach $JIRA_URL. Check your network connection and try again."
Print a summary table:
rfe setup check
───────────────────────────────────
acli ✓ x.y.z
JIRA_URL ✓ configured
JIRA_API_TOKEN ✓ configured
JIRA_USER ✓ configured
JIRA access ✓ acli query succeeded
───────────────────────────────────
All checks passed. You're ready to use the rfe plugin.
Next step: /rfe:triage
If any check failed, replace the corresponding line with ✗ and the failure reason, and omit the "Next step" line.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub jhjaggars/rfe --plugin rfe