Turn Successful Task into Skill

VerifiedSafe

Interviews the user after a successful task to reconstruct the process and generate a reusable slash command skill.

Sby Skills Guide Bot
ProductivityBeginner
8/29/2026
Claude Code
#skill-generation#slash-commands#workflow-automation#prompt-authoring#claude-code

Recommended for

Automated summary

This skill turns a task you just completed successfully into a reusable slash command by interviewing you about the process and then drafting the command file.

Strengths

  • Walks the user through targeted questions (frequency, external tools, inputs/outputs) instead of leaving the structure to guesswork
  • Explicitly reconstructs the task flow (inputs, steps, decision points, friction) before writing anything
  • Produces two artifacts: the Claude Code version in `.claude/commands/` and a CoWork-compatible copy with YAML frontmatter
  • Gives concrete authoring guidance (interview / auto-run / hybrid input patterns, deferring user specifics to CLAUDE.md rather than hardcoding)

Limitations

  • Only generates an instruction markdown file: no validation, testing, or iteration on the resulting skill
  • Assumes a vault-style context and an existing CLAUDE.md, which limits portability outside that setup
  • The CoWork copy must be uploaded manually through settings; the skill does not install it
When to use it

Use it right after finishing a task you expect to repeat often and don't want to re-explain each time.

When not to use it

Skip it for one-off tasks, or when you want a tested executable skill rather than a draft instruction file you'll refine yourself.

Security analysis

Safe
Quality score88/100

This skill only interviews the user and writes Markdown command files to .claude/commands and cowork-commands. It does not execute shell commands, access networks, exfiltrate data, or instruct destructive actions. Any external tool use is optional and user-driven.

No concerns found

How this analysis is made

Examples

Codify a weekly review
That weekly review flow we just ran worked really well — turn it into a /weekly-review slash command I can run every Monday.
Save an inbox triage process
I just triaged my inbox with you and liked the process. Interview me and create a skill from it so I don't have to re-explain the steps.
Reusable meeting prep
Let's turn what we did for the client meeting prep into a repeatable skill, including the CoWork version.

Build Skill -- Turn a Successful Task Into a Repeatable Workflow

Use this after completing a task that you want to be able to repeat. This skill interviews you about what just happened and creates a new slash command from it.

When to use: You just did something that worked well and you want to do it again in the future without re-explaining everything.


Step 1: What Did We Just Do?

AskUserQuestion: "What task do you want to turn into a skill? Describe it in a sentence."

Then gather details:

AskUserQuestion: "How often will you run this?" Options:

  • Daily or near-daily
  • Weekly
  • Monthly
  • On demand (whenever I need it)

AskUserQuestion: "Does this skill need any external tools or data?" Options:

  • No, it just works with vault files
  • Yes, it needs [calendar, email, task manager, etc.]
  • Yes, it needs an API or service
  • I am not sure

Step 2: Reconstruct the Process

Look at what was done in the current conversation (or ask the user to describe it):

  1. What inputs were needed? (files read, data fetched, user answers)
  2. What steps were taken? (in order)
  3. What outputs were produced? (files created, messages sent, tasks updated)
  4. Were there any decision points? (if X then Y, user choices)
  5. What worked well that should be preserved?
  6. What was awkward that should be smoother next time?

Present the reconstructed process: "Here is what I think the skill should do:

  1. [Step]
  2. [Step]
  3. [Step]"

AskUserQuestion: "Does this capture it? Anything to add or change?" Options:

  • That is right
  • Missing a step
  • Change the order
  • Simplify it

Step 3: Design the Skill

Determine the skill structure:

Name

Suggest a short, clear name. Skills are invoked as /name so keep it lowercase, one or two words, hyphenated if needed.

AskUserQuestion: "What should we call this skill?" Options:

  • [your suggestion]
  • [alternative suggestion]
  • Let me name it

Input Pattern

How should the skill start? Options:

  • Interview pattern: Ask 2-3 questions before executing (good for tasks that vary each time)
  • Auto-run pattern: Pull all context from vault and execute immediately (good for routine tasks)
  • Hybrid: Auto-gather context, then confirm before executing

Output Pattern

What should the skill produce?

  • A file in the vault
  • Changes to existing files
  • Messages sent to external services
  • A summary presented to the user
  • Some combination

Step 4: Write the Skill

Create the skill file at .claude/commands/[name].md with this structure:

# [Skill Name] -- [One-line description]

[Brief description of what this skill does and when to use it.]

---

## [Steps organized logically]

[Each step with clear instructions, AskUserQuestion prompts where input is needed, and concrete actions to take.]

Writing guidelines:

  • Use plain language. Write instructions as if briefing a smart colleague.
  • Use AskUserQuestion for every point where user input is needed.
  • Include specific file paths, API endpoints, or tool references.
  • Reference CLAUDE.md for user-specific details (do not hardcode names, clients, or preferences).
  • Handle the happy path first. Add error handling only for likely failure points.
  • End with recording what was done (update relevant files, log the output).

Write the file and show the user: "Your new skill is ready. You can run it anytime by typing /[name]."

CoWork Version

Always create a CoWork-compatible copy alongside the Code version. Copy the file to cowork-commands/[name].md (in the vault root if running from a vault, or in the repo if running from the repo) and prepend YAML frontmatter:

---
name: [skill-name]
description: [One-line description of what this skill does.]
---

Tell the user: "I also created a CoWork-compatible version at cowork-commands/[name].md. If you use Claude CoWork, upload it through the Customize section in settings to make it available as a slash command there."

AskUserQuestion: "Want to test it right now?" Options:

  • Yes, let us run it
  • No, I will try it later
  • I want to tweak something first

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/turn-successful-task-into-skill-mte1lk8k/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/turn-successful-task-into-skill-mte1lk8k' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/turn-successful-task-into-skill-mte1lk8k/download' --output '.skill-downloads/turn-successful-task-into-skill-mte1lk8k/SKILL.md.part' && mv '.skill-downloads/turn-successful-task-into-skill-mte1lk8k/SKILL.md.part' '.skill-downloads/turn-successful-task-into-skill-mte1lk8k/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/turn-successful-task-into-skill-mte1lk8k/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills