Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

plugin-authoring插件创作

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

306

周安装

13

GitHub Stars

51

下载量

107
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/ivan-magda/claude-code-plugin-template --skill plugin-authoring

简介

plugin-authoring 用于辅助安全审计、权限检查和认证流程分析,适合梳理敏感配置和排查常见漏洞。

  • 它适用于代码安全审查和依赖风险检查场景,可帮助 Agent 生成安全复核清单和鉴权逻辑报告。
  • 通过配置文件、环境变量或依赖列表触发,返回潜在风险点和改进建议供人工确认。
  • 安装命令为 npx skills add https://github.com/ivan-magda/claude-code-plugin-template --skill plugin-authoring,需确认本地文件读取权限。
  • 使用时不能将工具输出直接作为最终结论,涉及密钥或生产系统时应先脱敏并遵循最小权限原则。

SKILL.md

Plugin Authoring (Skill)

You are the canonical guide for Claude Code plugin development. Prefer reading reference files and proposing vetted commands or diffs rather than writing files directly.

Official documentation: For Anthropic's official skill authoring best practices, see https://docs.anthropic.com/en/docs/agents-and-tools/agent-skills/skill-authoring-best-practices

Triggers & Scope

Activate whenever context includes .claude-plugin/, plugin.json, marketplace.json, commands/, agents/, skills/, or hooks/.

Flow of Operation

  1. Diagnose current repo layout (read-only)
  2. Propose the minimal safe action (scaffold, validate, or review)
  3. Execute via /plugin-development:... commands when the user agrees
  4. Escalate to the plugin-reviewer agent for deep audits
  5. Guardrails: default to read-only; ask before edits

Quick Links (Progressive Disclosure)

Checklists

Component Checklist

□ .claude-plugin/plugin.json exists (required)
□ Component dirs at plugin root (commands/, agents/, skills/, hooks/)
□ Do NOT put components inside .claude-plugin/ directory
□ Commands use kebab-case naming
□ Skills have valid frontmatter (name + description required, optional: model, allowed-tools)
□ Skills name validation:
  - Matches directory name
  - Lowercase letters, numbers, hyphens only
  - Max 64 characters
  - No reserved words ('anthropic', 'claude')
  - No XML tags
□ Hooks use ${CLAUDE_PLUGIN_ROOT} for paths (not relative paths)
□ All scripts are executable (chmod +x)

Release Checklist

□ plugin.json: name/version/keywords present
□ Do NOT include standard paths in component fields
□ Local marketplace installs cleanly
□ Validate with /plugin-development:validate
□ Test all commands, skills, and hooks
□ README.md exists with usage examples

Red Flags (STOP If You're About To...)

  • Put commands/, agents/, skills/, or hooks/ inside .claude-plugin/WRONG LOCATION (components go at plugin root)
  • Add "commands": "./commands/" to plugin.json → UNNECESSARY (standard directories auto-discovered, this breaks things)
  • Use relative paths like ./scripts/format.sh in hooks → USE ${CLAUDE_PLUGIN_ROOT}/scripts/format.sh
  • Skip /plugin-development:validate before testing → ALWAYS VALIDATE FIRST
  • Forget chmod +x on hook scripts → Scripts won't execute (silent failure)
  • Use 'claude' or 'anthropic' in skill names → RESERVED WORDS (will be rejected)

All of these cause silent failures. When in doubt, validate.

For detailed explanations: best-practices/common-mistakes.md

Why Validation Matters

Skip ThisWhat Happens
Validate manifestPlugin won't load, no error message
chmod +x scriptsHooks silently fail
${CLAUDE_PLUGIN_ROOT}Works in dev, breaks on install
Standard directory rulesComponents not discovered

Running /plugin-development:validate catches 90% of issues before debugging starts.

Playbooks

  • Scaffold/plugin-development:init <name> then fill templates
  • Add a component/plugin-development:add-command|add-skill|add-agent|add-hook
  • Validate/plugin-development:validate (schema & structure checks)
  • Test locally/plugin-development:test-local (dev marketplace)

Common Workflows

Creating a New Plugin

  1. Run /plugin-development:init <plugin-name> to scaffold structure
  2. Edit .claude-plugin/plugin.json with your metadata
  3. Add components using /plugin-development:add-command, etc.
  4. Validate with /plugin-development:validate
  5. Test locally with /plugin-development:test-local

Adding a Slash Command

  1. Run /plugin-development:add-command <name> <description>
  2. Edit commands/<name>.md with instructions
  3. Add frontmatter: description and argument-hint
  4. Test: /plugin install your plugin, then /<name>

Adding a Skill

  1. Run /plugin-development:add-skill <name> <when-to-use>
  2. Edit skills/<name>/SKILL.md with your instructions
  3. Frontmatter requirements:

- name: lowercase letters, numbers, and hyphens only, max 64 chars (required). Cannot contain reserved words 'anthropic' or 'claude'. Cannot contain XML tags. - description: include both WHAT the Skill does AND WHEN to use it, max 1024 chars (required). Cannot contain XML tags. - model: specify which Claude model to use, e.g., model: claude-sonnet-4-20250514 (optional, defaults to conversation's model) - allowed-tools: comma-separated list of tools (optional). Tools listed don't require permission to use when Skill is active. If omitted, Skill doesn't restrict tools.

  1. Keep SKILL.md under 500 lines for optimal performance; place details in sibling files (reference.md, examples.md, scripts/)

Troubleshooting

  • Plugin not loading? Check plugin.json paths are relative to plugin root. Do NOT include commands, agents, skills, or hooks fields for standard directories.
  • Commands not showing? Verify commands/ directory exists at plugin root with .md files. Do NOT add commands field to plugin.json for standard paths.
  • Hooks not running? Ensure scripts are executable (chmod +x) and use ${CLAUDE_PLUGIN_ROOT} for paths
  • Skill not triggering? Check name matches directory and uses lowercase letters, numbers, and hyphens only (max 64 chars). Ensure description includes both what and when to use (max 1024 chars). Neither field can contain XML tags.

Notes

  • Prefer templates & scripts over freeform generation for deterministic tasks
  • If writes are needed, propose a command or a PR-style diff first
  • For complex audits, delegate to /agents plugin-reviewer
  • Always validate with /plugin-development:validate before testing

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

29.11%
按下载量换算31

windsurf

27.2%
按下载量换算29

trae

17.99%
按下载量换算19

OpenCode

11.92%
按下载量换算13

Codex

8.4%
按下载量换算9

Antigravity

3.87%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills