
Lovstudio:Skill Creator
- 1 installs
- 2 repo stars
- Updated August 1, 2026
- lovstudio/skill-creator-skill
Scaffolds a new lovstudio skill as an independent GitHub repo with SKILL.md, scripts, symlinks, and central-index registration.
About
Scaffolds a new lovstudio Claude skill as its own GitHub repo, wiring up SKILL.md, README, scripts, symlinks, and a central index entry. A developer uses it to create and publish a skill following lovstudio conventions, including choosing a free or paid distribution model.
- Scaffolds each skill as an independent lovstudio/{name}-skill repo and registers it in a central index
- AskUserQuestion flow chooses free / encrypted / cloud-split distribution and de-businessed naming
Lovstudio:Skill Creator by the numbers
- 1 all-time installs (skills.sh)
- Ranked #644 of 782 Skill Development skills by installs in the Skillselion catalog
- Data as of Aug 1, 2026 (Skillselion catalog sync)
npx skills add https://github.com/lovstudio/skill-creator-skill --skill lovstudioskill-creatorAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| repo stars | ★ 2 |
| Last updated | August 1, 2026 |
| Repository | lovstudio/skill-creator-skill ↗ |
What it does
Scaffolds a new lovstudio skill as an independent GitHub repo with SKILL.md, scripts, symlinks, and central-index registration.
Files
lovstudio:skill-creator
Scaffold a new lovstudio skill as an independent GitHub repo under lovstudio/{name}-skill. The lovstudio ecosystem is no longer a monorepo — each skill is its own repo, and a central index at ~/lovstudio/coding/skills/index/ tracks them.
Architecture
~/lovstudio/coding/skills/
├── index/ ← central catalog (lovstudio/skills repo)
│ ├── skills.yaml ← machine-readable manifest (paid flag lives here)
│ └── README.md ← human-readable catalog
├── {name}-skill/ ← each skill is an independent repo
│ ├── SKILL.md
│ ├── README.md
│ ├── CHANGELOG.md ← managed by skill-optimizer
│ ├── scripts/ ← standalone Python CLI scripts
│ └── references/ ← optional progressive-disclosure docs
└── ...
~/.claude/skills/lovstudio-{name} ← symlink → ~/.agents/skills/lovstudio-{name}
→ ~/lovstudio/coding/skills/{name}-skill/Key facts:
- GitHub repo name:
lovstudio/{name}-skill(with-skillsuffix) - Local source path:
~/lovstudio/coding/skills/{name}-skill/(nolovstudio-prefix) - Claude Code reads:
~/.claude/skills/lovstudio-{name}/(withlovstudio-prefix, via symlink) - Frontmatter
name:lovstudio:{name}(with:separator) paid: true/falselives only inindex/skills.yaml, never in SKILL.md
Skill Creation Process
Step 1: Understand the Skill
Ask the user what the skill should do. Start with the most important question via AskUserQuestion — don't dump everything at once.
Key questions:
- What problem does it solve? What's the input → output?
- 2-3 concrete usage examples?
- What user phrases should trigger this skill (中文 + English)?
- Pure-instruction skill, or does it need a Python script?
- Free (public repo) or paid (private repo)?
Step 2: Plan Contents
Analyze the examples and identify:
1. Scripts — deterministic operations → scripts/ 2. References — domain knowledge Claude needs while working → references/ 3. Assets — files used in output (templates, fonts, etc.) → assets/
Rules:
- Python scripts must be standalone single-file CLIs with
argparse - No package structure, no
setup.py, no__init__.py - CJK text handling is a core concern if the skill deals with documents
Step 3: Initialize
Run the init script (it auto-detects the target directory):
python3 ~/.claude/skills/lovstudio-skill-creator/scripts/init_skill.py <name>This creates ~/lovstudio/coding/skills/{name}-skill/ with:
{name}-skill/
├── SKILL.md ← frontmatter + TODO workflow
├── README.md ← human-readable docs with version badge
└── scripts/ ← empty, ready for implementationPass --paid if this is a paid skill (adjusts README + metadata hints).
Step 4: Implement
1. Write scripts in scripts/ — test by running directly 2. Write SKILL.md — instructions for AI assistants:
- Frontmatter
descriptionis the trigger mechanism — cover what + when +
concrete trigger phrases (中文 + English)
- Body contains workflow steps, CLI reference, field mappings
- Use
AskUserQuestionfor interactive prompts before running scripts - Keep SKILL.md under 500 lines; split to
references/if longer
3. Write README.md — docs for humans on GitHub:
- Version badge (source of truth for version)
- Install command:
git clone https://github.com/lovstudio/{name}-skill ~/.claude/skills/lovstudio-{name} - Dependencies
- Usage examples, options table
- ASCII diagrams if useful
See references/templates.md for SKILL.md / README.md templates.
Step 5: Publish
5a. Initialize & push the skill's own repo
cd ~/lovstudio/coding/skills/<name>-skill
git init
git add -A
git commit -m "feat: initial release of <name> skill"
# Free skill (public):
gh repo create lovstudio/<name>-skill --public --source=. --push
# Paid skill (private):
gh repo create lovstudio/<name>-skill --private --source=. --push5b. Register in the central index
Edit ~/lovstudio/coding/skills/index/skills.yaml — append under the right category (category order in the yaml determines display order on the website):
- name: <name>
repo: lovstudio/<name>-skill
paid: false # or true for paid skills
category: "<Category>" # must match an existing category heading
version: "0.1.0"
description: "<One-line description matching SKILL.md tagline>"Also add a row to ~/lovstudio/coding/skills/index/README.md under the matching category section. Then PR against lovstudio/skills:
cd ~/lovstudio/coding/skills/index
git checkout -b add/<name>
git add skills.yaml README.md
git commit -m "add: <name> skill"
git push -u origin HEAD
gh pr create --fill5c. Symlink for local availability
Make the skill immediately usable in Claude Code:
# Layer 1: source → .agents
ln -s ~/lovstudio/coding/skills/<name>-skill \
~/.agents/skills/lovstudio-<name>
# Layer 2: .agents → .claude/skills (where Claude Code reads)
ln -s ../../.agents/skills/lovstudio-<name> \
~/.claude/skills/lovstudio-<name>Verify: ls ~/.claude/skills/lovstudio-<name>/SKILL.md resolves.
5d. Trigger lovstudio.ai cache refresh (optional)
After the skill is indexed in skills.yaml, the lovstudio.ai /agent page caches the index for 1 hour (Next.js ISR). Trigger on-demand revalidation so the new skill appears immediately:
if [ -n "$LOVSTUDIO_REVALIDATE_SECRET" ]; then
curl -sfX POST https://lovstudio.ai/api/revalidate \
-H "x-revalidate-secret: $LOVSTUDIO_REVALIDATE_SECRET" \
-H "content-type: application/json" \
-d '{"tags":["skills-index"]}' \
&& echo "✓ cache refreshed" \
|| echo "⚠ revalidate failed (will appear within 1h)"
fiKnown tags (see lovstudio/web:src/data/skills.ts):
skills-index— the yaml index (invalidates all list pages)skill:<id>— detail for a single skillskill-cases:<id>— cases.json for a skill
Step 6: Test & Iterate
1. In a new conversation, invoke /lovstudio:<name> — confirm it triggers 2. Notice struggles → edit SKILL.md / scripts in the source repo 3. Commit & push (the symlink chain means no local copy to sync)
Design Patterns
Interactive Pre-Execution (MANDATORY for generation/conversion skills)
**IMPORTANT: Use `AskUserQuestion` to collect options BEFORE running.**
Use `AskUserQuestion` with the following template:
[options list]
### Mapping User Choices to CLI Args
[table mapping choices to --flags]Progressive Disclosure
Keep SKILL.md lean. Split to references when:
- Multiple themes/variants →
references/themes.md - Complex API docs →
references/api.md - Large examples →
references/examples.md
Reference from SKILL.md: "For theme details, see references/themes.md"
Context-Aware Pre-Fill
For skills that fill or generate content: 1. Check user memory and conversation context first 2. Pre-fill what you can 3. Only ask for fields you truly don't know
What NOT to Include
INSTALLATION_GUIDE.md— clutter; install instructions go in README.md- Test files — scripts are tested by running, not with test frameworks
__pycache__/,*.pyc,.DS_Store— add to.gitignorepaidfield in frontmatter — it lives only inindex/skills.yaml
Migration Note (2026-04)
The ecosystem was refactored from a monorepo (lovstudio/skills containing skills/lovstudio-<name>/) + mirror (lovstudio/pro-skills) into independent per-skill repos + central index. The old lovstudio/pro-skills was archived. If working on a legacy skill still in the old structure, migrate it first:
# 1. Extract from monorepo subdirectory
cp -r ~/projects/lovstudio-skills/skills/lovstudio-<name> \
~/lovstudio/coding/skills/<name>-skill
cd ~/lovstudio/coding/skills/<name>-skill
# (remove the lovstudio- prefix from the directory by creating fresh)
# 2. Fresh git history
rm -rf .git
git init && git add -A && git commit -m "import: <name> from monorepo"
# 3. Create independent repo
gh repo create lovstudio/<name>-skill --public --source=. --pushChangelog
All notable changes to this skill are documented here. Format: Keep a Changelog · Versioning: SemVer
[2.0.0] - 2026-04-18
Changed
- Rewrite for per-skill-repo architecture. Each skill is now an independent repo at
lovstudio/{name}-skillinstead of a subdirectory of a monorepo. - Default scaffold path:
~/lovstudio/coding/skills/{name}-skill/(wasskills/lovstudio-{name}/). - Install hint:
git cloneeach skill repo (replacesnpx skills add lovstudio/skills). init_skill.py: accepts--paid, auto-creates.gitignore, and printsgh repo create+ symlink + index-registration next-steps instead of monorepo-dev-flow hints.
Added
- Step 5b: PR to
lovstudio/skillscentral index (skills.yaml+README.md). - Step 5d: lovstudio.ai ISR cache revalidation via
skills-indextag. - Migration note for legacy skills still in the monorepo structure.
Removed
- Step 0 (repo choice):
lovstudio/pro-skillswas archived 2026-04-16.paidnow lives only inindex/skills.yamlas a business classification, not as a skill property.
[1.2.0] - 2026-04-15
Added
- Add Step 0: repo selection (lovstudio/skills vs lovstudio/pro-skills)
- Step 5c: create PR to chosen target repo instead of push to main
[1.1.1] - 2026-04-14
Fixed
- Add publish workflow: symlink chain + git push to Step 5
[1.1.0] - 2026-04-14
Added
- Fix init_skill.py repo detection — prefer lovstudio-skills over cwd
- README template now includes version badge
- Remove CHANGELOG from 'What NOT to Include' (managed by skill-optimizer)
lovstudio:skill-creator
Scaffold new skills for the lovstudio ecosystem. Each skill is an independent GitHub repo at lovstudio/{name}-skill, registered in the central index at `lovstudio/skills`.
Part of lovstudio skills — by lovstudio.ai
Install
git clone https://github.com/lovstudio/skill-creator-skill ~/.claude/skills/lovstudio-skill-creatorWhat It Does
┌────────────────────────────────────────────────────────────┐
│ You: "封装成 wcx skill" │
└────────────────────────────┬───────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────────┐
│ init_skill.py wcx │
│ │
│ ~/lovstudio/coding/skills/wcx-skill/ │
│ ├── SKILL.md ← AI reads this │
│ ├── README.md ← Humans read this on GitHub │
│ ├── .gitignore │
│ └── scripts/ ← Python CLI scripts │
└────────────────────────────┬───────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────────┐
│ Implement → gh repo create lovstudio/wcx-skill --push │
│ → PR into index/skills.yaml + index/README.md │
│ → symlink to ~/.claude/skills/lovstudio-wcx │
└────────────────────────────────────────────────────────────┘Quick Start
# Scaffold
python3 ~/.claude/skills/lovstudio-skill-creator/scripts/init_skill.py wcx
# → ~/lovstudio/coding/skills/wcx-skill/
# ├── SKILL.md (TODO placeholders)
# ├── README.md (version badge + install stub)
# ├── .gitignore
# └── scripts/Then:
1. Implement scripts/ and fill the TODOs in SKILL.md / README.md 2. cd ~/lovstudio/coding/skills/wcx-skill && git init && git add -A && git commit -m "feat: initial release" 3. gh repo create lovstudio/wcx-skill --public --source=. --push 4. Add an entry to ~/lovstudio/coding/skills/index/skills.yaml + a row to its README.md, then PR 5. Symlink into ~/.claude/skills/lovstudio-wcx for local use
Architecture
The lovstudio skill ecosystem (2026-04-16 refactor):
| Layer | Location | Purpose |
|---|---|---|
| Central index | lovstudio/skills repo & ~/lovstudio/coding/skills/index/ | skills.yaml + human README; consumed by agentskills.io & lovstudio.ai/agent |
| Per-skill repo | lovstudio/{name}-skill & ~/lovstudio/coding/skills/{name}-skill/ | All skill code + SKILL.md + README.md + CHANGELOG.md |
| Local Claude Code | ~/.claude/skills/lovstudio-{name}/ | Symlink chain into the per-skill repo |
paid: true/false lives only in index/skills.yaml — never in SKILL.md.
Differences from Official skill-creator
| Official | Lovstudio | |
|---|---|---|
| README.md | Explicitly forbidden | Required — repos are on GitHub |
| Frontmatter | name + description | + license, compatibility, metadata.version, tags |
| Naming | Any | lovstudio:{name} (frontmatter) / {name}-skill/ (directory & repo) |
| Scripts | Any format | Standalone Python CLI with argparse |
| Distribution | .skill package | git clone each skill repo into ~/.claude/skills/lovstudio-{name} |
| Interactive | Optional | AskUserQuestion mandatory for generation/conversion skills |
| Central catalog | — | skills.yaml + README.md in lovstudio/skills |
License
MIT
Templates
SKILL.md Template
---
name: lovstudio:<name>
description: >
<What it does — 1-2 sentences.>
<When to trigger — specific scenarios, file types, user phrases.>
Also trigger when the user mentions "<中文触发词>", "<english trigger>".
license: MIT
compatibility: >
Requires Python 3.8+ and <library> (`pip install <library>`).
Cross-platform: macOS, Windows, Linux.
metadata:
author: lovstudio
version: "0.1.0"
tags: <space-separated tags>
---
# <name> — <Short Title>
<1-2 sentence overview.>
## When to Use
- <Scenario 1>
- <Scenario 2>
## Workflow (MANDATORY)
### Step 1: <First action>
python3 ~/.claude/skills/lovstudio-<name>/scripts/<script>.py --flag value
### Step 2: Ask the user
**Use `AskUserQuestion` to collect options BEFORE running.**
### Step 3: Execute
python3 ~/.claude/skills/lovstudio-<name>/scripts/<script>.py --input <path> --output <path>
## CLI Reference
| Argument | Default | Description |
|----------|---------|-------------|
| `--input` | (required) | ... |
| `--output` | `output.ext` | ... |
## Dependencies
pip install <library> --break-system-packages
README.md Template
# lovstudio:<name>

