ワンクリックで
create-skill
Creates new Claude Code skills, auto-apply skills, or auto-trigger rules, or audits existing ones for quality and effectiveness.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Creates new Claude Code skills, auto-apply skills, or auto-trigger rules, or audits existing ones for quality and effectiveness.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create a new empirical research project: generates projects/<name>/ with latex, code, scripts, results, literature, and guidance subfolders plus README.md and project-level CLAUDE.md.
Publication-ready figure conventions for empirical finance and economics. Covers matplotlib styling, color palettes, export settings, and common figure types (time series, decile bars, coefficient plots, event studies). Auto-apply when creating any figure, plot, or visualization.
Agent-driven cold-start onboarding. Use the repo shell entrypoint to find or install Python 3.11+, then run the shared bootstrap audit/plan/apply flow and configure WRDS only if the user has it.
Create and compile Beamer presentations following the Rhetoric of Decks philosophy. Use when making seminar or conference slides.
Compile LaTeX to PDF using pdflatex + bibtex cycle
Clean and fix .tex files -- strip comments, fix compilation errors, verify section markers
| name | create-skill |
| description | Creates new Claude Code skills, auto-apply skills, or auto-trigger rules, or audits existing ones for quality and effectiveness. |
| argument-hint | <skill-name> [description] | audit [skill-name | all] |
Two modes: Create a new skill or Audit an existing one.
/create-skill wrds-fundamentals -- create a skill named wrds-fundamentals/create-skill event-study "Auto-apply skill for event study methodology" -- name + description/create-skill audit wrds-psql -- audit a specific skill/create-skill audit all -- audit all skills with summary tableParse $ARGUMENTS:
audit, audit <name>, or audit all → Audit modeSix phases: Determine Type → Gather Requirements → Choose Pattern → Generate → Validate → Register.
Parse $ARGUMENTS:
If $ARGUMENTS is empty, use AskUserQuestion to ask:
"What do you want to create? Provide a name (lowercase, hyphens) and choose a type."
Three types with different file locations and frontmatter:
| Type | Location | Key frontmatter |
|---|---|---|
User-invocable skill (/name) | .claude/skills/{name}/SKILL.md | name, description, argument-hint |
| Auto-apply skill (triggers on task match) | .claude/skills/{name}/SKILL.md | name, description (includes "Auto-apply when...") |
| Auto-trigger rule (triggers on file paths) | .claude/rules/{name}.md | description, paths (globs). No name field. |
How to decide (type):
Skill vs Agent decision (ask this first):
| Question | Yes → | No → |
|---|---|---|
| Is the workflow rigid with known inputs? | Skill | Consider agent |
| Does it need judgment, discovery, or error recovery? | Agent | Skill |
| Will it run frequently (>5x/week)? | Skill (token savings compound) | Either |
| Does it need its own tool set or isolation? | Agent | Skill |
Skills run in the caller's context (zero spawn overhead, 75-80% fewer tokens than agents). If 90%+ of usage follows a fixed template, build a skill. Reserve agents for exploratory work. See docs/AGENT_LESSONS_LEARNED.md for case study.
^[a-z][a-z0-9-]{0,63}$ (lowercase + hyphens, max 64 chars)helper, utils, tools, misc, data, general, common, documents.claude/skills/{name}/ or .claude/rules/{name}.md already exists, ask user whether to overwrite or pick a new nameUse a single AskUserQuestion to gather what's needed. Skip questions already answered by $ARGUMENTS:
description field and rule globs)argument-hint)If the user names an existing skill, read its SKILL.md to understand the pattern before proceeding.
Read the exemplar SKILL.md file for each relevant pattern before generating.
| Pattern | When to use | Exemplar (read this) |
|---|---|---|
| Phased workflow | Multi-step processes with dependencies between steps | new-project/SKILL.md (3 phases) |
| Checklist / decision table | Systematic validation, branching logic, audit | submission-prep/SKILL.md (10 categories) |
| Code template | Must produce or follow exact code patterns | wrds-psql/SKILL.md (pipeline template) |
| Gotchas / known issues | Encoding domain traps Claude must avoid | wrds-psql/SKILL.md (19 numbered items) |
| Reference table | Quick-lookup data (palettes, sizes, thresholds) | publication-figures/SKILL.md |
| Philosophy + principles | Judgment-heavy tasks needing guiding principles | build-deck/SKILL.md (Rhetoric of Decks) |
Most skills combine 2-3 patterns:
wrds-psql, onboardsubmission-prep, style-checkbuild-deck, respond-to-refereepanel-data-rules, wrds-psqlMatch specificity to the task's fragility:
wrds-psql pipeline.submission-prep checks.write-section, respond-to-referee.Before generating, read 1-2 exemplar SKILL.md files for the chosen pattern(s). This grounds the output in proven patterns from this project.
For user-invocable or auto-apply skills:
---
name: {validated-name}
description: "{third-person description stating WHAT and WHEN, max 1024 chars}"
argument-hint: "{format hint, only if skill takes arguments}"
---
For auto-trigger rules:
---
description: {third-person description of what the rule enforces}
paths:
- "**/*.{ext}"
- "{other glob patterns}"
---
Rules have NO name field. The paths field lists glob patterns that trigger the rule.
< >)# {Human-Readable Skill Name}
{1-2 sentence purpose statement}
## Examples ← only for user-invocable skills
- `/skill-name` -- basic usage
- `/skill-name arg` -- with argument
- `/skill-name --flag` -- variant
{Body sections using chosen pattern(s)}
## Output ← if skill produces a report/summary
{Template of what Claude prints when done}
.claude/rules/workflow.md (or similar). Auto-apply triggers depend on the LLM noticing the description — rules are guarantees. Critical workflows need both.Only create auxiliary files if:
Keep references ONE level deep from SKILL.md. Never chain: file A → file B → file C.
For reference files longer than 100 lines, include a table of contents at the top.
Read best-practices.md (in this skill's directory) and run the validation checklist against the generated skill.
name matches ^[a-z][a-z0-9-]{0,63}$ (skills) or is absent (rules)description under 1024 charsdescription contains no XML tags (< >)description is in third persondescription states both WHAT and WHENpaths field present with valid glob patterns## Examples section present (if user-invocable)## Output section present (if skill produces reports)Fix any violations before presenting the skill to the user.
CLAUDE.md and find the ## Skills & Rules section### Factor Construction & Data — domain skills for PyBondLab### Infrastructure — meta-skills for creating/auditing skills, rules, agents### Category section—, not --):
- \/skill-name` — One-line description`- \skill-name` — One-line description. Auto-apply when...`- \rule-name` — One-line description`Only add to the README skills tree if the skill is infrastructure-level (not domain-specific). Add under the skills/ section:
{name}/SKILL.md # Short description (/skill-name)
SKILL CREATED: {name}
==================
Type: {user-invocable skill | auto-apply skill | auto-trigger rule}
Location: {file path}
Patterns: {chosen patterns}
Lines: {line count} / 500
Registered in CLAUDE.md under: {category}
Files created:
{list of files with line counts}
To test: ask Claude "when would you use {name}?" — the description should give a clear answer.
Four phases: Read → Analyze → Report → Fix.
Parse the audit target from $ARGUMENTS:
audit <name> → read .claude/skills/{name}/SKILL.mdaudit all → list and read all SKILL.md files in .claude/skills/*/audit (no target) → list all skills as a numbered list, ask which to audit (or offer all)Also read:
best-practices.md (in this skill's directory) for evaluation criteriaCLAUDE.md to check ecosystem registrationRun 12 checks grouped in 4 categories. For each: PASS, WARN, or FAIL.
name present, matches ^[a-z][a-z0-9-]{0,63}$, no reserved words ("anthropic", "claude"), not generichelper, data, utils)name, invalid characters, or contains reserved wordsdescription present, non-empty, under 1024 characters, no XML angle bracketsargument-hint; rules have paths## Examples present with usage patterns (user-invocable) or N/A (auto-apply/rules)Check for: Windows-style backslash paths, menus without defaults, nested references deeper than 1 level, tool/package assumptions without availability checks.
Check root CLAUDE.md for the skill under the Skills & Rules section.
Check if body references other files (e.g., best-practices.md, templates).
Compare this skill's description against all other skills.
Print structured report:
SKILL AUDIT: {name}
=============================
File: .claude/skills/{name}/SKILL.md | Lines: {count} | Type: {user-invocable|auto-apply|rule}
A. FRONTMATTER B. BODY QUALITY
[PASS] A1 Name [PASS] B5 Lines ({n})
[PASS] A2 Description [PASS] B6 Sections
[PASS] A3 Desc quality [PASS] B7 Examples
[PASS] A4 Type fields [PASS] B8 Token efficiency
[PASS] B9 Anti-patterns
C. ECOSYSTEM D. CONSISTENCY
[PASS] C10 CLAUDE.md [PASS] D12 Overlap
[PASS] C11 Aux files
SUGGESTIONS:
1. [B5] At 478 lines, approaching the 500-line limit.
RESULT: 12/12 passed, 0 warnings, 0 failures
For all mode, print each skill's report separately, then a summary table:
SUMMARY: {N} skills audited
==============================
| Skill | Pass | Warn | Fail |
|------------------------|------|------|------|
| build-deck | 12 | 0 | 0 |
| create-skill | 11 | 1 | 0 |
| wrds-psql | 12 | 0 | 0 |
| ... | | | |
After reporting, offer to fix FAIL items:
## Examples section with usage patternsNever auto-fix without showing the proposed change first.
Reading best practices reference...