Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

skill-developer技能开发者

Agent Skill

skill-developer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

682

周安装

29

GitHub Stars

61

下载量

239
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:skill-developer(技能开发者)
来源仓库:https://github.com/grasmash/drupal-claude-skills
仓库路径:skills/skill-developer
安装命令:
npx skills add https://github.com/grasmash/drupal-claude-skills --skill skill-developer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/grasmash/drupal-claude-skills --skill skill-developer

简介

用于查找 Drupal 技能开发与 Claude 集成相关的资源。

  • 适合检索模块开发、钩子使用与 API 调用范例。
  • 使用时可提供具体功能需求或技术难点关键词。skill-developer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 可返回代码片段、文档链接与社区最佳实践参考。
  • 安装前请核实是否需访问 Drupal.org 或第三方知识库。

SKILL.md

Skill Developer Guide

Purpose

Comprehensive guide for creating and managing skills in Claude Code, following the Agent Skills Specification and Anthropic's best practices including the 500-line rule and progressive disclosure pattern.

Agent Skills Specification (agentskills.io)

Skills in this project follow the open Agent Skills Specification. Key requirements:

Directory Structure

skills/{skill-name}/
├── SKILL.md           # Required - main skill file
├── references/        # Optional - detailed documentation
├── scripts/           # Optional - executable code (Python, Bash, JS)
└── assets/            # Optional - templates, images, data files

SKILL.md Frontmatter Schema

Required Fields:

FieldRequirements
name1-64 chars, lowercase alphanumeric + hyphens, must match directory name
description1-1024 chars, include keywords for agent activation

Optional Fields:

FieldPurpose
licenseLicense for sharing skills publicly
compatibilityEnvironment requirements (packages, network access)
metadataKey-value pairs for custom properties
allowed-toolsPre-approved tools list (experimental)

Progressive Disclosure Model

  1. Metadata (~100 tokens) - loads at startup
  2. Full instructions (<5000 tokens recommended) - loads on activation
  3. Supporting files - loads as needed

Validation

Use skills-ref tool or validate manually:

  • File must be named SKILL.md (uppercase)
  • Name in frontmatter must match parent directory
  • Description should include trigger keywords

When to Use This Skill

Automatically activates when you mention:

  • Creating or adding skills
  • Modifying skill triggers or rules
  • Understanding how skill activation works
  • Debugging skill activation issues
  • Claude Code best practices
  • Progressive disclosure
  • YAML frontmatter
  • 500-line rule

System Overview

Skill Activation Approaches

There are several approaches to skill activation, from simple to advanced:

1. Description-Based Activation (Default)

  • Claude reads skill descriptions from frontmatter at session start
  • Activates skills when user prompts match description keywords
  • No additional configuration needed
  • Works out of the box with the agentskills.io spec

2. Example Implementation: Hook-Based Activation

For more sophisticated activation, you can build a hook system. This is an advanced pattern:

UserPromptSubmit Hook (Proactive Suggestions)

  • Trigger: BEFORE Claude sees user's prompt
  • Purpose: Suggest relevant skills based on keywords + intent patterns
  • Method: Injects formatted reminder as context (stdout to Claude's input)

Stop Hook (Gentle Reminders)

  • Trigger: AFTER Claude finishes responding
  • Purpose: Gentle reminder to self-assess patterns in code written
  • Method: Analyzes edited files for patterns, displays reminder if needed

Configuration for Hook Systems:

A rules file (e.g., skill-rules.json) can define:

  • All skills and their trigger conditions
  • Enforcement levels (block, suggest, warn)
  • File path patterns (glob)
  • Content detection patterns (regex)
  • Skip conditions (session tracking, file markers, env vars)

Skill Types

1. Guardrail Skills

Purpose: Enforce critical best practices that prevent errors

Characteristics:

  • Type: "guardrail"
  • Enforcement: "block"
  • Priority: "critical" or "high"
  • Block file edits until skill used
  • Prevent common mistakes
  • Session-aware (don't repeat nag in same session)

Examples:

  • database-verification - Verify table/column names before queries
  • frontend-dev-guidelines - Enforce React/TypeScript patterns

When to Use:

  • Mistakes that cause runtime errors
  • Data integrity concerns
  • Critical compatibility issues

2. Domain Skills

Purpose: Provide comprehensive guidance for specific areas

Characteristics:

  • Type: "domain"
  • Enforcement: "suggest"
  • Priority: "high" or "medium"
  • Advisory, not mandatory
  • Topic or domain-specific
  • Comprehensive documentation

Examples:

  • backend-dev-guidelines - Node.js/Express/TypeScript patterns
  • frontend-dev-guidelines - React/TypeScript best practices
  • drupal-search-api - Search API configuration guidance

When to Use:

  • Complex systems requiring deep knowledge
  • Best practices documentation
  • Architectural patterns
  • How-to guides

Quick Start: Creating a New Skill

Step 1: Create Skill File

Location: skills/{skill-name}/SKILL.md

Template:

---
name: my-new-skill
description: Brief description including keywords that trigger this skill. Mention topics, file types, and use cases. Be explicit about trigger terms.
---

# My New Skill

## Purpose
What this skill helps with

## When to Use
Specific scenarios and conditions

## Key Information
The actual guidance, documentation, patterns, examples

Best Practices (per agentskills.io spec):

  • Name: 1-64 chars, lowercase alphanumeric + hyphens, must match directory name
  • Description: 1-1024 chars, include ALL trigger keywords/phrases
  • Content: Under 500 lines - use references/ directory for details
  • Examples: Real code examples
  • Structure: Clear headings, lists, code blocks

Step 2: (Optional) Add Trigger Rules

If using a hook-based activation system, add rules:

Basic Template:

{
  "my-new-skill": {
    "type": "domain",
    "enforcement": "suggest",
    "priority": "medium",
    "promptTriggers": {
      "keywords": ["keyword1", "keyword2"],
      "intentPatterns": ["(create|add).*?something"]
    }
  }
}

Step 3: Test Activation

Verify your skill activates correctly:

  • Try prompts that should trigger it
  • Try prompts that should NOT trigger it
  • Refine description keywords based on results

Step 4: Follow Anthropic Best Practices

  • Keep SKILL.md under 500 lines
  • Use progressive disclosure with reference files
  • Add table of contents to reference files > 100 lines
  • Write detailed description with trigger keywords
  • Test with 3+ real scenarios before documenting
  • Iterate based on actual usage

Enforcement Levels

BLOCK (Critical Guardrails)

  • Physically prevents Edit/Write tool execution
  • Claude sees message and must use skill to proceed
  • Use For: Critical mistakes, data integrity, security issues

Example: Database column name verification

SUGGEST (Recommended)

  • Reminder injected before Claude sees prompt
  • Claude is aware of relevant skills
  • Not enforced, just advisory
  • Use For: Domain guidance, best practices, how-to guides

Example: Frontend development guidelines

WARN (Optional)

  • Low priority suggestions
  • Advisory only, minimal enforcement
  • Use For: Nice-to-have suggestions, informational reminders

Rarely used - most skills are either BLOCK or SUGGEST.


Skip Conditions & User Control

1. Session Tracking

Purpose: Don't nag repeatedly in same session

How it works:

  • First edit: Hook blocks, updates session state
  • Second edit (same session): Hook allows
  • Different session: Blocks again

2. File Markers

Purpose: Permanent skip for verified files

Marker: // @skip-validation

Usage:

// @skip-validation
import { PrismaService } from './prisma';
// This file has been manually verified

NOTE: Use sparingly - defeats the purpose if overused

3. Environment Variables

Purpose: Emergency disable, temporary override

Global disable:

export SKIP_SKILL_GUARDRAILS=true  # Disables ALL blocks

Skill-specific:

export SKIP_DB_VERIFICATION=true

Testing Checklist

When creating a new skill, verify:

  • Skill file created in skills/{name}/SKILL.md
  • Proper frontmatter with name and description
  • Keywords tested with real prompts
  • No false positives in testing
  • No false negatives in testing
  • SKILL.md under 500 lines
  • Reference files created if needed
  • Table of contents added to files > 100 lines

Advanced Topics

For teams building sophisticated activation systems, consider:

  • Trigger types: Keywords, intent patterns, file path globs, content regex
  • Hook mechanisms: UserPromptSubmit, PreToolUse, Stop event hooks
  • Session state management: Tracking which skills have been acknowledged
  • Performance: Keep hook execution under 200ms
  • Pattern libraries: Reusable regex and glob patterns

These topics are documented in optional reference files:

  • TRIGGER_TYPES.md - Complete trigger type guide
  • SKILL_RULES_REFERENCE.md - Rules schema documentation
  • HOOK_MECHANISMS.md - Hook internals deep dive
  • TROUBLESHOOTING.md - Debugging activation issues
  • PATTERNS_LIBRARY.md - Ready-to-use pattern collection

Quick Reference Summary

Create New Skill (4 Steps)

  1. Create skills/{name}/SKILL.md with frontmatter
  2. Test activation with real prompts
  3. Refine description keywords based on testing
  4. Keep SKILL.md under 500 lines

Trigger Types

  • Keywords: Explicit topic mentions (in description)
  • Intent: Implicit action detection (advanced, via hooks)
  • File Paths: Location-based activation (advanced, via hooks)
  • Content: Technology-specific detection (advanced, via hooks)

Enforcement

  • BLOCK: Critical only, prevents tool execution
  • SUGGEST: Most common, advisory context injection
  • WARN: Advisory, rarely used

Skip Conditions

  • Session tracking: Automatic (prevents repeated nags)
  • File markers: // @skip-validation (permanent skip)
  • Env vars: SKIP_SKILL_GUARDRAILS (emergency disable)

Anthropic Best Practices & agentskills.io Spec

  • 500-line rule: Keep SKILL.md under 500 lines
  • Progressive disclosure: Use references/ directory for detailed docs
  • Table of contents: Add to reference files > 100 lines
  • One level deep: Don't nest references deeply
  • Rich descriptions: Include all trigger keywords (max 1024 chars per spec)
  • Name = Directory: Skill name in frontmatter must match parent directory
  • Test first: Build 3+ evaluations before extensive documentation
  • Spec URL: https://agentskills.io/specification

Troubleshoot

Test skill activation by trying prompts that should and should not trigger the skill. Refine description keywords iteratively.


Related Files

Configuration:

  • skills/*/SKILL.md - Skill content files

Specification:

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.9%
按下载量换算83

Claude

30.36%
按下载量换算73

Cursor

17.41%
按下载量换算42

Gemini CLI

8.88%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills