[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71W2Z6X15KZ29BHXYQ0KGAM":3,"skill-same:01M71W2Z6X15KZ29BHXYQ0KGAM":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":14,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M71W2Z6X15KZ29BHXYQ0KGAM","cli-workflow-creator",null,"Creates reusable Claude Code slash commands from CLI workflows through iterative conversation. Use when: (1) User wants to automate a multi-step CLI process, (2) User says 'create a workflow' or 'automate this CLI task', (3) User describes a sequence of terminal commands they run repeatedly, (4) User wants to save a CLI pipeline as a reusable command. Outputs a .md slash command file that Claude Code can execute directly.","itlackey\u002Fakm-eval","itlackey","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6414031?v=4","01M6D08NHES2CPRGY5HCPJECD6","IT Lackey","01M71W0ZJQ3686SNJSCQZM3X4E",0,"MPL-2.0","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fcorpus\u002Flibrary\u002Fskills\u002Fcoding\u002Fcli-workflow-creator\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"workflow","cli workflow creator","workflow creator","creator","cli","create","run","code","automate this","pipeline","team","command","conversation","error","states","Variables","you","tasks","when","workflows","2026-11-10 13:02:02",false,"---\nname: cli-workflow-creator\ndescription: \"Creates reusable Claude Code slash commands from CLI workflows\n  through iterative conversation. Use when: (1) User wants to automate a\n  multi-step CLI process, (2) User says 'create a workflow' or 'automate this\n  CLI task', (3) User describes a sequence of terminal commands they run\n  repeatedly, (4) User wants to save a CLI pipeline as a reusable command.\n  Outputs a .md slash command file that Claude Code can execute directly.\"\nupdated: 2026-03-15\nwhen_to_use: Use this skill when you need to automate repetitive CLI tasks,\n  standardize complex multi-step shell workflows, or create reusable commands\n  for your team. Ideal for converting ad-hoc command sequences into documented,\n  executable slash commands that handle variables, error states, and step\n  dependencies automatically.\n---\n\n# CLI Workflow Creator\n\nCreate reusable Claude Code slash commands by iteratively gathering CLI workflow requirements through conversation.\n\n## Output Format\n\nThe skill produces a markdown file that serves as a Claude Code custom slash command. Save to `.opencode\u002Fcommand\u002F` for project-specific or `~\u002F.config\u002Fopencode\u002Fcommand\u002F` for global access.\n\n### Slash Command Structure\n\n```markdown\n---\ndescription: What this workflow does (shown in command list)\n---\n\n# Workflow Name\n\n## Purpose\n[What this workflow accomplishes and when to use it]\n\n## Required Information\nBefore executing, confirm or ask for:\n- **variable_name**: [description] (default: [value] if any)\n- **another_var**: [description] (required, no default)\n\n## Steps\n\n### Step 1: [Name]\n[What this step does and why]\n\nCommand:\n\\`\\`\\`bash\ncommand --flag $ARGUMENTS\n\\`\\`\\`\n\n[Instructions for handling output, what to look for, what indicates success\u002Ffailure]\n\n### Step 2: [Name]\n[Description, noting any dependencies on previous steps]\n\nCommand:\n\\`\\`\\`bash\nnext-command [using output from step 1 if needed]\n\\`\\`\\`\n\n[Continue for each step...]\n\n## Error Handling\n- **Step 1 fails**: [what to do - stop, retry, skip to step N]\n- **Step 2 fails**: [what to do]\n\n## Output\nWhen complete, report:\n- [What information to summarize]\n- [What files were created\u002Fmodified]\n- [Any values the user needs to know]\n```\n\n## Creating a Workflow\n\nGather information through conversation. Ask only what's needed, 1-2 questions at a time.\n\n### Phase 1: Purpose\nStart with the goal:\n- \"What task does this workflow automate?\"\n- \"What triggers you to run it?\"\n\n### Phase 2: Command Discovery\nMap each step sequentially:\n- \"What's the first command you run?\"\n- \"What happens next if that succeeds?\"\n\nFor each command, determine:\n- The exact CLI command and flags\n- What changes between runs → becomes a variable to ask about\n- What stays constant → hardcode in the command\n\n### Phase 3: Data Flow\nIdentify step dependencies:\n- \"Does any command produce output the next step needs?\"\n- \"How would you extract that value?\" (grep pattern, jq query, etc.)\n\n### Phase 4: Error Handling\nFor each step:\n- \"If this fails, should the workflow stop or continue?\"\n- \"Any cleanup or rollback needed?\"\n\n### Phase 5: Outputs\n- \"What should be reported when complete?\"\n- \"Any files or values the user needs?\"\n\n## Clarification Patterns\n\n**During Creation:**\n| Situation | Ask |\n|-----------|-----|\n| Unclear if value changes | \"Does [value] change between runs, or always the same?\" |\n| Complex output parsing | \"Can you show example output? What part do you need?\" |\n| Implicit ordering | \"Does step B need anything from step A?\" |\n| Missing error handling | \"If [step] fails, stop everything or try to continue?\" |\n\n## Example Conversation\n\n```\nUser: I want to automate deploying containers to staging.\n\nClaude: I'll help create a workflow for that. What's the first step - \ndo you build locally or pull from a registry?\n\nUser: Build locally, tag it, push to ECR, then update the ECS service.\n\nClaude: Got it - four steps. For the build:\n- Where's your Dockerfile?\n- Does the image tag change per deploy, or always use 'latest'?\n\nUser: Dockerfile is in .\u002Fdocker\u002F, tag should be the git commit SHA.\n\nClaude: And for ECR - what's your registry URL? Does it vary or is it \nalways the same account\u002Fregion?\n\n[...continues until all details gathered...]\n```\n\n## Generated Command Example\n\nAfter gathering requirements, produce:\n\n```markdown\n---\ndescription: Build and deploy container to staging ECS\n---\n\n# Deploy to Staging\n\n## Purpose\nBuilds Docker image from local source, pushes to ECR, and updates the staging ECS service. Run after merging to main when ready to deploy.\n\n## Required Information\nBefore executing, confirm:\n- **commit_sha**: Git commit to deploy (default: current HEAD)\n- **skip_build**: Set to true to deploy existing image (default: false)\n\n## Steps\n\n### Step 1: Get commit SHA\nCapture the current git commit if not provided.\n\nCommand:\n\\`\\`\\`bash\ngit rev-parse --short HEAD\n\\`\\`\\`\n\nUse output as the image tag for subsequent steps.\n\n### Step 2: Build Docker image\nBuild from .\u002Fdocker\u002F directory with commit SHA tag.\n\nCommand:\n\\`\\`\\`bash\ndocker build -t myapp:$COMMIT_SHA -f .\u002Fdocker\u002FDockerfile .\n\\`\\`\\`\n\nSuccess: \"Successfully built\" and \"Successfully tagged\" in output.\nFailure: Stop workflow, report build errors.\n\n### Step 3: Tag for ECR\nTag the local image for the ECR registry.\n\nCommand:\n\\`\\`\\`bash\ndocker tag myapp:$COMMIT_SHA 123456789.dkr.ecr.us-east-1.amazonaws.com\u002Fmyapp:$COMMIT_SHA\n\\`\\`\\`\n\n### Step 4: Push to ECR\nPush the tagged image. Requires valid AWS credentials.\n\nCommand:\n\\`\\`\\`bash\naws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 123456789.dkr.ecr.us-east-1.amazonaws.com\ndocker push 123456789.dkr.ecr.us-east-1.amazonaws.com\u002Fmyapp:$COMMIT_SHA\n\\`\\`\\`\n\nSuccess: Shows layer push progress and digest.\nFailure: Check AWS credentials and ECR permissions.\n\n### Step 5: Update ECS service\nForce new deployment with the updated image.\n\nCommand:\n\\`\\`\\`bash\naws ecs update-service --cluster staging --service myapp --force-new-deployment\n\\`\\`\\`\n\nSuccess: Returns service description JSON with \"desiredCount\" matching \"runningCount\" eventually.\n\n## Error Handling\n- **Build fails**: Stop. Report error output. Check Dockerfile syntax and build context.\n- **ECR push fails**: Stop. Verify AWS credentials: `aws sts get-caller-identity`\n- **ECS update fails**: Report error but deployment may still be rolling out. Check console.\n\n## Output\nReport:\n- Deployed commit SHA\n- ECR image URI\n- ECS service update status\n- Time taken for full deployment\n```\n\n## Slash Command Best Practices\n\n**File naming**: Use kebab-case matching the command name (`deploy-staging.md` → `\u002Fdeploy-staging`)\n\n**Description**: Keep frontmatter description under 80 chars - it's shown in command listings\n\n**Variables**: Document all inputs in \"Required Information\" so Claude knows what to ask\n\n**Commands**: Put each command in its own fenced code block so Claude can execute directly\n\n**Context**: Include enough detail that Claude understands *why* each step happens, not just *what*\n\n**Error handling**: Be specific about what failure looks like and what to do\n\n**Idempotency**: Note if steps can be safely re-run or need special handling\n","# CLI Workflow Creator\n\nCreate reusable Claude Code slash commands by iteratively gathering CLI workflow requirements through conversation.\n\n## Output Format\n\nThe skill produces a markdown file that serves as a Claude Code custom slash command. Save to `.opencode\u002Fcommand\u002F` for project-specific or `~\u002F.config\u002Fopencode\u002Fcommand\u002F` for global access.\n\n### Slash Command Structure\n\n```markdown\n---\ndescription: What this workflow does (shown in command list)\n---\n\n# Workflow Name\n\n## Purpose\n[What this workflow accomplishes and when to use it]\n\n## Required Information\nBefore executing, confirm or ask for:\n- **variable_name**: [description] (default: [value] if any)\n- **another_var**: [description] (required, no default)\n\n## Steps\n\n### Step 1: [Name]\n[What this step does and why]\n\nCommand:\n\\`\\`\\`bash\ncommand --flag $ARGUMENTS\n\\`\\`\\`\n\n[Instructions for handling output, what to look for, what indicates success\u002Ffailure]\n\n### Step 2: [Name]\n[Description, noting any dependencies on previous steps]\n\nCommand:\n\\`\\`\\`bash\nnext-command [using output from step 1 if needed]\n\\`\\`\\`\n\n[Continue for each step...]\n\n## Error Handling\n- **Step 1 fails**: [what to do - stop, retry, skip to step N]\n- **Step 2 fails**: [what to do]\n\n## Output\nWhen complete, report:\n- [What information to summarize]\n- [What files were created\u002Fmodified]\n- [Any values the user needs to know]\n```\n\n## Creating a Workflow\n\nGather information through conversation. Ask only what's needed, 1-2 questions at a time.\n\n### Phase 1: Purpose\nStart with the goal:\n- \"What task does this workflow automate?\"\n- \"What triggers you to run it?\"\n\n### Phase 2: Command Discovery\nMap each step sequentially:\n- \"What's the first command you run?\"\n- \"What happens next if that succeeds?\"\n\nFor each command, determine:\n- The exact CLI command and flags\n- What changes between runs → becomes a variable to ask about\n- What stays constant → hardcode in the command\n\n### Phase 3: Data Flow\nIdentify step dependencies:\n- \"Does any command produce output the next step needs?\"\n- \"How would you extract that value?\" (grep pattern, jq query, etc.)\n\n### Phase 4: Error Handling\nFor each step:\n- \"If this fails, should the workflow stop or continue?\"\n- \"Any cleanup or rollback needed?\"\n\n### Phase 5: Outputs\n- \"What should be reported when complete?\"\n- \"Any files or values the user needs?\"\n\n## Clarification Patterns\n\n**During Creation:**\n| Situation | Ask |\n|-----------|-----|\n| Unclear if value changes | \"Does [value] change between runs, or always the same?\" |\n| Complex output parsing | \"Can you show example output? What part do you need?\" |\n| Implicit ordering | \"Does step B need anything from step A?\" |\n| Missing error handling | \"If [step] fails, stop everything or try to continue?\" |\n\n## Example Conversation\n\n```\nUser: I want to automate deploying containers to staging.\n\nClaude: I'll help create a workflow for that. What's the first step - \ndo you build locally or pull from a registry?\n\nUser: Build locally, tag it, push to ECR, then update the ECS service.\n\nClaude: Got it - four steps. For the build:\n- Where's your Dockerfile?\n- Does the image tag change per deploy, or always use 'latest'?\n\nUser: Dockerfile is in .\u002Fdocker\u002F, tag should be the git commit SHA.\n\nClaude: And for ECR - what's your registry URL? Does it vary or is it \nalways the same account\u002Fregion?\n\n[...continues until all details gathered...]\n```\n\n## Generated Command Example\n\nAfter gathering requirements, produce:\n\n```markdown\n---\ndescription: Build and deploy container to staging ECS\n---\n\n# Deploy to Staging\n\n## Purpose\nBuilds Docker image from local source, pushes to ECR, and updates the staging ECS service. Run after merging to main when ready to deploy.\n\n## Required Information\nBefore executing, confirm:\n- **commit_sha**: Git commit to deploy (default: current HEAD)\n- **skip_build**: Set to true to deploy existing image (default: false)\n\n## Steps\n\n### Step 1: Get commit SHA\nCapture the current git commit if not provided.\n\nCommand:\n\\`\\`\\`bash\ngit rev-parse --short HEAD\n\\`\\`\\`\n\nUse output as the image tag for subsequent steps.\n\n### Step 2: Build Docker image\nBuild from .\u002Fdocker\u002F directory with commit SHA tag.\n\nCommand:\n\\`\\`\\`bash\ndocker build -t myapp:$COMMIT_SHA -f .\u002Fdocker\u002FDockerfile .\n\\`\\`\\`\n\nSuccess: \"Successfully built\" and \"Successfully tagged\" in output.\nFailure: Stop workflow, report build errors.\n\n### Step 3: Tag for ECR\nTag the local image for the ECR registry.\n\nCommand:\n\\`\\`\\`bash\ndocker tag myapp:$COMMIT_SHA 123456789.dkr.ecr.us-east-1.amazonaws.com\u002Fmyapp:$COMMIT_SHA\n\\`\\`\\`\n\n### Step 4: Push to ECR\nPush the tagged image. Requires valid AWS credentials.\n\nCommand:\n\\`\\`\\`bash\naws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 123456789.dkr.ecr.us-east-1.amazonaws.com\ndocker push 123456789.dkr.ecr.us-east-1.amazonaws.com\u002Fmyapp:$COMMIT_SHA\n\\`\\`\\`\n\nSuccess: Shows layer push progress and digest.\nFailure: Check AWS credentials and ECR permissions.\n\n### Step 5: Update ECS service\nForce new deployment with the updated image.\n\nCommand:\n\\`\\`\\`bash\naws ecs update-service --cluster staging --service myapp --force-new-deployment\n\\`\\`\\`\n\nSuccess: Returns service description JSON with \"desiredCount\" matching \"runningCount\" eventually.\n\n## Error Handling\n- **Build fails**: Stop. Report error output. Check Dockerfile syntax and build context.\n- **ECR push fails**: Stop. Verify AWS credentials: `aws sts get-caller-identity`\n- **ECS update fails**: Report error but deployment may still be rolling out. Check console.\n\n## Output\nReport:\n- Deployed commit SHA\n- ECR image URI\n- ECS service update status\n- Time taken for full deployment\n```\n\n## Slash Command Best Practices\n\n**File naming**: Use kebab-case matching the command name (`deploy-staging.md` → `\u002Fdeploy-staging`)\n\n**Description**: Keep frontmatter description under 80 chars - it's shown in command listings\n\n**Variables**: Document all inputs in \"Required Information\" so Claude knows what to ask\n\n**Commands**: Put each command in its own fenced code block so Claude can execute directly\n\n**Context**: Include enough detail that Claude understands *why* each step happens, not just *what*\n\n**Error handling**: Be specific about what failure looks like and what to do\n\n**Idempotency**: Note if steps can be safely re-run or need special handling\n",{"name":5,"updated":44,"description":7,"when_to_use":45},1773532800000,"Use this skill when you need to automate repetitive CLI tasks, standardize complex multi-step shell workflows, or create reusable commands for your team. Ideal for converting ad-hoc command sequences into documented, executable slash commands that handle variables, error states, and step dependencies automatically.","main","b293a8475fcbb20683373dc9735a2ecf0ca7889d","corpus\u002Flibrary\u002Fskills\u002Fcoding\u002Fcli-workflow-creator","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval","https:\u002F\u002Fgithub.com\u002Fitlackey","2026-11-13 11:49:12",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add itlackey\u002Fakm-eval --skill cli-workflow-creator",{"tool":58,"command":59},"bunx","bunx skills add itlackey\u002Fakm-eval --skill cli-workflow-creator",{"tool":61,"command":62},"pnpm","pnpm dlx skills add itlackey\u002Fakm-eval --skill cli-workflow-creator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fcorpus\u002Flibrary\u002Fskills\u002Fcoding\u002Fcli-workflow-creator\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fexamples.md","REFERENCE","参考文档",6988,"https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fcorpus\u002Flibrary\u002Fskills\u002Fcoding\u002Fcli-workflow-creator\u002Freferences\u002Fexamples.md",[73,81,88,95,102,109],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"01M748G6310YQEN9SEY8E69V7F","tax-filing-checklist","Walk through the steps and documents needed to file an individual federal income tax return","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Ftax-filing-checklist\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":80},"01M748G3C1CSMBM33KP2CCK7TB","patient-vitals-charting","Record patient vital signs consistently and flag values outside the normal reference range","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fpatient-vitals-charting\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":80},"01M748G05H68QFB8YVQKDHF66B","pasta-from-scratch","Make fresh egg pasta dough from scratch, roll it, and cut it into shapes","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fpasta-from-scratch\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":80},"01M748FXAQVJRX98HP8STRTD9P","knife-sharpening","Sharpen and hone kitchen knives to keep an edge safe and effective","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fknife-sharpening\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":80},"01M748FTJEZ0P6BXNERTHZ9KB3","first-aid-response","Respond to a first aid emergency using a scene-safety-first, ABC-based (airway, breathing, circulation) approach","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Ffirst-aid-response\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":80},"01M748FQESZPA3ZW5SWKJNKMD0","contract-review-basics","Review a contract draft for missing terms, ambiguous language, and risky clauses before signing","https:\u002F\u002Fgithub.com\u002Fitlackey\u002Fakm-eval\u002Fblob\u002Fmain\u002Fevals\u002Fretrieval\u002Fassets\u002Fbooks\u002Flibrary\u002Fskills\u002Fcontract-review-basics\u002FSKILL.md",[],[]]