skills/skill-construction/SKILL.md
Methodology for building a properly structured Claude Code skill (SKILL.md + optional resources + evaluation rubric) from extracted components. Assesses complexity (Level 1 simple - SKILL.md only; Level 2 moderate - SKILL.md plus 1-3 resources; Level 3 complex - SKILL.md plus 4-8 resources), plans the resource grouping, drafts SKILL.md following Anthropic's authoring best practices (concise frontmatter with what + when triggers, body under 500 lines, progressive disclosure to resource files one level deep, workflow checklists), and constructs an evaluation rubric. Use when extracted components and a synthesis verdict are in hand and the next step is to materialize them as a skill. Trigger keywords - construct skill, build SKILL.md, skill construction, skill scaffolding, generate skill files.
npx skillsauth add lyndonkl/claude skill-constructionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Builds a Claude Code skill (the SKILL.md file plus any resource files and the evaluation rubric) from a structured set of extracted components and a synthesis verdict. The penultimate step in the skill-creator workflow.
The skill is invoked by the calling agent (typically the skill-creator agent) once synthesis-application has produced a GO or GO_WITH_GAPS verdict on the extracted components. NO_GO sends the agent back upstream.
- [ ] Step 1: Assess complexity level (1-3) from extracted content volume
- [ ] Step 2: Plan resource files (or decide SKILL.md alone is enough)
- [ ] Step 3: Draft SKILL.md frontmatter (name, description, triggers)
- [ ] Step 4: Draft SKILL.md body (workflow checklist, key patterns, guardrails)
- [ ] Step 5: Draft each resource file (focused topic, < 500 lines, WHY/WHAT structure)
- [ ] Step 6: Construct an evaluation rubric (10 criteria, 1-5 scale)
- [ ] Step 7: Output the constructed skill files
extracted_components: structured terms / propositions / arguments / solutions from component-extractionsynthesis_output: the GO / GO_WITH_GAPS verdict from synthesis-application plus its gap-fill recommendationstarget_dir: where the skill should be written (typically skills/{skill-name}/)purpose_context: e.g., skill_extraction_from_methodology (the standard case)Match structure to content volume. Don't over-engineer; don't under-engineer.
| Level | Steps in workflow | Estimated lines total | Structure | | ----- | ------------------ | --------------------- | -------------------------------------- | | 1 | 3-5 | < 300 | SKILL.md + rubric only | | 2 | 5-8 | 300-800 | SKILL.md + 1-3 resource files + rubric | | 3 | 8+ | 800+ | SKILL.md + 4-8 resource files + rubric |
Decide based on:
YAML frontmatter:
name: lowercase-hyphens, ≤64 chars, no XML, no reserved words ("anthropic", "claude")description: third-person, both what the skill does AND when to use it, including trigger keywords. ≤1024 chars. This is the discovery surface — Claude uses it to decide whether to invoke the skill.Body sections (typical order):
# {Skill Name} — title + one-paragraph framing## Workflow — checklist the calling agent can copy## {Domain-specific sections} — patterns, decision logic, key concepts## Common patterns — 2-4 named patterns with usage context## Guardrails — must-nots and anti-patterns## Related — pointers to adjacent skills (one level deep only)Each resource file:
## Why X then ## What to do structure (the WHY activates context; the WHAT gives concrete instructions)Two grouping approaches:
key-concepts.md, decision-framework.md, examples.mdAlways include resources/evaluators/rubric_{skill_name}.json. 10 criteria, each scored 1-5. Common criteria:
Target average ≥ 3.5 before shipping.
## Skill Construction Output
### Complexity assessment
Level: {1 | 2 | 3}
Rationale: {1-2 sentences}
Structure: {file list}
### Files created
- {target_dir}/SKILL.md ({line count} lines)
- {target_dir}/resources/{file}.md ({line count} lines) — {topic}
- ...
- {target_dir}/resources/evaluators/rubric_{name}.json (10 criteria)
### Self-evaluation against the rubric
- Average score: {X / 5}
- Below-3 criteria: {list}
- Recommended next-pass focus: {1-2 specific improvements}
### Gaps from upstream synthesis-application
{If the synthesis verdict was GO_WITH_GAPS, restate the gap list and how the construction addressed each (filled / deferred / surfaced as a TODO in the SKILL).}
Conform to Anthropic's agent skills authoring best practices:
ServerName:tool_name.The extracted components come from a methodology guide or framework doc. Workflow steps in SKILL.md mirror the methodology's steps. Resources cover decision logic, examples, and templates.
Less common but valid. The extraction yields propositions and arguments more than steps. SKILL.md becomes a "how to apply this paper's framework to a downstream task" guide. Resources cover the paper's framework and worked examples.
The "extracted components" come from an existing skill that's grown too large or has overlap with another. The construction step writes a leaner version, deferring resources to focused files.
synthesis-application returned NO_GO, return upstream — building a skill from incomplete components is wasted work.name. "claude", "anthropic" — silently breaks discovery.component-extraction — produces the input this skill consumes.synthesis-application — runs immediately before this skill; its GO / GO_WITH_GAPS / NO_GO verdict gates this skill's invocation.evaluation-rubrics — the rubric construction in this skill's Step 6 mirrors the rubric design patterns there.skills/skill-creator/SKILL.md invokes this skill as its Step 5.testing
Cluster a conference's event records into a small set of coarse themes with finer sub-clusters, an explicit outlier bucket, and soft (multi-membership) affinities — using the hybrid embed-then-label pipeline (embed abstracts, reduce, density-cluster, then LLM-label the clusters) when embedding libraries are available, and an LLM-reasoned hierarchical fallback when they are not. Embeddings do the grouping; the LLM only names the groups. Conference-agnostic. Use when turning structured event records into a navigable theme map for preference elicitation and scheduling, when you need 6-8 reasonable themes rather than 20 muddy ones, or when overlapping talks must belong to more than one theme. Trigger keywords - theme clustering, cluster talks, embed then label, soft membership, outlier talks, conference themes, topic map.
development
Build a personal conference schedule as a constraint-optimization problem — hard constraints (no time overlap, room-to-room travel time, capacity/registration, the attendee's own must-attends and blackouts) plus a user-owned weighted objective trading interest against breadth, pacing (maximize contiguous free time), and serendipity. Surfaces unbreakable conflicts (two high-value overlapping talks the model cannot rank) as decisions for the human rather than silently picking, and reports what each choice traded away. Conference-agnostic. Use to turn a preference profile plus a theme map into a day-by-day plan, to resolve overlapping sessions, or to balance a packed vs paced schedule. Trigger keywords - schedule optimization, conference schedule, constraint optimization, overlapping talks, contiguous free time, conflict surfacing, packed vs paced.
development
Parse a heterogeneous conference program (markdown, HTML, PDF-derived text, or JSON) into normalized event records with per-field confidence scores and independent classification axes (topic, depth, format, prerequisites, recorded, capacity). Detects the program's format before extracting, treats every inferred field as uncertain (present vs inferred vs missing), and flags thin or missing abstracts so downstream enrichment can target them. Conference-agnostic. Use when ingesting a conference or event schedule into a structured store, normalizing a talk/session list, or extracting per-session metadata with calibrated confidence. Trigger keywords - program ingestion, parse schedule, session extraction, event records, conference program, talk metadata, per-field confidence.
development
Build a personalized preference profile from a small number of well-chosen, cluster-grounded questions instead of a long survey. Represents the person's interests as an uncertainty region over the theme map, picks the single highest-information-gain choice-based question (contrasting real talks from different clusters), balances exploiting known interests against exploring uncertain ones, deliberately injects outlier probes to fight selection bias, and stops as soon as the schedule would be stable. Also elicits the user-owned objective weights and hard constraints. Interactive — runs where it can actually ask the person. Conference-agnostic. Use to turn a theme map into a preference profile, to decide what to ask a conference attendee, or to elicit scheduling priorities. Trigger keywords - preference elicitation, ask few questions, information gain, choice-based questions, selection bias probe, objective weights, attendee preferences.