skill-construction

Construct a structured methodology for a Claude Code skill (SKILL.md + optional resources + evaluation criteria). Based on extracted components, assess complexity (level 1–3), plan resource grouping, draft SKILL.md following Anthropic writing best practices (concise preface stating “what” and “when” triggers, body under 500 lines, progressive disclosure to one level of resources, workflow checklist), and build evaluation criteria. Intended for when components have been extracted and consolidated and the next step is instantiating them as a skill. Trigger keywords include build skill, generate SKILL.md, skill scaffold, and related phrases.

Last repository push
GitHub Stars
206
Forks
28
Issues / PRs
3

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "skill-construction" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3ac5292635addc1d903ce48480da1d761fdee753e6f3fa3f3394e9a4d689316f. Verify the upstream source and version against https://github.com/lyndonkl/claude before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Construct a structured methodology for a Claude Code skill (SKILL.md + optional resources + evaluation criteria). Based on extracted components, assess complexity (level 1–3), plan resource grouping, draft SKILL.md following Anthropic writing best practices (concise preface stating “what” and “when” triggers, body under 500 lines, progressive disclosure to one level of resources, workflow checklist), and build evaluation criteria. Intended for when components have been extracted and consolidated and the next step is instantiating them as a skill. Trigger keywords include build skill, generate SKILL.md, skill scaffold, and related phrases.

0 Downloads

Introduction source: third_party · lyndonkl · 0.0.1 Reference

SkillPi interpretation

Tasks
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.
Inputs and outputs
`extracted_components`: structured terms / propositions / arguments / solutions from `component-extraction` `synthesis_output`: the GO / GO_WITH_GAPS verdict from `synthesis-application` plus its gap-fill recommendations `target_dir`: where the skill should be written (typically `skills/{skill-name}/`) `purpose_context`: e.g., `skill_extraction_from_methodology` (the standard case)
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: skill-construction
description: 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.

skill-construction

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.

Workflow

- [ ] 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

Inputs

  • extracted_components: structured terms / propositions / arguments / solutions from component-extraction
  • synthesis_output: the GO / GO_WITH_GAPS verdict from synthesis-application plus its gap-fill recommendations
  • target_dir: where the skill should be written (typically skills/{skill-name}/)
  • purpose_context: e.g., skill_extraction_from_methodology (the standard case)

Complexity levels

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:

  • Total workflow steps the methodology has
  • Major decision points (each typically warrants a section)
  • Number of distinct concepts that need explanation
  • Examples needed (more examples → more lines → likely Level 2 or 3)

SKILL.md structure (always required)

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)

Resource file structure (Level 2 and 3)

Each resource file:

  • Focused on one cohesive topic (don't sprawl)
  • < 500 lines
  • Cross-referenced from SKILL.md as a one-level-deep link
  • Follows a ## Why X then ## What to do structure (the WHY activates context; the WHAT gives concrete instructions)

Two grouping approaches:

  • By workflow step (best for complex skills) — one resource file per major step, named for the step
  • By topic (best for moderate skills) — key-concepts.md, decision-framework.md, examples.md

Evaluation rubric

Always include resources/evaluators/rubric_{skill_name}.json. 10 criteria, each scored 1-5. Common criteria:

  1. Description specificity (third person, what + when, triggers)
  2. Workflow completeness (all major steps captured)
  3. Pattern coverage (common cases addressed)
  4. Guardrail clarity (must-nots are concrete)
  5. Example quality (examples are concrete, not abstract)
  6. Resource organization (files focused, one-level-deep links)
  7. Token efficiency (no over-explanation; assumes Claude is smart)
  8. Consistency (terminology stable; format matches across sections)
  9. Triggers explicit (key phrases listed in description)
  10. Tested (at least one real-world test case considered)

Target average ≥ 3.5 before shipping.

Output structure

## 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).}

Anchoring against authoring best practices

Conform to Anthropic's agent skills authoring best practices:

  • Concise is key. Only add context Claude doesn't already have. Challenge each piece: "does Claude need this explanation?"
  • Set appropriate degrees of freedom. High freedom (text instructions) for judgment calls; low freedom (specific scripts) for fragile procedures.
  • Keep references one level deep. SKILL.md links directly to resource files; resources don't link to other resources.
  • Workflow checklists for complex tasks. Calling agent can copy and check off as it progresses.
  • Feedback loops. Validator → fix errors → repeat.
  • Avoid Windows-style paths. Forward slashes always.
  • Avoid offering too many options. One default with an escape hatch beats five alternatives.
  • MCP tools use fully qualified names. ServerName:tool_name.

Common patterns

Pattern A — From a methodology document (the standard skill-creation case)

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.

Pattern B — From a research paper

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.

Pattern C — Refactoring an existing skill

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.

Guardrails

  1. Don't construct without a GO verdict. If synthesis-application returned NO_GO, return upstream — building a skill from incomplete components is wasted work.
  2. Don't exceed 500 lines in SKILL.md body. Push depth into resource files.
  3. Don't skip the rubric. Self-evaluation gates ship-readiness; without a rubric there's no objective standard.
  4. Don't over-engineer. A 3-step methodology is Level 1 — don't build it as Level 3 because resources feel "more professional."
  5. Don't use Anthropic's reserved words in name. "claude", "anthropic" — silently breaks discovery.
  6. Don't claim test coverage you don't have. The rubric's "Tested" criterion is a real check; mark it 1 if no test scenario was considered.

Related

  • 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.
  • The skill-creator skill at skills/skill-creator/SKILL.md invokes this skill as its Step 5.

Version history

  1. 0.1 GitHub ↗
    Original release notes

    ## What's Changed * Improve writer skill navigation and structure by @lyndonkl in https://github.com/lyndonkl/claude/pull/1 * Consolidate stickiness content and reduce revision to 3 passes by @lyndonkl in https://github.com/lyndonkl/claude/pull/2 * Update README.md to reflect current writer skill structure by @lyndonkl in https://github.com/lyndonkl/claude/pull/3 * Add explicit instructions for AI agents to follow resource file workf… by @lyndonkl in https://github.com/lyndonkl/claude/pull/4 * Change analysis files from /tmp/ to project directory by @lyndonkl in https://github.com/lyndonkl/claude/pull/5 * Add five refined skills to production by @lyndonkl in https://github.com/lyndonkl/claude/pull/6 * Add causal-inference-root-cause skill and fix missing methodology files by @lyndonkl in https://github.com/lyndonkl/claude/pull/7 * Add workflow pattern to 6 completed skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/8 * Add chain-estimation and roleplay-debate skills with optimizations by @lyndonkl in https://github.com/lyndonkl/claude/pull/9 * Add 3 new skills and update writer skill workflow pattern by @lyndonkl in https://github.com/lyndonkl/claude/pull/10 * Add skills #12-13: constraint-based-creativity and data-schema-knowle… by @lyndonkl in https://github.com/lyndonkl/claude/pull/11 * Add skills #14-16: decision-matrix, decomposition-reconstruction, deliberation-debate-red-teaming by @lyndonkl in https://github.com/lyndonkl/claude/pull/12 * Add skills #17-19: design-of-experiments, dialectical-mapping-steelmanning, discovery-interviews-surveys by @lyndonkl in https://github.com/lyndonkl/claude/pull/13 * Add chef-assistant skill and update README by @lyndonkl in https://github.com/lyndonkl/claude/pull/14 * Fix README: Remove links to gitignored scratchpad files by @lyndonkl in https://github.com/lyndonkl/claude/pull/15 * Add skills #14-22: 9 new production-ready skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/16 * Add skills #20-24 and workflow pattern updates by @lyndonkl in https://github.com/lyndonkl/claude/pull/17 * Add skill #25: expected-value by @lyndonkl in https://github.com/lyndonkl/claude/pull/18 * Add skills #26-28: facilitation-patterns, financial-unit-economics, focus-timeboxing-8020 by @lyndonkl in https://github.com/lyndonkl/claude/pull/19 * Add skills #29-30: heuristics-and-checklists, hypotheticals-counterfactuals by @lyndonkl in https://github.com/lyndonkl/claude/pull/20 * Add skills #31-33: information-architecture, kill-criteria-exit-ramps, layered-reasoning by @lyndonkl in https://github.com/lyndonkl/claude/pull/21 * Add Claude Code plugin support by @lyndonkl in https://github.com/lyndonkl/claude/pull/22 * Fix plugin marketplace source path by @lyndonkl in https://github.com/lyndonkl/claude/pull/23 * Add skill #34: mapping-visualization-scaffolds by @lyndonkl in https://github.com/lyndonkl/claude/pull/24 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/25 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/26 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/27 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/28 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/29 * Add skill #59: skill-extraction by @lyndonkl in https://github.com/lyndonkl/claude/pull/30 * Add skill-creator: Transform documents into actionable skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/31 * Update skill count from 58 to 61 in README by @lyndonkl in https://github.com/lyndonkl/claude/pull/32 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/33 * Add d3-visualization skill: comprehensive D3.js implementation guide by @lyndonkl in https://github.com/lyndonkl/claude/pull/34 * Add comprehensive Superforecasting Toolkit with 4 skills and orchestr… by @lyndonkl in https://github.com/lyndonkl/claude/pull/35 * Add "Run in Smithery" badge by @gurdasnijor in https://github.com/lyndonkl/claude/pull/36 * Add Scientific Writing Toolkit with 6 skills and orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/37 * Improve skill invocation rules and update README by @lyndonkl in https://github.com/lyndonkl/claude/pull/38 * Add Geometric Deep Learning skill suite and orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/39 * Decompose writer skill into 4 focused skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/40 * Add GraphRAG skill suite with 5 skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/41 * Decompose cognitive-design skill into 3 focused skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/42 ## New Contributors * @lyndonkl made their first contribution in https://github.com/lyndonkl/claude/pull/1 * @gurdasnijor made their first contribution in https://github.com/lyndonkl/claude/pull/36 **Full Changelog**: https://github.com/lyndonkl/claude/commits/0.1

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供完整的技能构建方法论,覆盖从复杂度评估到评估标准的全流程
  • 适用于已提取组件后的技能实例化,具有明确的实用价值
Trigger Precision90/100

Highlights

  • 触发关键词明确且完整,覆盖多种变体
  • description 清晰说明触发条件(extracted components + synthesis verdict)
Structure and Standards95/100

Areas to improve

  • description 内容重复 Reported severity: Minor

    frontmatter 和 body 开头均包含相似描述,存在轻微冗余

    Recommendation: 可精简 body 开头的重复描述,保留 frontmatter 中的完整 description

Highlights

  • 结构清晰,Phase/步骤完整,包含复杂度分级、资源规划、评估标准等
  • 遵循 Anthropic 最佳实践,提供端到端示例和输出结构
Execution Reliability90/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常场景
  • 包含自评机制和出口条件,确保执行可靠性
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • platform.claude.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.