원클릭으로
x-convert-to-skill
Convert an existing instruction file (scenario, agent, command) into a proper Claude Code skill
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Convert an existing instruction file (scenario, agent, command) into a proper Claude Code skill
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create a new Jira ticket with user-approved summary and description
Assess the current state of a Jira ticket and produce a summary for development work
Load full context for modifying Claude Code configuration, settings, hooks, MCP servers, skills, or the wrapper script on this machine
Claim a Jira ticket and set up tracking (administrative only - NO technical work)
Audit project-local Claude Code permissions and migrate appropriate ones to user scope
Expert code review of the most recent commit
| name | x-convert-to-skill |
| description | Convert an existing instruction file (scenario, agent, command) into a proper Claude Code skill |
| argument-hint | <path-to-instruction-file> |
| model | opus |
| disable-model-invocation | true |
| allowed-tools | AskUserQuestion, Bash(*), Read, Write, Edit, Glob, Grep, mcp__google-sheets__* |
You are converting an existing instruction file into a proper Claude Code skill. This is a multi-step process that involves analysis, user consultation, rewriting, and file organization.
Input: $ARGUMENTS (path to instruction file to convert)
If no path provided, ask the user which file to convert.
atlassian-remote → convert to jira CLI)Ask the user these questions (use AskUserQuestion tool):
Skill name: Suggest a name based on the source file. Recommend /x- prefix for custom skills to avoid namespace collisions with built-in commands.
Scope: User-scope (~/.claude/skills/) or project-scope (.claude/skills/)?
Invocation mode: Should it be explicitly invoked only, or can Claude auto-trigger it?
disable-model-invocation: true): For commands like /commit, /deployModel preference: Default is Opus. Ask if they want different.
Forked context: Should it run in an isolated subagent (context: fork)?
Private config handling: If private data detected, confirm approach:
Based on analysis, design the skill structure:
~/.claude/skills/<skill-name>/
├── SKILL.md # Main instructions (required)
├── scripts/ # Helper scripts (if needed)
│ ├── <tool>-wrapper
│ └── config-getter
└── reference.md # Detailed docs (if instructions too long)
Frontmatter template:
---
name: <skill-name>
description: <one-line description>
argument-hint: <hint for arguments, if any>
model: opus
# context: fork # only if user opted for isolated subagent
disable-model-invocation: true # or false
allowed-tools: <tool patterns>
---
IMPORTANT: Modern models (Sonnet 4, Opus 4.5) are highly capable. Rewrite instructions to be concise and trust the model's knowledge. Don't teach basic skills.
Assume competence: The model knows how to use git, read files, write code, etc. Don't include step-by-step tutorials for common operations. Focus on what's specific to this skill.
State conventions, not procedures: Instead of "Run git status, then run git diff, then stage files with git add", just specify the commit message format and constraints. The model knows git workflow.
Constraints over instructions: Emphasize what NOT to do (safety rails) more than what to do. The model will figure out the "how" - it needs guardrails on the "what".
Be terse: If the original has 80 lines of instructions, aim for 20-30. Cut everything the model already knows. Keep only: conventions, constraints, edge cases, project-specific requirements.
Remove redundant warnings: Don't repeat "DO NOT do X" multiple times. State it once clearly.
Overshoot numeric formatting targets: Claude consistently undershoots character-count targets (like line-wrapping width) by ~20-25 characters. When writing a skill that specifies a wrapping width or similar numeric target, use a definitive number (not ~N) and aim ~20 chars higher than the desired result. Adding a concrete visual ruler as a reference line also helps anchor the model.
Replace MCP with CLI: If using atlassian-remote MCP, convert to jira CLI:
mcp__atlassian-remote__getJiraIssue → jira issue view --raw | jqmcp__atlassian-remote__editJiraIssue → jira issue edit --custom (note: user-type fields need jira-set-user-field via REST API instead)mcp__atlassian-remote__transitionJiraIssue → jira issue movecurl -n -L with .netrc authFor each identified script:
Use consistent patterns:
#!/usr/bin/env bash
ME=$(basename "$0")
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
For config retrieval, reference external private config:
CONFIG_FILE="$HOME/path/to/private/config.md"
Include usage help and error handling
Make scripts executable
scripts/ subdirectorySecurity review: Grep all created files for potential PII patterns:
@.*\.(com|org|net|edu)[0-9a-f]{8}-[0-9a-f]{4}-Test scripts: Run each script with --help or basic invocation
Verify structure: ls -la the skill directory
git add the skill directory| Field | Required | Description |
|---|---|---|
name | No | Display name (defaults to directory name) |
description | Recommended | What skill does; Claude uses this for auto-trigger |
argument-hint | No | Hint for autocomplete (e.g., [ticket-number]) |
model | No | Override model (e.g., opus, sonnet) |
context | No | Set to fork for isolated subagent |
disable-model-invocation | No | true prevents auto-trigger |
allowed-tools | No | Pre-authorize tools (e.g., Bash(jira:*)) |
user-invocable | No | false hides from / menu |
| MCP Operation | Jira CLI |
|---|---|
| Get issue | jira issue view TICKET --raw |
| Get field | jira issue view TICKET --raw | jq '.fields.FIELD' |
| Assign | jira issue assign TICKET EMAIL |
| Edit custom field | jira issue edit TICKET --custom "field=value" --no-input (not user-type fields) |
| Set user field | jira-set-user-field TICKET FIELD-ID ACCOUNT-ID (REST API workaround) |
| Transition | jira issue move TICKET "Status Name" |
| List transitions | jira issue move TICKET --help (no direct equivalent, check API) |
| Download attachment | curl -n -L -o FILE "ATTACHMENT_URL" |
| Current user | jira me |
claude-code-guide agent[Created and submitted by AI: Claude]