Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

componentcomponent 搜索

Agent Skill

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

总安装

346

周安装

14

GitHub Stars

公开资料未说明

下载量

109
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add zpankz/mcp-skillset --skill "component"

简介

components 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于前端组件库、UI 设计系统或可复用模块的信息查询与推荐。
  • 通过 npx skills add zpankz/mcp-skillset --skill "component" 安装,需确认权限范围和维护状态。
  • 使用前建议核实是否会触发联网、命令执行或文件读写,确保符合企业安全策略。
  • 可结合来源仓库和原始 README 进一步了解具体组件列表和使用方式。

SKILL.md

name
component
description
Generate syntactically correct Claude Code configuration components (commands, subagents, skills, output styles) with optimal cross-component integration. Triggers on requests to create slash commands, agents, subagents, skills, output styles, Claude Code plugins, agentic workflows, or multi-agent pipelines. Ensures parameter validity per component type and semantic coherence across component references.

Component: Claude Code Configuration Generator

Generate integrated Claude Code configuration with syntactically valid YAML frontmatter and semantically coherent cross-references.

Component Architecture

┌─────────────────────────────────────────────────────────────────────────────┐
│                          CLAUDE CODE CONFIGURATION                          │
├─────────────────────────────────────────────────────────────────────────────┤
│                                                                             │
│   COMMANDS ─────────invoke────────► SUBAGENTS                               │
│   (.claude/commands/*.md)           (.claude/agents/*.md)                   │
│   • Entry points                    • Specialized personas                  │
│   • Tool orchestration              • Persistent identity                   │
│   • User-facing /slash              │                                       │
│                                     ▼ load                                  │
│                                   SKILLS                                    │
│                                   (.claude/skills/*/SKILL.md)               │
│                                   • Procedural knowledge                    │
│                                   • Domain expertise                        │
│                                                                             │
│   STYLES ─────────modulate────────► SESSION BEHAVIOR                        │
│   (.claude/styles/*.md)             • Autonomy level                        │
│   • Interaction patterns            • Output format                         │
│                                     • Checkpoint frequency                  │
└─────────────────────────────────────────────────────────────────────────────┘

Relationships:

  • Commands invoke Subagents (via Agent tool)
  • Subagents load Skills (via skills: array)
  • Styles modulate session behavior (parallel to commands, not hierarchical)

Parameter Matrix

ParameterCommandsSubagentsSkillsStyles
name✗ (filename)✗ (filename)✓ (required)✓ (required)
description✓ (required)✓ (required)✓ (required)✓ (required)
allowed-tools
disallowed-tools
model
argument-hint
disable-model-invocation
permissionMode
skills
keep-coding-instructions

Parameter Dependencies

allowed-tools + Agent ──────► enables subagent spawning
skills ──────────────────────► requires skill directories exist
permissionMode: allow ───────► full autonomy (no prompts)
permissionMode: ask ─────────► checkpoint prompts (default)
permissionMode: deny ────────► read-only operations

Component Specifications

Commands (.claude/commands/<name>.md)

Filename becomes /slash-command (no name field).

---
description: Execute [action] on [target]     # REQUIRED
allowed-tools: [Read, Write, Agent]           # Optional: tool access
model: sonnet                                 # Optional: sonnet|opus|haiku
argument-hint: <target>                       # Optional: CLI placeholder
---

## Implementation

[Procedural instructions for command execution]
[Can spawn subagents via Agent tool]

Example (/review):

---
description: Review code changes for quality and correctness
allowed-tools: [Read, Grep, Glob, Agent]
model: opus
argument-hint: <path>
---

## Execution

1. Analyze target path for code changes
2. Spawn reviewer agent with file context
3. Synthesize findings into actionable feedback

Subagents (.claude/agents/<name>.md)

Specialized personas with tool access and skill mastery.

---
description: [Role] specializing in [domain]. [Key traits].  # REQUIRED
allowed-tools: [Read, Write]                                  # Permitted tools
disallowed-tools: [Bash]                                      # Explicit denials
model: sonnet                                                 # Reasoning model
permissionMode: ask                                           # ask|allow|deny
skills: [skill-a, skill-b]                                    # Loaded procedures
---

## Persona

[Identity, decision heuristics, communication style]

Example (security-analyst.md):

---
description: Security analyst for vulnerability detection and threat modeling. Methodical, conservative.
allowed-tools: [Read, Grep, Glob]
disallowed-tools: [Write, Bash]
model: opus
permissionMode: ask
skills: [security-analysis, threat-modeling]
---

## Persona

Identify vulnerabilities with CVSS scoring. Prioritize by exploitability.
Flag sensitive data exposure. Never modify production code directly.

Skills (.claude/skills/<name>/SKILL.md)

Procedural knowledge packages loaded by subagents.

---
name: skill-name                              # REQUIRED: kebab-case, ≤64 chars
description: Procedures for [domain]. Trigger when [conditions].  # REQUIRED: ≤1024 chars
allowed-tools: [Read]                         # Optional: tool restrictions when active
---

## Procedures

[Step-by-step workflows, decision trees, domain knowledge]

Example (security-analysis/SKILL.md):

---
name: security-analysis
description: Static security analysis procedures. Trigger when reviewing code for vulnerabilities, secrets, or injection risks.
---

## Detection Patterns

### Secret Detection
- API keys: `[A-Za-z0-9]{32,}`
- AWS keys: `AKIA[A-Z0-9]{16}`
- Private keys: `-----BEGIN.*PRIVATE KEY-----`

### Injection Risks
- SQL: Unparameterized queries with string concatenation
- XSS: Unescaped user input in HTML templates
- Command: Shell execution with user-controlled arguments

Styles (.claude/styles/<name>.md)

Interaction mode modulators for session behavior.

---
name: style-name                              # REQUIRED
description: [Interaction pattern] for [use case].  # REQUIRED
keep-coding-instructions: true                # Optional: preserve coding behavior
---

## Behavior Modifications

[Output format, checkpoint frequency, autonomy level]

Supervision Gradient:

StyleBehaviorUse Case
autonomousExecute without prompting, log decisionsTrusted automation
supervisedCheckpoint at key decisionsNormal development
collaborativeExplain reasoning, seek approvalLearning, auditing

Tool Pattern Syntax

allowed-tools:
  # Basic tools
  - Read                      # File reading
  - Write                     # File writing
  - Edit                      # File editing
  - Glob                      # Pattern matching
  - Grep                      # Text search
  - LS                        # Directory listing
  - Agent                     # Subagent spawning
  - WebFetch                  # URL fetching
  
  # Bash patterns
  - Bash(git status)          # Exact command
  - Bash(git:*)               # All git subcommands
  - Bash(npm run:*)           # All npm run scripts
  
  # MCP tools
  - mcp__server__tool         # Specific MCP tool
  - mcp__github__*            # All tools from MCP server

Generation Workflow

┌─────────────────────────────────────────────────────────────────────────────┐
│ 1. ANALYZE                                                                  │
│    └─► Identify domain requirements, capabilities needed                    │
├─────────────────────────────────────────────────────────────────────────────┤
│ 2. DESIGN SKILLS                                                            │
│    └─► Package domain procedures (security-analysis, code-review, etc.)     │
├─────────────────────────────────────────────────────────────────────────────┤
│ 3. CREATE SUBAGENTS                                                         │
│    └─► Define personas that load skills, set tool access                    │
├─────────────────────────────────────────────────────────────────────────────┤
│ 4. BUILD COMMANDS                                                           │
│    └─► Create /slash entry points that invoke agents                        │
├─────────────────────────────────────────────────────────────────────────────┤
│ 5. CONFIGURE STYLES                                                         │
│    └─► Set supervision levels for different workflows                       │
├─────────────────────────────────────────────────────────────────────────────┤
│ 6. VALIDATE                                                                 │
│    └─► Check syntax, cross-references, parameter validity                   │
└─────────────────────────────────────────────────────────────────────────────┘

Integration Patterns

Pattern 1: Skill-Backed Agent

skill: code-analysis ──► agent: analyst ──► command: /analyze
                              │
                         skills: [code-analysis]

Agent loads procedural knowledge via skills, invoked by command.

Pattern 2: Multi-Agent Pipeline

command: /ship
    │
    ├─► Agent[planner] ───► Plan
    ├─► Agent[implementer] ► Code  
    ├─► Agent[reviewer] ──► Review
    └─► Agent[deployer] ──► Deploy

Sequential agent stages for complex workflows.

Pattern 3: Skill Composition

Agent loads multiple skills for comprehensive expertise:

# .claude/agents/fullstack.md
---
description: Full-stack developer proficient across domains
skills:
  - frontend-development
  - backend-development
  - security-guidelines
---

Pattern 4: Skill References Skill

Skills can reference procedures from other skills:

# .claude/skills/advanced-security/SKILL.md
---
name: advanced-security
description: Advanced threat modeling. Extends security-analysis procedures.
---

## Foundation

Load base procedures from `security-analysis` skill, then apply:

### Extended Analysis
- Supply chain attack vectors
- Dependency confusion risks
- CI/CD pipeline vulnerabilities

Validation Checklist

Commands

  • [ ] No name field (filename is command name)
  • [ ] Has description (imperative verb + target)
  • [ ] Tool patterns valid
  • [ ] No forbidden params: permissionMode, skills, keep-coding-instructions

Subagents

  • [ ] Has description (role + domain + traits)
  • [ ] skills: arrays reference existing skill directories
  • [ ] permissionMode is ask, allow, or deny
  • [ ] model is sonnet, opus, or haiku

Skills

  • [ ] Has name (kebab-case, matches directory)
  • [ ] Has description (max 1024 chars, includes trigger conditions)
  • [ ] SKILL.md under 500 lines
  • [ ] Directory contains SKILL.md at minimum

Styles

  • [ ] Has name and description
  • [ ] keep-coding-instructions is boolean if present
  • [ ] No tool or model parameters

Cross-References

  • [ ] All skills in skills: arrays exist as directories
  • [ ] All agents referenced by commands exist
  • [ ] No circular skill dependencies

Troubleshooting

SymptomCauseFix
Command not appearingMissing .claude/commands/ pathEnsure file in correct directory
Agent can't access toolallowed-tools missing toolAdd tool to agent's allowed-tools
Skill not loadingSkill name mismatchEnsure name: matches directory name
Style not applyingMissing name fieldAdd required name parameter

Alternatives Considered

JSON Configuration: Single .claude.json file is simpler but lacks prose instructions and becomes unwieldy at scale. Markdown files support rich documentation alongside configuration.

Flat Structure: All components in one directory sacrifices organization but works for small projects. Current structure scales to dozens of components.

References

Detailed documentation by topic:

  • references/syntax.md — Complete YAML frontmatter schemas, all parameters
  • references/patterns.md — Integration patterns, multi-agent pipelines
  • references/examples.md — Full plugin examples with all component types

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

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

平台分布

OpenCode

28.24%
按下载量换算31

Claude Code

23.31%
按下载量换算25

windsurf

17.18%
按下载量换算19

Codex

13.43%
按下载量换算15

kiro-cli

8.31%
按下载量换算9

mcpjam

3.82%
按下载量换算4

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills