skill-construction

为 Claude Code 技能构建一套结构化方法论(SKILL.md + 可选资源 + 评估标准),基于已提取的组件评估复杂度(1-3级),规划资源分组,按照 Anthropic 写作最佳实践起草 SKILL.md(含简洁前言说明“什么”和“何时”触发条件、正文少于500行、渐进式披露至一级资源、工作流程清单),并构建评估标准。适用于组件已提取且综合判断完成、下一步为将其实例化为技能的场景。触发关键词包括构建技能、生成 SKILL.md、技能脚手架等。

仓库最近推送
GitHub Stars
206
Forks
28
Issues / PRs
3

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "skill-construction":https://skillpi.com/zh/skills/deepskill-3ac5292635addc1d903ce48480da1d761fdee753e6f3fa3f3394e9a4d689316f。安装前核对上游来源和版本:https://github.com/lyndonkl/claude。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

为 Claude Code 技能构建一套结构化方法论(SKILL.md + 可选资源 + 评估标准),基于已提取的组件评估复杂度(1-3级),规划资源分组,按照 Anthropic 写作最佳实践起草 SKILL.md(含简洁前言说明“什么”和“何时”触发条件、正文少于500行、渐进式披露至一级资源、工作流程清单),并构建评估标准。适用于组件已提取且综合判断完成、下一步为将其实例化为技能的场景。触发关键词包括构建技能、生成 SKILL.md、技能脚手架等。

0 下载

介绍来源: third_party · lyndonkl · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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.

版本历史

  1. 0.1 GitHub ↗
    原版更新说明

    ## 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

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

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

亮点

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

待提升项

  • description 内容重复 原报告严重程度:轻微

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

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

亮点

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

亮点

  • 工具来源明确,参数正确,覆盖主要异常场景
  • 包含自评机制和出口条件,确保执行可靠性
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • platform.claude.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。