majesticlabs-dev/majestic-marketplace

skill-design-philosophy

Core philosophy for designing Claude Code skills - when to use skills vs agents, the knowledge test, and what makes skills valuable.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill skill-design-philosophy

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Skill Design Philosophy

Skills provide knowledge and context, not autonomous execution.

The Knowledge Test

Ask: "Does this TEACH Claude or DO something?"

TEACH (Skill)DO (Agent)
Coding conventionsRun linters and fix code
Workflow methodologyExecute multi-step processes
Framework patternsGenerate reports
Tool usage guidanceFetch and analyze data

Rule: If it produces artifacts without user guidance, it's probably an agent.

Good Skill Examples

SkillWhy It Works
dhh-coderCoding style guidance - patterns Claude applies when writing code
tdd-workflowMethodology knowledge - steps Claude follows for test-driven development
stimulus-coderFramework patterns - conventions Claude uses for Stimulus controllers
pdf-processingTool knowledge - how to use specific libraries and scripts

Pattern: Skills TEACH Claude patterns, conventions, and approaches.

Bad Skill Examples

SkillWhy It Fails
"Code reviewer"Does autonomous work - should be an agent
"Git helper"Vague scope - what specifically does it teach?
"Best practices"Too broad - not actionable
"Documentation generator"Creates artifacts - should be an agent

Pattern: These skills DO things instead of TEACHING things.

Content Rules

IncludeExclude
Concrete patterns and conventionsPersona statements ("You are an expert...")
Specific templates and examplesAttribution ("Inspired by X...")
Decision criteriaDecorative quotes
Error handling guidanceASCII art or box-drawing
Framework-specific idiomsVague "best practices"

Quality Test

"Does every line in this skill improve Claude's behavior?"

If any line is decorative, inspirational, or redundant - cut it.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills