skill-builder
Creates and edits Claude Code skills with YAML frontmatter, folder structure, and depth-scaled content. Use when building new skills, updating existing skills, designing SKILL.md metadata, organizing skill folders, validating skill structure, or adding Python and TypeScript scripts for deterministic operations.
$ Installieren
git clone https://github.com/bsamiee/Parametric_Portal /tmp/Parametric_Portal && cp -r /tmp/Parametric_Portal/.claude/skills/skill-builder ~/.claude/skills/Parametric_Portal// tip: Run this command in your terminal to install the skill
name: skill-builder type: standard depth: full description: Creates and edits Claude Code skills with YAML frontmatter, folder structure, and depth-scaled content. Use when building new skills, updating existing skills, designing SKILL.md metadata, organizing skill folders, validating skill structure, or adding Python and TypeScript scripts for deterministic operations.
[H1][SKILL-BUILDER]
Dictum: Structured authoring produces discoverable, maintainable skills.
Create and refine Claude Code skills via structured workflows.
Tasks:
- Collect parameters â Scope:
create | refine, Type:simple | standard | complex, Depth:base | extended | full - Read frontmatter.md â Discovery metadata, trigger patterns
- Read structure.md â Folder layout gated by Type
- Read depth.md â LOC limits, nesting gated by Depth
- (complex) Read scripting.md â Automation standards
- Capture requirements â purpose, triggers, outputs
- Invoke
skill-summarizerwith skillstyle-standardsâ Extract voice, formatting, taxonomy - Invoke
deep-researchâ Domain research for skill topic - Plan with 3 agents â file inventory, section structure, content framework
- Execute per Scope:
- (create) Author new artifacts; select template:
- (refine) Compare input to existing frontmatter; see refine.md:
- Input = existing â optimize (density, fixes, quality)
- Input > existing â upgrade (expand structure or depth)
- Input < existing â downsize (combine, refactor, remove low-relevance)
- Validate â Quality gate, LOC compliance, structure match
Dependencies:
deep-researchâ Domain research via parallel agentsskill-summarizerâ Voice and formatting extraction (with skillstyle-standards)report.mdâ Sub-agent output format
[REFERENCE]: index.md â Complete file listing
[1][FRONTMATTER]
Dictum: Metadata enables discovery before loading.
Frontmatter indexed at session start (~100 tokens). Description is ONLY field parsed for relevanceâquality determines invocation accuracy.
Guidance:
Discoveryâ LLM reasoning matches description to user intent. No embeddings, no keyword matching.Trigger Densityâ Include file types, operations, "Use when" clauses. Every word aids matching.Voiceâ Third person, active, present tense. Prohibit: 'could', 'might', 'probably', 'should'.
Best-Practices:
- Length â 1-2 sentences. Concise triggers outperform verbose explanations.
- Classification â Include
typeanddepthfields for refine workflow detection.
[2][STRUCTURE]
Dictum: Type determines breadthâfolder existence defines capability scope.
Type gates folder creation. Structure defines WHAT exists; Depth constrains HOW MUCH content.
| [INDEX] | [TYPE] | [FOLDERS] |
|---|---|---|
| [1] | Simple | SKILL.md only |
| [2] | Standard | +index.md, references/, templates/ |
| [3] | Complex | +scripts/ |
Guidance:
Namingâ Skill folder matches frontmatternameexactly. Kebab-case throughout.Indexâ Standard/Complex require index.md at root listing all reference files.Upgrade Pathâ Start with simplest type satisfying requirements.
Best-Practices:
- Directory Purpose â references/ for domain knowledge, templates/ for output scaffolds, scripts/ for automation.
- File Limit â Max 7 files in references/ (including nested).
[3][DEPTH]
Dictum: Depth determines comprehensivenessâhard caps prevent bloat.
Depth enforces LOC limits and nesting rights. Each level adds +50 SKILL.md, +25 reference files (cumulative).
| [INDEX] | [DEPTH] | [SKILL.MD] | [REF_FILE] | [NESTING] |
|---|---|---|---|---|
| [1] | Base | <300 | <150 | Flat only |
| [2] | Extended | <350 | <175 | 1 subfolder |
| [3] | Full | <400 | <200 | 1-3 subfolders |
Guidance:
Nesting Gateâ Subfolder requires 3+ related files OR distinct domain concern.Content Scalingâ Base: 1-2 items per Guidance/Best-Practices. Extended: 2-4. Full: comprehensive.LOC Optimizationâ Density over deletion; see depth.md§LOC_OPTIMIZATION.Content Separationâ SKILL.md = WHY, references = HOW; see depth.md§CONTENT_SEPARATION.
Best-Practices:
- Hard Caps â Exceeding limits requires refactoring, not justification.
- No Brute-Force â Consolidate â restructure â densify â prune (in order).
[4][SCRIPTING]
Dictum: Deterministic automation extends LLM capabilities.
Complex type enables scripts/ folder for external tool orchestration, artifact generation, validation.
Guidance:
Justificationâ Script overhead demands explicit need: tool wrapping, exact reproducibility, schema enforcement.Depth Scalingâ Base/Extended: single script. Full: multiple when distinct concerns justify.
Best-Practices:
- Type Selection â Standard suffices for most skills. Complex only when automation is core purpose.
- Augmentation â Scripts support workflows; core logic remains in SKILL.md and references.
[5][TEMPLATES]
Dictum: Templates enforce canonical structure.
Templates define output scaffolds. Agent combines user input with template skeleton for consistent artifacts.
Guidance:
Purposeâ Follow template exactly. No improvisation.Compositionâ Input data + template skeleton = generated artifact.
Best-Practices:
- Placeholder Syntax â Use
${variable-name}for insertion points. - Structure Match â Template complexity matches depth selection.
[6][VALIDATION]
Dictum: Gates prevent incomplete artifacts.
[VERIFY] Completion:
- Parameters: Scope, Type, Depth collected and applied.
- Research:
deep-researchcompleted fully before authoring. - Style:
skill-summarizerconstraints applied to output. - Workflow: Executed per Scope (create | refine).
- Quality: LOC within limits, content separation enforced.
[REFERENCE] Operational checklist: âvalidation.md
Repository
