agentleFS
ZhangHanDongZhangHanDong/harness-engineering-from-cc-to-ai-coding/.claude/skills/skillify/SKILL.md

skillify

Skill1.5k starsChanged 8 months agoMITView on GitHub

Capture this session's repeatable process into a reusable skill. Use when: user says "make this a skill", "capture this workflow", "skillify", "save this as a skill", "turn this into a skill", "create skill from session", "把这个流程变成技能", "提炼成skill", "保存为技能"

26 other projects use a version of this, 4 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use plan-tune, context-restore and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • chloropineSkill

    plan-tune

    Self-tuning question sensitivity + developer psychographic for cgstack (v1: observational). Review which AskUserQuestion prompts fire across cgstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.

    Also in 3 projects that use this

  • chloropineSkill

    context-restore

    Restore working context saved earlier by $context-save. Loads the most recent saved state (across all branches by default) so you can pick up where you left off — even across Conductor workspace handoffs. Use when asked to "resume", "restore context", "where was I", or "pick up where I left off". Pair with $context-save. Formerly /checkpoint resume — renamed because Codex treats /checkpoint as a native rewind alias in current environments. (cgstack)

    Also in 4 projects that use this

  • seek888Skill

    design-html

    Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".

    Also in 3 projects that use this

  • seek888Skill

    plan-devex-review

    Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".

    Also in 3 projects that use this

  • ffsshhttiikkSkill

    canary

    Canary deployment patterns

    Also in 3 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 3 projects that use this

  • +3 more from chloropine

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before asking any questions, analyze the full conversation to identify:

    line 21
  2. Distinctive:

    Use AskUserQuestion for ALL questions!

    line 34
  3. Distinctive:

    If you think the skill will require arguments, suggest arguments based on what you observed.

    line 44
  4. Distinctive:

    Ask where the skill should be saved.

    line 46
  5. Distinctive:

    Should the user be asked to confirm before proceeding?

    line 54
  6. Distinctive:

    Stop interviewing once you have enough information.

    line 67
  7. Distinctive:

    Create the skill directory and file at the location the user chose in Round 2.

    line 71
  8. Distinctive:

    Human checkpoint: When to pause and ask the user before proceeding.

    line 113
  9. Distinctive:

    Keep simple skills simple -- a 2-step skill doesn't need annotations on every step

    line 119
  10. Distinctive:

    After writing, tell the user:

    line 131

“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skillify

Extracted from Claude Code v2.1.88 internal /skillify skill (originally ant-only).

You are capturing this session's repeatable process as a reusable skill.

Your Task

Step 1: Analyze the Session

Before asking any questions, analyze the full conversation to identify:

  • What repeatable process was performed
  • What the inputs/parameters were
  • The distinct steps (in order)
  • The success artifacts/criteria (e.g. not just "writing code," but "an open PR with CI fully passing") for each step
  • Where the user corrected or steered you
  • What tools and permissions were needed
  • What agents were used
  • What the goals and success artifacts were

Step 2: Interview the User

You will use the AskUserQuestion tool to understand what the user wants to automate. Important notes:

  • Use AskUserQuestion for ALL questions! Never ask questions via plain text.
  • For each round, iterate as much as needed until the user is happy.
  • The user always has a freeform "Other" option to type edits or feedback -- do NOT add your own "Needs tweaking" or "I'll provide edits" option. Just offer the substantive choices.

Round 1: High level confirmation

  • Suggest a name and description for the skill based on your analysis. Ask the user to confirm or rename.
  • Suggest high-level goal(s) and specific success criteria for the skill.

Round 2: More details

  • Present the high-level steps you identified as a numbered list. Tell the user you will dig into the detail in the next round.
  • If you think the skill will require arguments, suggest arguments based on what you observed. Make sure you understand what someone would need to provide.
  • If it's not clear, ask if this skill should run inline (in the current conversation) or forked (as a sub-agent with its own context). Forked is better for self-contained tasks that don't need mid-process user input; inline is better when the user wants to steer mid-process.
  • Ask where the skill should be saved. Suggest a default based on context (repo-specific workflows -> repo, cross-repo personal workflows -> user). Options:
    • This repo (.claude/skills/<name>/SKILL.md) -- for workflows specific to this project
    • Personal (~/.claude/skills/<name>/SKILL.md) -- follows you across all repos

Round 3: Breaking down each step For each major step, if it's not glaringly obvious, ask:

  • What does this step produce that later steps need? (data, artifacts, IDs)
  • What proves that this step succeeded, and that we can move on?
  • Should the user be asked to confirm before proceeding? (especially for irreversible actions like merging, sending messages, or destructive operations)
  • Are any steps independent and could run in parallel? (e.g., posting to Slack and monitoring CI at the same time)
  • How should the skill be executed? (e.g. always use a Task agent to conduct code review, or invoke an agent team for a set of concurrent steps)
  • What are the hard constraints or hard preferences? Things that must or must not happen?

You may do multiple rounds of AskUserQuestion here, one round per step, especially if there are more than 3 steps or many clarification questions. Iterate as much as needed.

IMPORTANT: Pay special attention to places where the user corrected you during the session, to help inform your design.

Round 4: Final questions

  • Confirm when this skill should be invoked, and suggest/confirm trigger phrases too. (e.g. For a cherrypick workflow you could say: Use when the user wants to cherry-pick a PR to a release branch. Examples: 'cherry-pick to release', 'CP this PR', 'hotfix.')
  • You can also ask for any other gotchas or things to watch out for, if it's still unclear.

Stop interviewing once you have enough information. IMPORTANT: Don't over-ask for simple processes!

Step 3: Write the SKILL.md

Create the skill directory and file at the location the user chose in Round 2.

Use this format:

---
name: {{skill-name}}
description: {{one-line description}}
allowed-tools:
  {{list of tool permission patterns observed during session}}
when_to_use: {{detailed description of when Claude should automatically invoke this skill, including trigger phrases and example user messages}}
argument-hint: "{{hint showing argument placeholders}}"
arguments:
  {{list of argument names}}
context: {{inline or fork -- omit for inline}}
---

# {{Skill Title}}
Description of skill

## Inputs
- `$arg_name`: Description of this input

## Goal
Clearly stated goal for this workflow. Best if you have clearly defined artifacts or criteria for completion.

## Steps

### 1. Step Name
What to do in this step. Be specific and actionable. Include commands when appropriate.

**Success criteria**: ALWAYS include this! This shows that the step is done and we can move on. Can be a list.

IMPORTANT: see the next section below for the per-step annotations you can optionally include for each step.

...

Per-step annotations:

  • Success criteria is REQUIRED on every step. This helps the model understand what the user expects from their workflow, and when it should have the confidence to move on.
  • Execution: Direct (default), Task agent (straightforward subagents), Teammate (agent with true parallelism and inter-agent communication), or [human] (user does it). Only needs specifying if not Direct.
  • Artifacts: Data this step produces that later steps need (e.g., PR number, commit SHA). Only include if later steps depend on it.
  • Human checkpoint: When to pause and ask the user before proceeding. Include for irreversible actions (merging, sending messages), error judgment (merge conflicts), or output review.
  • Rules: Hard rules for the workflow. User corrections during the reference session can be especially useful here.

Step structure tips:

  • Steps that can run concurrently use sub-numbers: 3a, 3b
  • Steps requiring the user to act get [human] in the title
  • Keep simple skills simple -- a 2-step skill doesn't need annotations on every step

Frontmatter rules:

  • allowed-tools: Minimum permissions needed (use patterns like Bash(gh:*) not Bash)
  • context: Only set context: fork for self-contained skills that don't need mid-process user input.
  • when_to_use is CRITICAL -- tells the model when to auto-invoke. Start with "Use when..." and include trigger phrases. Example: "Use when the user wants to cherry-pick a PR to a release branch. Examples: 'cherry-pick to release', 'CP this PR', 'hotfix'."
  • arguments and argument-hint: Only include if the skill takes parameters. Use $name in the body for substitution.

Step 4: Confirm and Save

Before writing the file, output the complete SKILL.md content as a yaml code block in your response so the user can review it with proper syntax highlighting. Then ask for confirmation using AskUserQuestion with a simple question like "Does this SKILL.md look good to save?" -- do NOT use the body field, keep the question concise.

After writing, tell the user:

  • Where the skill was saved
  • How to invoke it: /{{skill-name}} [arguments]
  • That they can edit the SKILL.md directly to refine it

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.