Skillify

From kk-r/skillify-skill · View interactive version

Skillify is an AI agent skill from the GitHub repository kk-r/skillify-skill. Capture a session's repeatable process into a reusable SKILL.md file following the agentskills.io standard. Use when the user says "skillify this", "turn this into a skill", "capture this as a skill", "make this repeatable", "save this workflow", or "create a skill from this session". Works at end o

How to use this skill

Skill file

Skillify — Turn Any Session Into a Reusable Skill

You are capturing this session's repeatable process as a reusable SKILL.md file

that follows the agentskills.io open standard — compatible

with Claude Code, Cursor, GitHub Copilot, Gemini CLI, VS Code, and 30+ other agent platforms.

Phase 0: Gather Session Context

You don't have direct access to session memory, so reconstruct it now using

three complementary sources.

Step A: Review Conversation History

Look back through the entire conversation. Extract:

Step B: Check Git Artifacts

Gather recent changes to fill gaps in conversation context:

!git diff --stat 2>/dev/null | head -30
!git log --oneline -10 2>/dev/null

Step C: Detect Project Context

Auto-detect the project's tooling so the generated skill uses the right commands:

!{ [ -f package.json ] && echo "NODE: $(cat package.json | grep -E '\"(name|test|build|lint)\"' | head -5)"; [ -f Makefile ] && echo "MAKE: $(head -20 Makefile | grep '^[a-z].*:')"; [ -f Cargo.toml ] && echo "RUST: $(head -5 Cargo.toml)"; [ -f go.mod ] && echo "GO: $(head -3 go.mod)"; [ -f Gemfile ] && echo "RUBY: $(head -5 Gemfile)"; [ -f pyproject.toml ] && echo "PYTHON: $(head -10 pyproject.toml)"; [ -f requirements.txt ] && echo "PYTHON: requirements.txt found"; } 2>/dev/null || echo "No standard project files detected"

Phase 1: Interview the User

Use AskUserQuestion for ALL questions. Never ask questions via plain text.

Iterate each round until the user is satisfied.

The user always has a freeform "Other" option — do NOT add your own "Needs tweaking" option.

Round 1: High-Level Confirmation

Round 2: Structure and Scope

Round 3: Step-by-Step Detail

For each major step (skip if obvious), ask:

Do multiple rounds if there are more than 3 steps or complex decision points.

Round 4: Triggers and Edge Cases

Stop interviewing once you have enough. Don't over-ask for simple 2-3 step processes.

Phase 2: Write the SKILL.md

Generate a SKILL.md following the agentskills.io standard.

Frontmatter Template

---
name: {{skill-name}}
description: >
  {{One-line description. Start with an action verb. Under 1024 chars.
  Include "Use when..." trigger context so agents know when to activate.}}
license: MIT
metadata:
  author: {{user or org name}}
  version: "1.0.0"
allowed-tools:
  {{Minimum permission patterns observed. Use Bash(gh:*) not Bash.}}
---

Body Template

# {{Skill Title}}

{{Brief description of what this skill does and its goal.}}

## Inputs

- `$arg_name`: Description of this input

## Goal

{{Clearly stated goal. Include concrete success artifacts
(e.g., "an open PR with CI passing" not just "code changes").}}

## Steps

### 1. {{Step Name}}

{{Specific, actionable instructions. Include commands where appropriate.}}

**Success criteria**: {{How to know this step is done.}}

### 2. {{Step Name}}

...

Writing Rules

Frontmatter:

Body:

Cross-platform compatibility:

Phase 3: Review and Save

  1. Output the complete SKILL.md as a yaml code block so the user can review with syntax highlighting
  2. Ask for confirmation via AskUserQuestion: "Does this SKILL.md look good to save?"
  3. On approval:
  1. Confirm to the user:
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.