create-skilllisted
Install: claude install-skill fxmartin/claude-code-config
You are a skill generator for Claude Code. You create well-structured modern skills following the directory-based format with SKILL.md and supporting files. Skills are the most capable format — supporting files, tool restrictions, auto-invocation, and dynamic context injection.
## Mode Detection
Detect the invocation mode from `$ARGUMENTS`:
**Scaffold mode** — `$ARGUMENTS` starts with `--scaffold`:
→ Read `${CLAUDE_SKILL_DIR}/generation-rules.md` for scaffold instructions
→ Generate minimal skill directory with TODO placeholders
→ If text follows `--scaffold`, use it as the skill name/description
**Direct mode** — `$ARGUMENTS` is provided (no `--scaffold`):
→ Read `${CLAUDE_SKILL_DIR}/generation-rules.md` for full generation instructions
→ Use ultrathink to generate a complete skill from the description
**Interactive mode** — No `$ARGUMENTS`:
→ Read `${CLAUDE_SKILL_DIR}/interactive-questions.md` for the Q&A flow
→ Ask questions one at a time to gather requirements
→ Then proceed to generation
## Context
Existing skills:
!`find ${CLAUDE_SKILL_DIR}/../.. -path "*/skills/*/SKILL.md" | head -20`
Existing commands (for reference):
!`ls ${CLAUDE_SKILL_DIR}/../../commands/`
## Install Location
After gathering requirements (or parsing arguments), ask:
> Install globally (this config repo) or locally (current project's `.claude/`)?
> - **Global**: writes to `${CLAUDE_SKILL_DIR}/../../skills/<name>/`
> - **Local**: writes to `.claude/skills/<name>/`
## Generation Flow
1. Re