<One-line description.>
Part of [lovstudio skills](https://github.com/lovstudio/skills) — by [lovstudio.ai](https://lovstudio.ai)
## Install
git clone https://github.com/lovstudio/<name>-skill ~/.claude/skills/lovstudio-<name>
Requires: Python 3.8+ and `pip install <library>`
## Usage
python3 ~/.claude/skills/lovstudio-<name>/scripts/<script>.py --input file.ext --output result.ext
## Options
| Option | Default | Description |
|--------|---------|-------------|
| `--input` | (required) | ... |
| `--output` | `output.ext` | ... |
## License
MITNotes
- Version source of truth:
README.mdbadge.SKILL.mdfrontmatter
metadata.version is kept in sync by skill-optimizer.
- Start at
0.1.0, not1.0.0— per repo release conventions (stay in 0.x
unless explicitly promoted).
paidis not in SKILL.md frontmatter. It lives only in
~/lovstudio/coding/skills/index/skills.yaml.
#!/usr/bin/env python3
"""
Initialize a new lovstudio skill as an independent repo scaffold.
Usage:
python3 init_skill.py <name>
python3 init_skill.py <name> --paid
python3 init_skill.py <name> --path /custom/path
Creates ~/lovstudio/coding/skills/<name>-skill/ by default.
Examples:
python3 init_skill.py fill-form → ~/lovstudio/coding/skills/fill-form-skill/
python3 init_skill.py any2pptx → ~/lovstudio/coding/skills/any2pptx-skill/
"""
import sys, argparse
from pathlib import Path
SKILL_MD = '''---
name: lovstudio:{name}
description: >
TODO: What this skill does (1-2 sentences).
TODO: When to trigger — specific scenarios, file types, user phrases.
Also trigger when the user mentions "TODO_CN", "TODO_EN".
license: MIT
compatibility: >
TODO: Requires Python 3.8+ and <library> (`pip install <library>`).
Cross-platform: macOS, Windows, Linux.
metadata:
author: lovstudio
version: "0.1.0"
tags: TODO
---
# {name} — TODO: Short Title
TODO: 1-2 sentence overview.
## When to Use
- TODO: Scenario 1
- TODO: Scenario 2
## Workflow (MANDATORY)
**You MUST follow these steps in order:**
### Step 1: TODO
```bash
python3 ~/.claude/skills/lovstudio-{name}/scripts/TODO.py --help
```
### Step 2: Ask the user
**IMPORTANT: Use `AskUserQuestion` to collect options BEFORE running.**
### Step 3: Execute
```bash
python3 ~/.claude/skills/lovstudio-{name}/scripts/TODO.py --input <path> --output <path>
```
## CLI Reference
| Argument | Default | Description |
|----------|---------|-------------|
| `--input` | (required) | TODO |
| `--output` | `output.ext` | TODO |
## Dependencies
```bash
pip install TODO --break-system-packages
```
'''
README_MD = '''# lovstudio:{name}

TODO: One-line description.
Part of [lovstudio skills](https://github.com/lovstudio/skills) — by [lovstudio.ai](https://lovstudio.ai)
## Install
```bash
git clone https://github.com/lovstudio/{name}-skill ~/.claude/skills/lovstudio-{name}
```
Requires: Python 3.8+ and `pip install TODO`
## Usage
```bash
python3 ~/.claude/skills/lovstudio-{name}/scripts/TODO.py --input file.ext --output result.ext
```
## Options
| Option | Default | Description |
|--------|---------|-------------|
| `--input` | (required) | TODO |
| `--output` | `output.ext` | TODO |
## License
MIT
'''
GITIGNORE = '''__pycache__/
*.pyc
*.pyo
.DS_Store
.venv/
venv/
node_modules/
.env
.env.local
'''
def main():
ap = argparse.ArgumentParser(description="Initialize a new lovstudio skill")
ap.add_argument("name", help="Skill short name (no prefix / no -skill suffix)")
ap.add_argument("--path", default="", help="Custom base directory (default: ~/lovstudio/coding/skills/)")
ap.add_argument("--paid", action="store_true", help="Mark as paid in hints (actual paid flag lives in index/skills.yaml)")
args = ap.parse_args()
# Normalize: strip common prefixes / suffix users might paste
name = args.name
for pfx in ("lovstudio:", "lovstudio-"):
if name.startswith(pfx):
name = name[len(pfx):]
if name.endswith("-skill"):
name = name[: -len("-skill")]
base = Path(args.path) if args.path else (Path.home() / "lovstudio" / "coding" / "skills")
base.mkdir(parents=True, exist_ok=True)
skill_dir = base / f"{name}-skill"
if skill_dir.exists():
print(f"ERROR: {skill_dir} already exists", file=sys.stderr)
sys.exit(1)
skill_dir.mkdir()
(skill_dir / "scripts").mkdir()
(skill_dir / "SKILL.md").write_text(SKILL_MD.format(name=name))
(skill_dir / "README.md").write_text(README_MD.format(name=name))
(skill_dir / ".gitignore").write_text(GITIGNORE)
print(f"✓ Created {skill_dir}/")
print(f" SKILL.md — AI-facing frontmatter + workflow")
print(f" README.md — human-facing GitHub docs")
print(f" scripts/ — add Python CLI scripts here")
print(f" .gitignore")
print()
print("Next steps:")
print(f" 1. cd {skill_dir}")
print(f" 2. Implement scripts/ and fill TODO placeholders in SKILL.md / README.md")
print(f" 3. git init && git add -A && git commit -m 'feat: initial release of {name} skill'")
visibility = "--private" if args.paid else "--public"
print(f" 4. gh repo create lovstudio/{name}-skill {visibility} --source=. --push")
print(f" 5. Symlink:")
print(f" ln -s {skill_dir} ~/.agents/skills/lovstudio-{name}")
print(f" ln -s ../../.agents/skills/lovstudio-{name} ~/.claude/skills/lovstudio-{name}")
paid_flag = "true" if args.paid else "false"
print(f" 6. Register in ~/lovstudio/coding/skills/index/skills.yaml (paid: {paid_flag})")
if __name__ == "__main__":
main()